JP2018122545A - Image formation system, communication system, communication method and image formation device - Google Patents

Image formation system, communication system, communication method and image formation device Download PDF

Info

Publication number
JP2018122545A
JP2018122545A JP2017017876A JP2017017876A JP2018122545A JP 2018122545 A JP2018122545 A JP 2018122545A JP 2017017876 A JP2017017876 A JP 2017017876A JP 2017017876 A JP2017017876 A JP 2017017876A JP 2018122545 A JP2018122545 A JP 2018122545A
Authority
JP
Japan
Prior art keywords
control unit
communication
communication control
unit
image forming
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2017017876A
Other languages
Japanese (ja)
Other versions
JP6897126B2 (en
Inventor
哲 高野
Satoru Takano
哲 高野
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2017017876A priority Critical patent/JP6897126B2/en
Publication of JP2018122545A publication Critical patent/JP2018122545A/en
Application granted granted Critical
Publication of JP6897126B2 publication Critical patent/JP6897126B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Facsimiles In General (AREA)

Abstract

PROBLEM TO BE SOLVED: To reduce load of processing in a master side unit.SOLUTION: An image formation system includes a first device and a second device. The first device includes: a plurality of control parts to be a master of a plurality of sensors for acquiring information for detecting a position of a recording medium in an image formation part; and a first communication control part for controlling communication between the control parts and the second device. The second device has a second communication control part to be a master of the first communication control part.SELECTED DRAWING: Figure 1

Description

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

従来から、複合機等に代表される事務用印刷機では、コントローラユニット、スキャナユニット、操作部ユニット、印刷制御ユニット、搬送ユニット等の複数のユニットにより構成されるものがある。これらの各ユニットには、印刷機の制御や印刷データの信号処理等を行うために、複数のLSI(Large-Scale Integrated circuit)を含む基板が搭載されている。   2. Description of the Related Art Conventionally, there are office printers represented by multifunction peripherals and the like, which include a plurality of units such as a controller unit, a scanner unit, an operation unit, a print control unit, and a transport unit. In each of these units, a substrate including a plurality of LSIs (Large-Scale Integrated circuits) is mounted in order to perform control of the printing press, signal processing of print data, and the like.

また、例えば、プロダクトプリンティングのような大規模な印刷機においては、各ユニットを隣接して配置することが困難となることが多く、ユニット間の距離が数メートルに及ぶこともありえる。   For example, in a large-scale printing machine such as product printing, it is often difficult to arrange the units adjacent to each other, and the distance between the units may reach several meters.

そのため、従来の大規模な印刷機では、ユニットの基板間における画像データの送受信には、高速シリアルインターフェイスを用いてケーブル本数の削減やノイズ耐性の強化している。また、従来の大規模な印刷機では、ユニット間における画像データの送受信には、長距離通信が可能な低速シリアルインターフェイスを用い、センサの値等によって作像エンジンの動作を監視し、安定したシステムを提供することが知られている。   For this reason, in conventional large-scale printing presses, transmission / reception of image data between unit boards uses a high-speed serial interface to reduce the number of cables and enhance noise resistance. In addition, a conventional large-scale printing machine uses a low-speed serial interface capable of long-distance communication for transmission and reception of image data between units, and monitors the operation of the imaging engine based on sensor values, etc. Is known to provide.

上述した従来の技術では、例えば、高速シリアルインターフェイスを用いて通信を行うデバイスが複数存在するユニットでは、複数のデバイスを制御するために、マスタ側のユニットへ頻繁にアクセスすることになる。このため、従来では、高速シリアルインターフェイスを用いて通信を行うデバイスが複数存在するユニットのマスタ側となるユニットの演算処理部の負荷が増大し、パフォーマンスが低下する虞がある。   In the conventional technique described above, for example, in a unit in which a plurality of devices that perform communication using a high-speed serial interface exist, the master side unit is frequently accessed in order to control the plurality of devices. For this reason, conventionally, the load on the arithmetic processing unit of the unit on the master side of a unit in which a plurality of devices performing communication using a high-speed serial interface exists increases, and there is a concern that the performance may deteriorate.

開示の技術は、マスタ側のユニットの処理の負荷を軽減させることを目的としている。   The disclosed technique aims to reduce the processing load on the master unit.

開示の技術は、第1のデバイスと、第2のデバイスとを有する画像形成システムであって、前記第1のデバイスは、画像形成部における記録媒体の位置を検知するための情報を取得する複数のセンサのマスタとなる複数の制御部と、前記複数の制御部と、前記第2のデバイスとの通信を制御する第1の通信制御部と、を有し、前記第2のデバイスは、前記第1の通信制御部のマスタとなる第2の通信制御部を有する。   The disclosed technology is an image forming system including a first device and a second device, and the first device acquires a plurality of pieces of information for detecting a position of a recording medium in an image forming unit. A plurality of control units serving as masters of the sensor, the plurality of control units, and a first communication control unit that controls communication with the second device, wherein the second device includes A second communication control unit serving as a master of the first communication control unit;

マスタ側のユニットの処理の負荷を軽減させることができる。   The processing load on the master unit can be reduced.

本実施形態の画像形成システムを説明する図である。It is a figure explaining the image forming system of this embodiment. 印刷制御ユニット、プロッタ、センサボードの機能を説明する図である。It is a figure explaining the function of a printing control unit, a plotter, and a sensor board. 紙位置検知部の構成について説明する図である。It is a figure explaining the structure of a paper position detection part. センサ制御部の構成を説明する図である。It is a figure explaining the structure of a sensor control part. 紙位置検知部とセンサ制御部との間の通信データプロトコルを説明する図である。It is a figure explaining the communication data protocol between a paper position detection part and a sensor control part. 本実施形態のシリアル通信における各信号の一例を示す図である。It is a figure which shows an example of each signal in the serial communication of this embodiment. マスタ側デバイスの動作を説明するフローチャートである。It is a flowchart explaining operation | movement of a master side device. スレーブ側デバイスの動作を説明するフローチャートである。It is a flowchart explaining operation | movement of a slave side device. SPIデバイスに対してリード要求が行われた場合の画像形成システムの動作を説明するフローチャートである。6 is a flowchart for explaining the operation of the image forming system when a read request is made to the SPI device.

以下に図面を参照して、実施形態について説明する。図1は、本実施形態の画像形成システムを説明する図である。   Embodiments will be described below with reference to the drawings. FIG. 1 is a diagram illustrating an image forming system according to the present embodiment.

本実施形態の画像形成システム100は、例えば、プリントサーバ101と接続される。本実施形態のプリントサーバ101は、画像データを画像形成システム100へ出力する。   The image forming system 100 according to the present embodiment is connected to, for example, a print server 101. The print server 101 of this embodiment outputs image data to the image forming system 100.

本実施形態の画像形成システム100は、画像転送ユニット103、印刷制御ユニット104、プロッタ105、センサボード106、画像処理ユニット107を有する。尚、本実施形態の画像形成システム100は、1つの画像形成装置であっても良い。   The image forming system 100 according to the present embodiment includes an image transfer unit 103, a print control unit 104, a plotter 105, a sensor board 106, and an image processing unit 107. Note that the image forming system 100 of this embodiment may be a single image forming apparatus.

本実施形態の画像形成システム100の有する各ユニットは、例えば、LSI(Large-Scale Integrated circuit)やCPU(Central Processing Unit)等の演算処理装置が実装された基板を有している。   Each unit included in the image forming system 100 of the present embodiment includes a substrate on which an arithmetic processing device such as an LSI (Large-Scale Integrated circuit) or a CPU (Central Processing Unit) is mounted.

画像転送ユニット103は、プリントサーバ101から受信した画像データに対する各種の画像処理を行う。本実施形態の画像転送ユニット103は、例えば、内部にDRAMやHDD等のメモリを有し、後段から画像データの転送要求を受けて、メモリに保管していた画像データを転送要求元の画像処理ユニット107に転送する。   The image transfer unit 103 performs various image processing on the image data received from the print server 101. The image transfer unit 103 according to the present embodiment includes a memory such as a DRAM or an HDD, for example, and receives image data transfer requests from the subsequent stage and converts the image data stored in the memory into image processing of the transfer request source. Transfer to unit 107.

印刷制御ユニット104は、プロッタ105からのライン周期信号を受けてタイミングで画像データの転送要求を前段の画像処理ユニット107に要求する。   In response to the line cycle signal from the plotter 105, the print control unit 104 requests the image processing unit 107 in the previous stage to transfer image data at the timing.

プロッタ105は、ライン周期信号の生成や、プロッタエンジンの制御を行い、記録媒体に画像データが示す画像を形成する。   The plotter 105 generates a line cycle signal and controls the plotter engine, and forms an image indicated by image data on a recording medium.

センサボード106は、プロッタ105に含まれる感光体、現像ローラの状態や、紙等の記録媒体の状態を検知するための様々なセンサが実装されたボードである。尚、以下の説明では、記録媒体を紙として説明するが、画像が形成される記録媒体は、紙に限定されない。   The sensor board 106 is a board on which various sensors for detecting the state of the photoconductor and the developing roller included in the plotter 105 and the state of a recording medium such as paper are mounted. In the following description, the recording medium is described as paper, but the recording medium on which an image is formed is not limited to paper.

画像処理ユニット107は、プリントサーバ101から転送される画像処理前の画像データを受信すると、画像処理を行って印刷データに変換し、後段の印刷制御ユニット104に出力する。   When the image processing unit 107 receives image data before image processing transferred from the print server 101, the image processing unit 107 performs image processing to convert the image data into print data, and outputs the print data to the subsequent print control unit 104.

本実施形態において、プリントサーバ101と画像形成システム100との間で送受信される信号108は、イーサネット(登録商標)等の高速差動信号であり、CMYK各色にデータ転送をライン単位で転送する。   In this embodiment, the signal 108 transmitted and received between the print server 101 and the image forming system 100 is a high-speed differential signal such as Ethernet (registered trademark), and transfers data transfer to each color of CMYK in units of lines.

信号109は、画像転送ユニット103及び印刷制御ユニット104と、画像処理ユニット107との間で送受信されるPCIExpressなどの汎用の高速差動信号であり、画像データの転送と画像データの転送要求等が含まれる。   The signal 109 is a general-purpose high-speed differential signal such as PCI Express that is transmitted and received between the image transfer unit 103 and the print control unit 104 and the image processing unit 107, and includes image data transfer and image data transfer request. included.

信号110は、LVDS(Low Voltage Differential Signaling)等の高速差動信号であり、フレーム周期信号、ライン周期信号を受けて、印刷制御ユニット104から出力される。   The signal 110 is a high-speed differential signal such as LVDS (Low Voltage Differential Signaling), receives the frame period signal and the line period signal, and is output from the print control unit 104.

信号111は、LVDSの高速差動信号で、CMYKごとに各レーン存在し、画像処理前にプリントサーバ101から画像形成システム100へ出力されて、画像データを転送する。   The signal 111 is a high-speed differential signal of LVDS and exists in each lane for each CMYK, and is output from the print server 101 to the image forming system 100 before image processing to transfer image data.

次に、図2を参照して、本実施形態の印刷制御ユニット104と、プロッタ105と、センサボード106の機能について、さらに説明する。図2は、印刷制御ユニット、プロッタ、センサボードの機能を説明する図である。   Next, functions of the print control unit 104, the plotter 105, and the sensor board 106 according to the present embodiment will be further described with reference to FIG. FIG. 2 is a diagram illustrating functions of the print control unit, the plotter, and the sensor board.

本実施形態では、例えば、印刷制御ユニット104から、プロッタ105及びセンサボード106までの距離が数メートルに及ぶ場合を想定している。この場合、印刷制御ユニット104と、プロッタ105及びセンサボード106とは、長距離通信が可能な低速シリアルインターフェイスを用いて画像データ等の送受信を行っている。   In the present embodiment, for example, it is assumed that the distance from the print control unit 104 to the plotter 105 and the sensor board 106 reaches several meters. In this case, the print control unit 104, the plotter 105, and the sensor board 106 transmit and receive image data and the like using a low-speed serial interface capable of long-distance communication.

本実施形態の印刷制御ユニット104は、画像出力部201と、CPU202と、紙位置検知部203と、を有する。本実施形態の画像出力部201と、紙位置検知部203とは、例えばLSI等によって実現されても良いし、集積回路が実装された基板等であっても良い。   The print control unit 104 according to this embodiment includes an image output unit 201, a CPU 202, and a paper position detection unit 203. The image output unit 201 and the paper position detection unit 203 of the present embodiment may be realized by an LSI or the like, for example, or may be a substrate on which an integrated circuit is mounted.

画像出力部201は、プロッタ105に画像データを送信するためのデバイスである。   The image output unit 201 is a device for transmitting image data to the plotter 105.

CPU202は、印刷制御ユニット104におけるメインCPUであり、印刷制御ユニット104の動作を制御するデバイスである。具体的にはCPU202は、画像出力部201と、紙位置検知部203の動作を制御する。   The CPU 202 is a main CPU in the print control unit 104 and is a device that controls the operation of the print control unit 104. Specifically, the CPU 202 controls the operations of the image output unit 201 and the paper position detection unit 203.

紙位置検知部203は、センサボード106からセンサの値を取得し、後述する画像形成部206における記録媒体(紙)の位置を検知するためのデバイスである。   The paper position detection unit 203 is a device that acquires sensor values from the sensor board 106 and detects the position of a recording medium (paper) in an image forming unit 206 described later.

本実施形態のプロッタ105は、LD(Laser Diode)制御部204を有する。LD制御部204は、プロッタ105の有するレーザの点灯/消灯を制御するデバイスである。   The plotter 105 of this embodiment includes an LD (Laser Diode) control unit 204. The LD control unit 204 is a device that controls turning on / off of the laser included in the plotter 105.

本実施形態のセンサボード106は、センサ制御部205、SPI(Serial Peripheral Interface)デバイス207〜210を有する。センサ制御部205は、SPIデバイス207〜210を制御するためのデバイスである。   The sensor board 106 according to this embodiment includes a sensor control unit 205 and SPI (Serial Peripheral Interface) devices 207 to 210. The sensor control unit 205 is a device for controlling the SPI devices 207 to 210.

SPIデバイス207〜210は、センサ制御部205とSPIによって接続されるデバイスである。つまり、センサボード106では、SPIデバイス207〜210と、センサ制御部205とは、高速シリアルインターフェイスを用いて通信を行う。このとき、センサ制御部205は、SPIデバイス207〜210のマスタ側のデバイスとなり、SPIデバイス207〜210は、センサ制御部205のスレーブ側のデバイスとなる。SPIデバイス207〜210には、画像形成部206における紙の位置を検知するためのセンサや、ROM(read‐only memory)が含まれる。   The SPI devices 207 to 210 are devices connected to the sensor control unit 205 by SPI. That is, in the sensor board 106, the SPI devices 207 to 210 and the sensor control unit 205 perform communication using a high-speed serial interface. At this time, the sensor control unit 205 is a device on the master side of the SPI devices 207 to 210, and the SPI devices 207 to 210 are devices on the slave side of the sensor control unit 205. The SPI devices 207 to 210 include a sensor for detecting the paper position in the image forming unit 206 and a ROM (read-only memory).

次に、図3を参照して、本実施形態の紙位置検知部203の構成について説明する。図3は、紙位置検知部の構成について説明する図である。   Next, the configuration of the paper position detection unit 203 of this embodiment will be described with reference to FIG. FIG. 3 is a diagram illustrating the configuration of the paper position detection unit.

本実施形態の紙位置検知部203は、メモリ301、CPU302、アービタ303、シリアル通信アービタ304、位置情報取得部305、レジスタ306、307、インターフェイス制御部308、309、シリアル通信制御部310、バッファ311、312、313を有する。   The paper position detection unit 203 of this embodiment includes a memory 301, a CPU 302, an arbiter 303, a serial communication arbiter 304, a position information acquisition unit 305, registers 306 and 307, interface control units 308 and 309, a serial communication control unit 310, and a buffer 311. , 312, 313.

メモリ301は、CPU302の演算結果等が格納されるRAM(random access memory)であり、プログラムや画像データ一時格納用として使用される。CPU302は、印刷制御ユニット104におけるサブCPUであり、主に画像データの演算や、紙位置検知部203の動作の制御を行う。   The memory 301 is a RAM (random access memory) in which the calculation results of the CPU 302 are stored, and is used for temporary storage of programs and image data. A CPU 302 is a sub CPU in the print control unit 104 and mainly performs calculation of image data and control of the operation of the paper position detection unit 203.

アービタ303は、メモリ301、CPU302及びインターフェイス部309間の調停を行う。シリアル通信アービタ304は、センサボード106のセンサ制御部205と、位置情報取得部305と、レジスタ307からの転送要求を調停する。   The arbiter 303 performs arbitration among the memory 301, the CPU 302, and the interface unit 309. The serial communication arbiter 304 arbitrates transfer requests from the sensor control unit 205, the position information acquisition unit 305, and the register 307 of the sensor board 106.

位置情報取得部305は、センサ制御部205からの位置情報取得要求に対するシリアル通信の制御を行う。   The position information acquisition unit 305 controls serial communication in response to a position information acquisition request from the sensor control unit 205.

レジスタ306は、CPU302からアクセス可能なレジスタである。レジスタ307は、印刷制御ユニット104のメインCPUであるCPU202からアクセス可能なレジスタである。   A register 306 is a register accessible from the CPU 302. A register 307 is a register accessible from the CPU 202 which is the main CPU of the print control unit 104.

インターフェイス制御部308は、CPU202と、紙位置検知部203とのインターフェイスを制御する。インターフェイス制御部309は、アービタ303とレジスタ306とのインターフェイスを制御する。   The interface control unit 308 controls an interface between the CPU 202 and the paper position detection unit 203. The interface control unit 309 controls the interface between the arbiter 303 and the register 306.

シリアル通信制御部310は、センサ制御部205とシリアル通信を行うシリアル通信の物理層である。本実施形態のシリアル通信制御部310は、パリティチェック部314、送信エラー判定部315を有する。パリティチェック部314は、センサ制御部205からの受信データのパリティチェックを行う、送信エラー判定部315は、センサ制御部205へ送信する送信データのエラー判定を行う。   The serial communication control unit 310 is a physical layer of serial communication that performs serial communication with the sensor control unit 205. The serial communication control unit 310 of this embodiment includes a parity check unit 314 and a transmission error determination unit 315. The parity check unit 314 performs a parity check on the received data from the sensor control unit 205, and the transmission error determination unit 315 performs error determination on the transmission data transmitted to the sensor control unit 205.

本実施形態のシリアル通信制御部310は、センサ制御部205に対するマスタ側のデバイスとなる。   The serial communication control unit 310 according to the present embodiment is a master device for the sensor control unit 205.

バッファ311は、レジスタ306、307からのデータの読み書きが行われる。バッファ312は、レジスタ306、シリアル通信アービタ304からのデータの読み書きが行われる。バッファ313は、レジスタ307、シリアル通信アービタ304からのデータの読み書きが行われる。   The buffer 311 reads and writes data from the registers 306 and 307. The buffer 312 reads and writes data from the register 306 and the serial communication arbiter 304. The buffer 313 reads and writes data from the register 307 and the serial communication arbiter 304.

次に、図4を参照して、本実施形態のセンサ制御部205の構成について説明する。図4は、センサ制御部の構成を説明する図である。   Next, the configuration of the sensor control unit 205 of the present embodiment will be described with reference to FIG. FIG. 4 is a diagram illustrating the configuration of the sensor control unit.

本実施形態のセンサ制御部205は、紙位置検知部203のシリアル通信制御部310に対するスレーブ側のデバイスである。   The sensor control unit 205 of the present embodiment is a slave device for the serial communication control unit 310 of the paper position detection unit 203.

本実施形態のセンサ制御部205は、シリアル通信制御部401、レジスタ402、通信部403、バッファ404、405、通信対象デコーダ406、SPI制御部407、408、409、410を有する。   The sensor control unit 205 of this embodiment includes a serial communication control unit 401, a register 402, a communication unit 403, buffers 404 and 405, a communication target decoder 406, and SPI control units 407, 408, 409, and 410.

シリアル通信制御部401は、紙位置検知部203とシリアル通信を行うシリアル通信の物理層である。シリアル通信制御部401は、シリアル通信制御部310に対して、スレーブ側のデバイスとなる。また、シリアル通信制御部401は、パリティチェック部411を有する。パリティチェック部411は、紙位置検知部203からの送信データのパリティチェックを行い、チェック結果を紙位置検知部203に送信する。   The serial communication control unit 401 is a serial communication physical layer that performs serial communication with the paper position detection unit 203. The serial communication control unit 401 is a slave device with respect to the serial communication control unit 310. Further, the serial communication control unit 401 includes a parity check unit 411. The parity check unit 411 performs a parity check on the transmission data from the paper position detection unit 203 and transmits the check result to the paper position detection unit 203.

レジスタ402は、紙位置検知部203からアクセス可能なレジスタである。通信部403は、シリアル通信の論理層であり、紙位置検知部203からの送信データにおける要求の種類(Read/Write)と、通信対象(センサ制御部205/SPIデバイス207〜210)に応じた制御を行う。   A register 402 is a register accessible from the paper position detection unit 203. The communication unit 403 is a logical layer of serial communication and corresponds to the type of request (Read / Write) in the transmission data from the paper position detection unit 203 and the communication target (sensor control unit 205 / SPI devices 207 to 210). Take control.

バッファ404は、SPIデバイス207〜210からのリードデータを一時保存する。   The buffer 404 temporarily stores read data from the SPI devices 207 to 210.

バッファ405は、SPIデバイス207〜210に転送する送信データを一時保存する。バッファ405には、送信データにおける要求の種類を示すデータ、通信対象を示すデータ、ADDR、WDATAが保持される。尚、ADDR、WDATAの詳細は後述する。   The buffer 405 temporarily stores transmission data to be transferred to the SPI devices 207 to 210. The buffer 405 holds data indicating the type of request in transmission data, data indicating a communication target, ADDR, and WDATA. Details of ADDR and WDATA will be described later.

通信対象デコーダ406は、バッファ405から読み取った、通信対象を示すデータに基づき、通信を行うSPIデバイスをSPIデバイス207〜210から選択する。また、通信対象デコーダ406は、SPIデバイス207〜210の何れかから受信したデータをバッファ404に保存する。   The communication target decoder 406 selects an SPI device for communication from the SPI devices 207 to 210 based on the data indicating the communication target read from the buffer 405. Further, the communication target decoder 406 stores data received from any of the SPI devices 207 to 210 in the buffer 404.

SPI制御部407〜410は、SPIデバイス207〜210とSPI通信を行う物理層である。本実施形態では、SPI制御部407〜410は、SPIデバイス207〜210に対するマスタ側デバイスとなる。   The SPI control units 407 to 410 are physical layers that perform SPI communication with the SPI devices 207 to 210. In the present embodiment, the SPI control units 407 to 410 are master side devices for the SPI devices 207 to 210.

ここで、本実施形態の画像形成システム100において、マスタ側デバイスとスレーブ側デバイスの組合せを再度整理する。   Here, in the image forming system 100 of the present embodiment, the combinations of the master side device and the slave side device are rearranged again.

本実施形態の画像形成システム100では、センサ制御部205のSPI制御部407〜410と、センサボード106のSPIデバイス207〜210とは、マスタ側デバイスとスレーブ側デバイスの関係となる。このとき、SPI制御部407〜410と、SPIデバイス207〜210とは、高速シリアルインターフェイスによる通信を行う。   In the image forming system 100 of the present embodiment, the SPI control units 407 to 410 of the sensor control unit 205 and the SPI devices 207 to 210 of the sensor board 106 have a relationship between the master side device and the slave side device. At this time, the SPI control units 407 to 410 and the SPI devices 207 to 210 perform communication through a high-speed serial interface.

また、画像形成システム100において、紙位置検知部203のシリアル通信制御部310と、センサ制御部205のシリアル通信制御部401とは、マスタ側デバイスとスレーブ側デバイスの関係となる。シリアル通信制御部310とシリアル通信制御部401とは、低速シリアルインターフェイスによる通信を行う。   In the image forming system 100, the serial communication control unit 310 of the paper position detection unit 203 and the serial communication control unit 401 of the sensor control unit 205 have a relationship between a master device and a slave device. The serial communication control unit 310 and the serial communication control unit 401 perform communication using a low-speed serial interface.

ここで、図5を参照して、紙位置検知部203とセンサ制御部205との間の通信データプロトコルについて説明する。図5は、紙位置検知部とセンサ制御部との間の通信データプロトコルを説明する図である。図5(A)は、マスタ側デバイスからスレーブ側デバイスへ送信する送信データ信号MDOを示す。図5(B)は、マスタ側デバイスがスレーブ側デバイスから受信する受信データ信号MDIを示す。言い換えれば、受信データ信号MDIは、スレーブ側デバイスが、送信テータ信号MDOに応答して、マスタ側デバイスに送信する信号である。   Here, a communication data protocol between the paper position detection unit 203 and the sensor control unit 205 will be described with reference to FIG. FIG. 5 is a diagram for explaining a communication data protocol between the paper position detection unit and the sensor control unit. FIG. 5A shows a transmission data signal MDO transmitted from the master side device to the slave side device. FIG. 5B shows a reception data signal MDI that the master device receives from the slave device. In other words, the reception data signal MDI is a signal that the slave device transmits to the master device in response to the transmission data signal MDO.

図5(A)に示す送信データ信号MDOにおける、W/Rビットは、スレーブ側デバイスに対するライト(Write)要求であるか、リード(R)要求であるか否かを示す。   The W / R bit in the transmission data signal MDO shown in FIG. 5A indicates whether it is a write request or a read (R) request for the slave device.

送信データ信号MDOにおける、SELビットは、通信対象を表すビット(通信対象選択ビット)である。本実施形態では、SELビットが、0×0である場合、通信対象はセンサ制御部205であり、SELビットが0×1〜0×7の場合は、通信対象はSPIデバイス207〜210の何れかに相当する。   The SEL bit in the transmission data signal MDO is a bit representing a communication target (communication target selection bit). In this embodiment, when the SEL bit is 0x0, the communication target is the sensor control unit 205, and when the SEL bit is 0x1 to 0x7, the communication target is any of the SPI devices 207 to 210. It corresponds to crab.

送信データ信号MDOにおいて、データADDRは、各デバイスが持つアドレス空間にアクセスするためのアドレスである。送信データ信号MDOにおける、blankビットは、ダミーデータであり、「0」である。   In the transmission data signal MDO, data ADDR is an address for accessing an address space of each device. The blank bit in the transmission data signal MDO is dummy data and is “0”.

送信データ信号MDOにおける、ライトデータWDATAは、W/RビットがWのとき、つまり、スレーブ側デバイスへのライト要求の際に、通信対象のスレーブ側デバイスに書き込まれるライトデータである。ライトデータWDATAは、W/RビットがRのとき、つまり、スレーブ側に対するリード要求の際には、ダミーデータ:00hとされる。   Write data WDATA in the transmission data signal MDO is write data that is written to the slave device to be communicated when the W / R bit is W, that is, when a write request is made to the slave device. The write data WDATA is set to dummy data: 00h when the W / R bit is R, that is, when a read request is made to the slave side.

次に、受信データ信号MDIについて説明する。図5(B)に示す受信データ信号MDIにおける、リードデータRDATAは、マスタ側デバイスからのリード要求に応答してスレーブ側デバイスが読み取ったリードデータとなる。データRDATAは、センサ制御部205へのリード要求以外はダミーデータ:00hが送信される。また、リードデータRDATAは、ライト要求時はダミーデータ:00hが送信される。   Next, the reception data signal MDI will be described. Read data RDATA in the reception data signal MDI shown in FIG. 5B is read data read by the slave device in response to a read request from the master device. As data RDATA, dummy data: 00h is transmitted except for a read request to the sensor control unit 205. As the read data RDATA, dummy data: 00h is transmitted when a write request is made.

また、parityビットは、信号毎のデータのパリティ調整を行うためのビットである。parityビットの値は、偶数パリティの場合には、1の個数が偶数になるように調整され、奇数パリティの場合には、1の個数が奇数になるように調整される。   The parity bit is a bit for adjusting the parity of data for each signal. The value of the parity bit is adjusted so that the number of 1s is even in the case of even parity, and is adjusted so that the number of 1s is odd in the case of odd parity.

errorビットは、送信パリティエラー判定ビットである。センサ制御部205は、送信データ信号MDOのパリティチェックを行い、エラーと判定された場合には、受信データ信号MDIを紙位置検知部203に送信する際に、errorビットに1をたてる。   The error bit is a transmission parity error determination bit. The sensor control unit 205 performs a parity check of the transmission data signal MDO, and if it is determined that there is an error, the sensor control unit 205 sets 1 to the error bit when transmitting the reception data signal MDI to the paper position detection unit 203.

以下に、本実施形態のシリアル通信における各信号の例を示す。図6は、本実施形態のシリアル通信における各信号の一例を示す図である。   Hereinafter, examples of each signal in the serial communication of this embodiment will be shown. FIG. 6 is a diagram illustrating an example of each signal in the serial communication according to the present embodiment.

図6(A)は、マスタ側デバイスから出力されるクロック信号CLKの一例を示す。図6(B)は、マスタ側デバイスから出力されるチップセレクト信号CSの一例を示す。図6(C)は、マスタ側デバイスから出力される送信データ信号MDOの一例を示す。図6(D)は、スレーブ側デバイスが、マスタ側デバイスからの要求に応じて出力する受信データ信号の一例を示す。   FIG. 6A shows an example of the clock signal CLK output from the master device. FIG. 6B shows an example of the chip select signal CS output from the master side device. FIG. 6C shows an example of the transmission data signal MDO output from the master side device. FIG. 6D shows an example of a received data signal that the slave device outputs in response to a request from the master device.

図6に示すように、本実施形態のマスタ側デバイスは、クロック信号CLKの立ち下がりエッジで送信データ信号を出力し、スレーブ側デバイスも、クロック信号CLKの立ち下がりエッジで受信データ信号を出力する。また、マスタ側デバイスは、クロック信号CLKの立ち上がりエッジで受信データ信号を取り込み、スレーブ側デバイスは、クロック信号CLKの立ち上がりエッジで送信データ信号を取り込む。   As shown in FIG. 6, the master side device of this embodiment outputs a transmission data signal at the falling edge of the clock signal CLK, and the slave side device also outputs a reception data signal at the falling edge of the clock signal CLK. . The master device captures the reception data signal at the rising edge of the clock signal CLK, and the slave device captures the transmission data signal at the rising edge of the clock signal CLK.

次に、図7及び図8を参照して、本実施形態のマスタ側デバイスとスレーブ側デバイスの動作について説明する。   Next, operations of the master side device and the slave side device of the present embodiment will be described with reference to FIGS.

図7は、マスタ側デバイスの動作を説明するフローチャートである。図7の例では、マスタ側デバイスとして、紙位置検知部203の動作を示している。   FIG. 7 is a flowchart for explaining the operation of the master device. In the example of FIG. 7, the operation of the paper position detection unit 203 is shown as the master side device.

本実施形態の紙位置検知部203は、紙位置検知部203のスレーブであるセンサ制御部205のチップセレクトをアサートさせ(ステップS701)、クロック信号CLKの出力を開始する(ステップS702)。   The paper position detection unit 203 of the present embodiment asserts the chip select of the sensor control unit 205 that is a slave of the paper position detection unit 203 (step S701), and starts outputting the clock signal CLK (step S702).

次に、紙位置検知部203は、シリアル通信制御部310から、送信データ信号MDOのW/Rビットを出力する(ステップS703)。   Next, the paper position detection unit 203 outputs the W / R bit of the transmission data signal MDO from the serial communication control unit 310 (step S703).

ステップS703において、W/Rビットがリード(Read)要求であった場合、シリアル通信制御部310は、後述するステップS706へ進む。   In step S703, if the W / R bit is a read request, the serial communication control unit 310 proceeds to step S706 described below.

ステップS703において、W/Rビットがライト(Write)要求であった場合、シリアル通信制御部310は、ライトデータWDATAをセンサ制御部205へ送信する(ステップS704)。続いて、シリアル通信制御部310は、パリティ・ビットをセンサ制御部205へ送信し(ステップS705)、後述するステップS710へ進む。   If the W / R bit is a write request in step S703, the serial communication control unit 310 transmits the write data WDATA to the sensor control unit 205 (step S704). Subsequently, the serial communication control unit 310 transmits a parity bit to the sensor control unit 205 (step S705), and proceeds to step S710 described later.

ステップS703において、W/Rビットがリード要求であった場合、シリアル通信制御部310は、センサ制御部205からリードデータRDATAを受信する(ステップS706)。続いて、シリアル通信制御部310は、パリティチェック部314により、リードデータRDATAに続いて受信したパリティ・ビットに基づくパリティチェックを行う(ステップS707)。   If the W / R bit is a read request in step S703, the serial communication control unit 310 receives the read data RDATA from the sensor control unit 205 (step S706). Subsequently, the serial communication control unit 310 uses the parity check unit 314 to perform a parity check based on the parity bit received following the read data RDATA (step S707).

続いて、シリアル通信制御部310は、パリティチェックの結果、エラーを検出したか否かを判定する(ステップS708)。ステップS708において、エラーを検出しない場合、シリアル通信制御部310は、後述するステップS710へ進む。ステップS708において、エラーを検出した場合、シリアル通信制御部310は、エラーを検出した回数に1回を計上する(ステップS709)。   Subsequently, the serial communication control unit 310 determines whether an error is detected as a result of the parity check (step S708). If no error is detected in step S708, the serial communication control unit 310 proceeds to step S710 to be described later. If an error is detected in step S708, the serial communication control unit 310 counts once as the number of detected errors (step S709).

続いて、シリアル通信制御部310は、送信エラー判定部315により、パリティ・ビットに続いて受信したerrorビットの状態が、エラーであることを示しているか否かを判定する(ステップS710)。具体的には、シリアル通信制御部310は、例えば、errorビットの値が「1」の場合に、エラーであることを示すと判定しても良い。   Subsequently, the serial communication control unit 310 determines whether or not the state of the error bit received following the parity bit indicates an error by the transmission error determination unit 315 (step S710). Specifically, for example, when the value of the error bit is “1”, the serial communication control unit 310 may determine that an error has occurred.

ステップS710において、エラーを示す状態であった場合、シリアル通信制御部310は、エラーを検出した回数を1回計上し(ステップS711)、ステップS712へ進む。   If it is determined in step S710 that an error has occurred, the serial communication control unit 310 counts the number of times the error has been detected (step S711), and proceeds to step S712.

ステップS710において、エラーを示す状態でない場合、シリアル通信制御部310は、ステップS712へ進む。   If it is determined in step S710 that the error is not indicated, the serial communication control unit 310 proceeds to step S712.

次に、シリアル通信制御部310は、エラーを検出した回数が、N回連続したか否かを判定する(ステップS712)。尚、Nは、予め設定された値であって良い。   Next, the serial communication control unit 310 determines whether or not the number of times that an error has been detected continues N times (step S712). N may be a preset value.

ステップS712において、N回連続していない場合、シリアル通信制御部310は、センサ制御部205に対して、同じフレームの再送を要求し(ステップS713)、ステップS701へ戻る。   In step S712, if not N times consecutively, the serial communication control unit 310 requests the sensor control unit 205 to retransmit the same frame (step S713), and returns to step S701.

ステップS712において、N回連続した場合、シリアル通信制御部310は、印刷制御ユニット104のCPU202に対して、通信を停止させるための割り込みを通知し、紙位置検知部203とセンサ制御部205のシリアル通信を停止させ(ステップS714)、処理を終了する。   In step S <b> 712, when N times are continued, the serial communication control unit 310 notifies the CPU 202 of the print control unit 104 of an interrupt for stopping communication, and the serial of the paper position detection unit 203 and the sensor control unit 205. Communication is stopped (step S714), and the process is terminated.

次に、図8を参照して、スレーブ側デバイスの動作を説明する。図8は、スレーブ側デバイスの動作を説明するフローチャートである。図8の例では、スレーブ側デバイスとして、センサ制御部205の動作を示している。   Next, the operation of the slave side device will be described with reference to FIG. FIG. 8 is a flowchart for explaining the operation of the slave device. In the example of FIG. 8, the operation of the sensor control unit 205 is illustrated as a slave side device.

センサ制御部205はセンサ制御部205に対するクロック信号CLKの供給が開始すると(ステップS801)、シリアル通信制御部401により、受信したW/Rビットが、ライト要求であるか否かを判定する(ステップS802)。   When the sensor control unit 205 starts supplying the clock signal CLK to the sensor control unit 205 (step S801), the serial communication control unit 401 determines whether or not the received W / R bit is a write request (step S801). S802).

