[go: up one dir, main page]

JP2011199419A - Image forming apparatus, image formation method, and program - Google Patents

Image forming apparatus, image formation method, and program Download PDF

Info

Publication number
JP2011199419A
JP2011199419A JP2010061550A JP2010061550A JP2011199419A JP 2011199419 A JP2011199419 A JP 2011199419A JP 2010061550 A JP2010061550 A JP 2010061550A JP 2010061550 A JP2010061550 A JP 2010061550A JP 2011199419 A JP2011199419 A JP 2011199419A
Authority
JP
Japan
Prior art keywords
image
unit
transfer
controller
image data
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
JP2010061550A
Other languages
Japanese (ja)
Inventor
Ichiro Katsunoi
一朗 勝野井
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 JP2010061550A priority Critical patent/JP2011199419A/en
Publication of JP2011199419A publication Critical patent/JP2011199419A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Storing Facsimile Image Data (AREA)
  • Image Input (AREA)
  • Facsimiles In General (AREA)

Abstract

【課題】読み取った原稿画像データを順次DMA転送する際に、1枚ずつの原稿処理完了時間を短縮化し、データ転送が正常終了か異常終了かを判別できるようにする。
【解決手段】スキャナユニット14で読み取った画像データをDMA転送するためのDMAC18a〜18cを有するスキャナ画像処理部15と、スキャナ画像処理部15から画像データを受けて、メモリアドレスを発生しメモリ33に書き込むDMAC29を有するコントローラ処理部22と、スキャナ画像処理部15とコントローラ処理部22とを結び、アドレス情報とデータ情報とを用いてやりとりする汎用バスとを備え、スキャナ画像処理部15は、画像データを汎用バス経由でコントローラ処理部22に転送し、画像データの転送完了時にデータ転送終了を示す転送終了信号をコントローラ処理部22に送り、DMAC29は、転送終了信号を受けるとメモリ33への書き込みを終了する。
【選択図】図1
When sequentially transferring the read original image data by DMA, the original processing completion time for each sheet is shortened, and it is possible to determine whether the data transfer ends normally or abnormally.
A scanner image processing unit 15 having DMACs 18 a to 18 c for DMA transfer of image data read by a scanner unit 14, receives image data from the scanner image processing unit 15, generates a memory address, and generates a memory 33. A controller processing unit 22 having a DMAC 29 for writing, a scanner image processing unit 15 and the controller processing unit 22 are connected to each other, and a general-purpose bus for exchanging address information and data information is provided. The scanner image processing unit 15 Is transferred to the controller processing unit 22 via the general-purpose bus, and when the transfer of the image data is completed, a transfer end signal indicating the end of data transfer is sent to the controller processing unit 22. finish.
[Selection] Figure 1

Description

本発明は、原稿画像をスキャナで読み取る画像形成装置、画像形成方法、およびプログラムに関する。   The present invention relates to an image forming apparatus that reads an original image with a scanner, an image forming method, and a program.

従来の原稿移動式により原稿読み取りを行う画像形成装置において、不定形サイズの原稿を読み取る場合は、不要な画像の読み取りを防止するため、予め原稿サイズを確定しておくことが必要になる。原稿サイズの確定方法としては、原稿の長さをDF(ドキュメント・フィーダ)の原稿搬送部の原稿サイズ検知センサによって検知する方法が一般的に知られている。つまり、原稿の搬送方向の長さ(副走査ライン数)は、原稿搬送部の原稿サイズ検知センサで検知する構造であったため、不定形サイズの原稿をスキャンする場合、スキャン実行中、あるいはスキャン完了後でないと原稿の搬送方向の長さが確定しなかった。   In an image forming apparatus that reads a document by a conventional document moving method, when reading an irregular-size document, it is necessary to determine the document size in advance in order to prevent reading of an unnecessary image. As a method for determining a document size, a method is generally known in which a document length is detected by a document size detection sensor of a document transport unit of a DF (document feeder). In other words, since the length (number of sub-scan lines) in the document transport direction is detected by the document size detection sensor of the document transport unit, when scanning an irregular-size document, the scan is being executed or the scan has been completed. Only after that, the length in the document transport direction could not be determined.

そして、上記した不定形サイズの原稿を読み取る場合は、スキャナで読み取った原稿データを、スキャナ画像処理部からコントローラ部へデータ転送する際に、スキャナ画像処理部からのデータを汎用バス経由で受け取るコントローラ部は、スキャン実行前には受け取るデータ量が分からなかった。   When reading an irregular-size document, the controller receives data from the scanner image processing unit via the general-purpose bus when transferring document data read by the scanner from the scanner image processing unit to the controller unit. The department did not know how much data it received before executing the scan.

そこで、特許文献1においては、DMA(Direct Memory Access)転送するデータサイズの設定が予め必要なコントローラ部のDMAC(DMAコントローラ)の場合、最大サイズの転送データサイズを設定しておき、一定の時間が経過してもスキャナ画像処理部からのデータ転送がないと処理を終了するタイムアウト処理を行い、コントローラ部がデータ転送を完了させる技術が開示されている。   Therefore, in Patent Document 1, in the case of a DMAC (DMA controller) of a controller unit that requires the setting of a data size for DMA (Direct Memory Access) transfer, a maximum transfer data size is set for a certain period of time. A technique is disclosed in which a time-out process is performed to end the processing if the data is not transferred from the scanner image processing unit even after elapse of time, and the controller unit completes the data transfer.

しかしながら、上記特許文献1にあっては、タイムアウト処理によってデータ転送を完了させると、1枚の原稿処理を完了させるのに必ずタイムアウト時間を経過させる必要があるため、次の原稿処理の起動が速やかに行えず、複合機などの画像形成装置における高速処理化の妨げとなっていた。   However, in Patent Document 1, when data transfer is completed by the timeout process, it is necessary to elapse the timeout time in order to complete the processing of one original, so that the next original process is quickly activated. However, this has hindered high-speed processing in image forming apparatuses such as multifunction peripherals.

また、上記特許文献1におけるタイムアウト処理では、転送の正常終了と、ジャム(Jam)等による異常終了とを判別することができないため、コントローラ部は原稿サイズに満たないデータや異常画像などをメモリへ送信する可能性があるという問題があった。   Further, in the time-out process in the above-mentioned patent document 1, since it is impossible to discriminate between normal end of transfer and abnormal end due to jam or the like, the controller unit stores data less than the original size, an abnormal image or the like to the memory. There was a problem that there was a possibility of sending.

本発明は、上記に鑑みてなされたものであって、読み取った原稿画像データを順次DMA転送する際に、1枚ずつの原稿処理完了時間を短縮化すると共に、データ転送が正常終了したか異常終了したかを判別することができる、高速処理と高信頼性とを実現することが可能な画像形成装置、画像形成方法、およびプログラムを提供することを目的とする。   The present invention has been made in view of the above, and when the read document image data is sequentially DMA-transferred, the document processing completion time for each sheet is shortened, and the data transfer is normally completed or abnormal. It is an object of the present invention to provide an image forming apparatus, an image forming method, and a program capable of determining whether the processing has been completed and capable of realizing high-speed processing and high reliability.

上述した課題を解決し、目的を達成するために、本発明は、エンジン部とコントローラ部とが汎用バスを介して接続された画像形成装置であって、前記エンジン部は、原稿画像を読み取る画像読取手段と、前記画像読取手段で読み取った画像データを前記汎用バス経由で前記コントローラ部に転送すると共に、前記画像データの転送が完了した際にデータ転送の終了を示す転送終了信号を前記コントローラ部に送るスキャナ画像処理手段と、を備え、前記コントローラ部は、前記画像データを格納するメモリと、前記スキャナ画像処理手段から所定サイズの画像データを受けてメモリアドレスを発生させ、前記メモリに書き込むコントローラ処理手段と、を備え、前記コントローラ処理手段は、前記スキャナ画像処理手段から転送された前記画像データの前記メモリへの書き込みを行い、前記転送終了信号を受けると前記画像データの前記メモリへの書き込みを終了することを特徴とする。   In order to solve the above-described problem and achieve the object, the present invention provides an image forming apparatus in which an engine unit and a controller unit are connected via a general-purpose bus, and the engine unit reads an image of a document. A transfer unit that transfers image data read by the image reading unit to the controller unit via the general-purpose bus, and a transfer end signal indicating the end of data transfer when the transfer of the image data is completed. A scanner image processing means for sending to the memory, the controller unit storing the image data, a controller for receiving image data of a predetermined size from the scanner image processing means, generating a memory address, and writing to the memory Processing means, wherein the controller processing means is transferred from the scanner image processing means. It writes to the memory of the image data, characterized by terminating the writing to the memory of the image data and receiving the transfer end signal.

