JP2010193225A - Serial transfer device, serial transfer system and image forming apparatus with serial transfer system - Google Patents

Serial transfer device, serial transfer system and image forming apparatus with serial transfer system Download PDF

Info

Publication number
JP2010193225A
JP2010193225A JP2009036013A JP2009036013A JP2010193225A JP 2010193225 A JP2010193225 A JP 2010193225A JP 2009036013 A JP2009036013 A JP 2009036013A JP 2009036013 A JP2009036013 A JP 2009036013A JP 2010193225 A JP2010193225 A JP 2010193225A
Authority
JP
Japan
Prior art keywords
data
serial
serial transfer
transfer device
received
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
JP2009036013A
Other languages
Japanese (ja)
Inventor
Norifumi Sugimura
憲史 杉村
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.)
Sharp Corp
Original Assignee
Sharp Corp
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 Sharp Corp filed Critical Sharp Corp
Priority to JP2009036013A priority Critical patent/JP2010193225A/en
Publication of JP2010193225A publication Critical patent/JP2010193225A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Communication Control (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To prevent data, which are made abnormal by noise or the like, from being output from an output port during serial communication in which the number of harnesses between substrates is reduced. <P>SOLUTION: A microcomputer executes a program including the steps of: when data communication is started and serial data are received (YES in S1000 and S1010), converting the received serial data into parallel data (S1020); processing the parallel data (S1030), and when a combination of data is not a non-existent combination (NO in S1040), outputting data from the port and holding latest data (S1050, S1060); and, when the combination of data is the non-existent combination (YES in S1040), using the held data without outputting the data from the port. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、パラレルデータをシリアル転送してパラレル出力するシリアル転送装置に関し、特に、転送中に発生した異常を検出するシリアル転送装置に関する。また、本発明は、このようなシリアル転送装置を含むシリアル転送システムにも関係がある。さらに、本発明は、このようなシリアル転送システムを備えた画像形成装置にも関係がある。   The present invention relates to a serial transfer device that serially transfers parallel data and outputs the parallel data, and more particularly to a serial transfer device that detects an abnormality occurring during transfer. The present invention also relates to a serial transfer system including such a serial transfer device. Furthermore, the present invention relates to an image forming apparatus provided with such a serial transfer system.

最近の画像形成装置においては、コピー機能だけではなく、プリンタ機能、スキャナ機構及びFAX機能を備える、いわゆる複合機と呼ばれる機種が多く開発されている。このような複合機に限定されるわけではないが、多機能化に伴い制御が複雑になり、制御構造を階層化して1台の上位コントローラから複数の下位コントローラを統括制御したり、複数の制御ユニットで分散制御したりされる。このようなコントローラ間の通信若しくは制御ユニット間の通信又は制御ユニットと制御ドライバ(例えばモータドライバ)との間の通信においては、多数の通信線(ハーネス)を接続して、データが並列的に通信(パラレル通信)される。   In recent image forming apparatuses, not only a copy function but also a model called a so-called multifunction machine having a printer function, a scanner mechanism, and a FAX function has been developed. Although not limited to such a multi-function device, control becomes more complex with the increase in functionality, and the control structure is hierarchized to control multiple lower controllers from a single upper controller, Distributed control by unit. In such communication between controllers, communication between control units, or communication between a control unit and a control driver (for example, a motor driver), a large number of communication lines (harnesses) are connected to communicate data in parallel. (Parallel communication).

このようなパラレル型のデータ通信では多くの通信線が必要になりコストが上昇すること等に鑑み、少ない通信線で高速にデータ通信することができるSPI(Serial Peripheral Interface)が開発された。このSPIは、比較的簡便なシリアル通信であって、2つのシフトレジスタが環状に接続されて、そのシフトレジスタ間をシリアルで通信する構成である。このシリアル通信においては、送信と受信とが同時に行なわれる。   In view of the fact that such parallel data communication requires many communication lines and increases costs, an SPI (Serial Peripheral Interface) capable of high-speed data communication with few communication lines has been developed. This SPI is a comparatively simple serial communication, and has a configuration in which two shift registers are connected in a ring shape to communicate serially between the shift registers. In this serial communication, transmission and reception are performed simultaneously.

SPIの原理は、シフトレジスタの原理そのものが用いられている。送信出力部はパラレル→シリアル変換型のシフトレジスタで構成されていて、マスタ(送信側)が生成するシフトクロックでパラレルデータがシリアル信号に変換される。このとき、1つのクロックで1ビット分の信号が出力される。受信部は、シリアル→パラレル変換型のシフトレジスタで構成されていて、送信側から送られてきたシリアル信号を、マスタが生成するシフトクロックでサンプリングして、パラレルデータに変換する。   As the principle of the SPI, the principle of the shift register itself is used. The transmission output unit includes a parallel-to-serial conversion type shift register, and parallel data is converted into a serial signal by a shift clock generated by the master (transmission side). At this time, a signal for one bit is output by one clock. The receiving unit is composed of a serial-to-parallel conversion type shift register, and samples the serial signal sent from the transmission side with a shift clock generated by the master and converts it into parallel data.

シフトクロックはマスタ(送信側)が生成するが、このクロックはSCK信号としてスレーブ(受信側)と共用される。送信動作と受信動作とはこのクロックにより同時に発生する。すなわち、1ビット出力(シフト)すると、同時に1ビット入力されることになる。このような例の場合には、8回のクロックで、8ビット(1バイト)のデータが入出力される(実際にはさらに多くのビットデータが転送される)。これはマスタ(送信側)とスレーブ(受信側)の8ビットのデータが入れ替わることにより、お互いのデータが転送されたと考えることができる。マスタ(送信側)は自分自身でクロックを出力しながら、そのクロックに同期してデータビットを入出力し、スレーブ(受信側)はマスタ(送信側)が出力するクロックに同期してデータビットを入出力している。   The shift clock is generated by the master (transmission side), and this clock is shared with the slave (reception side) as an SCK signal. The transmission operation and the reception operation are simultaneously generated by this clock. That is, when 1 bit is output (shifted), 1 bit is input simultaneously. In such an example, 8 bits (1 byte) of data is input / output in 8 clocks (actually more bit data is transferred). This can be considered that the data of each other is transferred when the 8-bit data of the master (sending side) and the slave (receiving side) are switched. The master (transmission side) outputs its own clock, and inputs / outputs data bits in synchronization with the clock, while the slave (reception side) outputs data bits in synchronization with the clock output by the master (transmission side). I / O is in progress.

特開平2−239728号公報(特許文献1)は、このようなシリアル通信における異常を検出するシリアル転送回路を開示する。このシリアル転送回路は、パラレル入力データをシリアル出力するパラレル/シリアル変換手段、パラレル/シリアル変換手段が出力するシリアルデータをシリアルシフトにより入力してパラレル出力する第1組のシリアル/パラレル変換手段、パラレル/シリアル変換手段のデータ入出力を制御するデータ出力制御手段、及び、複数ビットのデータをデータ出力制御手段に与える複数個の信号ラインとを備えるシリアル転送回路において、第1組のシリアル/パラレル変換手段のシリアル出力端にシリアル接続された第2組のシリアル/パラレル変換手段、及び、第2組のシリアル/パラレル変換手段のパラレル出力を複数個の信号ラインに出力するパラレルデータ出力手段を備え、データ出力制御手段は、テストデータをパラレル/シリアル変換手段に与えて第1組のシリアル/パラレル変換手段をシリアルに通して第2組のシリアル/パラレル変換手段にシリアル転送し、パラレルデータ出力手段の出力データを複数個の信号ラインを介して読込み、この読込んだデータとテストデータとの合否を検出してシリアル転送エラーを検出する手段とを含む。   Japanese Laid-Open Patent Publication No. 2-239728 (Patent Document 1) discloses a serial transfer circuit that detects such an abnormality in serial communication. This serial transfer circuit includes a parallel / serial conversion means for serially outputting parallel input data, a first set of serial / parallel conversion means for inputting serial data output by the parallel / serial conversion means by serial shift and outputting the parallel data, parallel A first set of serial / parallel conversion in a serial transfer circuit comprising: data output control means for controlling data input / output of the serial conversion means; and a plurality of signal lines for supplying a plurality of bits of data to the data output control means A second set of serial / parallel conversion means serially connected to the serial output terminal of the means, and a parallel data output means for outputting the parallel output of the second set of serial / parallel conversion means to a plurality of signal lines, The data output control means converts the test data into parallel / serial The first set of serial / parallel conversion means is serially transferred to the second set of serial / parallel conversion means, and the output data of the parallel data output means is sent via a plurality of signal lines. And a means for detecting a serial transfer error by detecting pass / fail of the read data and the test data.

このシリアル転送回路によると、データ出力制御手段がテストデータをパラレル/シリアル変換手段に出力して、第1組のシリアル/パラレル変換手段をシリアルに通して第2組のシリアル/パラレル変換手段にシリアルに転送すると、パラレル/シリアル変換手段から第2組のシリアル/パラレル変換手段までのシリアル転送ラインが正常であれば、第2組の変換手段によりテストデータがパラレル出力される。シリアル転送ラインが、断線又は短絡等の接続異常であると、第2組の変換手段はテストデータを出力しない。このように、パラレルデータ出力手段が第2組の変換手段のパラレル出力データを信号ラインに出力し、データ出力制御手段が信号ラインを介してこのデータを読込み、この読込んだデータとテストデータの合否を検出してシリアル転送エラーを検出する。すなわち、シリアル/パラレル変換手段のパラレル出力データがテストデータと合致するとシリアル転送ラインは異常なしと検出し、不一致であるあるとシリアル転送ラインは異常ありと検出する。このように、データ出力制御手段がこの検出を自動で行なうので、シリアル転送ラインの異常が自動的に検出できる。   According to this serial transfer circuit, the data output control means outputs the test data to the parallel / serial conversion means, and serially passes through the first set of serial / parallel conversion means to the second set of serial / parallel conversion means. If the serial transfer line from the parallel / serial conversion means to the second set of serial / parallel conversion means is normal, test data is output in parallel by the second set of conversion means. If the serial transfer line has a connection abnormality such as disconnection or short circuit, the second set of conversion means does not output test data. Thus, the parallel data output means outputs the parallel output data of the second set of conversion means to the signal line, the data output control means reads this data via the signal line, and the read data and the test data A pass / fail is detected and a serial transfer error is detected. That is, when the parallel output data of the serial / parallel conversion means matches the test data, the serial transfer line is detected as having no abnormality, and when the parallel output data does not match, the serial transfer line is detected as having an abnormality. Thus, since the data output control means automatically performs this detection, it is possible to automatically detect abnormality of the serial transfer line.

特開平2−239728号公報JP-A-2-239728

特許文献1に開示されたシリアル転送回路は、複数のシリアル/パラレル変換手段を接続し、テストデータを出力させて、変換手段によりパラレルデータが出力されているか否かに基づいて断線等を検出する。このシリアル転送回路においては、テストデータを転送しその組合せをパラレルデータとして制御側に戻して、エラーが発生していないか否かを検出している。   The serial transfer circuit disclosed in Patent Document 1 connects a plurality of serial / parallel conversion means, outputs test data, and detects disconnection or the like based on whether or not parallel data is output by the conversion means. . In this serial transfer circuit, test data is transferred and the combination is returned to the control side as parallel data to detect whether or not an error has occurred.

しかしながら、このように構成した場合、複数個の信号ラインが必要になってしまい、ハーネスの本数がパラレルデータ分だけ必要になる点で好ましくない。   However, such a configuration is not preferable in that a plurality of signal lines are required, and the number of harnesses is required for the amount of parallel data.

したがって、本発明の目的は、必要となるハーネス本数を削減するシリアル通信において、シリアル信号で送信されたデータを監視してノイズ又は静電気等で異常になったデータが出力ポートから出力されないようにする、シリアル転送装置、シリアル転送システム及びシリアル転送システムを備えた画像形成装置を提供することである。   Accordingly, an object of the present invention is to monitor data transmitted by a serial signal in serial communication that reduces the number of necessary harnesses so that data that becomes abnormal due to noise or static electricity is not output from an output port. A serial transfer device, a serial transfer system, and an image forming apparatus including the serial transfer system are provided.

この発明のある局面に係るシリアル転送装置は、パラレルデータをシリアル転送するシリアル転送装置である。このシリアル転送装置は、他のシリアル転送装置に接続された信号線を接続するための接続手段と、外部機器への信号を出力又は外部機器からの信号を入力するための入出力手段と、外部機器からの信号であって他のシリアル転送装置へ送信するパラレルデータをシリアルデータに変換又は外部機器への信号であって他のシリアル転送装置から受信したシリアルデータをパラレルデータに変換するための変換手段と、他のシリアル転送装置から受信したシリアルデータを変換手段により変換したパラレルデータを入出力手段を介して外部機器へ転送するための転送手段と、他のシリアル転送装置から受信したシリアルデータを変換手段により変換したパラレルデータに基づいて、受信したデータが異常であるか否かを判定するための判定手段とを含む。   A serial transfer device according to an aspect of the present invention is a serial transfer device that serially transfers parallel data. The serial transfer device includes a connection means for connecting a signal line connected to another serial transfer device, an input / output means for outputting a signal to an external device or inputting a signal from the external device, and an external Conversion to convert parallel data to be sent from the device and sent to another serial transfer device into serial data, or to convert serial data received from another serial transfer device to parallel data to the external device Means, transfer means for transferring the parallel data obtained by converting the serial data received from the other serial transfer device to the external device via the input / output means, and serial data received from the other serial transfer device. Determination means for determining whether or not the received data is abnormal based on the parallel data converted by the conversion means Including the.

このシリアル転送装置によると、他のシリアル転送装置へ送信するパラレルデータをシリアルデータに変換したり、他のシリアル転送装置から受信したシリアルデータをパラレルデータに変換したりして、シリアルデータを用いてデータを転送する。このときに、判定手段は、他のシリアル転送装置から受信したシリアルデータを変換手段により変換したパラレルデータに基づいて、受信したデータが異常であるか否かを判定する。異常であると判定されたときには、例えば、外部機器へそのデータ(制御データ)を転送しない。このため、外部機器として入出力手段に接続されたモータ(制御対象)が暴走したり、故障したりすることを回避できる。このようなシステムを構築してもハーネス(信号線)の本数が増えることはない。その結果、必要となるハーネス本数を削減するシリアル通信において、シリアル信号で送信されたデータを監視してノイズ又は静電気等で異常になったデータが入出力手段から外部機器へ出力されないようにするシリアル転送装置を提供することができる。   According to this serial transfer device, parallel data to be transmitted to another serial transfer device is converted into serial data, or serial data received from another serial transfer device is converted into parallel data. Transfer data. At this time, the determination unit determines whether or not the received data is abnormal based on the parallel data obtained by converting the serial data received from another serial transfer device by the conversion unit. If it is determined to be abnormal, for example, the data (control data) is not transferred to the external device. For this reason, it is possible to prevent the motor (control target) connected to the input / output means as an external device from running away or malfunctioning. Even if such a system is constructed, the number of harnesses (signal lines) does not increase. As a result, in serial communication that reduces the number of required harnesses, serial data that monitors data transmitted with serial signals and prevents abnormal data due to noise or static electricity from being output from input / output means to external devices A transfer device can be provided.

このシリアル転送装置は、受信したデータが異常であると判定されると、受信したシリアルデータから変換したパラレルデータを外部機器へ転送しないように、転送手段を制御するための制御手段をさらに含むように構成できる。   The serial transfer device further includes a control unit for controlling the transfer unit so that the parallel data converted from the received serial data is not transferred to the external device when it is determined that the received data is abnormal. Can be configured.

受信したデータが異常である場合には、外部機器として入出力手段に接続されたモータ(制御対象)にデータを転送しない。このため、制御対象であるモータが暴走したり、故障したりすることを回避できる。   If the received data is abnormal, the data is not transferred to the motor (control target) connected to the input / output means as an external device. For this reason, it can avoid that the motor which is a control object runs away or breaks down.

このシリアル転送装置は、入出力手段を介して外部機器へ転送されたデータを保持するための保持手段と、受信したデータが異常であると判定されると、受信したシリアルデータから変換したパラレルデータではなく保持されたデータを外部機器へ転送するための手段とをさらに含むように構成できる。   The serial transfer device includes a holding unit for holding data transferred to an external device via the input / output unit, and parallel data converted from the received serial data when it is determined that the received data is abnormal. And means for transferring the held data to the external device.

受信したデータが異常である場合には、外部機器として入出力手段に接続されたモータ(制御対象)に、受信したデータを転送しないで、1サイクルタイム前に転送して保持さたデータが転送される。この異常発生前のデータを外部機器に転送するので、異常なデータによりモータが制御されることがない。このため、制御対象であるモータが暴走したり、故障したりすることを回避できる。   If the received data is abnormal, the received data is not transferred to the motor (control target) connected to the input / output means as an external device. Is done. Since the data before the occurrence of the abnormality is transferred to the external device, the motor is not controlled by the abnormal data. For this reason, it can avoid that the motor which is a control object runs away or breaks down.

ここで、判定手段は、変換手段により変換したパラレルデータのパターンに基づいて、受信したデータが異常であるか否かを判定するための手段を含むように構成できる。   Here, the determining means can be configured to include means for determining whether or not the received data is abnormal based on the parallel data pattern converted by the converting means.

例えば、2相励磁のステッピングモータ又はHブリッジ回路で制御されるDCモータ等は、4ビットのパラレルデータのパターンは予め定められているものである。受信したシリアルデータをパラレルデータに変換したデータのパターンがこの予め定められたパターン以外である場合には、受信したデータが異常であると判定することができる。   For example, for a 2-phase excitation stepping motor or a DC motor controlled by an H-bridge circuit, a 4-bit parallel data pattern is predetermined. If the data pattern obtained by converting the received serial data into parallel data is other than this predetermined pattern, it can be determined that the received data is abnormal.

さらに、判定手段は、変換手段により変換したパラレルデータが予め定められた時間以上変化しないことに基づいて、受信したデータが異常であると判定するための手段を含むように構成できる。   Further, the determination means can be configured to include means for determining that the received data is abnormal based on the fact that the parallel data converted by the conversion means does not change for a predetermined time or more.

信号線が断線したり、信号線が短絡したり、接続手段の一例であるコネクタが外れていていたりすると、受信したシリアルデータをパラレルデータに変換したデータが変化しない。このような状態が予め定められた時間以上継続すると、受信したデータが異常であると判定することができる。なお、受信したシリアルデータ自体も変化していない。   If the signal line is disconnected, the signal line is short-circuited, or the connector as an example of the connecting means is disconnected, the data obtained by converting the received serial data into parallel data does not change. If such a state continues for a predetermined time or longer, it can be determined that the received data is abnormal. The received serial data itself has not changed.

また、このシリアル転送装置は、受信したデータが異常であると判定されると、受信したシリアルデータから変換したパラレルデータではなく外部機器が異常な状態にならないデータを外部機器へ転送するための手段をさらに含むように構成できる。   In addition, this serial transfer device, when it is determined that the received data is abnormal, means for transferring to the external device data that does not cause the external device to be in an abnormal state, instead of parallel data converted from the received serial data Can be further included.

受信したデータが異常であると判定されると、外部機器が異常な状態にならないデータが外部機器へ転送される。このため、制御対象であるモータ又はモータドライバが暴走したり、故障したりすることを回避できる。   If it is determined that the received data is abnormal, data that does not cause the external device to be in an abnormal state is transferred to the external device. For this reason, it is possible to avoid the runaway or failure of the motor or motor driver to be controlled.

なお、外部機器が異常な状態にならないデータは、外部機器が作動しないデータであるように構成できる。   The data that does not cause the external device to be in an abnormal state can be configured to be data that does not cause the external device to operate.

受信したデータが異常であると判定されると、外部機器が作動しないデータ(2相励磁ステッピングモータの場合には全て非励磁)が外部機器へ転送される。このため、制御対象であるモータが停止されるので、暴走したり、故障したりすることを回避できる。   If it is determined that the received data is abnormal, data that the external device does not operate (all non-excited in the case of a two-phase excitation stepping motor) is transferred to the external device. For this reason, since the motor to be controlled is stopped, it is possible to avoid runaway or failure.

このシリアル転送装置は、受信したデータが異常であると判定されると、他のシリアル転送装置へ異常の発生を報知するための報知手段をさらに含むように構成できる。   The serial transfer device can be configured to further include notification means for notifying other serial transfer devices of the occurrence of an abnormality when it is determined that the received data is abnormal.

このようなシリアル転送装置が接続されたシリアル転送システムが構築された場合において、一方のシリアル転送装置により異常が検出されると、他方のシリアル転送装置へ異常の発生が報知される。他方のシリアル転送装置が上位コントローラに接続されている場合、他方のシリアル転送装置から上位コントローラへ異常の発生が報知されて、上位コントローラは、このシリアル転送装置が搭載された装置(後述する画像形成装置等)の全体を制御することができる。   In the case where such a serial transfer system connected to the serial transfer device is constructed, when an abnormality is detected by one serial transfer device, the occurrence of the abnormality is notified to the other serial transfer device. When the other serial transfer device is connected to the host controller, the other serial transfer device notifies the host controller of the occurrence of an abnormality, and the host controller detects that the device on which the serial transfer device is mounted (image formation described later). The entire apparatus etc. can be controlled.

ここで、報知手段は、信号線を用いて、他のシリアル転送装置へ転送異常の発生を報知するための手段を含むように構成できる。   Here, the notification means can be configured to include means for notifying the occurrence of a transfer abnormality to another serial transfer device using a signal line.

シリアルデータを転送する通信線を用いて他のシリアル転送装置へ転送異常の発生を報知するので、異常通信用のハーネスを必要としない。   Since the occurrence of transfer abnormality is notified to other serial transfer devices using a communication line for transferring serial data, a harness for abnormal communication is not required.

この発明の別の局面に係るシリアル転送システムは、上述したいずれかのシリアル転送装置2台(送信側及び受信側)と、それら2台のシリアル転送装置を接続する信号線とを含む。   A serial transfer system according to another aspect of the present invention includes any of the two serial transfer devices (transmitting side and receiving side) described above and a signal line connecting the two serial transfer devices.

このように構成されたシリアル転送システムにおけるシリアル転送装置は、上述したように作動するので、シリアルデータの転送中にノイズ等によりデータが変化してしまうと、受信側のシリアル転送装置において、シリアルデータをパラレルデータへ変換した後のデータを用いて通信異常であるか否かを判定できる。受信したデータが異常であるときには、入出力手段を介して外部機器へ異常信号を出力しないようにできるので、ハーネスを増やすことなく、制御対象であるモータが暴走したり、故障したりすることを回避できる。   Since the serial transfer device in the serial transfer system configured as described above operates as described above, if the data changes due to noise or the like during the transfer of serial data, the serial data is transferred to the serial transfer device on the receiving side. It is possible to determine whether or not there is a communication abnormality using the data after conversion into parallel data. When the received data is abnormal, it is possible to prevent the abnormal signal from being output to the external device via the input / output means, so that the motor to be controlled can run away or fail without increasing the harness. Can be avoided.

この発明のさらに別の局面に係る画像形成装置は、上述したいずれかのシリアル転送システムを備えた画像形成装置である。   An image forming apparatus according to still another aspect of the present invention is an image forming apparatus including any of the serial transfer systems described above.

画像形成装置において、例えば、階層化された分散制御システムを適用して、上位コントローラと下位コントローラとをシリアル転送システムによりデータ通信する場合、又は、メイン基板とサブ基盤をシリアル転送システムによりデータ通信する場合がある。このような場合において、シリアルデータをパラレルデータへ変換した後のデータを用いて通信異常であるか否かを判定できる。受信したデータが異常であるときには、入出力手段を介して外部機器へ異常信号を出力しないようにできるので、ハーネスを増やすことなく、制御対象であるシート搬送ローラを駆動するモータ又はリフトアップモータ等が暴走したり、故障したりすることを回避できる。   In an image forming apparatus, for example, when a hierarchical distributed control system is applied to perform data communication between a host controller and a lower controller using a serial transfer system, or data communication is performed between a main board and a sub board using a serial transfer system. There is a case. In such a case, it is possible to determine whether or not there is a communication abnormality using the data after converting the serial data into parallel data. When the received data is abnormal, it is possible to prevent an abnormal signal from being output to an external device via the input / output means. Therefore, a motor or lift-up motor that drives the sheet conveying roller to be controlled without increasing the harness, etc. Can avoid runaway or breakdown.

本発明に係るシリアル転送装置によると、シリアル転送中にデータが変化すると、受信側のシリアル転送装置において、シリアルデータをパラレル変換した後のパラレルデータを用いて異常データであるか否かを判定できる。受信したデータが異常であるときには、外部機器へ異常信号が出力されない。このため、制御対象であるモータが暴走したり、故障したりすることを回避できる。このように、必要となるハーネス本数を削減するシリアル通信において、シリアル信号で送信されたデータを監視してノイズ又は静電気等で異常になったデータが出力ポートから外部機器へ出力されないようにする、シリアル転送装置、シリアル転送システム及びシリアル転送システムを備えた画像形成装置を提供することができる。   According to the serial transfer device of the present invention, when data changes during serial transfer, the receiving serial transfer device can determine whether the data is abnormal data by using the parallel data after parallel conversion of the serial data. . When the received data is abnormal, no abnormal signal is output to the external device. For this reason, it can avoid that the motor which is a control object runs away or breaks down. In this way, in serial communication that reduces the number of necessary harnesses, the data transmitted by the serial signal is monitored so that data that becomes abnormal due to noise or static electricity is not output from the output port to the external device. A serial transfer device, a serial transfer system, and an image forming apparatus including the serial transfer system can be provided.

本発明の第1の実施の形態に係るシリアル転送システム(送受信ユニット)を備えた画像形成装置の内部構造を示す断面図である。1 is a cross-sectional view showing an internal structure of an image forming apparatus including a serial transfer system (transmission / reception unit) according to a first embodiment of the present invention. 図1における画像形成装置の制御ブロック図である。FIG. 2 is a control block diagram of the image forming apparatus in FIG. 1. 図2における送受信ユニットの構成を示す図である。It is a figure which shows the structure of the transmission / reception unit in FIG. 図3における送受信ユニットの制御ブロック図である。It is a control block diagram of the transmission / reception unit in FIG. 送受信ユニットにおける信号の一例を示すタイミングチャートである。It is a timing chart which shows an example of the signal in a transmission / reception unit. 送受信ユニットにおける信号の一例を示す図である。It is a figure which shows an example of the signal in a transmission / reception unit. 本発明の第1の実施の形態に係る送受信ユニットのマイコンで実行されるプログラムの制御構造を示すフローチャートである。It is a flowchart which shows the control structure of the program performed with the microcomputer of the transmission / reception unit which concerns on the 1st Embodiment of this invention. 送受信ユニットにおける信号の状態を示す図である。It is a figure which shows the state of the signal in a transmission / reception unit. 図8における異常データの発生状態を示す図である。It is a figure which shows the generation | occurrence | production state of the abnormal data in FIG. シリアル転送システムにおけるシリアルデータの送受信タイミングを示すタイミングチャートである。It is a timing chart which shows the transmission / reception timing of the serial data in a serial transfer system. 本発明の第2の実施の形態に係る送受信ユニットの制御ブロック図である。It is a control block diagram of the transmission / reception unit which concerns on the 2nd Embodiment of this invention. 本発明の第3の実施の形態に係る送受信ユニットの制御ブロック図である。It is a control block diagram of the transmission / reception unit which concerns on the 3rd Embodiment of this invention. 本発明の第4の実施の形態に係る送受信ユニットの制御ブロック図である。It is a control block diagram of the transmission / reception unit which concerns on the 4th Embodiment of this invention.

<第1の実施の形態>
以下、本発明の実施の形態について、添付図面に基づき詳細に説明する。なお、以下の説明及び図面では、同一の部品には同一の符号を付してある。それらの機能及び名称も同一である。したがって、それらについての詳細な説明は繰返さない。また、以下においては、本発明の実施の形態に係るシリアル転送システム(送受信ユニット)を備えた装置は、限定されるものではないが、画像形成装置(複合機)であるとして説明する。
<First Embodiment>
Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings. In the following description and drawings, the same parts are denoted by the same reference numerals. Their functions and names are also the same. Therefore, detailed description thereof will not be repeated. In the following description, the apparatus provided with the serial transfer system (transmission / reception unit) according to the embodiment of the present invention is not limited, but will be described as an image forming apparatus (multifunction machine).

[画像形成装置の構成]
図1は、本発明の第1の実施の形態に係るシリアル転送システムを備えた画像形成装置100の内部構造を示す断面図である。
[Configuration of Image Forming Apparatus]
FIG. 1 is a cross-sectional view showing an internal structure of an image forming apparatus 100 including a serial transfer system according to the first embodiment of the present invention.

この画像形成装置100は、外部から伝達された画像データに応じて、所定のシート(記録用紙)に対して多色の画像又は単色の画像を形成するもので、大略的には、画像形成装置100の本体部110と、自動原稿処理装置120とにより構成されている。本体部110は、光走査装置150、現像器2、感光体ドラム3、クリーナユニット4、帯電器5、中間転写ベルトユニット6、定着ユニット7、給紙カセット81、排紙トレイ91等を有して構成されている。   The image forming apparatus 100 forms a multicolor image or a single color image on a predetermined sheet (recording paper) in accordance with image data transmitted from the outside. In general, the image forming apparatus 100 is an image forming apparatus. 100 main body units 110 and an automatic document processing apparatus 120. The main body 110 includes an optical scanning device 150, a developing device 2, a photosensitive drum 3, a cleaner unit 4, a charger 5, an intermediate transfer belt unit 6, a fixing unit 7, a paper feed cassette 81, a paper discharge tray 91, and the like. Configured.

本体部110の上部には、原稿が載置される透明ガラスからなる原稿載置台92が設けられ、原稿載置台92の上側には自動原稿処理装置120が取り付けられている。自動原稿処理装置120は、原稿載置台92の上に自動で原稿を搬送する。また、自動原稿処理装置120は矢印M方向に回動自在に構成され、原稿載置台92の上を開放することにより原稿を手置きで置くことができるようになっている。   A document placing table 92 made of transparent glass on which a document is placed is provided on the upper part of the main body 110, and an automatic document processing device 120 is attached to the upper side of the document placing table 92. The automatic document processing device 120 automatically conveys the document on the document placing table 92. Further, the automatic document processing device 120 is configured to be rotatable in the direction of arrow M, and the document can be placed manually by opening the document table 92.

この画像形成装置100において扱われる画像データは、ブラック(K)、シアン(C)、マゼンタ(M)、イエロー(Y)の各色を用いたカラー画像に対応するデータである。従って、現像器2、感光体ドラム3、帯電器5、クリーナユニット4は、各色に応じた4種類の潜像を形成するようにそれぞれ4個ずつ設けられ、ブラック、シアン、マゼンタ、イエローの4つの画像ステーションが構成されている。   Image data handled in the image forming apparatus 100 is data corresponding to a color image using each color of black (K), cyan (C), magenta (M), and yellow (Y). Accordingly, four developing devices 2, photosensitive drums 3, chargers 5, and cleaner units 4 are provided so as to form four types of latent images corresponding to the respective colors, and four of black, cyan, magenta, and yellow are provided. One image station is configured.

帯電器5は、感光体ドラム3の表面を所定の電位に均一に帯電させるために機能する。光走査装置150には、レーザー出射部及び反射ミラー等を備えたユニットとして構成される。光走査装置150は、レーザー光を走査するポリゴンミラーと、ポリゴンミラーによって反射されたレーザー光を感光体ドラム3に導くためのレンズ及びミラー等の光学要素が配置されている。   The charger 5 functions to uniformly charge the surface of the photosensitive drum 3 to a predetermined potential. The optical scanning device 150 is configured as a unit including a laser emitting unit and a reflection mirror. The optical scanning device 150 includes a polygon mirror that scans a laser beam and optical elements such as a lens and a mirror for guiding the laser beam reflected by the polygon mirror to the photosensitive drum 3.

光走査装置150は、帯電された感光体ドラム3を、入力された画像データに応じて露光することにより、その表面に、画像データに応じた静電潜像を形成する機能を有する。現像器2は、それぞれの感光体ドラム3上に形成された静電潜像を、4色(Y、M、C、K)のトナーにより顕像化するものである。また、クリーナユニット4は、現像及び画像転写後における感光体ドラム3上の表面に残留したトナーを、除去及び回収する。   The optical scanning device 150 has a function of forming an electrostatic latent image corresponding to the image data on the surface thereof by exposing the charged photosensitive drum 3 according to the input image data. The developing device 2 visualizes the electrostatic latent images formed on the respective photosensitive drums 3 with toners of four colors (Y, M, C, K). The cleaner unit 4 removes and collects toner remaining on the surface of the photosensitive drum 3 after development and image transfer.

感光体ドラム3の上方に配置されている中間転写ベルトユニット6は、中間転写ベルト61、中間転写ベルト駆動ローラ62、中間転写ベルト従動ローラ63、中間転写ローラ64、及び中間転写ベルトクリーニングユニット65を備えている。中間転写ローラ64は、Y、M、C、Kの各色に対応して4本設けられている。中間転写ベルト駆動ローラ62、中間転写ベルト従動ローラ63、及び中間転写ローラ64は、中間転写ベルト61を張架して回転駆動させる。中間転写ローラ64は、感光体ドラム3のトナー像を、中間転写ベルト61上に転写するための転写バイアスを与える。   The intermediate transfer belt unit 6 disposed above the photosensitive drum 3 includes an intermediate transfer belt 61, an intermediate transfer belt driving roller 62, an intermediate transfer belt driven roller 63, an intermediate transfer roller 64, and an intermediate transfer belt cleaning unit 65. I have. Four intermediate transfer rollers 64 are provided corresponding to the respective colors Y, M, C, and K. The intermediate transfer belt driving roller 62, the intermediate transfer belt driven roller 63, and the intermediate transfer roller 64 are driven to rotate while the intermediate transfer belt 61 is stretched. The intermediate transfer roller 64 provides a transfer bias for transferring the toner image on the photosensitive drum 3 onto the intermediate transfer belt 61.

中間転写ベルト61は、4つの感光体ドラム3に接触するように設けられている、そして、感光体ドラム3に形成された各色のトナー像を中間転写ベルト61に順次的に重ねて転写することによって、中間転写ベルト61上にカラーのトナー像(多色トナー像)を形成する機能を有している。中間転写ベルト61は、例えば厚さ100μm〜150μm程度のフィルムを用いて無端状に形成されている。   The intermediate transfer belt 61 is provided so as to be in contact with the four photosensitive drums 3, and each color toner image formed on the photosensitive drum 3 is sequentially superimposed and transferred onto the intermediate transfer belt 61. Thus, a color toner image (multicolor toner image) is formed on the intermediate transfer belt 61. The intermediate transfer belt 61 is formed in an endless shape using, for example, a film having a thickness of about 100 μm to 150 μm.

感光体ドラム3から中間転写ベルト61へのトナー像の転写は、中間転写ベルト61の裏側に接触している中間転写ローラ64によって行なわれる。中間転写ローラ64には、トナー像を転写するために高電圧の転写バイアス(トナーの帯電極性(−)とは逆極性(+)の高電圧)が印加されている。中間転写ローラ64は、直径8mm〜10mmの金属(例えばステンレス)軸をベースとし、その表面が導電性の弾性材(例えばエチレン−プロピレン−ジエンゴム、発泡ウレタン等)により覆われているローラである。この導電性の弾性材により、中間転写ベルト61に対して均一に高電圧を印加することができる。本実施の形態では転写電極としてローラ形状の電極を使用しているが、それ以外にブラシ形状の電極等を用いることが可能である。   The toner image is transferred from the photosensitive drum 3 to the intermediate transfer belt 61 by an intermediate transfer roller 64 that is in contact with the back side of the intermediate transfer belt 61. A high-voltage transfer bias (a high voltage having a polarity (+) opposite to the toner charging polarity (−)) is applied to the intermediate transfer roller 64 in order to transfer the toner image. The intermediate transfer roller 64 is a roller whose base is a metal (for example, stainless steel) shaft having a diameter of 8 mm to 10 mm and whose surface is covered with a conductive elastic material (for example, ethylene-propylene-diene rubber, urethane foam, or the like). With this conductive elastic material, a high voltage can be uniformly applied to the intermediate transfer belt 61. In this embodiment, a roller-shaped electrode is used as the transfer electrode, but a brush-shaped electrode or the like can be used in addition to that.

上述のように、各感光体ドラム3上で各色に応じて顕像化された静電潜像は中間転写ベルト61で積層される。このように、積層された画像情報は中間転写ベルト61の回転によって、後述の記録用紙と中間転写ベルト61の接触位置に配置される転写ローラ10によって記録用紙上に転写される。   As described above, the electrostatic latent images visualized according to the respective colors on the respective photosensitive drums 3 are stacked on the intermediate transfer belt 61. In this way, the laminated image information is transferred onto the recording sheet by the transfer roller 10 disposed at the contact position between the recording sheet and the intermediate transfer belt 61 described later by the rotation of the intermediate transfer belt 61.

このとき、中間転写ベルト61と転写ローラ10は所定ニップで圧接されると共に、転写ローラ10にはトナーを記録用紙に転写させるための電圧が印加される(トナーの帯電極性(−)とは逆極性(+)の高電圧)。さらに、転写ローラ10は上記ニップを定常的に得るために、転写ローラ10又は中間転写ベルト駆動ローラ62の何れか一方を硬質材料(金属等)とし、他方を弾性ローラ等の軟質材料(弾性ゴムローラ、又は発泡性樹脂ローラ等々)としたものが用いられる。   At this time, the intermediate transfer belt 61 and the transfer roller 10 are pressed against each other at a predetermined nip, and a voltage for transferring the toner to the recording paper is applied to the transfer roller 10 (opposite to the toner charging polarity (−)). Polarity (+) high voltage). Further, in order to obtain the above nip constantly, the transfer roller 10 uses either the transfer roller 10 or the intermediate transfer belt drive roller 62 as a hard material (metal or the like) and the other as a soft material such as an elastic roller (an elastic rubber roller). Or a foamed resin roller or the like).