ステップS802において、ライト要求でない場合、シリアル通信制御部401は、後述するステップS811へ進む。   If it is determined in step S802 that the request is not a write request, the serial communication control unit 401 proceeds to step S811 described below.

ステップS802において、ライト要求である場合、シリアル通信制御部401は、SELビットが00hであるか否かを判定する(ステップS803)。言い換えれば、シリアル通信制御部401は、通信対象として、センサ制御部205が選択されているか否かを判定している。   If the request is a write request in step S802, the serial communication control unit 401 determines whether the SEL bit is 00h (step S803). In other words, the serial communication control unit 401 determines whether or not the sensor control unit 205 is selected as a communication target.

ステップS803において、SELビットが00hでない場合、つまり、通信対象がセンサ制御部205ではない場合、シリアル通信制御部401は、後述するステップS808へ進む。   In step S803, if the SEL bit is not 00h, that is, if the communication target is not the sensor control unit 205, the serial communication control unit 401 proceeds to step S808 described later.

ステップS803において、SELビットが00hである場合、つまり、通信対象がセンサ制御部205である場合、シリアル通信制御部401は、紙位置検知部203から受信したライトデータWDATAをレジスタ402へ反映させる(ステップS804)。続いて、シリアル通信制御部401は、パリティチェック部411により、ライトデータWDATAに対してパリティチェックを行う(ステップS805)。   In step S803, when the SEL bit is 00h, that is, when the communication target is the sensor control unit 205, the serial communication control unit 401 reflects the write data WDATA received from the paper position detection unit 203 in the register 402 ( Step S804). Subsequently, the serial communication control unit 401 uses the parity check unit 411 to perform a parity check on the write data WDATA (step S805).