また、上述した課題を解決し、目的を達成するために、本発明は、エンジン部とコントローラ部とが汎用バスを介して接続された画像形成装置で実行される画像形成方法であって、前記画像形成装置は、画像読取手段と、スキャナ画像処理手段と、メモリと、コントローラ処理手段とを備え、前記エンジン部の前記画像読取手段が、原稿画像を読み取る工程と、前記エンジン部のスキャナ画像処理手段が、読み取った画像データを前記汎用バスを経由して前記コントローラ部に転送すると共に、前記画像データの転送が完了した際にデータ転送の終了を示す転送終了信号を前記コントローラ部に送る工程と、前記コントローラ部の前記メモリが、前記画像データを格納する工程と、前記コントローラ部の前記コントローラ処理手段が、スキャナ画像処理手段から所定サイズの画像データを受けてメモリアドレスを発生させ、前記メモリに書き込む工程と、を含み、前記コントローラ処理部が前記スキャナ画像処理手段から転送された前記画像データの前記メモリへの書き込みを行い、前記転送終了信号を受けると前記画像データの前記メモリへの書き込みを終了することを特徴とする。   In order to solve the above-described problems and achieve the object, the present invention is an image forming method executed by an image forming apparatus in which an engine unit and a controller unit are connected via a general-purpose bus, The image forming apparatus includes an image reading unit, a scanner image processing unit, a memory, and a controller processing unit. The image reading unit of the engine unit reads a document image, and the scanner image processing of the engine unit. Means for transferring the read image data to the controller unit via the general-purpose bus and sending a transfer end signal indicating the end of data transfer to the controller unit when the transfer of the image data is completed; The memory of the controller unit stores the image data, and the controller processing means of the controller unit includes a scan unit. Receiving a predetermined size of image data from the image processing means, generating a memory address, and writing to the memory, wherein the controller processing unit transfers the image data transferred from the scanner image processing means to the memory. Writing is performed, and the writing of the image data to the memory is terminated when the transfer end signal is received.

また、上述した課題を解決し、目的を達成するために、本発明は、エンジン部とコントローラ部とが汎用バスを介して接続された画像形成装置に搭載されるプログラムであって、コンピュータを、前記エンジン部は、原稿画像を読み取る画像読取手段と、前記画像読取手段で読み取った画像データを前記汎用バス経由で前記コントローラ部に転送すると共に、前記画像データの転送が完了した際にデータ転送の終了を示す転送終了信号を前記コントローラ部に送るスキャナ画像処理手段と、して機能させ、前記コントローラ部は、前記画像データを格納するメモリと、前記スキャナ画像処理手段から所定サイズの画像データを受けてメモリアドレスを発生させ、前記メモリに書き込むコントローラ処理手段と、して機能させ、前記コントローラ処理手段は、前記スキャナ画像処理手段から転送された前記画像データの前記メモリへの書き込みを行い、前記転送終了信号を受けると前記画像データの前記メモリへの書き込みを終了するように機能させるためのプログラムである。   In order to solve the above-described problem and achieve the object, the present invention is a program mounted on an image forming apparatus in which an engine unit and a controller unit are connected via a general-purpose bus, The engine unit transfers image data read by the image reading unit and image data read by the image reading unit to the controller unit via the general-purpose bus, and performs data transfer when the transfer of the image data is completed. The controller unit functions as a scanner image processing unit that sends a transfer end signal indicating completion to the controller unit. The controller unit receives the image data of a predetermined size from the memory storing the image data and the scanner image processing unit. The controller processing means for generating a memory address and writing to the memory, The processing means writes the image data transferred from the scanner image processing means to the memory, and functions to end writing the image data to the memory upon receiving the transfer end signal. It is a program.

本発明によれば、読み取った原稿画像データを順次DMA転送する際に、1枚ずつの原稿処理完了時間を短縮化すると共に、データ転送が正常終了したか異常終了したかを判別することができ、画像の高速処理と高信頼性とが実現可能な画像形成装置、画像形成方法、およびプログラムを提供することができるという効果を奏する。   According to the present invention, when the read document image data is sequentially DMA-transferred, it is possible to shorten the document processing completion time for each sheet and to determine whether the data transfer has been completed normally or abnormally. There is an effect that it is possible to provide an image forming apparatus, an image forming method, and a program capable of realizing high-speed image processing and high reliability.

図1は、本実施の形態にかかる画像形成装置の全体構成を示すブロック図である。FIG. 1 is a block diagram showing the overall configuration of the image forming apparatus according to the present embodiment. 図2は、図1の画像読取部の概略構成を示す断面図である。FIG. 2 is a cross-sectional view illustrating a schematic configuration of the image reading unit in FIG. 1. 図3は、図1のエンジン部における動作を説明するフローチャートである。FIG. 3 is a flowchart for explaining the operation of the engine unit of FIG. 図4は、図1のコントローラ部における動作を説明するフローチャートである。FIG. 4 is a flowchart for explaining the operation of the controller unit of FIG. 図5は、図1のスキャナ画像処理部におけるデータ転送に関する信号を示す図である。FIG. 5 is a diagram showing signals related to data transfer in the scanner image processing unit of FIG. 図6は、図1の出力制御部と3つのDMAC間のデータ転送を示すタイムチャートである。FIG. 6 is a time chart showing data transfer between the output control unit of FIG. 1 and three DMACs. 図7は、図1のDMAC(Ch0)の入出力データ転送を示すタイムチャートである。FIG. 7 is a time chart showing input / output data transfer of the DMAC (Ch0) of FIG. 図8は、図1のDMAC(Ch0)の概略構成を示すブロック図である。FIG. 8 is a block diagram showing a schematic configuration of the DMAC (Ch0) of FIG. 図9は、図1の調停部の入出力データ転送を示すタイムチャートである。FIG. 9 is a time chart showing input / output data transfer of the arbitration unit of FIG. 図10は、図1のPCIeルートコンプレックスコントローラのベースアドレスからのオフセット値を示す図である。FIG. 10 is a diagram showing an offset value from the base address of the PCIe root complex controller of FIG. 図11−1は、図1のスキャナ画像処理部とコントローラ処理部との間のデータ転送を示すタイムチャートである。FIG. 11A is a time chart illustrating data transfer between the scanner image processing unit and the controller processing unit in FIG. 図11−2は、図11−1のPCIeパケットに含まれるアドレスとライトデータとを示す図である。FIG. 11B is a diagram illustrating addresses and write data included in the PCIe packet in FIG. 11A. 図12は、図1の終了判定部の周辺構成部との関係を示すブロック図である。FIG. 12 is a block diagram illustrating a relationship between the end determination unit of FIG. 1 and peripheral components. 図13は、図12の終了判定部における入出力信号を示すタイムチャートである。FIG. 13 is a time chart showing input / output signals in the end determination unit of FIG.

以下に添付図面を参照して、この発明にかかる画像形成装置、画像形成方法、およびプログラムの最良な実施の形態を詳細に説明する。なお、本発明は、これらの実施の形態に限定されるものではなく、本発明の要旨を逸脱しない範囲で様々な変更実施の形態が可能である。   Exemplary embodiments of an image forming apparatus, an image forming method, and a program according to the present invention are explained in detail below with reference to the accompanying drawings. The present invention is not limited to these embodiments, and various modified embodiments are possible without departing from the spirit of the present invention.

図1は、本実施の形態にかかる画像形成装置の全体構成を示すブロック図である。図1に示す画像形成装置10は、エンジン部11とコントローラ部21とが汎用バスとしてのPCI Expressを介して接続されている。この汎用バスには、PCIバスなども用いることができる。   FIG. 1 is a block diagram showing the overall configuration of the image forming apparatus according to the present embodiment. In the image forming apparatus 10 shown in FIG. 1, an engine unit 11 and a controller unit 21 are connected via a PCI Express as a general-purpose bus. A PCI bus or the like can also be used as this general-purpose bus.

エンジン部11は、画像読取手段としての画像読取部12と画像処理手段としてのスキャナ画像処理部15とで構成されている。画像読取部12は、原稿の画像を読み取る画像入力処理を行うもので、原稿搬送ユニット13とスキャナユニット14とを備えている。   The engine unit 11 includes an image reading unit 12 as an image reading unit and a scanner image processing unit 15 as an image processing unit. The image reading unit 12 performs image input processing for reading an image of a document, and includes a document transport unit 13 and a scanner unit 14.

スキャナ画像処理部15は、スキャナ特性補正部16と、出力制御部17と、DMAコントローラとしてのDMAC(Ch0)18a,DMAC(Ch1)18b,DMAC(Ch2)18cと、調停部19と、PCIeエンドポイントコントローラ20とを備えている。   The scanner image processing unit 15 includes a scanner characteristic correction unit 16, an output control unit 17, a DMAC (Ch0) 18a, a DMAC (Ch1) 18b, a DMAC (Ch2) 18c as a DMA controller, an arbitration unit 19, and a PCIe end. And a point controller 20.