また、上記のように、感光体ドラム3に接触することにより中間転写ベルト61に付着したトナー又は転写ローラ10によって記録用紙上に転写が行なわれず中間転写ベルト61上に残存したトナーは、次工程でトナーの混色を発生させる原因となるために、中間転写ベルトクリーニングユニット65によって除去及び回収されるように設定されている。中間転写ベルトクリーニングユニット65には、中間転写ベルト61に接触する、例えば、クリーニング部材としてクリーニングブレードが備えられており、クリーニングブレードが接触する中間転写ベルト61は、裏側から中間転写ベルト従動ローラ63で支持されている。   Further, as described above, the toner adhering to the intermediate transfer belt 61 by contacting the photosensitive drum 3 or the toner remaining on the intermediate transfer belt 61 without being transferred onto the recording paper by the transfer roller 10 is used in the next step. Therefore, the intermediate transfer belt cleaning unit 65 is configured to remove and collect the toner. The intermediate transfer belt cleaning unit 65 is provided with, for example, a cleaning blade as a cleaning member that comes into contact with the intermediate transfer belt 61. The intermediate transfer belt 61 that comes into contact with the cleaning blade is driven by an intermediate transfer belt driven roller 63 from the back side. It is supported.

給紙カセット81は、画像形成に使用するシート(記録用紙)を蓄積しておくためのトレイであり、本体部110の光走査装置150の下側に設けられている。手差し給紙カセット82にも画像形成に使用するシートを載置することができる。本体部110の上方に設けられている排紙トレイ91は、印刷済みのシートをフェイスダウンで集積するためのトレイである。   The paper feed cassette 81 is a tray for storing sheets (recording paper) used for image formation, and is provided below the optical scanning device 150 of the main body 110. A sheet used for image formation can also be placed on the manual paper feed cassette 82. A paper discharge tray 91 provided above the main body 110 is a tray for collecting printed sheets face down.