続いて、シリアル通信制御部401は、パリティチェックによってエラーが検出されたか否かを判定する(ステップS806)。ステップS806において、エラーが検出されない場合、errorビットの値を0とし、受信データ信号MDIを出力し、処理を終了する。同時に、errorビットの値は、レジスタ402に保持させる。   Subsequently, the serial communication control unit 401 determines whether an error has been detected by the parity check (step S806). If no error is detected in step S806, the value of the error bit is set to 0, the received data signal MDI is output, and the process ends. At the same time, the value of the error bit is held in the register 402.

ステップS806において、エラーが検出された場合、シリアル通信制御部401は、errorビットの値を1としてレジスタ402に保持させ(ステップS807)、処理を終了する。   If an error is detected in step S806, the serial communication control unit 401 stores the error bit value as 1 in the register 402 (step S807), and ends the process.

ステップS803において、SELビットが00hでない場合、つまり、通信対象がセンサ制御部205ではない場合、シリアル通信制御部401は、受信したライトデータWDATAをバッファ405に保持する(ステップS808)。   In step S803, when the SEL bit is not 00h, that is, when the communication target is not the sensor control unit 205, the serial communication control unit 401 holds the received write data WDATA in the buffer 405 (step S808).

続いて、シリアル通信制御部401は、レジスタ402に設けられた転送開始フラグが「1」となったか否かを判定する(ステップS809)。尚、転送開始フラグは、送信データ信号MDOにおいて、通信対象をセンサ制御部205とし、転送開始フラグを「1」とする、ライトデータWDATAを受信した際に、1とされる。   Subsequently, the serial communication control unit 401 determines whether or not the transfer start flag provided in the register 402 is “1” (step S809). The transfer start flag is set to 1 in the transmission data signal MDO when the communication target is the sensor control unit 205 and the transfer start flag is “1” and the write data WDATA is received.