スキャナ特性補正部16は、画像読取部12で使用しているCCDの特性を補正する処理を行うものである。   The scanner characteristic correction unit 16 performs processing for correcting the characteristics of the CCD used in the image reading unit 12.

出力制御部17は、スキャナの特性に対応して補正処理を行ったRGBデータをR版、G版、B版に振り分けて、次段の3つのDMACに振り分けて出力する。   The output control unit 17 distributes the RGB data, which has been corrected according to the characteristics of the scanner, to the R, G, and B plates, and distributes them to the next three DMACs for output.

DMAC(Ch0〜Ch2)18a〜18cは、PCIeエンドポイントコントローラ20を経由してコントローラ部21へ画像データを転送すると共に、画像データの転送が完了するとデータ転送が終了したことを示す転送終了信号を転送する。   The DMACs (Ch0 to Ch2) 18a to 18c transfer image data to the controller unit 21 via the PCIe end point controller 20, and when the transfer of the image data is completed, a transfer end signal indicating that the data transfer is completed. Forward.

調停部19は、DMACの(Ch0)、(Ch1)、(Ch2)の順で各DMAC18a〜18cからの画像入力を受け付けて、それぞれのデータをPCIeエンドポイントコントローラ20に受け渡す。   The arbitration unit 19 receives image inputs from the DMACs 18a to 18c in the order of DMAC (Ch0), (Ch1), and (Ch2), and passes the respective data to the PCIe end point controller 20.

PCIeエンドポイントコントローラ20は、PCI Expressを介して接続されるコントローラ部21との間で画像データの授受を行うものである。   The PCIe end point controller 20 transmits and receives image data to and from the controller unit 21 connected via PCI Express.

一方、コントローラ部21は、コントローラ処理手段としてのコントローラ処理部22とチップセット31とCPU32とメモリ33とを備えている。   On the other hand, the controller unit 21 includes a controller processing unit 22, a chip set 31, a CPU 32, and a memory 33 as controller processing means.

コントローラ処理部22は、PCIeルートコンプレックスコントローラ23と、入力制御部24と、画像入力バッファ27と、圧縮処理部28と、DMAC29と、PCIeエンドポイントコントローラ30とを備えている。   The controller processing unit 22 includes a PCIe route complex controller 23, an input control unit 24, an image input buffer 27, a compression processing unit 28, a DMAC 29, and a PCIe end point controller 30.

PCIeルートコンプレックスコントローラ23は、PCI Expressを介して接続されるエンジン部11との間で画像データの授受を行う。   The PCIe root complex controller 23 exchanges image data with the engine unit 11 connected via PCI Express.

入力制御部24は、PCIeルートコンプレックスコントローラ23から受け取った画像データをR版、G版、B版の各画像バッファに振り分けるPCIe I/F25と、受け取った転送終了信号を画像入力バッファ27に送る終了判定部26とを備えている。   The input control unit 24 distributes the image data received from the PCIe route complex controller 23 to each of the R, G, and B image buffers, and ends the transmission of the received transfer end signal to the image input buffer 27. And a determination unit 26.

画像入力バッファ27は、R版、G版、B版の各画像データを一時的に蓄える、R版画像バッファ27a、G版画像バッファ27b、およびB版画像バッファ27cを備えている。   The image input buffer 27 includes an R plate image buffer 27a, a G plate image buffer 27b, and a B plate image buffer 27c for temporarily storing R, G, and B plate image data.

圧縮処理部28は、画像入力バッファ27のR版画像バッファ27a、G版画像バッファ27b、B版画像バッファ27cからの画像データをそれぞれ圧縮処理するものである。   The compression processing unit 28 compresses the image data from the R plate image buffer 27a, the G plate image buffer 27b, and the B plate image buffer 27c of the image input buffer 27, respectively.

DMAC29は、PCIeエンドポイントコントローラ30を経由してチップセット31側のメモリ33へ画像データをライトする。   The DMAC 29 writes the image data to the memory 33 on the chipset 31 side via the PCIe end point controller 30.

PCIeエンドポイントコントローラ30は、PCI Expressを介して接続されるチップセット31との間で画像データの授受を行う。   The PCIe end point controller 30 exchanges image data with the chipset 31 connected via the PCI Express.

図2は、図1の画像読取部の概略構成を示す断面図である。画像読取部12は、図2に示すように、原稿台40の原稿積載部に積載された原稿42を原稿読取位置48に給送する原稿搬送ユニット13と、給送された原稿42が原稿読取位置48を通過する画像を光学的に読み取って、電気信号の画像データに変換するスキャナユニット14とで構成されている。   FIG. 2 is a cross-sectional view illustrating a schematic configuration of the image reading unit in FIG. 1. As shown in FIG. 2, the image reading unit 12 includes a document transport unit 13 that feeds a document 42 stacked on a document stacking unit of a document table 40 to a document reading position 48, and the fed document 42 reads a document. The scanner unit 14 optically reads an image passing through the position 48 and converts it into image data of an electrical signal.

原稿給送ユニット13は、原稿サイズ検知センサ44を具備しており、原稿44の搬送方向の長さ(原稿の長さ)を原稿42の後端を検知するまでにかかった時間を検知することで、通常の原稿サイズを特定することができる。しかし、不定形サイズの原稿は、図2の原稿待機位置aまで引き込んだ段階で原稿の後端が原稿検知センサ10aを通過しないため、原稿の引き込み段階では原稿サイズを特定することができない。   The document feeding unit 13 includes a document size detection sensor 44, and detects the time taken to detect the trailing edge of the document 42 by measuring the length of the document 44 in the transport direction (length of the document). Thus, the normal document size can be specified. However, since the rear end of the original of the irregular size document does not pass through the document detection sensor 10a when the document is drawn to the document standby position a in FIG. 2, the document size cannot be specified at the document drawing stage.

原稿待機位置aに引き込まれた原稿42は、搬送ドラム46で搬送経路bを通って原稿読取位置48を通過し、搬送経路cから搬送経路dを経て、排紙トレイ50上に排出される。   The document 42 drawn into the document standby position a passes through the document reading position 48 through the transport path b by the transport drum 46, and is discharged from the transport path c to the paper discharge tray 50 through the transport path d.

スキャナユニット14は、原稿読取位置48を通過する原稿42の画像をキセノンランプ52で照明し、その反射画像をミラー54等で反射させ、図示省略のレンズを介してCCD(Charge Coupled Device)で読み取ることにより、電気信号の画像データに変換するものである。   The scanner unit 14 illuminates the image of the document 42 passing through the document reading position 48 with a xenon lamp 52, reflects the reflected image with a mirror 54 and the like, and reads it with a CCD (Charge Coupled Device) through a lens (not shown). As a result, the image data is converted into image data of an electrical signal.

なお、本実施の形態の画像形成装置10で実行されるプログラムは、図示省略したROM等に予め組み込まれて提供される。また、本実施の形態の画像形成装置10で実行されるプログラムを、インストール可能な形式又は実行可能な形式のファイルでCD−ROM、フレキシブルディスク(FD)、CD−R、DVD(Digital Versatile Disk)等のコンピュータで読み取り可能な記録媒体に記録して提供するように構成してもよい。   The program executed by the image forming apparatus 10 of the present embodiment is provided by being incorporated in advance in a ROM or the like (not shown). Further, the program executed in the image forming apparatus 10 of the present embodiment can be installed in a file in an installable format or an executable format, a CD-ROM, a flexible disk (FD), a CD-R, a DVD (Digital Versatile Disk). For example, the program may be recorded on a computer-readable recording medium.

また、本実施の形態の画像形成装置10で実行されるプログラムを、インターネット等のネットワークに接続されたコンピュータ上に格納し、ネットワーク経由でダウンロードさせることにより提供するように構成してもよい。また、本実施形態の画像形成装置10で実行されるプログラムをインターネット等のネットワーク経由で提供または配布するように構成してもよい。   Further, the program executed by the image forming apparatus 10 of the present embodiment may be provided by being stored on a computer connected to a network such as the Internet and downloaded via the network. Further, the program executed by the image forming apparatus 10 of the present embodiment may be configured to be provided or distributed via a network such as the Internet.