本体部110には、給紙カセット81及び手差し給紙カセット82のシートを転写ローラ10及び定着ユニット7を経由させて排紙トレイ91に送出するための、略垂直形状の用紙搬送路Sが設けられている。給紙カセット81又は手差し給紙カセット82から排紙トレイ91までの用紙搬送路Sの近傍には、ピックアップローラ11a、ピックアップローラ11b、複数の搬送ローラ12a〜搬送ローラ12d、レジストローラ13、転写ローラ10、定着ユニット7等が配されている。シートを搬送するこのようなローラは、例えば2相励磁のステッピングモータで駆動される。   The main body 110 is provided with a substantially vertical sheet conveyance path S for sending the sheets of the sheet feeding cassette 81 and the manual sheet feeding cassette 82 to the sheet discharge tray 91 via the transfer roller 10 and the fixing unit 7. It has been. In the vicinity of the paper transport path S from the paper feed cassette 81 or the manual paper feed cassette 82 to the paper discharge tray 91, there are a pickup roller 11a, a pickup roller 11b, a plurality of transport rollers 12a to 12d, a registration roller 13, and a transfer roller. 10, a fixing unit 7 and the like are arranged. Such a roller for conveying a sheet is driven by, for example, a two-phase excitation stepping motor.

搬送ローラ12a〜搬送ローラ12dは、シートの搬送を促進及び補助するための小型のローラであり、用紙搬送路Sに沿って複数設けられている。また、ピックアップローラ11aは、給紙カセット81の端部近傍に備えられ、給紙カセット81からシートを1枚ずつピックアップして用紙搬送路Sに供給する。また、同様にして、ピックアップローラ11bは、手差し給紙カセット82の端部近傍に備えられ、手差し給紙カセット82からシートを1枚ずつピックアップして用紙搬送路Sに供給する。   The conveyance rollers 12a to 12d are small rollers for promoting and assisting conveyance of the sheet, and a plurality of the conveyance rollers 12a to 12d are provided along the sheet conveyance path S. The pickup roller 11 a is provided near the end of the paper feed cassette 81, picks up sheets one by one from the paper feed cassette 81, and supplies them to the paper transport path S. Similarly, the pickup roller 11b is provided near the end of the manual paper feed cassette 82, picks up one sheet at a time from the manual paper feed cassette 82, and supplies it to the paper transport path S.