ステップS809において、転送開始フラグが1でない場合、シリアル通信制御部401は、転送開始フラグが1となるまで待機する。   If the transfer start flag is not 1 in step S809, the serial communication control unit 401 waits until the transfer start flag becomes 1.

ステップS809において、転送開始フラグが1である場合、シリアル通信制御部401は、ライトデータWDATAを、SELビットによって選択されたSPIデバイスへ
転送し(ステップS810)、ステップS805へ進む。
If the transfer start flag is 1 in step S809, the serial communication control unit 401 transfers the write data WDATA to the SPI device selected by the SEL bit (step S810), and the process proceeds to step S805.

ステップS802において、W/Rビットがライト要求でない場合、つまり、W/Rビットがリード要求である場合、シリアル通信制御部401は、SELビットが00hであるか否かを判定する(ステップS811)。   If the W / R bit is not a write request in step S802, that is, if the W / R bit is a read request, the serial communication control unit 401 determines whether or not the SEL bit is 00h (step S811). .

ステップS811において、SELビットが00hでない場合、つまり、通信対象がセンサ制御部205ではない場合、シリアル通信制御部401は、後述するステップS814へ進む。   In step S811, if the SEL bit is not 00h, that is, if the communication target is not the sensor control unit 205, the serial communication control unit 401 proceeds to step S814 to be described later.