また、本実施の形態の画像形成装置10で実行されるプログラムは、上述した各部(画像読取部、スキャナ画像処理部、メモリ、コントローラ処理部等)を含むモジュール構成となっており、実際のハードウェアとしてはCPU(プロセッサ)32が上記ROMからプログラムを読み出して実行することにより上記各部が主記憶装置上にロードされ、画像読取部、スキャナ画像処理部、メモリ、コントローラ処理部等が主記憶装置上に生成されるようになっている。   The program executed by the image forming apparatus 10 according to the present embodiment has a module configuration including the above-described units (image reading unit, scanner image processing unit, memory, controller processing unit, and the like). As the wear, the CPU (processor) 32 reads out the program from the ROM and executes it, whereby the above-described units are loaded onto the main storage device, and the image reading unit, the scanner image processing unit, the memory, the controller processing unit, and the like are the main storage device. It is supposed to be generated above.

ここで、プログラムとしては、コピー動作プロセスのプログラム(コピーアプリ)やスキャナ配信プロセスのプログラム(スキャナ配信アプリ)、ファックス送信プロセスのプログラム(ファックスアプリ)などがある。   Examples of the program include a copy operation process program (copy application), a scanner distribution process program (scanner distribution application), and a fax transmission process program (fax application).

本実施の形態にかかる画像形成装置は、以上のように構成されている。以下、図3および図4のフローチャートを用いて、動作を説明する。   The image forming apparatus according to the present embodiment is configured as described above. The operation will be described below with reference to the flowcharts of FIGS.

図3は、図1のエンジン部における動作を説明するフローチャートであり、図4は、図1のコントローラ部における動作を説明するフローチャートである。まず、図1のコントローラ部21から原稿の画像読み取り開始要求があると(図4のステップS200)、エンジン部11の画像読取部12の原稿搬送ユニット13が図2の原稿台40に積載された原稿42を原稿待機位置aまで引き込む(図3のステップS100)。画像読取装置12は、原稿42を原稿待機位置aまで引き込むと、通常原稿サイズであれば原稿サイズ検知センサ44により原稿サイズを特定することができるが、不定形サイズの原稿であれば原稿サイズを特定することができない。   FIG. 3 is a flowchart for explaining the operation of the engine unit of FIG. 1, and FIG. 4 is a flowchart for explaining the operation of the controller unit of FIG. First, when there is a document image reading start request from the controller unit 21 in FIG. 1 (step S200 in FIG. 4), the document transport unit 13 of the image reading unit 12 in the engine unit 11 is loaded on the document table 40 in FIG. The document 42 is pulled to the document standby position a (step S100 in FIG. 3). When the image reader 12 pulls the document 42 to the document standby position a, the document size can be specified by the document size detection sensor 44 if the document size is a normal document size. It cannot be specified.

原稿の引き込みが完了するとスキャン開始指示を待つ(図3のステップS102)。通常は、コントローラ部21から原稿の画像読み取り開始要求があれば(図4のステップS200)、スキャン開始指示ありと判断される(図3のステップS102でYes)。原稿搬送ユニット13は、原稿待機位置aに引き込まれた原稿42を搬送ドラム46で搬送経路bから原稿読取位置48を通り、搬送経路cから搬送経路dへと搬送する。スキャナユニット14は、原稿読取位置48を通過する際に、原稿画像のスキャンを開始する(図3のステップS104)。   When the drawing of the original is completed, a scan start instruction is waited (step S102 in FIG. 3). Normally, if there is a document image reading start request from the controller unit 21 (step S200 in FIG. 4), it is determined that there is a scan start instruction (Yes in step S102 in FIG. 3). The document transport unit 13 transports the document 42 drawn to the document standby position a from the transport path b through the document reading position 48 from the transport path c to the transport path d by the transport drum 46. When the scanner unit 14 passes the document reading position 48, the scanner unit 14 starts scanning the document image (step S104 in FIG. 3).

また、上記ステップS100において、原稿42が既に原稿待機位置aに引き込まれている場合は、スキャン開始指示があるまで待機し(図3のステップS102でNo)、コントローラ部21からの画像読取開始要求があると(ステップS図4のステップS200)、スキャン開始指示ありとなって(図3のステップS102でYes)、スキャナユニット14によりスキャンが開始される(図3のステップS104)。   If the document 42 has already been pulled into the document standby position a in step S100, the process waits until there is a scan start instruction (No in step S102 in FIG. 3), and an image reading start request from the controller unit 21. If there is any (step S200 in FIG. 4), a scan start instruction is given (Yes in step S102 in FIG. 3), and scanning is started by the scanner unit 14 (step S104 in FIG. 3).

原稿サイズ検知センサ44は、原稿42の読み取り終了後に原稿42の後端が原稿給送ユニット13の原稿サイズ検知センサ44を通過すると、原稿42の後端を検知して、不定形サイズの原稿であっても原稿42の搬送方向の長さを確定することができる。   The document size detection sensor 44 detects the trailing edge of the document 42 when the trailing edge of the document 42 passes the document size detection sensor 44 of the document feeding unit 13 after the reading of the document 42 is completed. Even in this case, the length of the document 42 in the conveyance direction can be determined.

画像読取部12のスキャナユニット14で読み取られた画像データは、図1に示すスキャナ画像処理部15に送られる。スキャナ画像処理部15に入力されるデータの特性は、スキャナユニット14で使用するCCDの特性に対応して異なる。スキャナ画像処理部15のスキャナ特性補正部16は、このデータの特性に対応した補正処理を行う(図3のステップS106)。   The image data read by the scanner unit 14 of the image reading unit 12 is sent to the scanner image processing unit 15 shown in FIG. The characteristics of data input to the scanner image processing unit 15 differ depending on the characteristics of the CCD used in the scanner unit 14. The scanner characteristic correction unit 16 of the scanner image processing unit 15 performs correction processing corresponding to the characteristics of this data (step S106 in FIG. 3).

スキャナ特性補正部16で補正された画像データは、出力制御部17においてRGBデータをR版、G版、B版に振り分けられ(図3のステップS108)、各版ごとに3つのチャネル(Ch0〜Ch2)のDMAC18a〜18cに転送される。3つのDMAC18a〜18cは、後段の調停部17に対して各版の画像データを出力する。調停部17は、DMACの(Ch0)、(Ch1)、(Ch2)の順で各DMAC18a〜18cからの画像入力を受け付ける。初めに、DMAC(Ch0)18aのR版データの転送要求を受け付けると、PCIeエンドポイントコントローラ20経由でコントローラ部21へDMA転送される(図3のステップS110)。次に、DMAC(Ch1)18bのG版データの転送要求を受け付けると、PCIeエンドポイントコントローラ20経由でコントローラ部21へDMA転送される(図3のステップS112)。次に、DMAC(Ch2)18cのB版データの転送要求を受け付けると、PCIeエンドポイントコントローラ20経由でコントローラ部21へDMA転送される(図3のステップS11)。1ページ分のスキャンが終了し、画像データの転送が終了するまでは、図3のステップS110〜S114が繰り返される(ステップS116でNo)。   The image data corrected by the scanner characteristic correction unit 16 is divided into R, G, and B plates by the output control unit 17 (step S108 in FIG. 3), and three channels (Ch0 to Ch0) for each plate. To the DMACs 18a to 18c of Ch2). The three DMACs 18a to 18c output image data of each plate to the arbitration unit 17 at the subsequent stage. The arbitration unit 17 receives image inputs from the DMACs 18a to 18c in the order of DMAC (Ch0), (Ch1), and (Ch2). First, when a transfer request for the R version data of the DMAC (Ch0) 18a is received, the DMA transfer is performed to the controller unit 21 via the PCIe end point controller 20 (step S110 in FIG. 3). Next, when the transfer request for the G version data of the DMAC (Ch1) 18b is received, the DMA transfer is performed to the controller unit 21 via the PCIe end point controller 20 (step S112 in FIG. 3). Next, when a transfer request for the B version data of the DMAC (Ch2) 18c is received, the DMA transfer is performed to the controller unit 21 via the PCIe end point controller 20 (step S11 in FIG. 3). Steps S110 to S114 in FIG. 3 are repeated until the scan for one page is finished and the transfer of the image data is finished (No in step S116).

図5は、図1のスキャナ画像処理部におけるデータ転送に関する信号を示す図であり、図6は、図1の出力制御部と3つのDMAC間のデータ転送を示すタイムチャートである。図5に示すように、スキャナ画像処理部15は、送信側のWrite commandと受信側のcommamd accept信号によるハンドシェイク方式で画像データ転送を行っている。具体的には、図6に示すように、出力制御部17がRGB画像データと同時にWrite commandを発行し、DMAC18a〜18cがコマンドを受け取れる状態であればcommand accept信号を「1」にする。出力制御部17は、ページの最終RGB画像データに限って、Write commandと最終RGB画像データと同時にend of page信号を「1」にする。そして、本実施の形態では、DMAC(Ch0)18aに限り、出力制御部17から受信したend of page信号をトリガとして、転送終了アドレス(30h)をWrite commandとともに調停部19に出力する。   FIG. 5 is a diagram showing signals related to data transfer in the scanner image processing unit of FIG. 1, and FIG. 6 is a time chart showing data transfer between the output control unit of FIG. 1 and three DMACs. As shown in FIG. 5, the scanner image processing unit 15 performs image data transfer by a handshake method using a write command on the transmission side and a command accept signal on the reception side. Specifically, as shown in FIG. 6, the output control unit 17 issues a write command simultaneously with the RGB image data, and sets the command accept signal to “1” if the DMACs 18 a to 18 c can receive the command. The output control unit 17 sets the end of page signal to “1” simultaneously with the Write command and the final RGB image data only for the final RGB image data of the page. In this embodiment, only the DMAC (Ch0) 18a outputs the transfer end address (30h) to the arbitration unit 19 together with the write command using the end of page signal received from the output control unit 17 as a trigger.