レジストローラ13は、用紙搬送路Sを搬送されているシートを一旦保持するものである。そして、感光体ドラム3上のトナー像の先端とシートの先端を合わせるタイミングでシートを転写ローラ10に搬送する機能を有している。   The registration roller 13 temporarily holds the sheet being conveyed on the sheet conveyance path S. The sheet has a function of conveying the sheet to the transfer roller 10 at the timing when the leading edge of the toner image on the photosensitive drum 3 and the leading edge of the sheet are aligned.

定着ユニット7は、ヒートローラ71及び加圧ローラ72を備えており、ヒートローラ71及び加圧ローラ72は、シートを挟んで回転するようになっている。また、ヒートローラ71は、図示しない温度検出器からの信号に基づいて制御部によって所定の定着温度となるように設定されており、加圧ローラ72とともにトナーをシートに熱圧着することにより、シートに転写された多色トナー像を溶融、混合及び圧接し、シートに対して熱定着させる機能を有している。   The fixing unit 7 includes a heat roller 71 and a pressure roller 72, and the heat roller 71 and the pressure roller 72 rotate with the sheet interposed therebetween. The heat roller 71 is set to have a predetermined fixing temperature by a control unit based on a signal from a temperature detector (not shown), and the pressure roller 72 and the toner are thermocompression-bonded to the sheet. The multicolor toner image transferred onto the sheet is melted, mixed and pressed, and thermally fixed to the sheet.

次に、シート搬送経路を詳細に説明する。上述のように、画像形成装置100には予めシートを収納する給紙カセット81及び手差し給紙カセット82が設けられている。これらの給紙カセット81又は手差し給紙カセット82からシートを給紙するために、ピックアップローラ11a又はピックアップローラ11bが配置され、シートを1枚ずつ用紙搬送路Sに導くようになっている。   Next, the sheet conveyance path will be described in detail. As described above, the image forming apparatus 100 is provided with the paper feed cassette 81 and the manual paper feed cassette 82 for storing sheets in advance. In order to feed sheets from these sheet feeding cassettes 81 or manual sheet feeding cassettes 82, pickup rollers 11a or pickup rollers 11b are arranged to guide the sheets one by one to the sheet conveyance path S.

給紙カセット81又は手差し給紙カセット82から搬送されるシートは、用紙搬送路Sの搬送ローラ12aによってレジストローラ13まで搬送され、シートの先端と中間転写ベルト61上の画像情報の先端を整合するタイミングで転写ローラ10に搬送され、シート上に画像情報が書き込まれる。その後、シートは定着ユニット7を通過することによってシート上の未定着トナーが熱で溶融及び固着されて、その後に配置された搬送ローラ12bを経て排紙トレイ91上に排出される。   The sheet conveyed from the sheet feeding cassette 81 or the manual sheet feeding cassette 82 is conveyed to the registration roller 13 by the conveying roller 12a in the sheet conveying path S, and aligns the leading edge of the sheet with the leading edge of the image information on the intermediate transfer belt 61. It is conveyed to the transfer roller 10 at a timing, and image information is written on the sheet. Thereafter, the sheet passes through the fixing unit 7 so that the unfixed toner on the sheet is melted and fixed by heat, and is discharged onto the sheet discharge tray 91 through the conveyance roller 12b disposed thereafter.

上記の搬送経路は、シートに対する片面印字要求のときのものであるが、これに対して両面印字要求の時は、上記のように片面印字が終了し定着ユニット7を通過したシートの後端が最終の搬送ローラ12bで把持されたときに、搬送ローラ12bが逆回転することによってシートを搬送ローラ12c及び搬送ローラ12dに導く。その後、レジストローラ13を経てシート裏面に印字が行われた後にシートが排紙トレイ91に排出される。   The above-mentioned transport path is for a single-sided printing request for a sheet. On the other hand, when a double-sided printing request is made, the single-sided printing is completed and the trailing edge of the sheet that has passed through the fixing unit 7 is When the sheet is held by the final conveying roller 12b, the conveying roller 12b rotates backward to guide the sheet to the conveying roller 12c and the conveying roller 12d. Thereafter, after printing is performed on the back surface of the sheet through the registration roller 13, the sheet is discharged to the discharge tray 91.

[画像形成装置の制御ブロック]
図2にこの画像形成装置100の制御ブロック図を示す。図2に示すように、この画像形成装置100は、階層化された分散システムにより制御される。
[Control block of image forming apparatus]
FIG. 2 shows a control block diagram of the image forming apparatus 100. As shown in FIG. 2, the image forming apparatus 100 is controlled by a hierarchical distributed system.

メインコントローラ200を最上位の制御ユニットとして、その下位に、スキャンユニットコントローラ210と、プリンタユニットコントローラ220と、FAXユニットコントローラ230と、インターフェイスコントローラ240と、電源コントローラ250とが、通信線により接続されている。メインコントローラ200は、下位に接続されたこれらのコントローラを統括的に制御する。   The main controller 200 is the highest control unit, and the scan unit controller 210, the printer unit controller 220, the FAX unit controller 230, the interface controller 240, and the power supply controller 250 are connected to each other by communication lines. Yes. The main controller 200 comprehensively controls these controllers connected at the lower level.

スキャンユニットコントローラ210は、主として、この画像形成装置100におけるスキャナ機能を制御する。プリンタユニットコントローラ220は、主として、この画像形成装置100におけるプリンタ機能(画像形成機能)を制御する。FAXユニットコントローラ230は、主として、この画像形成装置100におけるファクシミリ通信機能を制御する。   The scan unit controller 210 mainly controls the scanner function in the image forming apparatus 100. The printer unit controller 220 mainly controls a printer function (image forming function) in the image forming apparatus 100. The FAX unit controller 230 mainly controls the facsimile communication function in the image forming apparatus 100.

インターフェイスコントローラ240は、例えば、パーソナルコンピュータ(以下「パソコン」と記載する。)から画像形成装置へ送信されたプリントデータを受信したり、他の画像形成装置からファクシミリデータを受信したり他の画像形成装置へファクシミリデータを送信したりする際に、規定の通信手順に従って他の機器との通信を行なう。電源コントローラ250は、この画像形成装置100の主電源、各種のユニットへの供給される電源を制御する。   The interface controller 240 receives, for example, print data transmitted from a personal computer (hereinafter referred to as “personal computer”) to the image forming apparatus, receives facsimile data from another image forming apparatus, and forms other images. When transmitting facsimile data to the apparatus, it communicates with other devices according to a prescribed communication procedure. The power controller 250 controls the main power of the image forming apparatus 100 and the power supplied to various units.

さらに、図2を参照して、本実施の形態に係るシリアル転送システム(送受信ユニット)について説明する。なお、以下においては、プリンタユニットコントローラ220の下位に構成された送受信ユニットについて説明するが、他のユニットコントローラにおける送受信ユニットでも構わない。   Furthermore, the serial transfer system (transmission / reception unit) according to the present embodiment will be described with reference to FIG. In the following, a transmission / reception unit configured below the printer unit controller 220 will be described, but a transmission / reception unit in another unit controller may be used.

送受信ユニット1000は、プリンタユニットコントローラ220に接続されプリンタユニットコントローラ220により制御されるメカニカル制御メイン基板A1100と、メカニカル制御メイン基板A1100(以下「基板A1100」と記載する。)にシリアル通信線1010で接続されたメカニカル制御サブ基板B1200(以下「基板B1200」と記載する。)とから構成される。基板B1200には、モータドライバを介してモータ1210、モータ1212、モータ1214・・・が接続されるとともに、インターフェイスを介してセンサ1220、センサ1222、センサ1224・・・が接続されている。   The transmission / reception unit 1000 is connected to a mechanical control main board A1100 connected to the printer unit controller 220 and controlled by the printer unit controller 220, and a mechanical control main board A1100 (hereinafter referred to as “board A1100”) via a serial communication line 1010. Mechanical control sub-substrate B1200 (hereinafter referred to as “substrate B1200”). The substrate B1200 is connected to a motor 1210, a motor 1212, a motor 1214,... Via a motor driver, and a sensor 1220, a sensor 1222, a sensor 1224,.

このように、基板B1200は、制御対象であるモータ(例えばシートを搬送するローラを駆動する2相励磁ステッピングモータ)をモータドライバを介して制御したり、電磁クラッチ(例えば画像形成装置100から着脱自在な感光体ユニットに設けられた感光体ドラム3と画像形成装置100に搭載されたモータとの間に設けられたクラッチ)を制御したりする。基板B1200には、センサから信号が入力される。基板A1100とモータ、電磁クラッチ又はセンサとの距離が離れている場合、基板A1100とモータ、電磁クラッチ又はセンサとを直接接続すると、ハーネスが長くなるので、基板をメイン(基板A1100)とサブ(基板B1200)とに分割し、シリアル通信線1010によりこれらの基板間をデータ通信している。このデータ通信はシリアル通信であればよく、上述したSPIに限定されるものではない。   As described above, the substrate B1200 controls a motor to be controlled (for example, a two-phase excitation stepping motor that drives a roller for conveying a sheet) via a motor driver, or is detachable from an electromagnetic clutch (for example, the image forming apparatus 100). Or a clutch provided between the photosensitive drum 3 provided in the photosensitive unit and a motor mounted on the image forming apparatus 100. A signal is input from the sensor to the substrate B1200. When the distance between the board A1100 and the motor, electromagnetic clutch, or sensor is long, the harness becomes longer if the board A1100 is directly connected to the motor, electromagnetic clutch, or sensor, so the board is divided into the main (board A1100) and sub (board) B1200), and data communication is performed between these boards by the serial communication line 1010. This data communication may be serial communication and is not limited to the above-described SPI.

[シリアル転送システム]
図3を参照して、図2における送受信ユニット1000の構成をさらに詳しく説明する。基板A1100には、プリンタユニットコントローラ220に接続されプリンタユニットにおける用紙搬送機能を制御するCPU(Central Processing Unit)1102、CPU1102に接続されたデータ判定機能付きシリアル/パラレル変換器1104(以下「シリアル/パラレル変換器1104」と記載する。)と、シリアル/パラレル変換器1104におけるデータ判定機能を実現するとともに異常処理を実行するマイクロコンピュータ(以下「マイコン」と記載する。)1106と、シリアル/パラレル変換器1104とシリアル通信線1010とを接続する通信コネクタ1108とが実装されている。
[Serial transfer system]
With reference to FIG. 3, the structure of the transmission / reception unit 1000 in FIG. 2 will be described in more detail. A circuit board A 1100 is connected to a printer unit controller 220 and controls a paper transport function in the printer unit. A CPU (Central Processing Unit) 1102 and a serial / parallel converter 1104 with a data determination function connected to the CPU 1102 (hereinafter referred to as “serial / parallel”). Converter 1104 ”), a microcomputer (hereinafter referred to as“ microcomputer ”) 1106 that implements a data determination function and executes an abnormality process in the serial / parallel converter 1104, and a serial / parallel converter. A communication connector 1108 for connecting 1104 and the serial communication line 1010 is mounted.

基板B1200には、データ判定機能付きシリアル/パラレル変換器1204(以下「シリアル/パラレル変換器1204」と記載する。)と、シリアル/パラレル変換器1204におけるデータ判定機能を実現するとともに異常処理を実行するマイコン1206と、シリアル/パラレル変換器1204及びシリアル通信線1010を接続する通信コネクタ1208とが実装されている。さらに基板B1200には、シリアル/パラレル変換器1204に接続され、励磁回路及び駆動回路を備えたモータドライバ1300と、モータドライバ1300とモータ1210、モータ1212、モータ1214とを接続するとともに、シリアル/パラレル変換器1204とセンサ1220、センサ1222、センサ1224とを接続する入出力コネクタ1302とが実装されている。   The substrate B1200 implements a serial / parallel converter 1204 with a data determination function (hereinafter referred to as “serial / parallel converter 1204”), a data determination function in the serial / parallel converter 1204, and executes an abnormality process. And a communication connector 1208 for connecting the serial / parallel converter 1204 and the serial communication line 1010 are mounted. Further, the board B1200 is connected to a serial / parallel converter 1204, and a motor driver 1300 having an excitation circuit and a drive circuit, and a motor driver 1300, a motor 1210, a motor 1212, and a motor 1214 are connected to the board B1200. An input / output connector 1302 for connecting the converter 1204 and the sensors 1220, 1222, and 1224 is mounted.