ステップS811において、SELビットが00hである場合、つまり、通信対象がセンサ制御部205である場合、シリアル通信制御部401は、レジスタ402に保持されているリードデータRDATAを紙位置検知部203へ転送する(ステップS812)。   In step S811, when the SEL bit is 00h, that is, when the communication target is the sensor control unit 205, the serial communication control unit 401 transfers the read data RDATA held in the register 402 to the paper position detection unit 203. (Step S812).

続いて、シリアル通信制御部401は、パリティ・ビットを紙位置検知部203へ送信し(ステップS813)、パリティチェック部411により、リードデータRDATAに対してパリティチェックを行い(ステップS814)、ステップS806へ進む。   Subsequently, the serial communication control unit 401 transmits parity bits to the paper position detection unit 203 (step S813), the parity check unit 411 performs a parity check on the read data RDATA (step S814), and step S806. Proceed to

ステップS811において、通信対象がセンサ制御部205でない場合、シリアル通信制御部401は、ダミーのリードデータRDATAを紙位置検知部203へ転送する(ステップS815)。続いて、シリアル通信制御部401は、パリティ・ビットを紙位置検知部203へ送信し(ステップS816)、パリティチェック部411により、リードデータRDATAに対してパリティチェックを行う(ステップS817)。   If the communication target is not the sensor control unit 205 in step S811, the serial communication control unit 401 transfers dummy read data RDATA to the paper position detection unit 203 (step S815). Subsequently, the serial communication control unit 401 transmits parity bits to the paper position detection unit 203 (step S816), and the parity check unit 411 performs a parity check on the read data RDATA (step S817).