図7は、図1のDMAC(Ch0)の入出力データ転送を示すタイムチャートである。DMAC(Ch0)18aは、R版画像データと転送アドレスと同時にWrite commandを発行し、調停部19はコマンドを受け取れる状態であればcommand accept信号を「1」にする。DMAC(Ch0)18aが送信する転送アドレスは、「00h」固定である。   FIG. 7 is a time chart showing input / output data transfer of the DMAC (Ch0) of FIG. The DMAC (Ch0) 18a issues a Write command at the same time as the R image data and the transfer address, and the arbitration unit 19 sets the command accept signal to “1” if the command can be received. The transfer address transmitted by the DMAC (Ch0) 18a is fixed to “00h”.

しかし、出力制御部17から受信したend of page信号が「1」となり、ページの最終Rデータを送信した後に限って、転送終了アドレスとなる「30h」をWrite commandとともに送信する。なお、このときのデータ出力の値は、Don‘t Careとなる。   However, only after the end of page signal received from the output control unit 17 becomes “1” and the last R data of the page is transmitted, “30h” that is the transfer end address is transmitted together with the write command. Note that the data output value at this time is Don't Care.

図8は、図1のDMAC(Ch0)の概略構成を示すブロック図である。図8に示すように、DMAC(Ch0)18aは、出力制御部17との間で転送ハンドシェイクを行う画像データの受信側である入力部34と、調停部19との間で転送ハンドシェイクを行う画像データの送信側である出力部36と、転送終了アドレス生成部35とを備えている。転送終了アドレス生成部35は、ページの最終データを送信した後に、end commandとend addressを出力部36へ送信する。これを、図7のタイムチャートで見ると、end of pageのアサートと、command acceptのアサートとを条件として、end commandとend addressとが生成される。   FIG. 8 is a block diagram showing a schematic configuration of the DMAC (Ch0) of FIG. As shown in FIG. 8, the DMAC (Ch0) 18 a performs the transfer handshake between the input unit 34 on the image data receiving side that performs the transfer handshake with the output control unit 17 and the arbitration unit 19. An output unit 36 that is a transmission side of image data to be performed and a transfer end address generation unit 35 are provided. The transfer end address generation unit 35 transmits end command and end address to the output unit 36 after transmitting the final data of the page. When this is seen in the time chart of FIG. 7, an end command and an end address are generated on the condition that the end of page is asserted and the command accept is asserted.

図9は、図1の調停部の入出力データ転送を示すタイムチャートである。図9には、3つのDMAC(Ch0)18a〜(Ch2)18cと調停部19との間のデータ転送タイミングと、調停部19とPCIeエンドポイントコントローラ20との間のデータ転送タイムチャートとが示されている。この図9を用いて、送信側のWrite command信号と、受信側のcommamd accept信号とによりハンドシェイク方式でデータ転送を行う動作を説明する。   FIG. 9 is a time chart showing input / output data transfer of the arbitration unit of FIG. FIG. 9 shows a data transfer timing between the three DMACs (Ch0) 18a to (Ch2) 18c and the arbitrating unit 19, and a data transfer time chart between the arbitrating unit 19 and the PCIe endpoint controller 20. Has been. With reference to FIG. 9, the operation of performing data transfer by the handshake method using the write command signal on the transmitting side and the command accept signal on the receiving side will be described.

まず、DMAC(Ch0)18aと調停部19との間について説明する。DMAC(Ch0)18aは、R版画像データと転送アドレスと同時に、Write commandを発行し、調停部19はコマンドを受け取れる状態であればcommand accept信号を「1」にする。DMAC(Ch0)18aは、図7と同様に、ページの最終Rデータを送信した後に限って、転送終了アドレスとなる30hをWrite commandとともに送信する。   First, a description will be given between the DMAC (Ch0) 18a and the arbitrating unit 19. The DMAC (Ch0) 18a issues a Write command at the same time as the R image data and the transfer address, and the arbitration unit 19 sets the command accept signal to “1” if the command can be received. As in FIG. 7, the DMAC (Ch0) 18a transmits 30h as a transfer end address together with the write command only after transmitting the final R data of the page.

次に、DMAC(Ch1)18bと調停部19との間について説明する。DMAC(Ch1)18bは、G版画像データと転送アドレスと同時にWrite commandを発行し、調停部19はコマンドを受け取れる状態であればcommand accept信号を「1」にする。DMAC(Ch1)18bが送信する転送アドレスは、10h固定である。   Next, a description will be given between the DMAC (Ch1) 18b and the arbitrating unit 19. The DMAC (Ch1) 18b issues a Write command at the same time as the G version image data and the transfer address, and the arbitration unit 19 sets the command accept signal to “1” if the command can be received. The transfer address transmitted by the DMAC (Ch1) 18b is fixed at 10h.

次に、DMAC(Ch2)18cと調停部19との間について説明する。DMAC(Ch2)18cは、B版画像データと転送アドレスと同時にWrite commandを発行し、調停部19はコマンドを受け取れる状態であればcommand accept信号を「1」にする。DMAC(Ch2)18cが送信する転送アドレスは、20h固定である。   Next, a description will be given between the DMAC (Ch2) 18c and the arbitrating unit 19. The DMAC (Ch2) 18c issues a Write command simultaneously with the B-plate image data and the transfer address, and the arbitration unit 19 sets the command accept signal to “1” if the command can be received. The transfer address transmitted by the DMAC (Ch2) 18c is fixed to 20h.

このように、3つのDMAC(Ch0)18a〜(Ch2)18cのうち、転送終了アドレスを生成する仕組みをもつDMACは、Ch0のみである。これは、スキャナ画像処理部15が扱う画像フォーマットが、如何なる場合でもDMAC(Ch0)18aを必ず使用するからである。また、本実施の形態では、3つのDMACを使用しているが、これは、スキャナ画像処理部15で扱う画像データが、RGBフォーマットの3つの版からなるからである。これ以外の例としては、グレースケール(以下、Gsという)の1版のみのフォーマットの場合もあり、その場合はDMACを1つだけ使用することとなり、DMAC(Ch0)を使用する。   Thus, of the three DMACs (Ch0) 18a to (Ch2) 18c, the only DMAC having a mechanism for generating the transfer end address is Ch0. This is because the DMAC (Ch0) 18a is always used regardless of the image format handled by the scanner image processing unit 15. In the present embodiment, three DMACs are used because the image data handled by the scanner image processing unit 15 is composed of three versions of the RGB format. As another example, there is a case of a gray scale (hereinafter referred to as Gs) format of only one version. In this case, only one DMAC is used, and DMAC (Ch0) is used.

また、後述するように、RGBフォーマットの場合は、ページ最終画像データが3つのDMACのうちDMAC(Ch2)18cから出力され、転送終了アドレス送信のための調停部19のリクエスト受付順番がDMAC(Ch0)18aとなる。また、Gsフォーマットの場合は、DMAC(Ch1)18bから出力され、転送終了アドレス送信のための調停部19のリクエスト受付順番がDMAC(Ch0)18aとなる。以上のことから、転送終了アドレスを生成する仕組みを持つDMACは、Ch0のみとする。   As will be described later, in the RGB format, the page final image data is output from the DMAC (Ch2) 18c among the three DMACs, and the request reception order of the arbitration unit 19 for transmitting the transfer end address is DMAC (Ch0). ) 18a. In the case of the Gs format, the request reception order of the arbitration unit 19 for transmitting the transfer end address is DMAC (Ch0) 18a, which is output from the DMAC (Ch1) 18b. From the above, the DMAC having a mechanism for generating the transfer end address is only Ch0.