本発明は、このように、基板A1100と基板B1200とをシリアル通信線1010で接続してシリアルデータを転送するSPIを用いたシリアル転送システム(送受信ユニット)における転送異常処理を特徴とする。このような特徴は、図3におけるマイコンで実行されるプログラムにより実現される。なお、シリアル/パラレル変換器1104又はシリアル/パラレル変換器1204がこのマイコンの機能を備えるようにしても構わない。以下においては、シリアル/パラレル変換器1104とマイコン1106とを組合せて、かつ、シリアル/パラレル変換器1204とマイコン1206とを組合せて、マイコン1106又はマイコン1206において実行されるプログラムにより、この特徴が実現されるものとして説明する。   As described above, the present invention is characterized by a transfer abnormality process in a serial transfer system (transmission / reception unit) using SPI in which the substrate A1100 and the substrate B1200 are connected by the serial communication line 1010 to transfer serial data. Such a feature is realized by a program executed by the microcomputer in FIG. The serial / parallel converter 1104 or the serial / parallel converter 1204 may have the function of this microcomputer. In the following, this feature is realized by a program executed in the microcomputer 1106 or the microcomputer 1206 by combining the serial / parallel converter 1104 and the microcomputer 1106 and combining the serial / parallel converter 1204 and the microcomputer 1206. It will be described as being done.

このように、SPIを用いたシリアル転送システムでは、シリアル通信線1010の数をパラレル通信に比較して少なくできる点がメリットである。制御対象もモータ若しくは電磁クラッチの数が多いほど、又はセンサの数が多いほど、このメリットが大きくなる。通常では、SPIにおいては1処理に40ビット程度のデータが転送される。本発明の特徴は、このような1処理におけるデータ量には関係が低い。このため、以下の説明においては、1処理で8ビットのデータが転送されるものとして説明する。このデータは、例えば、基板B1200から2相励磁のステッピングモータであるモータ1210を制御するための出力(これは基板A1100からシリアル転送される。)4ビット、4個のオンオフセンサから基板B1200への入力(これは基板A1100へシリアル転送される。)4ビットの計8ビットである。   As described above, the serial transfer system using the SPI is advantageous in that the number of serial communication lines 1010 can be reduced as compared with the parallel communication. This merit increases as the number of motors or electromagnetic clutches to be controlled or the number of sensors increases. Normally, in SPI, about 40 bits of data are transferred per process. The feature of the present invention is not related to the amount of data in one process. For this reason, in the following description, it is assumed that 8-bit data is transferred in one process. This data is, for example, an output for controlling the motor 1210, which is a stepping motor of two-phase excitation, from the substrate B1200 (this is serially transferred from the substrate A1100.) 4 bits, four on / off sensors to the substrate B1200 Input (This is serially transferred to the board A1100.) 4 bits, 4 bits in total.

[シリアル転送データ]
図4に、このような8ビット(4ビット×2)がデータ転送される場合の送受信ユニットの制御ブロック図を示す。図4は、図3の構成図を、8ビット(4ビット×2)がデータ転送される場合に置換えて記載された制御ブロック図である。
[Serial transfer data]
FIG. 4 shows a control block diagram of the transmission / reception unit when such 8 bits (4 bits × 2) are transferred. FIG. 4 is a control block diagram in which the configuration diagram of FIG. 3 is replaced when 8 bits (4 bits × 2) are transferred.

基板A1100においては、シリアル/パラレル変換器1104、マイコン1106、通信コネクタ1108及び入出力ポート1109により、通信ユニット1101(シリアル転送装置)が構成されている。この通信ユニット1101とCPU1102とより図4に示す基板A1100が構成され、図3に示した基板A1100と等価になる。   In the substrate A1100, a serial / parallel converter 1104, a microcomputer 1106, a communication connector 1108, and an input / output port 1109 constitute a communication unit 1101 (serial transfer device). The communication unit 1101 and the CPU 1102 constitute a substrate A1100 shown in FIG. 4, which is equivalent to the substrate A1100 shown in FIG.

基板B1200においては、シリアル/パラレル変換器1204、マイコン1206、通信コネクタ1208及び入出力ポート1209により、通信ユニット1201(シリアル転送装置)が構成されている。この通信ユニット1201とモータドライバ1300及び入出力コネクタ1302とより図4に示す基板B1200が構成され、図3に示した基板B1200と等価になる。   In the board B1200, a serial / parallel converter 1204, a microcomputer 1206, a communication connector 1208, and an input / output port 1209 constitute a communication unit 1201 (serial transfer device). The communication unit 1201, the motor driver 1300, and the input / output connector 1302 constitute the board B1200 shown in FIG. 4, which is equivalent to the board B1200 shown in FIG.

図4に示す、基板A1100の通信ユニット1101と基板B1200の通信ユニット1201とは等価であるので、本発明に係る通信ユニット(シリアル転送装置)は送信側と受信側とで同じ構成を備える。なお、個々のデバイスの機能の差により実装の形態が異なる場合であっても、送信側及び受信側との間においてシリアル通信によりデータ転送され、受信側でパラレルデータに変換された後に通信異常を検出するものであれば、図3及び図4の態様に限定されない。   Since the communication unit 1101 of the board A1100 and the communication unit 1201 of the board B1200 shown in FIG. 4 are equivalent, the communication unit (serial transfer device) according to the present invention has the same configuration on the transmission side and the reception side. Even if the implementation is different due to differences in the functions of individual devices, data is transferred by serial communication between the transmission side and the reception side and converted to parallel data on the reception side. If it detects, it will not be limited to the aspect of FIG.3 and FIG.4.

基板B1200には入出力コネクタ1302を介して、2相励磁のステッピングモータであるモータ1210(以下、モータ1210は2相励磁ステッピングモータである。)及び4個のオンオフ型のセンサ1220、センサ1222、センサ1224、センサ1226が接続されている。基板B1200からモータ1210への出力信号(基板B側の出力としてのモータ出力信号)及び基板B1200へのセンサ1220、センサ1222、センサ1224、センサ1226の入力信号(基板B側の入力としてのセンサ入力信号)について説明する。   A substrate B1200 is connected to an I / O connector 1302 through a motor 1210 that is a two-phase excitation stepping motor (hereinafter, the motor 1210 is a two-phase excitation stepping motor), four on / off sensors 1220, 1222, Sensors 1224 and 1226 are connected. An output signal from the board B1200 to the motor 1210 (motor output signal as an output on the board B side) and an input signal of the sensor 1220, sensor 1222, sensor 1224, and sensor 1226 to the board B1200 (sensor input as an input on the board B side) Signal) will be described.

図5に、これらのモータ出力信号及びセンサ入力信号のタイミングチャートを、図6に、これらのモータ出力信号及びセンサ入力信号の内容を示す。   FIG. 5 shows a timing chart of these motor output signals and sensor input signals, and FIG. 6 shows the contents of these motor output signals and sensor input signals.

これらの図5及び図6に示すように、モータ出力信号An(1)〜モータ出力信号An(4)(n=1、2、・・・)は、1個のステッピングモータを2相励磁するためのモータ1210への制御データ(4ビット)である。センサ入力信号Bn(1)〜センサ入力信号Bn(4)(n=1、2、・・・)は、4個のオンオフ型のセンサ1220、センサ1222、センサ1224、センサ1226からの検出データ(4ビット)である。   As shown in FIGS. 5 and 6, the motor output signal An (1) to the motor output signal An (4) (n = 1, 2,...) Excite one stepping motor in two phases. This is control data (4 bits) to the motor 1210. Sensor input signal Bn (1) to sensor input signal Bn (4) (n = 1, 2,...) Are detected data from four on / off sensors 1220, 1222, 1222 and 1226 (see FIG. 4 bits).

図5に示す時刻tは、図6のn=8のタイミングであるとする。このnは、基板A1100と基板B1200との間でシリアル通信されているときに時間の経過とともに1ずつ増加する。nが1増加すると1回シリアル転送されたことになる。このとき(n=8のとき)、基板A1100から基板B1200へ、「A8(1)=1、A8(2)=0、A8(3)=0、A8(4)=1」のパラレルデータに対応するシリアルデータからなる送信データセットA8(基板A1100側の送信データセットA8であって基板B1200側の受信データセットA8)が送信され、基板B1200から基板A1100へ「B8(1)=1、B8(2)=1、B8(3)=0、B8(4)=0」のパラレルデータに対応するシリアルデータからなる送信データセットB8(基板B1200側の送信データセットB8であって基板A1100側の受信データセットB8)が送信されている。このように、モータ出力信号の4ビットとセンサ入力信号の4ビットとが、1処理でシリアル通信される。   The time t shown in FIG. 5 is assumed to be the timing of n = 8 in FIG. This n increases by 1 over time when serial communication is performed between the substrate A1100 and the substrate B1200. When n increases by 1, serial transfer is performed once. At this time (when n = 8), the parallel data “A8 (1) = 1, A8 (2) = 0, A8 (3) = 0, A8 (4) = 1” is transferred from the substrate A1100 to the substrate B1200. A transmission data set A8 composed of corresponding serial data (transmission data set A8 on the board A1100 side and reception data set A8 on the board B1200 side) is transmitted from the board B1200 to the board A1100 with “B8 (1) = 1, B8. (2) = 1, B8 (3) = 0, B8 (4) = 0 ”is a transmission data set B8 (transmission data set B8 on the board B1200 side and board A1100 side) composed of serial data. A reception data set B8) is being transmitted. In this way, 4 bits of the motor output signal and 4 bits of the sensor input signal are serially communicated in one process.

モータ出力信号の4ビットについては、4ビットのうちの隣接する2ビットのみが「1(オンを示し励磁状態)」であるか又は4ビットの全てが「0(オフを示し非励磁状態)」であるかのいずれかである。ここで、隣接するとは、Nビット目(An(N))と(N+1)ビット目(An(N+1))とをいう。なお、An(4)とAn(1)とは隣接しているとする。これ以外のパターンの2ビットがオン(1ビット飛ばしてオン)又は1ビットのみがオン、3ビットがオン若しくは全4ビットがオンであるモータ出力信号は存在しない。このため、基板A1100においては正常な4ビットのモータ制御データ(パラレルデータ)であったが、シリアル通信されているときにノイズが重畳したり静電気によりデータが変化したりすると(以下においてはノイズが重畳と記載する。)、以下のように異常判定することができる。シリアル通信中に、シリアルデータ中のオフの1ビットにノイズが重畳してオンになってしまうと、基板B1200においてシリアル/パラレル変換した結果、3ビットがオンになっている。基板B1200のマイコン1206は、この状態を検出してデータ異常であると判定する。   For the 4 bits of the motor output signal, only 2 adjacent bits of the 4 bits are “1 (indicating on and energized)” or all 4 bits are “0 (indicating off and de-energized)”. Is either Here, being adjacent means the Nth bit (An (N)) and the (N + 1) th bit (An (N + 1)). Note that An (4) and An (1) are adjacent to each other. There is no motor output signal in which 2 bits of other patterns are on (1 bit skipped on), only 1 bit is on, 3 bits are on, or all 4 bits are on. For this reason, the normal 4-bit motor control data (parallel data) is used on the board A1100. However, when noise is superimposed or data changes due to static electricity during serial communication (in the following, the noise is reduced). An abnormality can be determined as follows. During serial communication, if noise is superimposed on one off bit in the serial data and turned on, three bits are turned on as a result of serial / parallel conversion in the board B1200. The microcomputer 1206 of the board B1200 detects this state and determines that the data is abnormal.

このように、本発明においては、基板A1100と基板B1200とをシリアル通信線1010で接続してシリアルデータを転送するSPIを用いたシリアル転送システム(送受信ユニット)における異常処理をマイコンで実行されるプログラムにより実現している。以下マイコンで実行されるプログラムの制御構造について説明する。なお、図4を用いて説明したように、基板A1100の通信ユニット1101と基板B1200の通信ユニット1201とは等価であって(すなわち、双方の基板においてデータが他方の基板へ送受信される)、それらの通信ユニット1101に実装されたマイコン1106及び通信ユニット1201に実装されたマイコン1206は同じ構成であって、同じ異常判定プログラムを実行する。以下においては、通信ユニット1201に実装されたマイコン1206で実行されるプログラムについて説明する。基板A1100のマイコン1106もマイコン1206と同じプログラムを同じタイミングで実行する。   As described above, in the present invention, a program for executing abnormality processing in a serial transfer system (transmission / reception unit) using an SPI that transfers serial data by connecting the substrate A1100 and the substrate B1200 with the serial communication line 1010. It is realized by. The control structure of the program executed by the microcomputer will be described below. As described with reference to FIG. 4, the communication unit 1101 of the board A1100 and the communication unit 1201 of the board B1200 are equivalent (that is, data is transmitted to and received from the other board on both boards). The microcomputer 1106 mounted on the communication unit 1101 and the microcomputer 1206 mounted on the communication unit 1201 have the same configuration and execute the same abnormality determination program. Hereinafter, a program executed by the microcomputer 1206 installed in the communication unit 1201 will be described. The microcomputer 1106 on the substrate A1100 also executes the same program as the microcomputer 1206 at the same timing.