ステップS817からステップS819までの処理は、ステップS805からステップS807までの処理と同様であるから、説明を省略する。   Since the processing from step S817 to step S819 is the same as the processing from step S805 to step S807, description thereof will be omitted.

続いて、シリアル通信制御部401は、SELビットで選択されたSPIデバイスから読み出したリードデータをバッファ404へ保持し(ステップS820)、処理を終了する。   Subsequently, the serial communication control unit 401 holds the read data read from the SPI device selected by the SEL bit in the buffer 404 (step S820), and ends the process.

次に、図9を参照して、SPIデバイスに対してリード要求が行われた場合の画像形成システム100の動作について説明する。図9は、SPIデバイスに対してリード要求が行われた場合の画像形成システムの動作を説明するフローチャートである。   Next, the operation of the image forming system 100 when a read request is made to the SPI device will be described with reference to FIG. FIG. 9 is a flowchart for explaining the operation of the image forming system when a read request is made to the SPI device.

本実施形態の画像形成システム100では、SPIデバイスに対してリード要求が行われると、バッファ404に、通信対象に選択されたSPIデバイスから読み出したリードデータが保持されている。   In the image forming system 100 of the present embodiment, when a read request is made to the SPI device, the read data read from the SPI device selected as the communication target is held in the buffer 404.

ここで、印刷制御ユニット104のCPU202は、紙位置検知部203のレジスタ307に対し、リード要求、通信対象とされたSPIデバイス、通信対象とされたSPIデバイスのアドレスを設定する(ステップS901)。続いて、CPU202は、レジスタ307に対して1ライトし、シリアル通信を開始させる(ステップS902)。   Here, the CPU 202 of the print control unit 104 sets the read request, the SPI device that is the communication target, and the address of the SPI device that is the communication target to the register 307 of the paper position detection unit 203 (step S901). Subsequently, the CPU 202 writes 1 to the register 307 and starts serial communication (step S902).

すると、紙位置検知部203は、シリアル通信アービタ304により、センサ制御部205に対して、設定された送信データ信号MDOをシリアル通信にて連続して転送する(ステップS903)。   Then, the paper position detection unit 203 uses the serial communication arbiter 304 to continuously transfer the set transmission data signal MDO to the sensor control unit 205 by serial communication (step S903).

センサ制御部205は、送信データ信号MDOの転送が終了すると、SPI制御部407〜410のうち、選択されたSPIデバイスと対応するSPI制御部により、SPIデバイスとのSPI通信を開始する(ステップS904)。   When the transfer of the transmission data signal MDO is completed, the sensor control unit 205 starts SPI communication with the SPI device by the SPI control unit corresponding to the selected SPI device among the SPI control units 407 to 410 (step S904). ).

続いて、画像形成システム100の紙位置検知部203は、シリアル通信アービタ304により、SPI制御部とSPIデバイスの通信が全て完了し、センサ制御部205から紙位置検知部203に対して完了を通知する割り込みが通知されたか否かを判定する(ステップS905)。   Subsequently, the paper position detection unit 203 of the image forming system 100 completes communication between the SPI control unit and the SPI device by the serial communication arbiter 304, and the sensor control unit 205 notifies the paper position detection unit 203 of completion. It is determined whether an interrupt to be notified has been notified (step S905).

ステップS905において、割り込みが通知されない場合、シリアル通信アービタ304は、割り込みが通知されるまで待機する。   If no interrupt is notified in step S905, the serial communication arbiter 304 waits until an interrupt is notified.

ステップS905において、割り込みが通知されると、シリアル通信アービタ304は、センサ制御部205のバッファ404に保持されたリードデータを読み出すためのシリアル通信を開始する(ステップS906)。言い換えれば、シリアル通信アービタ304は、センサ制御部205からの「リード要求」という割り込み要因によって、シリアル通信を開始する。尚、このとき、シリアル通信アービタ304は、W/Rビットをリード要求とし、通信対象をセンサ制御部205とし、アクセス先のアドレスをセンサ制御部205のアドレス「INT_S」とした送信データ信号MDOをセンサ制御部205へ送信している。   When an interrupt is notified in step S905, the serial communication arbiter 304 starts serial communication for reading the read data held in the buffer 404 of the sensor control unit 205 (step S906). In other words, the serial communication arbiter 304 starts serial communication due to an interrupt factor “read request” from the sensor control unit 205. At this time, the serial communication arbiter 304 uses the W / R bit as a read request, sets the communication target as the sensor control unit 205, and sets the access destination address as the address “INT_S” of the sensor control unit 205. It is transmitted to the sensor control unit 205.

続いて、シリアル通信アービタ304は、割り込み要因が「リード準備OK」となったか否かを判定する(ステップS907)。ステップS907において、割り込み要因が「リード準備OK」となっていない場合、シリアル通信アービタ304は、待機する。   Subsequently, the serial communication arbiter 304 determines whether or not the interrupt factor is “read preparation OK” (step S907). If the interrupt factor is not “read preparation OK” in step S907, the serial communication arbiter 304 stands by.

ステップS907において、割り込み要因が「リード準備OK」となった場合、シリアル通信アービタ304は、「リード要求」という割り込み要因をクリアするためのシリアル通信を開始する(ステップS908)。このとき、シリアル通信アービタ304は、W/Rビットをライト要求とし、通信対象をセンサ制御部205とし、アクセス先のアドレスを「INT_S」とし、ライトデータWDATAを「クリア」とした送信データ信号MDOをセンサ制御部205へ送信している。   In step S907, when the interrupt factor becomes “read preparation OK”, the serial communication arbiter 304 starts serial communication for clearing the interrupt factor “read request” (step S908). At this time, the serial communication arbiter 304 uses the W / R bit as a write request, sets the communication target as the sensor control unit 205, sets the access destination address as “INT_S”, and sets the write data WDATA as “clear”. Is transmitted to the sensor control unit 205.