次に、調停部19とPCIeエンドポイントコントローラ20との間について説明する。調停部19は、3つの各DMACから受信したWrite command要求を、DMACのCh0、Ch1、Ch2の順にラウンドロビン方式で受け付ける。PCIeエンドポイントコントローラ20へのデータ転送は、送信側のWrite commandと受信側のcommamd accept信号によるハンドシェイク方式で行われる。調停部19は、3つの各DMACから受信した転送アドレスと画像データをWrite comammdと同時に発行し、PCIeエンドポイントコントローラ20がコマンドを受け取れる状態であればcommand accept信号を「1」にする。   Next, a description will be given between the arbitrating unit 19 and the PCIe end point controller 20. The arbitration unit 19 receives the write command requests received from the three DMACs in the round robin method in the order of the DMAC Ch0, Ch1, and Ch2. Data transfer to the PCIe endpoint controller 20 is performed by a handshake method using a write command on the transmitting side and a command accept signal on the receiving side. The arbitration unit 19 issues the transfer address and image data received from each of the three DMACs at the same time as the Write command, and sets the command accept signal to “1” if the PCIe endpoint controller 20 can receive the command.

DMACから調停部19へ転送される画像データ量は、R、G、Bの各版ともすべて同じであるので、DMACのCh0、Ch1、Ch2の順にラウンドロビン方式で要求を受け付けていって、調停部19がページの最終画像データをDMAC(Ch2)18cから受け取ることになる。調停部19は、DMAC(Ch2)18cからページの最終画像データを受信した後、DMAC(Ch0)18aのデータ転送終了を示す30hの転送アドレスを受信して、PCIeエンドポイントコントローラ20へ30hの転送アドレスをWrite commandとともに送信する。なお、30hの転送アドレス出力時のデータ出力の値は、Don‘t Careとなる。   Since the amount of image data transferred from the DMAC to the arbitration unit 19 is the same for each of the R, G, and B versions, requests are received in the order of DMAC in the order of Ch0, Ch1, and Ch2, and the arbitration is performed. The unit 19 receives the final image data of the page from the DMAC (Ch2) 18c. After receiving the final image data of the page from the DMAC (Ch2) 18c, the arbitration unit 19 receives a transfer address of 30h indicating the end of the data transfer of the DMAC (Ch0) 18a, and transfers the 30h to the PCIe endpoint controller 20 Send the address with the Write command. Note that the value of the data output when the transfer address of 30h is output is Don't Care.

調停部19が出力する画像データは、PCIeエンドポイントコントローラ20を経由してコントローラ処理部22へ出力される。スキャナ画像処理部15からコントローラ処理部22へのデータ転送は、PCI Express上にある一定のアドレスを出力することで転送を行う固定アドレス転送方式である。   The image data output from the arbitration unit 19 is output to the controller processing unit 22 via the PCIe end point controller 20. Data transfer from the scanner image processing unit 15 to the controller processing unit 22 is a fixed address transfer method in which transfer is performed by outputting a certain address on the PCI Express.

図10は、図1のPCIeルートコンプレックスコントローラのベースアドレスからのオフセット値を示す図である。図1に示すコントローラ処理部22のPCIeルートコンプレックスコントローラ23は、1つのベースアドレスリソースを持っており、オフセット値によって固定アドレスのリソースが配分される。すなわち、図10に示すようなベースアドレスからのオフセット値である+00h、+10h、+20h、+30hの位置に、画像入力チャネル1、画像入力チャネル2、画像入力チャネル3、転送終了チャネルが配置される。   FIG. 10 is a diagram showing an offset value from the base address of the PCIe root complex controller of FIG. The PCIe route complex controller 23 of the controller processing unit 22 shown in FIG. 1 has one base address resource, and a fixed address resource is allocated according to an offset value. That is, the image input channel 1, the image input channel 2, the image input channel 3, and the transfer end channel are arranged at positions of + 00h, + 10h, + 20h, and + 30h that are offset values from the base address as shown in FIG.

スキャナ画像処理部15のDMACは、PCIeエンドポイントコントローラ20を経由して、コントローラ処理部22のPCIeルートコンプレックスコントローラ23の画像入力リソースへのライトアクセスを行うことにより、画像データ転送を行う。画像データフォーマットがカラーRGBの場合の画像入力リソースの割り当ては、Rデータは+00h番地の画像入力チャネル1、Gデータは+10h番地の画像入力チャネル2、Bデータは+20h番地の画像入力チャネル3となる。   The DMAC of the scanner image processing unit 15 performs image data transfer by performing write access to the image input resource of the PCIe route complex controller 23 of the controller processing unit 22 via the PCIe end point controller 20. When the image data format is color RGB, the image input resource is assigned to the image input channel 1 at address + 00h for R data, the image input channel 2 at address + 10h, and the image input channel 3 at address + 20h for B data. .

スキャナ画像処理部15からコントローラ処理部22へのカラーRGBデータ転送中は、スキャナ画像処理部15が送信するアドレスは+00h番地、+10h番地、+20h番地のいずれかとなる。しかし、スキャナ画像処理部15は、図3のステップS116において、原稿読み取りの終了(スキャン終了)を待って、原稿の読み取りが終了すると(図3のステップS116でYes)、コントローラ処理部22に対して、+30h番地のアドレスを送信する(図3のステップS118)。   During the color RGB data transfer from the scanner image processing unit 15 to the controller processing unit 22, the address transmitted by the scanner image processing unit 15 is any one of the addresses + 00h, + 10h, and + 20h. However, the scanner image processing unit 15 waits for the end of document reading (scan end) in step S116 of FIG. 3, and when reading of the document is completed (Yes in step S116 of FIG. 3), the scanner image processing unit 15 Then, the address at address + 30h is transmitted (step S118 in FIG. 3).

図11−1は、図1のスキャナ画像処理部とコントローラ処理部との間のデータ転送を示すタイムチャートであり、図11−2は、図11−1のPCIeパケットに含まれるアドレスとライトデータとを示す図である。図11−1に示すように、アドレス情報が+00h番地にはRデータ、アドレス情報が+10h番地にはGデータ、アドレス情報が+20h番地にはBデータ、アドレス情報が+30h番地には任意のデータがライトデータとして転送される。   11A is a time chart illustrating data transfer between the scanner image processing unit and the controller processing unit in FIG. 1, and FIG. 11B is an address and write data included in the PCIe packet in FIG. FIG. As shown in FIG. 11A, the address information is + 00h address R data, the address information is + 10h address G data, the address information is + 20h address B data, and the address information is + 30h address is arbitrary data. It is transferred as write data.

スキャナ画像処理部15が出力する画像データは、コントローラ処理部22のPCIeルートコンプレックスコントローラ23を経由して、入力制御部24へ転送される(図4のステップS202でYes)。入力制御部24内のPCIe I/F25は、PCIeルートコンプレックスコントローラ23からパケット単位で送られてくるR、G、Bの各画像データをアドレス情報に応じて、各版ごとの画像入力バッファ27へ分配され、順次格納される(図4のステップS204でYes)。画像入力バッファ27に8ライン分の画像データが格納されると、8×8ブロック単位でR版、G版、B版の各画像バッファ27a〜27cから並列で読み出され、圧縮処理部28に転送して圧縮処理される(図4のステップS206)。コントローラ処理部22のDMAC29は、圧縮処理後のデータを読み出して、チップセット31側のメモリ33上へライトする(図4のステップS208)。   The image data output by the scanner image processing unit 15 is transferred to the input control unit 24 via the PCIe route complex controller 23 of the controller processing unit 22 (Yes in step S202 in FIG. 4). The PCIe I / F 25 in the input control unit 24 sends the R, G, and B image data sent in units of packets from the PCIe route complex controller 23 to the image input buffer 27 for each version according to the address information. Distributed and stored sequentially (Yes in step S204 in FIG. 4). When the image data for 8 lines is stored in the image input buffer 27, it is read out in parallel from the R, G, and B image buffers 27 a to 27 c in units of 8 × 8 blocks, and is sent to the compression processing unit 28. The data is transferred and compressed (step S206 in FIG. 4). The DMAC 29 of the controller processing unit 22 reads the data after the compression processing and writes it on the memory 33 on the chipset 31 side (step S208 in FIG. 4).

図12は、図1の終了判定部の周辺構成部との関係を示すブロック図であり、図13は、図12の終了判定部における入出力信号を示すタイムチャートである。図1に示すコントローラ処理部22の入力制御部24の中には、受信した転送アドレスを監視して、end of page信号を生成する終了判定部26が用意されている。この終了判定部26は、図12および図13に示すように、PCIeルートコンプレックスコントローラ23からのaddressとcommand、およびPCIe I/F25からのcommand acceptを受信し、Write comamndとcommand accept=1による転送成立タイミングでaddressをラッチする。ラッチしたアドレスと転送終了アドレス(本実施の形態では、30h)とを比較し、比較結果が“等しい”場合は転送終了と判断し(図4のステップS210)、転送終了を示すend of page信号を生成する。   12 is a block diagram showing the relationship between the end determination unit of FIG. 1 and the peripheral components, and FIG. 13 is a time chart showing input / output signals in the end determination unit of FIG. In the input control unit 24 of the controller processing unit 22 illustrated in FIG. 1, an end determination unit 26 that monitors the received transfer address and generates an end of page signal is prepared. As shown in FIGS. 12 and 13, the end determination unit 26 receives the address and command from the PCIe root complex controller 23 and the command accept from the PCIe I / F 25, and transfers the write command and the command accept = 1. The address is latched at the establishment timing. The latched address is compared with the transfer end address (30h in this embodiment), and if the comparison result is “equal”, it is determined that the transfer has ended (step S210 in FIG. 4), and an end of page signal indicating the transfer end Is generated.