[ソフトウェア構成]
図7は、マイコン1206で実行されるプログラムの制御構造を示すフローチャートである。なお、マイコン1206は、シリアル通信されて受信したデータの異常判定及び異常処理に関するプログラムと並行して、その他のプログラムも実行する。しかし、その他のプログラムは、本発明の本質的部分とは直接関係するものではないので、その詳細についてはここでは説明しない。
Software configuration
FIG. 7 is a flowchart showing a control structure of a program executed by the microcomputer 1206. Note that the microcomputer 1206 also executes other programs in parallel with the programs related to abnormality determination and abnormality processing of data received through serial communication. However, the other programs are not directly related to the essential parts of the present invention, and the details thereof will not be described here.

ステップ(以下、ステップをSと記載する。)1000にて、マイコン1206は、データ通信が開始されたか否かを判定する。このとき、マイコン1206は、例えば通信手順に従って特定の信号を受信したことにより、データ通信が開始されたと判定する。データ通信が開始されたと判定されると(S1000にてYES)、処理はS1010へ移される。もしそうでないと(S1000にてNO)、この処理は終了する。   In step (hereinafter, step is referred to as S) 1000, microcomputer 1206 determines whether or not data communication is started. At this time, the microcomputer 1206 determines that data communication has started, for example, by receiving a specific signal according to the communication procedure. If it is determined that data communication has started (YES in S1000), the process proceeds to S1010. Otherwise (NO in S1000), this process ends.

S1010にて、マイコン1206は、シリアルデータを基板A1100から受信したか否かを判定する。このとき、上述したSPIでは送信と受信とが同時に行なわれている。シリアルデータを基板A1100から受信したと判定されると(S1100にてYES)、処理はS1020へ移される。もしそうでないと(S1100にてNO),この処理はS1010へ戻されてシリアルデータを基板A1100から受信するまで待つ。   In step S1010, the microcomputer 1206 determines whether serial data has been received from the substrate A1100. At this time, in the above-described SPI, transmission and reception are performed simultaneously. If it is determined that serial data has been received from substrate A 1100 (YES in S 1100), the process proceeds to S 1020. If not (NO in S1100), the process returns to S1010 and waits until serial data is received from the board A1100.

S1020にて、マイコン1206は、シリアル/パラレル変換器1204を制御して、受信したシリアルデータをパラレルデータに変換する。   In S1020, microcomputer 1206 controls serial / parallel converter 1204 to convert the received serial data into parallel data.

S1030にて、マイコン1206は、変換したパラレルデータを処理する。このとき、基板A1100から基板B1200へ送信されてパラレルデータに変換されたモータ出力信号の4ビット(An(1)、An(2)、An(3)、An(4))について、隣接する2ビットが「1(オンを示し励磁状態)」であるか否か、4ビットの全てが「0(オフを示し非励磁状態)」であるか否か、これ以外のパターンの2ビットがオン(1ビット飛ばしてオン)であるか否か、又は、1ビットのみがオン、3ビットがオン若しくは全4ビットがオンであるか否かについて処理する。   In S1030, microcomputer 1206 processes the converted parallel data. At this time, 4 bits (An (1), An (2), An (3), An (4)) of the motor output signal transmitted from the substrate A1100 to the substrate B1200 and converted into parallel data are adjacent to each other. Whether the bit is “1 (ON indicates excitation state)”, whether all 4 bits are “0 (OFF indicates non-excitation state)”, and other 2 bits of the other patterns are ON ( Whether or not 1 bit is skipped is ON), or only 1 bit is ON, 3 bits are ON, or all 4 bits are ON.

S1040にて、マイコン1206は、受信データが異常であるか否かを判定する。上述したモータ出力信号の4ビット(An(1)、An(2)、An(3)、An(4))のうちの隣接する2ビットが「1(オンを示し励磁状態)」である場合、4ビットの全てが「0(オフを示し非励磁状態)」である場合には、異常であると判定されない。これ以外のパターンの2ビットがオン(1ビット飛ばしてオン)である場合、又は、1ビットのみがオン、3ビットがオン若しくは全4ビットがオンである場合には、異常であると判定される。受信データが異常であると判定されると(S1040にてYES)、処理はS1050へ移される、もしそうでないと(S1050にてNO)、この処理はS1070へ移される。   In S1040, microcomputer 1206 determines whether or not the received data is abnormal. When the adjacent 2 bits of the 4 bits (An (1), An (2), An (3), An (4)) of the motor output signal described above are “1 (indicating ON and excited state)” When all of the 4 bits are “0 (indicating off and de-energized)”, it is not determined to be abnormal. If 2 bits of other patterns are on (1 bit skipped on), or if only 1 bit is on, 3 bits are on, or all 4 bits are on, it is determined to be abnormal The If it is determined that the received data is abnormal (YES in S1040), the process proceeds to S1050. If not (NO in S1050), the process proceeds to S1070.

S1050にて、マイコン1206は、受信したシリアルデータを変換したパラレルデータにより表されるモータ出力信号を入出力ポート1209の出力ポートへ出力する。S1060にて、マイコン1206は、ポート出力した最新のデータを保持する。   In step S1050, the microcomputer 1206 outputs a motor output signal represented by parallel data obtained by converting the received serial data to the output port of the input / output port 1209. In step S1060, the microcomputer 1206 holds the latest data output from the port.

S1070にて、マイコン1206は、データ通信が終了であるか否かを判定する。このとき、マイコン1206は、例えば通信手順に従って特定の信号を受信したことにより、データ通信が終了したと判定する。データ通信が終了したと判定されると(S1070にてYES)、この処理は終了する。もしそうでないと(S1070にてNO),この処理はS1010へ戻される。   In S1070, microcomputer 1206 determines whether or not the data communication is terminated. At this time, the microcomputer 1206 determines that the data communication is completed, for example, by receiving a specific signal according to the communication procedure. If it is determined that the data communication has ended (YES in S1070), this process ends. Otherwise (NO at S1070), the process returns to S1010.

[シリアル転送動作]
以上のような構造及びフローチャートに基づく、本実施の形態に係る画像形成装置100におけるシリアル転送システムの動作について説明する。なお、以下の説明においては基板B1200における動作について説明するが、基板A1100においても同じ動作が行なわれている。
[Serial transfer operation]
The operation of the serial transfer system in image forming apparatus 100 according to the present embodiment based on the structure and flowchart as described above will be described. In the following description, the operation on the substrate B1200 will be described, but the same operation is performed on the substrate A1100.

基板A1100と基板B1200との間でSPIを使用したシリアルデータ通信が始まり(S1000にてYES)、基板B1200が基板A1100からシリアルデータを受信すると(S1010にてYES)、基板B1200のマイコン1206がシリアルデータをパラレルデータに変換する(S1020)。   When serial data communication using the SPI starts between the board A 1100 and the board B 1200 (YES in S1000) and the board B 1200 receives serial data from the board A 1100 (YES in S1010), the microcomputer 1206 of the board B 1200 is serial. Data is converted into parallel data (S1020).

図8に示すように、シリアルデータ通信が開始されると、基板A1100側の入力A1(1)〜入力A1(4)(基板A1100側の送信データセットA1であって基板B1200側の受信データセットA1)及び基板B1200側の入力B1(1)〜入力B1(4)(基板B1200側の送信データセットB1であって基板A1100側の受信データセットB1)が同時に送受信される。このとき、基板A1100においては、パラレルデータ(モータへの出力信号)である入力A1(1)〜入力A1(4)がシリアルデータである送信データセットA1として基板A1100から基板B1200へ送信される。これに応答して、基板B1200においては、シリアルデータである送信データセットA1を受信データセットA1として受信して、受信データセットA1がパラレルデータである出力A1(1)〜出力A1(4)へ変換される。同じタイミングで、基板B1200においては、パラレルデータ(センサからの入力信号)である入力B1(1)〜入力B1(4)がシリアルデータである送信データセットB1として基板B1200から基板A1100へ送信される。これに応答して、基板A1100においては、シリアルデータである送信データセットB1を受信データセットB1として受信して、受信データセットB1がパラレルデータである出力B1(1)〜出力B1(4)へ変換される。   As shown in FIG. 8, when the serial data communication is started, the input A1 (1) to the input A1 (4) on the board A1100 side (the transmission data set A1 on the board A1100 side and the reception data set on the board B1200 side). A1) and the input B1 (1) to the input B1 (4) on the board B1200 side (the transmission data set B1 on the board B1200 side and the reception data set B1 on the board A1100 side) are simultaneously transmitted and received. At this time, in the board A1100, the input A1 (1) to the input A1 (4) that are parallel data (output signals to the motor) are transmitted from the board A1100 to the board B1200 as a transmission data set A1 that is serial data. In response to this, the board B1200 receives the transmission data set A1 that is serial data as the reception data set A1, and the output A1 (1) to the output A1 (4) in which the reception data set A1 is parallel data. Converted. At the same timing, in the board B1200, the input B1 (1) to the input B1 (4) that are parallel data (input signals from the sensor) are transmitted from the board B1200 to the board A1100 as a transmission data set B1 that is serial data. . In response to this, the substrate A1100 receives the transmission data set B1 that is serial data as the reception data set B1, and the output B1 (1) to the output B1 (4) in which the reception data set B1 is parallel data. Converted.

送信データセットA3は、パラレルデータである「A3(1)=1、A3(2)=0、A3(3)=0、A3(4)=1」に対応するシリアルデータ「1001」であるとする。正常にシリアル転送できると、出力A3(1)〜出力A3(4)は、受信データセットA3であるシリアルデータ「1001」をパラレル変換した「A3(1)=1、A3(2)=0、A3(3)=0、A3(4)=1」になる。このデータは隣接する2ビットがオンになっており正しいデータであると判定される(S1040にてNO)。このため、このままの出力A3(1)〜出力A3(4)が入出力ポート1209へ出力される(S1050)。その後、この最新データが保持される(S1060)。   The transmission data set A3 is serial data “1001” corresponding to parallel data “A3 (1) = 1, A3 (2) = 0, A3 (3) = 0, A3 (4) = 1”. To do. If serial transfer can be performed normally, the output A3 (1) to output A3 (4) are converted to “A3 (1) = 1, A3 (2) = 0, which is a serial conversion of the serial data“ 1001 ”as the reception data set A3. A3 (3) = 0, A3 (4) = 1 ”. This data is determined to be correct data because the adjacent 2 bits are on (NO in S1040). Therefore, the output A3 (1) to output A3 (4) as they are are output to the input / output port 1209 (S1050). Thereafter, the latest data is held (S1060).

このように送信データセットA3がシリアル転送された次のタイミングにおいて、基板A1100から基板B1200へ送信される送信データセットA4に、ノイズが重畳した場合について説明する。   A case where noise is superimposed on the transmission data set A4 transmitted from the board A1100 to the board B1200 at the next timing after the transmission data set A3 is serially transferred will be described.

送信データセットA4は「A4(1)=1、A4(2)=0、A4(3)=0、A4(4)=1」に対応するシリアルデータ「1001」であるとする。シリアル転送中にノイズが重畳してシリアルデータ「1011」に変化したと仮定すると、出力A4(1)〜出力A4(4)は、受信データセットA4であるシリアルデータ「1011」をパラレル変換した「A4(1)=1、A4(2)=0、A4(3)=1、A4(4)=1」になる。しかしながら、3ビットがオンになるモータ1210の制御信号は存在しないので、受信したデータは異常であると判定される(S1040にてYES)。このときには、出力A4(1)〜出力A4(4)が入出力ポート1209へ出力されない。この場合には、先の出力A3(1)〜出力A3(4)が保持されているので、そのモータ出力信号が使用されてモータ1210が制御される。この状態が、図8に示すように、保持データがポート出力されている状態である。   The transmission data set A4 is assumed to be serial data “1001” corresponding to “A4 (1) = 1, A4 (2) = 0, A4 (3) = 0, A4 (4) = 1”. Assuming that noise is superimposed during serial transfer to change to serial data “1011”, output A4 (1) to output A4 (4) are obtained by converting serial data “1011” as reception data set A4 into parallel “ A4 (1) = 1, A4 (2) = 0, A4 (3) = 1, A4 (4) = 1 ”. However, since there is no control signal for motor 1210 in which 3 bits are turned on, it is determined that the received data is abnormal (YES in S1040). At this time, the outputs A4 (1) to A4 (4) are not output to the input / output port 1209. In this case, since the previous outputs A3 (1) to A3 (4) are held, the motor output signal is used to control the motor 1210. This state is a state in which the retained data is output to the port as shown in FIG.

この状態を図9を用いて説明する。図9に示すように、受信したシリアルデータに異常データが検出されると入出力ポートには出力されない。1処理(1サイクルタイム)前に入出力ポートに出力された信号が保持されているので異常データがモータドライバ1300へ出力されることはない。   This state will be described with reference to FIG. As shown in FIG. 9, when abnormal data is detected in the received serial data, it is not output to the input / output port. Since the signal output to the input / output port before one process (one cycle time) is held, abnormal data is not output to the motor driver 1300.

このときに、シリアルデータ(図8の送信データセット及び受信データセット)は、送受信信号(モータ出力信号及びセンサ入力信号)の変化に対して、十分短い間隔で送受信されている。これを図10に示す。図10に示すように、送信信号に対して受信信号は遅れるが、送受信信号の変化よりも十分に短いサンプリングタイム(図10の三角印)でシリアルデータが送受信されている。   At this time, serial data (transmission data set and reception data set in FIG. 8) is transmitted and received at sufficiently short intervals with respect to changes in transmission / reception signals (motor output signal and sensor input signal). This is shown in FIG. As shown in FIG. 10, although the reception signal is delayed with respect to the transmission signal, serial data is transmitted and received at a sampling time (triangle mark in FIG. 10) sufficiently shorter than the change of the transmission / reception signal.