続いて、シリアル通信アービタ304は、センサ制御部205のレジスタ402に保持されたリードデータを読み出すためのシリアル通信を開始する(ステップS909)。このとき、シリアル通信アービタ304は、W/Rビットをリード要求とし、通信対象をセンサ制御部205とし、アクセス先のアドレスをレジスタ402のアドレスとした送信データ信号MDOをセンサ制御部205へ送信している。   Subsequently, the serial communication arbiter 304 starts serial communication for reading the read data held in the register 402 of the sensor control unit 205 (step S909). At this time, the serial communication arbiter 304 transmits a transmission data signal MDO with the W / R bit as a read request, the communication target as the sensor control unit 205, and the access destination address as the address of the register 402 to the sensor control unit 205. ing.

続いて、シリアル通信アービタ304は、シリアル通信が完了すると、印刷制御ユニット104のCPU202に対し、シリアル通信の完了を示す割り込みを通知する(ステップS910)。   Subsequently, when the serial communication is completed, the serial communication arbiter 304 notifies the CPU 202 of the print control unit 104 of an interrupt indicating completion of the serial communication (step S910).

CPU202は、この通知を受けて、紙位置検知部203のレジスタ307における割り込み要因をクリアする(ステップS911)。続いて、CPU202は、紙位置検知部203のバッファ313に格納されたリードデータを読み出し(ステップS912)、処理を終了する。   Upon receiving this notification, the CPU 202 clears the interrupt factor in the register 307 of the paper position detection unit 203 (step S911). Subsequently, the CPU 202 reads the read data stored in the buffer 313 of the paper position detection unit 203 (step S912), and ends the process.

以上のように、本実施形態では、マスタ側デバイスである紙位置検知部203が、スレーブ側デバイスであるセンサ制御部205の有する複数のSPI制御部407〜410のそれぞれについて個別に制御する必要がなく、連続してセンサ制御部205にアクセスすることができる。このため、本実施形態では、高速シリアルインターフェイスによる通信を行うSPIデバイス207〜210を有するセンサ制御部205が、SPIデバイス207〜210を制御するために紙位置検知部203へ頻繁にアクセスすることを防止できる。よって、本実施形態によれば、センサ制御部205のマスタ側のユニットである紙位置検知部203のCPU302の処理の負荷を軽減できる。   As described above, in the present embodiment, the paper position detection unit 203 that is the master side device needs to individually control each of the plurality of SPI control units 407 to 410 included in the sensor control unit 205 that is the slave side device. However, the sensor control unit 205 can be accessed continuously. For this reason, in the present embodiment, the sensor control unit 205 including the SPI devices 207 to 210 that perform communication using the high-speed serial interface frequently accesses the paper position detection unit 203 in order to control the SPI devices 207 to 210. Can be prevented. Therefore, according to the present embodiment, it is possible to reduce the processing load of the CPU 302 of the paper position detection unit 203 which is a unit on the master side of the sensor control unit 205.

また、本実施形態では、上位のCPU202が、複数のSPI制御部407〜410を管理する。したがって、本実施形態によれば、画像形成システム100の構成を簡素化できる。   In the present embodiment, the host CPU 202 manages the plurality of SPI control units 407 to 410. Therefore, according to the present embodiment, the configuration of the image forming system 100 can be simplified.

また、本実施形態の紙位置検知部203では、紙位置検知部203とセンサ制御部205の間で送受信されるデータからエラーが検知されたか否かを判定している。したがって、本実施形態によれば、センサ制御部205に正常なデータが送信されているか否かを検出でき、CPU202に送信されるデータの信頼性を向上させることができる。   Further, the paper position detection unit 203 of this embodiment determines whether an error is detected from data transmitted and received between the paper position detection unit 203 and the sensor control unit 205. Therefore, according to the present embodiment, it can be detected whether normal data is transmitted to the sensor control unit 205, and the reliability of data transmitted to the CPU 202 can be improved.

尚、本実施形態の通信の方法は、画像形成システム100における紙位置検知部203とセンサ制御部205との間の通信に用いられるものとして説明したが、これに限定されない。本実施形態の通信の方法は、低速シリアルインターフェイスを用いて通信が行われるマスタ側デバイスとスレーブ側デバイスと、を有し、スレーブ側デバイスが、高速シリアルインターフェイスを用いて複数のデバイスと通信する場合であれば、画像形成システム100以外であっても適用することができる。   Although the communication method according to the present embodiment has been described as being used for communication between the paper position detection unit 203 and the sensor control unit 205 in the image forming system 100, the communication method is not limited thereto. The communication method of the present embodiment has a master device and a slave device that communicate using a low-speed serial interface, and the slave device communicates with a plurality of devices using a high-speed serial interface. As long as it is other than the image forming system 100, the present invention can be applied.

本発明は、具体的に開示された実施形態に限定されるものではなく、特許請求の範囲から逸脱することなく、種々の変形や変更が可能である。   The present invention is not limited to the specifically disclosed embodiments, and various modifications and changes can be made without departing from the scope of the claims.

尚、本実施形態の紙位置検知部203は、特許請求の範囲に記載した第2のデバイスの一例であり、センサ制御部205は、第1のデバイスの一例であり、SPI制御部407〜410は、複数の制御部の一例であり、SPIデバイス207〜210は、センサ群の一例である。また、本実施形態のシリアル通信制御部401は、第1の通信制御部の一例であり、シリアル通信制御部310は、第2の通信制御部の一例である。   The paper position detection unit 203 of this embodiment is an example of the second device described in the claims, the sensor control unit 205 is an example of the first device, and the SPI control units 407 to 410. Is an example of a plurality of control units, and the SPI devices 207 to 210 are an example of a sensor group. In addition, the serial communication control unit 401 of this embodiment is an example of a first communication control unit, and the serial communication control unit 310 is an example of a second communication control unit.

100 画像形成システム
101 プリントサーバ
103 画像転送ユニット
104 印刷制御ユニット
105 プロッタ
106 センサボード
107 画像処理ユニット
201 画像出力部
202 CPU
203 紙位置検知部
205 センサ制御部
207〜210 SPIデバイス
304 シリアル通信アービタ
310、401 シリアル通信制御部
407〜410 SPI制御部
DESCRIPTION OF SYMBOLS 100 Image forming system 101 Print server 103 Image transfer unit 104 Print control unit 105 Plotter 106 Sensor board 107 Image processing unit 201 Image output part 202 CPU
203 Paper position detection unit 205 Sensor control unit 207 to 210 SPI device 304 Serial communication arbiter 310, 401 Serial communication control unit 407 to 410 SPI control unit

特開2005−202643号公報JP-A-2005-202643

Claims (9)