終了判定部26にて転送終了が判断されると、転送の終了を示すend of page信号を画像入力バッファ27へ送信する。画像入力バッファ27は、格納された画像データが8ラインに満たない場合は、ゼロデータを埋める処理(端部処理)を実施する(図4のステップS212)。端部処理されたデータは、圧縮処理され(図4のステップS214)、DMAC29によりチップセット31側のメモリ33上へライトされて(図4のステップS216)、CPU32への転送完了割り込みが発行される(図4のステップS218)。この転送終了信号は、MSI(Message Signaled Interrupt)と呼ばれる割り込みパケットを伝送する。これにより、コントローラ部21のCPU32は、データ転送の終了を検知することができる。CPU32は、割り込みを検知した後、次ページの処理の準備(パラメータ設定等)を開始する(図4のステップS220)。   When the end determination unit 26 determines the end of transfer, an end of page signal indicating the end of transfer is transmitted to the image input buffer 27. If the stored image data is less than 8 lines, the image input buffer 27 performs a process of filling zero data (end process) (step S212 in FIG. 4). The edge-processed data is compressed (step S214 in FIG. 4), written to the memory 33 on the chipset 31 side by the DMAC 29 (step S216 in FIG. 4), and a transfer completion interrupt to the CPU 32 is issued. (Step S218 in FIG. 4). This transfer end signal transmits an interrupt packet called MSI (Message Signaled Interrupt). Thereby, the CPU 32 of the controller unit 21 can detect the end of the data transfer. After detecting the interrupt, the CPU 32 starts preparation for processing of the next page (parameter setting, etc.) (step S220 in FIG. 4).

このように、本実施の形態によれば、1枚の原稿処理が完了した後に次の原稿処理の起動を速やかに行うことが可能になると共に、転送の正常終了とジャム等による異常終了との切り分けを行うことが可能なため、複合機などにおける画像の高速処理と高信頼性とを実現することができる。   As described above, according to the present embodiment, it is possible to quickly start the next document processing after one document processing is completed, and the normal termination of transfer and abnormal termination due to a jam or the like. Since it is possible to perform segmentation, high-speed image processing and high reliability in a multifunction peripheral or the like can be realized.

また、本実施の形態によれば、チップ間の転送完了通知を、転送完了用の専用信号線を追加することなく実施することが可能なため、PCI Expressといった汎用インタフェースを使用することができる。   Further, according to the present embodiment, it is possible to perform transfer completion notification between chips without adding a dedicated signal line for completion of transfer, and therefore, a general-purpose interface such as PCI Express can be used.

また、本実施の形態によれば、スキャナ画像処理部とコントローラ部との間のインタフェースとして、PCIバスやPCI Expressを用いる構成において、1枚の原稿処理が完了した後に次の原稿処理の起動を速やかに行うことが可能になると共に、転送の正常終了とジャム等による異常終了との切り分けを行うことが可能なため、複合機などにおける画像の高速処理と高信頼性とを実現することができる。   Further, according to the present embodiment, in a configuration using a PCI bus or PCI Express as an interface between the scanner image processing unit and the controller unit, the next document processing is started after one document processing is completed. Since it is possible to perform promptly and to distinguish between normal termination of transfer and abnormal termination due to jam etc., it is possible to realize high-speed image processing and high reliability in a multifunction device or the like. .

また、本実施の形態によれば、スキャナ画像処理部で扱う画像フォーマットがカラーRGB、モノクロGsの如何なる場合であっても、1枚の原稿処理を完了した後に次の原稿処理の起動を速やかに行うことが可能なため、複合機などにおける画像の高速処理と高信頼性とを実現することができる。   In addition, according to the present embodiment, the next document processing is started immediately after one document processing is completed, regardless of the color RGB or monochrome Gs image format handled by the scanner image processing unit. Therefore, it is possible to realize high-speed image processing and high reliability in a multifunction machine or the like.

10 画像形成装置
11 エンジン部
12 画像読取部
13 原稿搬送ユニット
14 スキャナユニット
15 スキャナ画像処理部
16 スキャナ特性補正部
17 出力制御部
18a DMAC(Ch0)
18b DMAC(Ch1)
18c DMAC(Ch2)
19 調停部
20 PCIeエンドポイントコントローラ
21 コントローラ部
22 コントローラ処理部
23 PCIeルートコンプレックスコントローラ
24 入力制御部
25 PCIe I/F
26 終了判定部
26a アドレスラッチ
26b 比較器
27 画像入力バッファ
27a R版画像バッファ
27b G版画像バッファ
27c B版画像バッファ
28 圧縮処理部
29 DMAC
30 PCIeエンドポイントコントローラ
31 チップセット
32 CPU
33 メモリ
34 入力部
35 転送終了アドレス
36 出力部
44 原稿サイズ検知センサ
DESCRIPTION OF SYMBOLS 10 Image forming apparatus 11 Engine part 12 Image reading part 13 Document conveyance unit 14 Scanner unit 15 Scanner image processing part 16 Scanner characteristic correction part 17 Output control part 18a DMAC (Ch0)
18b DMAC (Ch1)
18c DMAC (Ch2)
19 Arbitration unit 20 PCIe endpoint controller 21 Controller unit 22 Controller processing unit 23 PCIe route complex controller 24 Input control unit 25 PCIe I / F
26 End determination unit 26a Address latch 26b Comparator 27 Image input buffer 27a R image buffer 27b G image buffer 27c B image buffer 28 Compression processing unit 29 DMAC
30 PCIe endpoint controller 31 chipset 32 CPU
33 Memory 34 Input section 35 Transfer end address 36 Output section 44 Document size detection sensor

特許第3730586号公報Japanese Patent No. 3730586

Claims (9)