このため、1秒に1回、モータ出力信号及びセンサ入力信号が変化するとしても、それよりも短いサンプリングタイムでシリアルデータを転送しているので、異常データを検出したときに、1処理前(1サンプリングタイム前)に転送された信号を用いて(保持しておいて)、モータドライバ1300へ出力してモータ1210が暴走することを回避できたり、モータドライバ1300の回路が破壊されないようにできたりする。   For this reason, even if the motor output signal and the sensor input signal change once per second, serial data is transferred with a shorter sampling time. By using (holding) the signal transferred one sampling time before), it can be output to the motor driver 1300 to prevent the motor 1210 from running out of control, or the motor driver 1300 circuit can be prevented from being destroyed. Or

以上のようにして、本実施の形態に係る画像形成装置100に搭載されたシリアル転送システムによると、シリアル転送中にデータが変化すると、受信側のマイコンがシリアルデータをパラレル変換した後のパラレルデータを用いて異常データであると判定する。このときには、入出力ポートに異常信号が出力されない。このため、制御対象であるモータが暴走したり、故障したりすることを回避できる。   As described above, according to the serial transfer system mounted on the image forming apparatus 100 according to the present embodiment, when data changes during serial transfer, the parallel data after the receiving microcomputer converts the serial data into parallel data. Is used to determine abnormal data. At this time, no abnormal signal is output to the input / output port. For this reason, it can avoid that the motor which is a control object runs away or breaks down.

<第2の実施の形態>
以下、本発明の第2の実施の形態について説明する。
<Second Embodiment>
Hereinafter, a second embodiment of the present invention will be described.

本実施の形態に係るシリアル転送システム(送受信ユニット)は、基板A2100と基板B2200とにより構成される。   The serial transfer system (transmission / reception unit) according to the present embodiment includes a substrate A2100 and a substrate B2200.

図11は、本実施の形態に係る送受信ユニットの構成を示す図であって、図3に対応する図である。   FIG. 11 is a diagram showing the configuration of the transmission / reception unit according to the present embodiment, and corresponds to FIG.

図11に示すように、基板A2100においては、シリアル/パラレル変換器1104と通信コネクタ1108との間の接続ライン(シリアルデータライン)をプルダウンする回路2102を備える。回路2102は、シリアルデータラインに、接地された抵抗器が接続される構成である。さらに、第1の実施の形態におけるマイコン1206とは異なる処理を実行するマイコン2106を備える。   As shown in FIG. 11, the substrate A2100 includes a circuit 2102 for pulling down a connection line (serial data line) between the serial / parallel converter 1104 and the communication connector 1108. The circuit 2102 has a configuration in which a grounded resistor is connected to the serial data line. Furthermore, the microcomputer 2106 which performs the process different from the microcomputer 1206 in 1st Embodiment is provided.

基板B2200においては、シリアル/パラレル変換器1204と通信コネクタ1208との間の接続ライン(シリアルデータライン)をプルダウンする回路2202を備える。回路2202は、シリアルデータラインに、接地された抵抗器が接続される構成である。さらに、第1の実施の形態におけるマイコン2206とは異なる処理であって、マイコン2106と同じ処理を実行するマイコン2206を備える。   The board B 2200 includes a circuit 2202 that pulls down a connection line (serial data line) between the serial / parallel converter 1204 and the communication connector 1208. The circuit 2202 has a configuration in which a grounded resistor is connected to the serial data line. Further, the microcomputer 2206 is a process different from the microcomputer 2206 in the first embodiment, and executes the same process as the microcomputer 2106.

図11に示す構成では、シリアルデータラインをプルダウンする回路2102及び回路2202が設けられており、このように回路を構成することにより、シリアル通信線1010が断線した時又はコネクタが抜けた時にシリアル信号がLowに固定される。マイコン2106及びマイコン2206は、この状態(信号が所定時間以上Low)を検出して、シリアル転送システムに異常が発生したと判定する。   In the configuration shown in FIG. 11, a circuit 2102 and a circuit 2202 for pulling down the serial data line are provided. By configuring the circuit in this way, the serial signal is disconnected when the serial communication line 1010 is disconnected or the connector is disconnected. Is fixed to Low. The microcomputer 2106 and the microcomputer 2206 detect this state (signal is low for a predetermined time or more) and determine that an abnormality has occurred in the serial transfer system.

なお、図11に示した回路2102及び回路2202ではなく、シリアルデータラインに、正電位(Vcc)に接続された抵抗器が接続されるプルアップの構成とすることもできる。この場合には、シリアル通信線1010が断線した時又はコネクタが抜けた時に、シリアル信号がHighに固定される。マイコン2106及びマイコン2206は、この状態(信号が所定時間以上High)を検出して、シリアル転送システムに異常が発生したと判定する。   Note that instead of the circuit 2102 and the circuit 2202 illustrated in FIG. 11, a resistor connected to a positive potential (Vcc) may be connected to the serial data line. In this case, the serial signal is fixed to High when the serial communication line 1010 is disconnected or the connector is disconnected. The microcomputer 2106 and the microcomputer 2206 detect this state (signal is high for a predetermined time or more) and determine that an abnormality has occurred in the serial transfer system.

なお、このようにシリアル通信線1010の断線又はコネクタの抜けを検出した場合には、基板B2200のマイコン2206は、制御対象が動作しない信号を出力する。例えばモータ1210に対して出力4ビットが全てオフであるような信号である。これにより、モータ1210が作動しないようにできる。   When the disconnection of the serial communication line 1010 or the disconnection of the connector is detected as described above, the microcomputer 2206 of the board B 2200 outputs a signal that the control target does not operate. For example, the signal is such that all 4 bits of output to the motor 1210 are off. Thereby, the motor 1210 can be prevented from operating.

以上のようにして本実施の形態に係るシリアル転送システムによると、シリアルデータラインをプルアップ又はプルダウンする回路構成として、シリアル通信線の断線時にHigh又はLowに固定された信号に基づいて異常を検出できる。   As described above, according to the serial transfer system according to the present embodiment, as a circuit configuration for pulling up or pulling down the serial data line, an abnormality is detected based on a signal fixed to High or Low when the serial communication line is disconnected. it can.

<第3の実施の形態>
以下、本発明の第3の実施の形態について説明する。
<Third Embodiment>
Hereinafter, a third embodiment of the present invention will be described.

本実施の形態に係るシリアル転送システム(送受信ユニット)は、基板A3100と基板B3200とにより構成される。   The serial transfer system (transmission / reception unit) according to the present embodiment includes a substrate A3100 and a substrate B3200.

図12は、本実施の形態に係る送受信ユニットの構成を示す図であって、図3に対応する図である。図12に示すように、第2の実施の形態において説明したように、基板A3100と基板B3200には、シリアルデータラインをプルダウンする回路2102及び回路2202が設けられている。   FIG. 12 is a diagram showing the configuration of the transmission / reception unit according to the present embodiment, and corresponds to FIG. As shown in FIG. 12, as described in the second embodiment, the substrate A3100 and the substrate B3200 are provided with the circuit 2102 and the circuit 2202 for pulling down the serial data line.

これに加えて、図12に示すように、基板A3100は、第1の実施の形態におけるマイコン1106及び第2の実施の形態におけるマイコン2106とは異なる処理を実行するマイコン3106を備える。また、基板B3200は、第1の実施の形態におけるマイコン1206及び第2の実施の形態におけるマイコン2206とは異なる処理を実行するマイコン3206を備える。   In addition to this, as shown in FIG. 12, the substrate A3100 includes a microcomputer 3106 that executes processing different from the microcomputer 1106 in the first embodiment and the microcomputer 2106 in the second embodiment. The board B 3200 includes a microcomputer 3206 that executes processing different from the microcomputer 1206 in the first embodiment and the microcomputer 2206 in the second embodiment.

図12に示すマイコン3106又はマイコン3206は、受信したシリアル信号をパラレル信号へ変換した後において、変換されたパラレル信号により構成される信号列を監視する。その信号列が変化しない場合に、マイコン3106又はマイコン3206は、シリアル転送システムに異常が発生したと判定する。   The microcomputer 3106 or the microcomputer 3206 shown in FIG. 12 monitors a signal string composed of the converted parallel signals after converting the received serial signals into parallel signals. When the signal sequence does not change, the microcomputer 3106 or the microcomputer 3206 determines that an abnormality has occurred in the serial transfer system.

このとき、基板A3100又は基板B3200に接続された制御対象機器(例えばモータ)又は基板A3100又は基板B3200に接続された検出機器(例えばセンサ)の種類に基づいて、異常判定する時間(この時間を経過しても信号列が変化しないと異常と判定)を設定するようにしても構わない。これは、例えば検出対象物の検出頻度が多くないセンサが接続されている場合、検出頻度以下の時間を設定してしまうと、正しく異常判定できなくなるために、検出頻度より長い時間を設定する必要がことに起因する。   At this time, an abnormality determination time (this time has passed) based on the type of the control target device (for example, a motor) connected to the substrate A3100 or the substrate B3200 or the detection device (for example, a sensor) connected to the substrate A3100 or the substrate B3200. Even if the signal sequence does not change, it may be determined that the abnormality is determined). This is because, for example, when a sensor with a low detection frequency of the detection target is connected, if a time equal to or lower than the detection frequency is set, an abnormality cannot be correctly determined, so it is necessary to set a time longer than the detection frequency. Due to that.

以上のようにして、本実施の形態に係るシリアル転送システムにおいては、受信した信号列を監視して、パラレル通信に異常が発生したことを検出できる。   As described above, in the serial transfer system according to the present embodiment, the received signal train can be monitored to detect that an abnormality has occurred in parallel communication.

<第4の実施の形態>
以下、本発明の第4の実施の形態について説明する。
<Fourth embodiment>
Hereinafter, a fourth embodiment of the present invention will be described.

本実施の形態に係るシリアル転送システム(送受信ユニット)は、基板A4100と基板B4200とにより構成される。   The serial transfer system (transmission / reception unit) according to the present embodiment includes a substrate A4100 and a substrate B4200.

図13は、本実施の形態に係る送受信ユニットの構成を示す図であって、図3に対応する図である。図13に示すように、第2の実施の形態において説明したように、基板A4100と基板B4200には、シリアルデータラインをプルダウンする回路2102及び回路2202が設けられている。   FIG. 13 is a diagram showing the configuration of the transmission / reception unit according to the present embodiment, and corresponds to FIG. As illustrated in FIG. 13, as described in the second embodiment, the substrate A4100 and the substrate B4200 are provided with the circuit 2102 and the circuit 2202 that pull down the serial data line.

これに加えて、図13に示すように、基板A4100は、第1の実施の形態におけるマイコン1106、第2の実施の形態におけるマイコン2106及び第3の実施の形態におけるマイコン3106とは異なる処理を実行するマイコン4106を備える。また、基板B3200は、第1の実施の形態におけるマイコン1206、第2の実施の形態におけるマイコン2206及び第3の実施の形態におけるマイコン3206とは異なる処理を実行するマイコン4206を備える。   In addition to this, as shown in FIG. 13, the substrate A4100 performs processing different from that of the microcomputer 1106 in the first embodiment, the microcomputer 2106 in the second embodiment, and the microcomputer 3106 in the third embodiment. A microcomputer 4106 is provided. The board B 3200 includes a microcomputer 1206 that executes processing different from the microcomputer 1206 in the first embodiment, the microcomputer 2206 in the second embodiment, and the microcomputer 3206 in the third embodiment.

図13に示すマイコン4106又はマイコン4206は、シリアル転送システムに異常が発生したと判定すると、他方の基板へ異常の発生を報知する。ここでは、シリアル通信線1010(SPI通信における送信側通信線と受信側通信線とで構成)の基板A→Bへの通信線が断線した場合について説明する。   When the microcomputer 4106 or the microcomputer 4206 shown in FIG. 13 determines that an abnormality has occurred in the serial transfer system, the microcomputer 4106 notifies the other board of the occurrence of the abnormality. Here, a case will be described in which the communication line from the board A to B of the serial communication line 1010 (consisting of a transmission side communication line and a reception side communication line in SPI communication) is disconnected.

例えば、上述した第2の実施の形態のように、シリアル信号がLow(プルダウン回路の場合)又はHigh(プルアップ回路の場合)に固定されると、シリアル通信線1010(ハーネス)が断線してシリアル通信に異常が発生したと判定される。このような異常であると判定した場合には、基板B4200は、基板B4200から基板A4100へ送信するパラレルデータを特定のパターン(例えば「0000」、「1111」等)に固定する。このような信号を基板B4200から基板A4100へ送信すると、基板A4100において、基板B4200により検出されたシリアル転送システムの異常を、検出できる。   For example, when the serial signal is fixed to Low (in the case of a pull-down circuit) or High (in the case of a pull-up circuit) as in the second embodiment described above, the serial communication line 1010 (harness) is disconnected. It is determined that an abnormality has occurred in serial communication. If it is determined that such an abnormality has occurred, the substrate B 4200 fixes the parallel data transmitted from the substrate B 4200 to the substrate A 4100 in a specific pattern (eg, “0000”, “1111”, etc.). When such a signal is transmitted from the substrate B4200 to the substrate A4100, the abnormality of the serial transfer system detected by the substrate B4200 can be detected in the substrate A4100.