第1のデバイスと、第2のデバイスとを有する画像形成システムであって、
前記第1のデバイスは、
画像形成部における記録媒体の位置を検知するための情報を取得する複数のセンサのマスタとなり、前記複数のセンサと第1の通信方式で通信を行う複数の制御部と、
前記複数の制御部と、前記第2のデバイスとの通信を制御する第1の通信制御部と、を有し、
前記第2のデバイスは、
前記第1の通信制御部のマスタとなり、第2の通信方式で前記第1の通信制御部と通信を行う第2の通信制御部を有する、画像形成システム。
An image forming system having a first device and a second device,
The first device is:
A plurality of sensors that acquire information for detecting the position of the recording medium in the image forming unit, and a plurality of control units that communicate with the plurality of sensors using a first communication method;
A plurality of control units, and a first communication control unit that controls communication with the second device,
The second device is:
An image forming system including a second communication control unit that becomes a master of the first communication control unit and communicates with the first communication control unit by a second communication method.
前記第1の通信制御部は、
前記第2の通信制御部から転送された通信対象選択ビットに基づき、前記複数の制御部から、前記第2のデバイスとの通信対象となる制御部を選択する、請求項1記載の画像形成システム。
The first communication control unit
2. The image forming system according to claim 1, wherein a control unit to be a communication target with the second device is selected from the plurality of control units based on a communication target selection bit transferred from the second communication control unit. .
前記第1の通信制御部は、シリアル通信データのパリティチェックを行う第1のパリティチェック部を有し、
前記第2の通信制御部は、シリアル通信データのパリティチェックを行う第2のパリティチェック部を有する、請求項1又は2記載の画像形成システム。
The first communication control unit includes a first parity check unit that performs a parity check of serial communication data,
The image forming system according to claim 1, wherein the second communication control unit includes a second parity check unit that performs a parity check of serial communication data.
前記第1の通信制御部は、
前記第1のパリティチェック部によるパリティチェックの結果を前記第2の通信制御部へ送信する、請求項3記載の画像形成システム。
The first communication control unit
The image forming system according to claim 3, wherein a result of the parity check by the first parity check unit is transmitted to the second communication control unit.
前記第2の通信制御部は、
前記第1のパリティチェック部によるパリティチェックの結果がエラーであったとき、少なくとも1以上の前記シリアル通信データを送信する、請求項4記載の画像形成システム。
The second communication control unit
The image forming system according to claim 4, wherein when the result of the parity check by the first parity check unit is an error, at least one serial communication data is transmitted.
前記第1の通信制御部は、
前記複数のセンサに対するアクセスが完了すると、割り込みにより前記アクセスの完了を前記第2の通信制御部に通知し、
前記第2の通信制御部は、
前記割り込みを受けて、前記第1の通信制御部に対し、割り込み要因がリード要求又はクリア要求である割り込みと、データのリード要求と、を通知する請求項1乃至5の何れか一項に記載の画像形成システム。
The first communication control unit
When the access to the plurality of sensors is completed, the completion of the access is notified to the second communication control unit by an interrupt,
The second communication control unit
6. The device according to claim 1, wherein upon receiving the interrupt, the first communication control unit is notified of an interrupt whose interrupt factor is a read request or a clear request and a data read request. Image forming system.
第1のデバイスと、第2のデバイスとを有する通信システムであって、
前記第1のデバイスは、
複数のデバイスと、前記複数のデバイスのそれぞれのマスタとなり、前記複数のデバイスのそれぞれと第1の通信方式で通信を行う複数の制御部と、
前記複数の制御部と、前記第2のデバイスとの通信を制御する第1の通信制御部と、を有し、
前記第2のデバイスは、
前記第1の通信制御部のマスタとなり、第2の通信方式で前記第1の通信制御部と通信を行う第2の通信制御部を有する、通信システム。
A communication system having a first device and a second device,
The first device is:
A plurality of devices, and a plurality of control units that become respective masters of the plurality of devices and communicate with each of the plurality of devices by a first communication method;
A plurality of control units, and a first communication control unit that controls communication with the second device,
The second device is:
A communication system comprising a second communication control unit that becomes a master of the first communication control unit and communicates with the first communication control unit by a second communication method.
第1のデバイスと、第2のデバイスとを有する通信システムによる通信方法であって、
前記第1のデバイスが、
複数のデバイスと、前記複数のデバイスのそれぞれのマスタとなる複数の制御部と、を第1の通信方式で通信させ、
前記複数の制御部と、前記第2のデバイスとの通信を制御する第1の通信制御部と、を通信させ、
前記第2のデバイスが、
前記第1の通信制御部と、前記第1の通信制御部のマスタとなる第2の通信制御部と、を第2の通信方式により通信させる、通信方法。
A communication method by a communication system having a first device and a second device,
The first device is
A plurality of devices and a plurality of control units serving as masters of the plurality of devices are caused to communicate by the first communication method,
Communicating the plurality of control units with a first communication control unit that controls communication with the second device;
The second device is
A communication method in which the first communication control unit and a second communication control unit serving as a master of the first communication control unit communicate with each other by a second communication method.
画像形成部における記録媒体の位置を検知するための情報を取得する複数のセンサのマスタとなり、前記複数のセンサと第1の通信方式で通信を行う複数の制御部と、
前記複数の制御部と、前記第2のデバイスとの通信を制御する第1の通信制御部と、を有する第1のデバイスと、
前記第1の通信制御部のマスタとなり、第2の通信方式で前記第1の通信制御部と通信を行う第2の通信制御部を有する第2のデバイスと、を有する画像形成装置。
A plurality of sensors that acquire information for detecting the position of the recording medium in the image forming unit, and a plurality of control units that communicate with the plurality of sensors using a first communication method;
A first device comprising: the plurality of control units; and a first communication control unit that controls communication with the second device;
An image forming apparatus comprising: a second device having a second communication control unit that becomes a master of the first communication control unit and communicates with the first communication control unit by a second communication method.
JP2017017876A 2017-02-02 2017-02-02 Image forming system and image forming device Active JP6897126B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017017876A JP6897126B2 (en) 2017-02-02 2017-02-02 Image forming system and image forming device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017017876A JP6897126B2 (en) 2017-02-02 2017-02-02 Image forming system and image forming device

Publications (2)

Publication Number Publication Date
JP2018122545A true JP2018122545A (en) 2018-08-09
JP6897126B2 JP6897126B2 (en) 2021-06-30

Family

ID=63110808

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017017876A Active JP6897126B2 (en) 2017-02-02 2017-02-02 Image forming system and image forming device

Country Status (1)

Country Link
JP (1) JP6897126B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021022054A (en) * 2019-07-25 2021-02-18 京セラドキュメントソリューションズ株式会社 Image forming apparatus and communication method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040165905A1 (en) * 2003-02-24 2004-08-26 Chang-Bok Lee Image formation device using an I2C bus and a control method thereof
JP2010213237A (en) * 2009-03-12 2010-09-24 Canon Inc Image forming apparatus
JP2011061506A (en) * 2009-09-10 2011-03-24 Canon Inc Communication system for image forming apparatus
JP2014016791A (en) * 2012-07-09 2014-01-30 Canon Inc Image forming apparatus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040165905A1 (en) * 2003-02-24 2004-08-26 Chang-Bok Lee Image formation device using an I2C bus and a control method thereof
JP2010213237A (en) * 2009-03-12 2010-09-24 Canon Inc Image forming apparatus
JP2011061506A (en) * 2009-09-10 2011-03-24 Canon Inc Communication system for image forming apparatus
JP2014016791A (en) * 2012-07-09 2014-01-30 Canon Inc Image forming apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021022054A (en) * 2019-07-25 2021-02-18 京セラドキュメントソリューションズ株式会社 Image forming apparatus and communication method

Also Published As

Publication number Publication date
JP6897126B2 (en) 2021-06-30

Similar Documents

Publication Publication Date Title
US11704274B2 (en) System, apparatus and method for extended communication modes for a multi-drop interconnect
JP7212687B2 (en) serial communication device
CN102073611B (en) I2C bus control system and method
KR20170083366A (en) System on chip and integrated chip performing data loopback operation, and mobile device having the same
JP6897126B2 (en) Image forming system and image forming device
US20120182582A1 (en) Image forming apparatus and method of controlling the same
JP2019219803A (en) Controller, image forming apparatus, control method and control program
JP2007104539A (en) Data transfer apparatus and data transfer method
JP4873640B2 (en) Print control circuit and image forming apparatus
JP2000231539A (en) Data transfer system and data transfer method
US10509754B2 (en) Information processing apparatus, control method for information processing apparatus, and storage medium
JP5168541B2 (en) Data transfer device
JP6171367B2 (en) Switch device, image processing device, and exclusive control method
JP5447065B2 (en) Image processing apparatus, image forming system, and image processing program
JP2007265108A (en) Bus bridge
JP6776642B2 (en) Master communication device, system and image forming device
JP2006309444A (en) Data processing system
JP2017204702A (en) Information processing apparatus and image forming apparatus
JP6163941B2 (en) Control device and image forming apparatus
JP2006092077A (en) Bus system
US9298656B2 (en) Data transferring apparatus and data transferring method
JP2006040120A (en) Image processing function memory
US8161207B1 (en) Common block interface for data and control with handshake protocol
JP2013250956A (en) Data transfer device, data transfer method, and program
JP2007299315A (en) Data transfer device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20191216

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20201008

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20201201

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210129

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20210511

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210524

R151 Written notification of patent or utility model registration

Ref document number: 6897126

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151