エンジン部とコントローラ部とが汎用バスを介して接続された画像形成装置であって、
前記エンジン部は、
原稿画像を読み取る画像読取手段と、
前記画像読取手段で読み取った画像データを前記汎用バス経由で前記コントローラ部に転送すると共に、前記画像データの転送が完了した際にデータ転送の終了を示す転送終了信号を前記コントローラ部に送るスキャナ画像処理手段と、
を備え、
前記コントローラ部は、
前記画像データを格納するメモリと、
前記スキャナ画像処理手段から所定サイズの画像データを受けてメモリアドレスを発生させ、前記メモリに書き込むコントローラ処理手段と、
を備え、
前記コントローラ処理手段は、前記スキャナ画像処理手段から転送された前記画像データの前記メモリへの書き込みを行い、前記転送終了信号を受けると前記画像データの前記メモリへの書き込みを終了することを特徴とする画像形成装置。
An image forming apparatus in which an engine unit and a controller unit are connected via a general-purpose bus,
The engine part is
Image reading means for reading a document image;
A scanner image that transfers image data read by the image reading unit to the controller unit via the general-purpose bus and sends a transfer end signal indicating the end of data transfer to the controller unit when the transfer of the image data is completed. Processing means;
With
The controller unit is
A memory for storing the image data;
Controller processing means for receiving a predetermined size of image data from the scanner image processing means, generating a memory address, and writing to the memory;
With
The controller processing unit writes the image data transferred from the scanner image processing unit to the memory, and ends the writing of the image data to the memory when receiving the transfer end signal. Image forming apparatus.
前記スキャナ画像処理手段から前記コントローラ処理手段へのデータ転送は、前記汎用バス上にある画像データ転送用のアドレス情報を出力して転送を行う固定アドレス転送方式であり、
前記画像データ転送用のアドレス情報と前記転送終了信号用のアドレス情報とを個別に持ち、前記アドレス情報によって前記コントローラ処理手段がデータの種類を判別することを特徴とする請求項1に記載の画像形成装置。
The data transfer from the scanner image processing means to the controller processing means is a fixed address transfer method in which image data transfer address information on the general-purpose bus is output and transferred.
2. The image according to claim 1, wherein the image data transfer address information and the transfer end signal address information are individually provided, and the controller processing unit determines the type of data based on the address information. Forming equipment.
前記汎用バスは、PCIバス、またはPCI Expressであることを特徴とする請求項1または2に記載の画像形成装置。   The image forming apparatus according to claim 1, wherein the general-purpose bus is a PCI bus or a PCI Express. 前記スキャナ画像処理手段は、前記画像データを転送するDMAコントローラを1個または複数個備えていることを特徴とする請求項1〜3のいずれか一つに記載の画像形成装置。   The image forming apparatus according to claim 1, wherein the scanner image processing unit includes one or a plurality of DMA controllers that transfer the image data. 前記コントローラ処理手段は、前記転送終了信号を受けると、転送完了割り込みを発行させることを特徴とする請求項1〜4のいずれか一つに記載の画像形成装置。   The image forming apparatus according to claim 1, wherein the controller processing unit issues a transfer completion interrupt when receiving the transfer end signal. 前記画像データは、データ圧縮した状態で転送されることを特徴とする請求項1〜5のいずれか一つに記載の画像形成装置。   The image forming apparatus according to claim 1, wherein the image data is transferred in a compressed state. 前記汎用バスは、PCI Expressであり、
前記スキャナ画像処理手段から前記コントローラ処理手段へのデータ転送は、前記PCI Express上にある一定のアドレス情報を出力して転送を行う固定アドレス転送方式であって、
画像データ転送用のアドレス情報により前記コントローラ処理手段がデータの種類を判別し、前記転送終了信号は割り込みパケットを伝送することで、前記コントローラ処理手段がデータ転送の終了を検知することを特徴とする請求項1に記載の画像形成装置。
The general purpose bus is PCI Express,
The data transfer from the scanner image processing means to the controller processing means is a fixed address transfer method in which certain address information on the PCI Express is output and transferred.
The controller processing means determines the type of data based on address information for image data transfer, and the controller processing means detects the end of data transfer by transmitting an interrupt packet as the transfer end signal. The image forming apparatus according to claim 1.
エンジン部とコントローラ部とが汎用バスを介して接続された画像形成装置で実行される画像形成方法であって、
前記画像形成装置は、画像読取手段と、スキャナ画像処理手段と、メモリと、コントローラ処理手段とを備え、
前記エンジン部の前記画像読取手段が、原稿画像を読み取る工程と、
前記エンジン部のスキャナ画像処理手段が、読み取った画像データを前記汎用バスを経由して前記コントローラ部に転送すると共に、前記画像データの転送が完了した際にデータ転送の終了を示す転送終了信号を前記コントローラ部に送る工程と、
前記コントローラ部の前記メモリが、前記画像データを格納する工程と、
前記コントローラ部の前記コントローラ処理手段が、スキャナ画像処理手段から所定サイズの画像データを受けてメモリアドレスを発生させ、前記メモリに書き込む工程と、
を含み、前記コントローラ処理部が前記スキャナ画像処理手段から転送された前記画像データの前記メモリへの書き込みを行い、前記転送終了信号を受けると前記画像データの前記メモリへの書き込みを終了することを特徴とする画像形成方法。
An image forming method executed by an image forming apparatus in which an engine unit and a controller unit are connected via a general-purpose bus,
The image forming apparatus includes an image reading unit, a scanner image processing unit, a memory, and a controller processing unit,
The image reading means of the engine unit reads a document image;
The scanner image processing means of the engine unit transfers the read image data to the controller unit via the general-purpose bus, and a transfer end signal indicating the end of data transfer when the transfer of the image data is completed. Sending to the controller unit;
The memory of the controller unit storing the image data;
The controller processing means of the controller unit receiving image data of a predetermined size from the scanner image processing means, generating a memory address, and writing to the memory;
The controller processing unit writes the image data transferred from the scanner image processing means to the memory, and ends the writing of the image data to the memory when receiving the transfer end signal. An image forming method.
エンジン部とコントローラ部とが汎用バスを介して接続された画像形成装置に搭載されるプログラムであって、
コンピュータを、
前記エンジン部は、
原稿画像を読み取る画像読取手段と、
前記画像読取手段で読み取った画像データを前記汎用バス経由で前記コントローラ部に転送すると共に、前記画像データの転送が完了した際にデータ転送の終了を示す転送終了信号を前記コントローラ部に送るスキャナ画像処理手段と、
して機能させ、
前記コントローラ部は、
前記画像データを格納するメモリと、
前記スキャナ画像処理手段から所定サイズの画像データを受けてメモリアドレスを発生させ、前記メモリに書き込むコントローラ処理手段と、
して機能させ、
前記コントローラ処理手段は、前記スキャナ画像処理手段から転送された前記画像データの前記メモリへの書き込みを行い、前記転送終了信号を受けると前記画像データの前記メモリへの書き込みを終了するように機能させるためのプログラム。
A program installed in an image forming apparatus in which an engine unit and a controller unit are connected via a general-purpose bus,
Computer
The engine part is
Image reading means for reading a document image;
A scanner image that transfers image data read by the image reading unit to the controller unit via the general-purpose bus and sends a transfer end signal indicating the end of data transfer to the controller unit when the transfer of the image data is completed. Processing means;
To function,
The controller unit is
A memory for storing the image data;
Controller processing means for receiving a predetermined size of image data from the scanner image processing means, generating a memory address, and writing to the memory;
To function,
The controller processing means writes the image data transferred from the scanner image processing means to the memory, and functions to end the writing of the image data to the memory when receiving the transfer end signal. Program for.
JP2010061550A 2010-03-17 2010-03-17 Image forming apparatus, image formation method, and program Pending JP2011199419A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010061550A JP2011199419A (en) 2010-03-17 2010-03-17 Image forming apparatus, image formation method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010061550A JP2011199419A (en) 2010-03-17 2010-03-17 Image forming apparatus, image formation method, and program

Publications (1)

Publication Number Publication Date
JP2011199419A true JP2011199419A (en) 2011-10-06

Family

ID=44877110

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010061550A Pending JP2011199419A (en) 2010-03-17 2010-03-17 Image forming apparatus, image formation method, and program

Country Status (1)

Country Link
JP (1) JP2011199419A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018125028A (en) * 2013-06-28 2018-08-09 ホアウェイ・テクノロジーズ・カンパニー・リミテッド System and method for extended peripheral component interconnect express fabrics

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018125028A (en) * 2013-06-28 2018-08-09 ホアウェイ・テクノロジーズ・カンパニー・リミテッド System and method for extended peripheral component interconnect express fabrics
US10417160B2 (en) 2013-06-28 2019-09-17 Futurewei Technologies, Inc. System and method for extended peripheral component interconnect express fabrics
US10922259B2 (en) 2013-06-28 2021-02-16 Futurewei Technologies, Inc. System and method for extended peripheral component interconnect express fabrics
US11429550B2 (en) 2013-06-28 2022-08-30 Futurewei Technologies, Inc. System and method for extended peripheral component interconnect express fabrics

Similar Documents

Publication Publication Date Title
US9716800B2 (en) Image reading apparatus having transmission function and a user inquiring function and control for stopping the transmission or not depending on the transmission protocol used for transmission
JP6736881B2 (en) Image processing apparatus, image forming apparatus, image processing method, and program
CN108363669A (en) Memory access system, its control method, storage medium and image forming apparatus
US8498023B2 (en) Image scanning device and computer-readable record medium storing program for storage area allocation in the same
JP2011199419A (en) Image forming apparatus, image formation method, and program
US7710613B2 (en) Image information apparatus
JP2013066072A (en) Image reading device, image forming apparatus, image reading method and image reading program
US8243348B2 (en) Image processing apparatus and method and computer program product for controlling the same
JP6048236B2 (en) MEMORY ACCESS CONTROL DEVICE, IMAGE FORMING DEVICE, AND MEMORY ACCESS CONTROL METHOD
JP5768540B2 (en) Image processing apparatus and data transfer management method
JP5930834B2 (en) Image processing apparatus, image processing method, and control method for image processing apparatus
US10602014B2 (en) Image processing apparatus, control method of image processing apparatus, and storage medium
JP4909839B2 (en) Image processing apparatus and image processing method
CN100412783C (en) Printing device, control method thereof, and printing system
KR102230913B1 (en) Information processing apparatus and semiconductor integrated circuit
JP5245803B2 (en) Image processing apparatus and image processing module
JP2001338286A (en) Method and device for image processing
TWI395460B (en) Scanning apparatus for automatically transferring image processing program
JP4877956B2 (en) Serial data receiving method, apparatus, and image forming apparatus
US10306089B2 (en) Image processing system for retransmitting image data based on detection of abnormality of reception timing of a horizontal synchronization signal
JP2011003162A (en) Usb device, image processor, usb transfer control method, usb transfer control program, and recording medium
JP2011176651A (en) Image processing apparatus, method and program, and recording medium
JPH09153968A (en) Image processing system
JP2006338232A (en) Communication system
JP2001077951A (en) Image input device