基板A4100は、さらに上位のプリンタユニットコントローラ220又は/及びメインコントローラ200へシリアル転送システムの異常を報知する。このような異常の報知を受けた、メインコントローラ200は、電源コントローラ250を制御して、画像形成装置100の全体を停止させたり、プリンタユニットコントローラ220は、この画像形成装置100のプリント機能を一時的に停止させたりすることができる。このように、シリアル通信の重篤な異常(静電気等で1サイクルだけ1ビット程度が変化する異常に対して重篤な異常)を検出した場合には画像形成装置100の全機能又は一部機能を停止させるように制御することができる。   The board A 4100 notifies the upper printer unit controller 220 and / or the main controller 200 of the abnormality of the serial transfer system. The main controller 200 that has received such an abnormality notification controls the power supply controller 250 to stop the entire image forming apparatus 100, or the printer unit controller 220 temporarily activates the print function of the image forming apparatus 100. Can be stopped automatically. As described above, when a serious abnormality in serial communication (a serious abnormality with respect to an abnormality in which about one bit changes for one cycle due to static electricity or the like) is detected, all or some functions of the image forming apparatus 100 are detected. Can be controlled to stop.

基板A4100のマイコン4106は、基板B4200のマイコン4206と同じ機能を有するので、上述した逆の処理(基板B→Aへの通信線が断線した場合に基板A4100でシリアル転送システムが異常であると判定すると基板B4200への報知処理)を実行する。   Since the microcomputer 4106 of the board A4100 has the same function as the microcomputer 4206 of the board B4200, it is determined that the serial transfer system is abnormal in the board A4100 when the communication line from the board B to A is disconnected. Then, a notification process to the substrate B4200) is executed.

以上のようにして本実施の形態に係るシリアル転送システムによると、異常時の通信線を専用に備えることなく、シリアル転送システムの異常を検出した基板から相手側の基板へ異常を報知することができる。   As described above, according to the serial transfer system according to the present embodiment, it is possible to notify the abnormality from the board detecting the abnormality of the serial transfer system to the other board without providing a dedicated communication line at the time of abnormality. it can.

今回開示された実施の形態は単に例示であって、本発明が上記した実施の形態のみに限定されるわけではない。本発明の範囲は、発明の詳細な説明の記載を参酌した上で、特許請求の範囲の各請求項によって示され、そこに記載された文言と均等の意味及び範囲内でのすべての変更を含む。   The embodiment disclosed herein is merely an example, and the present invention is not limited to the above-described embodiment. The scope of the present invention is indicated by each claim in the claims after taking into account the description of the detailed description of the invention, and all modifications within the meaning and scope equivalent to the wording described therein are intended. Including.

100 画像形成装置
200 メインコントローラ
210 スキャンユニットコントローラ
220 プリンタユニットコントローラ
230 FAXユニットコントローラ
240 インターフェイスコントローラ
250 電源コントローラ
1000 送受信ユニット(シリアル転送システム)
1010 シリアル通信線
1100、2100、3100、4100 メカニカル制御メイン基板A(基板A)
1200、2200、3200、4200 メカニカル制御メイン基板B(基板B)
1101、1201 通信ユニット(シリアル転送装置)
1104、1204 データ判定機能付きシリアル/パラレル変換器(シリアル/パラレル変換器)
1106、1206、2106、2206、3106、3206、4106、4206 マイコン
1108、1208 通信コネクタ
1109、1209 入出力ポート
1210、1212、1214 モータ
1220、1222、1224、1226 センサ
1300 モータドライバ
1302 入出力コネクタ
DESCRIPTION OF SYMBOLS 100 Image forming apparatus 200 Main controller 210 Scan unit controller 220 Printer unit controller 230 FAX unit controller 240 Interface controller 250 Power supply controller 1000 Transmission / reception unit (serial transfer system)
1010 Serial communication line 1100, 2100, 3100, 4100 Mechanical control main board A (board A)
1200, 2200, 3200, 4200 Mechanical control main board B (board B)
1101, 1201 Communication unit (serial transfer device)
1104, 1204 Serial / parallel converter with data judgment function (serial / parallel converter)
1106, 1206, 2106, 2206, 3106, 3206, 4106, 4206 Microcomputer 1108, 1208 Communication connector 1109, 1209 Input / output port 1210, 1212, 1214 Motor 1220, 1222, 1224, 1226 Sensor 1300 Motor driver 1302 Input / output connector

Claims (11)

パラレルデータをシリアル転送するシリアル転送装置であって、
他のシリアル転送装置に接続された信号線を接続するための接続手段と、
外部機器への信号を出力又は外部機器からの信号を入力するための入出力手段と、
前記外部機器からの信号であって前記他のシリアル転送装置へ送信するパラレルデータをシリアルデータに変換又は前記外部機器への信号であって前記他のシリアル転送装置から受信したシリアルデータをパラレルデータに変換するための変換手段と、
前記他のシリアル転送装置から受信したシリアルデータを前記変換手段により変換したパラレルデータを前記入出力手段を介して前記外部機器へ転送するための転送手段と、
前記他のシリアル転送装置から受信したシリアルデータを前記変換手段により変換したパラレルデータに基づいて、受信したデータが異常であるか否かを判定するための判定手段とを含む、シリアル転送装置。
A serial transfer device for serially transferring parallel data,
Connection means for connecting a signal line connected to another serial transfer device;
Input / output means for outputting signals to external devices or inputting signals from external devices;
Converts parallel data to be transmitted to the other serial transfer device from the external device into serial data, or converts serial data received from the other serial transfer device to parallel data. Conversion means for converting;
Transfer means for transferring parallel data obtained by converting the serial data received from the other serial transfer device by the conversion means to the external device via the input / output means;
A serial transfer device comprising: determination means for determining whether the received data is abnormal based on parallel data obtained by converting the serial data received from the other serial transfer device by the conversion means;
前記シリアル転送装置は、受信したデータが異常であると判定されると、受信したシリアルデータから変換したパラレルデータを前記外部機器へ転送しないように、前記転送手段を制御するための制御手段をさらに含む、請求項1に記載のシリアル転送装置。   The serial transfer device further includes control means for controlling the transfer means so that the parallel data converted from the received serial data is not transferred to the external device when it is determined that the received data is abnormal. The serial transfer device according to claim 1, further comprising: 前記シリアル転送装置は、
前記入出力手段を介して前記外部機器へ転送されたデータを保持するための保持手段と、
受信したデータが異常であると判定されると、受信したシリアルデータから変換したパラレルデータではなく前記保持されたデータを前記外部機器へ転送するための手段とをさらに含む、請求項2に記載のシリアル転送装置。
The serial transfer device
Holding means for holding data transferred to the external device via the input / output means;
The method according to claim 2, further comprising means for transferring the held data to the external device instead of the parallel data converted from the received serial data when it is determined that the received data is abnormal. Serial transfer device.
前記判定手段は、前記変換手段により変換したパラレルデータのパターンに基づいて、受信したデータが異常であるか否かを判定するための手段を含む、請求項1〜請求項3のいずれかに記載のシリアル転送装置。   The said determination means contains the means for determining whether the received data are abnormal based on the pattern of the parallel data converted by the said conversion means. Serial transfer device. 前記判定手段は、前記変換手段により変換したパラレルデータが予め定められた時間以上変化しないことに基づいて、受信したデータが異常であると判定するための手段を含む、請求項1〜請求項3のいずれかに記載のシリアル転送装置。   The determination means includes means for determining that the received data is abnormal based on the fact that the parallel data converted by the conversion means does not change for a predetermined time or more. The serial transfer device according to any one of the above. 前記シリアル転送装置は、受信したデータが異常であると判定されると、受信したシリアルデータから変換したパラレルデータではなく前記外部機器が異常な状態にならないデータを前記外部機器へ転送するための手段をさらに含む、請求項1〜請求項5のいずれかに記載のシリアル転送装置。   The serial transfer device, when it is determined that the received data is abnormal, means for transferring to the external device data that does not cause the external device to be in an abnormal state instead of parallel data converted from the received serial data The serial transfer device according to claim 1, further comprising: 前記外部機器が異常な状態にならないデータは、前記外部機器が作動しないデータである、請求項6に記載のシリアル転送装置。   The serial transfer device according to claim 6, wherein the data that does not cause the external device to be in an abnormal state is data that the external device does not operate. 前記シリアル転送装置は、受信したデータが異常であると判定されると、前記他のシリアル転送装置へ異常の発生を報知するための報知手段をさらに含む、請求項1〜請求項7のいずれかに記載のシリアル転送装置。   8. The serial transfer device according to claim 1, further comprising notification means for notifying the other serial transfer device of the occurrence of an abnormality when it is determined that the received data is abnormal. 9. The serial transfer device described in 1. 前記報知手段は、前記信号線を用いて、前記他のシリアル転送装置へ転送異常の発生を報知するための手段を含む、請求項8に記載のシリアル転送装置。   9. The serial transfer device according to claim 8, wherein the notification means includes means for notifying the other serial transfer device of occurrence of a transfer abnormality using the signal line. 請求項1〜請求項9のいずれかに記載のシリアル転送装置2台と、それら2台のシリアル転送装置を接続する信号線とを含む、シリアル転送システム。   A serial transfer system comprising two serial transfer devices according to claim 1 and a signal line connecting the two serial transfer devices. 請求項10に記載のシリアル転送装置システムを備えた画像形成装置。
An image forming apparatus comprising the serial transfer device system according to claim 10.
JP2009036013A 2009-02-19 2009-02-19 Serial transfer device, serial transfer system and image forming apparatus with serial transfer system Pending JP2010193225A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009036013A JP2010193225A (en) 2009-02-19 2009-02-19 Serial transfer device, serial transfer system and image forming apparatus with serial transfer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009036013A JP2010193225A (en) 2009-02-19 2009-02-19 Serial transfer device, serial transfer system and image forming apparatus with serial transfer system

Publications (1)

Publication Number Publication Date
JP2010193225A true JP2010193225A (en) 2010-09-02

Family

ID=42818780

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009036013A Pending JP2010193225A (en) 2009-02-19 2009-02-19 Serial transfer device, serial transfer system and image forming apparatus with serial transfer system

Country Status (1)

Country Link
JP (1) JP2010193225A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015084198A (en) * 2013-09-20 2015-04-30 株式会社エルイーテック Communication device with disconnection detection and notification function

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61288638A (en) * 1985-06-17 1986-12-18 Hitachi Ltd Data transmission system with pace synchronization
JPH05114925A (en) * 1991-10-21 1993-05-07 Yokogawa Electric Corp Serial data transfer interface
JPH06311197A (en) * 1993-04-23 1994-11-04 Hitachi Denshi Ltd System and equipment for series-parallel converting transmission
JP2000049809A (en) * 1998-07-30 2000-02-18 Nec Eng Ltd System changeover control circuit
JP2000149178A (en) * 1998-11-10 2000-05-30 Railway Technical Res Inst Serial transmission system for measurement data
JP2000174733A (en) * 1998-12-10 2000-06-23 Totoku Electric Co Ltd Light reception circuit
JP2000312151A (en) * 1999-04-27 2000-11-07 Denso Corp Electronic controller

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61288638A (en) * 1985-06-17 1986-12-18 Hitachi Ltd Data transmission system with pace synchronization
JPH05114925A (en) * 1991-10-21 1993-05-07 Yokogawa Electric Corp Serial data transfer interface
JPH06311197A (en) * 1993-04-23 1994-11-04 Hitachi Denshi Ltd System and equipment for series-parallel converting transmission
JP2000049809A (en) * 1998-07-30 2000-02-18 Nec Eng Ltd System changeover control circuit
JP2000149178A (en) * 1998-11-10 2000-05-30 Railway Technical Res Inst Serial transmission system for measurement data
JP2000174733A (en) * 1998-12-10 2000-06-23 Totoku Electric Co Ltd Light reception circuit
JP2000312151A (en) * 1999-04-27 2000-11-07 Denso Corp Electronic controller

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015084198A (en) * 2013-09-20 2015-04-30 株式会社エルイーテック Communication device with disconnection detection and notification function

Similar Documents

Publication Publication Date Title
JP2009251089A (en) Transfer device, and image forming device provided therewith
JP2009192956A (en) Fixing device and image forming apparatus
JP5610799B2 (en) Image forming apparatus
US8131162B2 (en) Image forming apparatus for detecting a non-qualified developer cartridge
JP5676950B2 (en) Image forming apparatus
US10280019B2 (en) Paper feeder that determines necessity of replacement of retard roller, and image forming apparatus
JP2007094093A (en) Image forming apparatus and control method thereof
JP2009258164A (en) Rotational drive transmission mechanism and image forming apparatus equipped therewith
JP2010193225A (en) Serial transfer device, serial transfer system and image forming apparatus with serial transfer system
JP4078097B2 (en) Power transmission device and image forming apparatus
JP4455365B2 (en) Communications system
JP2006293138A (en) Image forming apparatus
JP4539322B2 (en) Image forming apparatus and phase adjustment method in the apparatus
JP2010102247A (en) Drive force transmission mechanism for image carrier, image forming apparatus having the same, and drive force transmission method for image carrier
US8109511B2 (en) Paper discharger and image forming apparatus
JP2007102188A (en) Image forming apparatus
JP2007336776A (en) Power control unit and electrical equipment
US20110317190A1 (en) Image forming apparatus
JP2011007829A (en) Image forming apparatus
JP2013054314A (en) Image forming apparatus and operation control method
US7372479B2 (en) Apparatus and method for optical image formation control
JPH07276743A (en) Image recording apparatus
JPH1026913A (en) Image forming device
JP2017114654A (en) Sheet conveyance device and image forming apparatus
JP2005305769A (en) Image formation engine and image forming apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110223

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20111208

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20111213

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120203

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20120508