JP6668966B2 - Image forming device - Google Patents
Image forming device Download PDFInfo
- Publication number
- JP6668966B2 JP6668966B2 JP2016120166A JP2016120166A JP6668966B2 JP 6668966 B2 JP6668966 B2 JP 6668966B2 JP 2016120166 A JP2016120166 A JP 2016120166A JP 2016120166 A JP2016120166 A JP 2016120166A JP 6668966 B2 JP6668966 B2 JP 6668966B2
- Authority
- JP
- Japan
- Prior art keywords
- image forming
- program
- cache
- execution
- unit
- 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.)
- Active
Links
Images
Landscapes
- Accessory Devices And Overall Control Thereof (AREA)
- Control Or Security For Electrophotography (AREA)
Description
本発明は、画像形成装置に関し、特に、リアルタイム処理とベストエフォート処理とでキャッシュメモリを共有する場合にリアルタイム性を保証する技術に関する。 The present invention relates to an image forming apparatus, and more particularly to a technique for guaranteeing real-time performance when a cache memory is shared between real-time processing and best-effort processing.
従来、画像形成装置は、画像処理やグラフィカルユーザーインターフェイス(GUI: Graphical User Interface)処理などのベストエフォート型の処理と、画像形成時のメカニカル制御などのリアルタイム処理とを実行するために、それぞれ専用のCPU(Central Processing Unit)が搭載されている。
これに対して、近年、組み込みシステム向けの汎用CPUの高性能化が著しく、コスト低減の要請とも相俟って、単一のCPUでベストエフォート処理とリアルタイム処理との両方を実行する画像形成装置が提案され始めている。
2. Description of the Related Art Conventionally, image forming apparatuses are dedicated to executing best-effort processing such as image processing and graphical user interface (GUI) processing and real-time processing such as mechanical control during image formation. A CPU (Central Processing Unit) is mounted.
On the other hand, in recent years, the performance of a general-purpose CPU for an embedded system has been remarkably improved, and in combination with a demand for cost reduction, an image forming apparatus that performs both best-effort processing and real-time processing with a single CPU Has begun to be proposed.
更に、ベストエフォート処理やリアルタイム処理を高速に実行するためには小容量で高速アクセスが可能なキャッシュメモリの利用が効果的である。
しかしながら、リアルタイム処理とベストエフォート処理とでキャッシュメモリを共用すると、リアルタイム処理のキャッシュデータがベストエフォート処理によってキャッシュアウトしてしまい、メカニカル制御のリアルタイム性が破たんする恐れがある。例えば、用紙の搬送方向下流の搬送ローラーの駆動開始が遅れると、停止している搬送ローラーに用紙が押し付けられて紙詰まりが発生する可能性がある。
Furthermore, in order to execute the best-effort processing and the real-time processing at high speed, it is effective to use a small-capacity, high-speed cache memory.
However, if the cache memory is shared between the real-time processing and the best-effort processing, the cache data of the real-time processing is cached out by the best-effort processing, and the real-time property of the mechanical control may be broken. For example, if the drive start of the transport roller downstream in the transport direction of the paper is delayed, the paper may be pressed against the stopped transport roller and a paper jam may occur.
このような問題に対して、リアルタイム処理とベストエフォート処理とでキャッシュメモリの利用領域を区分けする構成が考えられる。このような構成によれば、リアルタイム処理のキャッシュデータがベストエフォート処理によってキャッシュアウトされないので、メカニカル制御のリアルタイム性を保証することができる。 In order to solve such a problem, a configuration in which the use area of the cache memory is divided into a real-time process and a best-effort process may be considered. According to such a configuration, since the cache data of the real-time processing is not cached out by the best-effort processing, the real-time property of the mechanical control can be guaranteed.
しかしながら、リアルタイム処理とベストエフォート処理とで1つのキャッシュメモリの利用領域を区分けすると、もともと小容量であるキャッシュメモリを更に区分けするので、キャッシュヒットし難くなり高速化の効果も薄れてしまう。
キャッシュメモリを専用領域に区分けすることなく、リアルタイム処理の破たんを防止するためには、リアルタイム処理プログラムをキャッシュロックダウンする方法が有効である。リアルタイム処理の完了後にキャッシュロックダウンを解除すれば、ベストエフォート処理についてもキャッシュメモリを利用することができるので高速化が可能になる。
However, when the use area of one cache memory is divided between the real-time processing and the best-effort processing, the cache memory, which is originally small in capacity, is further divided, so that it is difficult to hit the cache and the effect of speeding up is reduced.
In order to prevent the real-time processing from being broken without partitioning the cache memory into a dedicated area, it is effective to lock down the real-time processing program. If cache lockdown is released after the real-time processing is completed, the cache memory can be used for the best effort processing, so that the speed can be increased.
しかしながら、リアルタイム処理プログラムをキャッシュロックダウンするためには、一旦リアルタイム処理プログラムを実行して、キャッシュメモリに記憶させる必要がある。このリアルタイム処理プログラムの実行の際に、ベストエフォート処理との間でキャッシュメモリアクセスの競合が発生すると、メカニカル制御のリアルタイム性が破たんする恐れがある。 However, in order to cache-down the real-time processing program, it is necessary to execute the real-time processing program once and store it in the cache memory. In the execution of the real-time processing program, if a cache memory access conflict occurs with the best-effort processing, the real-time property of the mechanical control may be broken.
本発明は、上述のような問題に鑑みて為されたものであって、リアルタイム処理プログラムのキャッシュロックダウンを行いながら、メカニカル制御のリアルタイム性を確実に保証する画像形成装置を提供することを目的とする。 SUMMARY An advantage of some aspects of the invention is to provide an image forming apparatus that reliably guarantees real-time mechanical control while performing cache lockdown of a real-time processing program. And
上記目的を達成するため、本発明に係る画像形成装置は、リアルタイム性が要求される画像形成プログラムと、必ずしもリアルタイム性が要求されない他のプログラムとを1のキャッシュメモリを共有して実行する画像形成装置であって、前記他のプログラムの実行動作を停止する停止手段と、前記画像形成プログラムの実行中、装置各部へ送信する制御出力を遮断し、装置各部に設けられたセンサーの検出信号を模擬的に作成する入出力模擬手段と、前記画像形成プログラムの用紙搬送に係る制御周期を変更する制御周期変更手段と、前記停止手段によって前記他のプログラムの動作が停止され、前記入出力模擬手段によって前記制御出力が遮断され、前記センサーの検出信号が模擬され、かつ、前記制御周期変更手段によって前記制御周期が画像形成時よりも短くされている状態で、前記画像形成プログラムを模擬実行する模擬実行手段と、前記画像形成プログラムの本実行に先立って、前記キャッシュメモリの記憶領域のうち、少なくとも前記画像形成プログラムの模擬実行箇所を記憶した領域のキャッシュロックダウンを実行するキャッシュロックダウン手段と、前記キャッシュロックダウンの実行後、前記他のプログラムの動作停止を解除する停止解除手段と、前記画像形成プログラムの本実行後、前記キャッシュロックダウンを解除するキャッシュロックダウン解除手段と、を備えることを特徴とする。 In order to achieve the above object, an image forming apparatus according to the present invention provides an image forming apparatus that executes an image forming program that requires real-time processing and another program that does not necessarily require real-time processing by sharing one cache memory. An apparatus, wherein a stop unit for stopping the execution of the other program and a control output transmitted to each unit of the apparatus during execution of the image forming program are simulated to simulate a detection signal of a sensor provided in each unit of the apparatus. Input / output simulating means, a control cycle changing means for changing a control cycle of the image forming program relating to sheet conveyance, and an operation of the other program are stopped by the stopping means. The control output is cut off, the detection signal of the sensor is simulated, and the control cycle is changed by the control cycle changing means. Simulation execution means for simulating the image forming program in a state in which the image forming program is shorter than at the time of image formation, and at least the image forming section in the storage area of the cache memory prior to the main execution of the image forming program. Cache lock-down means for performing cache lock-down of an area storing a simulated execution location of a program; stop release means for releasing the operation stop of the other program after execution of the cache lock-down; And a cache lockdown release unit for releasing the cache lockdown after the execution.
このようにすれば、他のプログラムの動作を停止した状態で画像形成プログラムを模擬実行するので、画像形成プログラムをキャッシュメモリに確実に記憶させることができる。その後、キャッシュロックダウンした状態で画像形成プログラムを本実行するので、画像形成処理のリアルタイム性を確実に保証することができる。
この場合において、画像形成時に搬送される用紙の先端及び後端を検出する搬送センサーを備え、前記入出力模擬手段は、前記搬送センサーによる用紙の先端及び後端の検出信号を模擬することによって、前記画像形成プログラムに用紙搬送量を算出させてもよい。
According to this configuration, the image forming program is simulated while the operation of the other programs is stopped, so that the image forming program can be reliably stored in the cache memory. Thereafter, since the image forming program is actually executed in a state where the cache is locked down, the real-time property of the image forming process can be reliably guaranteed.
In this case, a transport sensor that detects the leading and trailing edges of the sheet transported during image formation is provided, and the input / output simulation unit simulates detection signals of the leading and trailing edges of the sheet by the transport sensor, The image forming program may be configured to calculate a sheet conveyance amount.
また、トナー像を形成するための作像手段と、前記作像手段による作像状態を検出する作像センサーと、を備え、前記入出力模擬手段は、前記作像センサーの検出信号を模擬して作成することによって、前記画像形成プログラムに画像形成位置を算出させてもよい。
また、画像形成ジョブにおいて指定されたモード情報を特定するモード情報特定手段を備え、前記模擬実行手段は、前記モード情報に応じて前記画像形成プログラムを模擬実行してもよい。
The image forming apparatus further includes an image forming unit for forming a toner image, and an image forming sensor that detects an image forming state of the image forming unit, and the input / output simulation unit simulates a detection signal of the image forming sensor. In this case, the image forming program may calculate the image forming position.
The image forming program may further include a mode information specifying unit that specifies mode information specified in the image forming job, and the simulation execution unit may simulate the image forming program according to the mode information.
この場合において、前記モード情報は、用紙の給紙口、用紙サイズ、カラーモード、プリント速度及び印字面の少なくとも1を指定する情報であってもよい。更に、前記模擬実行手段は、前記モード情報特定付手段が前記モード情報を特定した後、前記画像形成プログラムを模擬実行してもよい。
また、前記画像形成プログラムの本実行後、引き続いて画像形成プログラムを本実行する場合には、先行する本実行後で後続の本実行前における前記模擬実行と、当該引き続く本実行が完了するまで前記キャッシュロックダウンの解除とを禁止する禁止手段を備えてもよい。
In this case, the mode information may be information for specifying at least one of a paper feed port, a paper size, a color mode, a printing speed, and a printing surface. Furthermore, the simulation execution means may execute the image forming program after the mode information specifying means specifies the mode information.
Further, when the image forming program is subsequently executed after the actual execution of the image forming program, the simulation execution before the preceding actual execution after the preceding actual execution and the simulation execution before the subsequent actual execution are completed. Prohibition means for prohibiting release of cache lockdown may be provided.
この場合において、前記禁止手段は、前記画像形成プログラムの先行する本実行と後続の本実行とでモード情報が異なる場合には、前記模擬実行と前記キャッシュロックダウンの解除との何れも禁止しなければ更に好適である。
また、前記リアルタイム性が要求されない他のプログラムは、メカコン制御を行わない画像処理プログラム及びユーザーインターフェイス処理プログラムを含む。
In this case, if the mode information is different between the preceding main execution and the subsequent main execution of the image forming program, the prohibition unit must prohibit both the simulation execution and the release of the cache lockdown. It is even more suitable.
Other programs that do not require the real-time property include an image processing program and a user interface processing program that do not perform mechanical control.
以下、本発明に係る画像形成装置の実施の形態について、図面を参照しながら説明する。
[1]画像形成装置の構成
まず、本実施の形態に係る画像形成装置の構成について説明する。
図1に示されるように、本実施の形態に係る画像形成装置1は所謂タンデム型のカラープリンターである。画像形成装置1は、画像形成部110と給紙部120とを備えており、画像形成部110はイメージングユニット111を有している。イメージングユニット111は、トナーボトル112からイエロー、マゼンタ、シアン及びブラックの各色のトナーの補給を受けてトナー像を形成し、各色のトナー像が互いに重なり合うように中間転写ベルト113上に一次転写してカラートナー像を形成する。
Hereinafter, embodiments of an image forming apparatus according to the present invention will be described with reference to the drawings.
[1] Configuration of Image Forming Apparatus First, the configuration of the image forming apparatus according to the present embodiment will be described.
As shown in FIG. 1, the
中間転写ベルト113はカラートナー像を二次転写ローラー対114まで搬送する。これと並行して、給紙部120は給紙カセットに収容されている用紙を1枚ずつ供給する。カラートナー像は二次転写ローラー対114の二次転写ニップにおいて中間転写ベルト113から用紙上に二次転写された後、定着装置115において熱定着され、機外に排出される。なお、給紙カセットに代えて手差しトレイ121上に載置されている用紙を用いてもよい。
The
画像形成部110には制御部100が内蔵されており、制御部100は画像形成装置1の各動作を制御する。
[2]制御部100の構成
次に、制御部100の構成について説明する。
図2に示されるように、制御部100はCPU200、HDD(Hard Disk Drive)210等を備えている。CPU200は、所謂マルチコアプロセッサであって、2つのコア201、202とキャッシュメモリ203とを内蔵している。本実施の形態においては、コア201はコントローラー制御を行い、コア202はメカコン制御を行う。
The image forming unit 110 has a built-in
[2] Configuration of
As shown in FIG. 2, the
ここで、コントローラー制御とは画像処理や画像形成装置1全体の制御であって、具体的には、画像データを取得してビットマップ展開などを行う画像処理、PCやその他機器と通信を行うネットワーク通信、ユーザー等からの指示を受け付ける操作パネルなどを制御する。コントローラー制御は、画像処理やネットワーク通信による大量データ処理、ユーザーからの応答などを可能な限り高速に行うベストエフォート型の処理である。
Here, the controller control refers to image processing and control of the entire
また、メカコン制御とは、コントローラー制御によって指定された画像形成処理を実行するために画像形成装置1の機械的な制御を行うものであって、具体的には、印刷媒体の搬送、半導体レーザーの制御、温度調整などのメカニカル制御を行う。メカコン制御は印刷画像の品質に直結しており、高いリアルタイム性が要求される。
コア201、202はキャッシュメモリ203、ROM(Read Only Memory)220、RAM(Random Access Memory)221及びHDD210を共有する。ROM220には画像形成装置1の電源投入時にCPU200を起動するためのブートプログラムが記憶されている。RAM221はCPU200の作業用記憶領域として使用される。HDD210はコントローラー制御用プログラム211とメカコン制御用プログラム212とを記憶している。
Further, the mechanical control controls mechanical control of the
The
コントローラー制御用コア201は、HDD210からコントローラー制御用プログラム211を読み出し、RAM221を作業用記憶領域として、コントローラー制御対象部231を制御する。コントローラー制御対象部231は、例えば、画像処理用回路やネットワークデバイス、操作パネル等である。更に、コントローラー制御用コア201は、メカコン制御用コア202に画像形成処理の実行を指示する。
The
メカコン制御用コア202は、HDD210からメカコン制御用プログラム212を読み出し、RAM221を作業用記憶領域として、I/O(Input/Output)制御部233を介して、メカコン制御対象部232を制御する。メカコン制御対象部232は、例えば、モーターやクラッチ、センサー等である。
メカコン制御用コア202からメカコン制御対処部232へのI/Oアクセスは所謂メモリマップドI/Oになっている。従って、レジスターがマッピングされた各アドレスにデータを書き込むことによって制御出力がなされ、また、当該アドレスからデータを読み出すことによってセンサー入力を取得することができる。
The
I / O access from the
I/O制御部233は、メカコン制御用コア202から指示に従って動作する。通常動作時には、I/O制御部233は、メカコン制御用コア202にメカコン制御対象部232へI/Oアクセスを行わせる。また、画像形成処理を模擬的に実行する際には、I/O制御部233は、画像形成処理に関して、メカコン制御用コア202に、メカコン制御対象部232にはアクセスさせずに、I/O制御部233の内部メモリにアクセスさせる。
The I /
I/O制御対象部232は、画像形成処理以外の処理に関するメカコン制御対処部232へのアクセスについては、本実行でも模擬実行でもメカコン制御対象部232へI/Oアクセスを行わせる。
このため、画像形成処理を模擬的に実行する際に、画像形成処理のためにメカコン制御用コア202が制御出力を行うと、I/O制御部233の内部メモリに制御内容が書き込まれる。また、メカコン制御用コア202が画像形成処理のためにセンサー入力を取得する場合には、I/O制御部233の内部メモリの記憶内容が読み出される。これによって、画像形成処理に必要な入出力が模擬される。
The I / O
For this reason, when the
以下、I/O制御部233の動作モードのうち、メカコン制御用コア202をメカコン制御対象部232にアクセスさせる動作モードを「通常モード」といい、メカコン制御用コア202をI/O制御部233の内部メモリにアクセスさせる動作モードを「模擬モード」というものとする。
CPU200は、キャッシュロックダウン機能を有している。キャッシュロックダウン機能とは、キャッシュメモリ203に登録されているアドレスの更新を禁止して、既に登録しているアドレスに対するアクセスをキャッシングし続ける機能である。またCPU200、HDD210、ROM220、RAM221、コントローラー制御対象部231及びメカコン制御対象部232は相互に通信できるように内部バス222に接続されている。CPU200は内部バス222へのアクセスの調停も行う。
[3]キャッシュロックダウン処理
次に、本実施の形態に係るキャッシュロックダウン処理について説明する。
Hereinafter, among the operation modes of the I /
The
[3] Cache Lockdown Processing Next, the cache lockdown processing according to the present embodiment will be described.
キャッシュロックダウンを行う際は、実際に画像形成処理を実行する画像形成プログラムを動作させる。しかしながら、画像形成プログラムを通常通りに実行すると、モーターやセンサーが動作したり、通常時と同じだけ実行時間がかかって生産性が低下したりしてしまう。
このため、画像形成時のセンサー入力を模擬するキャッシュロックダウン用のプログラムを用いる。キャッシュロックダウン用プログラムは、メカコン制御用コア202に画像形成プログラムを通常通り実行させる一方、モーターやセンサー制御、作像プロセス(帯電、露光、現像、転写)に関する制御出力は行わず、また、センサー入力を模擬する。
When performing cache lockdown, an image forming program that actually executes image forming processing is operated. However, if the image forming program is executed as usual, the motors and sensors operate, and the execution time is the same as during normal operation, and the productivity is reduced.
For this reason, a cache lockdown program that simulates sensor input during image formation is used. The cache lockdown program causes the
また、キャッシュロックダウン用プログラムは画像形成プログラムの制御周期を短縮して、上述のような模擬実行を行わせる。このようにすれば、画像形成処理のリアルタイム性を確実に保証するだけでなく、画像形成プログラムを短時間でキャッシュロックダウンすることができる。従って制御周期を短縮しない場合よりも画像形成処理の開始遅延を抑制して、画像形成処理の開始を早めることができる。 Also, the cache lockdown program shortens the control cycle of the image forming program and causes the simulation execution as described above. With this configuration, not only the real-time property of the image forming process can be reliably ensured, but also the cache lock-down of the image forming program can be performed in a short time. Therefore, the start of the image forming process can be more quickly started by suppressing the start delay of the image forming process than when the control cycle is not shortened.
なお、画像形成処理においては、必ずしも画像形成プログラムの全コードが実行される訳ではなく、画像形成ジョブの内容に応じて実行されるコードが異なってくる場合がある。すなわち、画像形成ジョブにおいて指定された用紙サイズ、カラー/モノクロ、紙種などの指定に応じてメカコン制御用コアが実行するコードが異なる。このため、画像形成プログラムを模擬実行する際には、本実行に供されるモード情報が模擬データとして使用される。
(3−1)キャッシュメモリ203に関する基本動作
まず、キャッシュメモリ203を利用する際の基本動作について説明する。
In the image forming process, not all codes of the image forming program are necessarily executed, and codes to be executed may differ depending on the contents of the image forming job. That is, the code executed by the mechanical control core differs according to the specification of the paper size, color / monochrome, paper type, etc. specified in the image forming job. For this reason, when simulating the image forming program, the mode information provided for the actual execution is used as the simulating data.
(3-1) Basic Operation for
CPU200は、キャッシュメモリ203が有効になっている場合、コア201、202がROM220やRAM221へのメモリアクセスを実行すると、読み出しの場合はメモリから読み出したデータをキャッシュメモリ203にコピーし、次回以降、同アドレスからデータを読み出す場合にはキャッシュメモリ203からデータ(キャッシュデータ)が読み出される。
When the
また、書き込みの場合には、キャッシュメモリ203にデータが一旦、書き込まれた後、当該データ(キャッシュデータ)が本来の書き込み先アドレスに書き込まれる。このようにすれば、キャッシュメモリ203に対するメモリアクセスはROM220やRAM221へのメモリアクセスよりも高速に行われるので、コア201、202を高速動作させることができる。メモリアクセスしようとしたデータがキャッシュメモリ203上に記憶されている場合、キャッシュヒットしたという。
In the case of writing, after data is once written to the
メモリアクセスが繰り返された結果、キャッシュメモリ203に新たなデータを書き込むための空き領域が無くなった場合には、最も古いキャッシュデータが記憶されている領域に新たなキャッシュデータが書き込まれる。このとき、古いキャッシュデータはキャッシュアウトされたという。キャッシュアウトされたデータにアクセスするためには、再度ROM220やRAM221にアクセスしなければならない。このため、メモリアクセスが高速でなくなる。
As a result of repeating the memory access, if there is no more free space for writing new data in the
キャッシュロックダウンは、キャッシュデータがキャッシュアウトされないようにする機能である。キャッシュロックダウン中はキャッシュメモリ203の指定された記憶領域に対して新たにデータを書き込むことが禁止されるので、指定領域に記憶されているキャッシュデータはキャッシュアウトされず、当該キャッシュデータに対するアクセスは常にキャッシュヒットする。
Cache lockdown is a function that prevents cached data from being cached out. During cache lockdown, writing new data to the specified storage area of the
また、キャッシュメモリ203は、一部の領域のみをキャッシュロックダウンすることもできる。この場合においては、まず、(a)当該一部の領域以外の領域をキャッシュロックダウンし、(b)この状態でキャッシュロックダウンしたいデータにアクセスすることによって、当該一部の領域にキャッシュロックダウンしたいデータを書き込む。当該書き込みが完了したら、(c)当該一部の領域をキャッシュロックダウンした後、(d)当該一部の領域以外の領域のキャッシュロックダウンを解除する。
The
このようにすれば、キャッシュメモリ203の一部の領域に所望のデータを書き込んでキャッシュロックダウンすることができる。また、当該一部の領域以外の領域はキャッシュロックダウンされないので、他のプログラムを実行する際に利用することができる。
従って、メカコン制御用プログラム212をキャッシュメモリ203に記憶した状態でキャッシュロックダウンすれば、メカコン制御用プログラム212は常にキャッシュヒットするので、メカコン制御のリアルタイム性を保証することができる。
(3−2)コントローラー制御用コア201の動作
次に、コントローラー制御用コア201の動作について、特に画像形成処理とメカコン制御用コア割り込み処理について説明する。
(3−2−1)画像形成処理
まず、画像形成処理について説明する。
By doing so, it is possible to write desired data to a partial area of the
Therefore, if cache lockdown is performed while the
(3-2) Operation of
(3-2-1) Image Forming Process First, the image forming process will be described.
図3に示されるように、コントローラー制御用コア201は、操作パネルにてユーザーから画像形成ジョブを受け付けたり、或いはネットワーク経由でPC(Personal Computer)等、他の装置から画像形成ジョブを受け付けたりすると(S301:YES)、当該画像形成ジョブに係る画像データを取得する(S302)。
画像形成ジョブにおいてはモード情報が指定されている。モード情報は、例えば、用紙の給紙口や用紙サイズ、カラーモード、印字面などである。次に、画像形成するページ番号を表す作業用変数nの値を1にして(S303)、次のようなループ処理を実行する。
As shown in FIG. 3, when the
In the image forming job, mode information is specified. The mode information includes, for example, a paper feed port of a paper, a paper size, a color mode, a printing surface, and the like. Next, the value of the work variable n representing the page number for image formation is set to 1 (S303), and the following loop processing is executed.
まず、第nページの画像データについて画像処理を実行して(S304)、当該第nページの画像形成処理をメカコン制御用コア202に指示する(S305)。この画像形成処理の指示(以下、「画像形成指示」という。)には、画像形成ジョブで指定されたモード情報が含まれている。その後、変数nの値を1だけ増加させて、画像形成ジョブに係る全画像形成枚数Nと変数nの値とを比較する。 First, image processing is performed on the image data of the n-th page (S304), and the image forming process of the n-th page is instructed to the mechanical control core 202 (S305). The instruction of the image forming process (hereinafter, referred to as “image forming instruction”) includes mode information specified in the image forming job. After that, the value of the variable n is increased by one, and the total number N of images formed for the image forming job is compared with the value of the variable n.
変数nの値がN以下ならば(S307:NO)、ステップS304に進んで上記の処理を繰り返す。また、変数nの値がNよりも大きい場合には(S307:YES)、ステップS301に進む。
(3−2−2)メカコン制御用コア割り込み処理
次に、メカコン制御用コア割り込み処理について説明する。
If the value of the variable n is equal to or less than N (S307: NO), the process proceeds to step S304 and the above processing is repeated. If the value of the variable n is larger than N (S307: YES), the process proceeds to step S301.
(3-2-2) Mechanical Control Control Core Interrupt Processing Next, mechanical control control core interrupt processing will be described.
メカコン制御用コア割り込み処理は、コントローラー制御用コア201がメカコン制御用コア202から割り込みを受けた場合に起動され、コントローラー制御用コア201が実行する処理である。
図4に示されるように、メカコン制御用コア割り込み処理において、コントローラー制御用コア201はRAM221の所定アドレスを参照して、キャッシュロックダウン完了フラグがセットされているか否かを確認する(S401)。キャッシュロックダウン完了フラグがセットされていなければ(S402:NO)、メカコン制御用コア202によるキャッシュロックダウン処理が未だ完了していないと判断されるので、ステップS401に進んで更にキャッシュロックダウン完了フラグを監視する。
The mechanical control core interrupt processing is started when the
As shown in FIG. 4, in the mechanical control core interrupt processing, the
キャッシュロックダウン完了フラグがセットされていたら(S402:YES)、メカコン制御用コア202によるキャッシュロックダウン処理が完了したと判断し、キャッシュロックダウン完了フラグをリセットして(S403)、割り込み処理を終了して、通常の処理に復帰する。
このようにすれば、メカコン制御用コア202がキャッシュロックダウン処理を行っている間、コントローラー制御用コア202はキャッシュロックダウン完了フラグを参照する処理を繰り返すだけなので、キャッシュメモリ203からメカコン制御用プログラムがキャッシュアウトされなくなる。
(3−3)メカコン制御用コア202による画像形成処理
次に、メカコン制御用コア202による画像形成処理について説明する。
If the cache lockdown completion flag has been set (S402: YES), it is determined that the cache lockdown processing by the
With this configuration, while the
(3-3) Image Forming Process by
図5に示されるように、メカコン制御用コア202は、コントローラー制御用コア201から画像形成指示を受け付けると(S501:YES)、印刷準備動作を開始する(S502)。次いで、コントローラー制御用コア201にメカコン制御用コア割り込みを入れて(S503)、コントローラー制御用コア201を割り込み処理による待機状態に遷移させる。
As shown in FIG. 5, upon receiving an image forming instruction from the controller control core 201 (S501: YES), the
これによってコントローラー制御用コア201によるキャッシュメモリ203の書き換えが抑制されるので、キャッシュロックダウン用プログラムを実行する(S504)。なお、ステップS503の処理の完了後で、かつステップS504の処理の開始前にキャッシュメモリ203の記憶領域のうちキャッシュロックダウンする予定の記憶領域をクリアしてもよい。
As a result, rewriting of the
キャッシュロックダウン用プログラムの実行が完了したら、キャッシュロックダウンし(S505)、キャッシュロックダウン完了フラグをセットする(S506)。これによって、コントローラー制御用コア201が割り込み処理による待機状態から脱して、通常の動作状態に復帰する。
次に、メカコン制御用コア202は画像形成処理を実行し(S507)、画像形成処理が完了したら、コントローラー制御用コア201から次のページの画像形成指示を受け付けたか確認する。次のページの画像形成指示を受け付けている場合には(S508:YES)、今のページと次のページとで画像形成指示に係るモード情報が一致しているか否かを確認する。
When the execution of the cache lockdown program is completed, cache lockdown is performed (S505), and a cache lockdown completion flag is set (S506). As a result, the
Next, the
モード情報が変更される場合には(S509:YES)、一旦キャッシュロックダウンを解除して(S510)、ステップS503に進む。このようにすれば、次のページのモード情報に合わせて画像形成プログラムをキャッシュメモリ203に記憶させることができるので、次のページの画像形成処理についてリアルタイム性を保証することができる。
モード情報が変更されない場合には(S509:NO)、ステップS507に進んで、次のページの画像形成処理を実行する。この場合には、キャッシュメモリ203に記憶されている画像形成プログラムを用いれば、次のページの画像形成処理についてリアルタイム性を保証することができる。
When the mode information is changed (S509: YES), the cache lockdown is temporarily released (S510), and the process proceeds to step S503. By doing so, the image forming program can be stored in the
If the mode information has not been changed (S509: NO), the flow advances to step S507 to execute the image forming processing for the next page. In this case, by using the image forming program stored in the
次のページの画像形成指示を受け付けていない場合には(S508:NO)、キャッシュロックダウンを解除して(S511)、ステップS501に進み、次の画像形成指示を待つ。
(3−4)キャッシュロックダウン用プログラム
次に、キャッシュロックダウン用プログラムについて説明する。
If the image formation instruction for the next page has not been received (S508: NO), the cache lockdown is released (S511), and the process proceeds to step S501 to wait for the next image formation instruction.
(3-4) Cache Lockdown Program Next, a cache lockdown program will be described.
メカコン制御用コア202が実行するメカコン制御用プログラム212には、画像形成プログラムと準備処理プログラムとが含まれている。画像形成プログラムは、画像形成処理に必要なメカニカル制御を実行する。具体的には、一定周期ごとに、センサー入力を参照して制御出力の要否を判定し、必要ならば制御出力を行う。この周期を「制御周期」という。準備処理プログラムは、画像形成処理の実行に先立って、定着装置115のウォームアップ処理などを実行する。
The
キャッシュロックダウン用プログラムは、I/O制御部233を用いて、メカコン制御用コア202による制御出力を停止したり、メカコン制御用コア202へのセンサー入力を模擬したりする。これによって、メカコン制御対象部232を実際に動作させることなく、画像形成プログラムを模擬実行させて、キャッシュメモリ203に画像形成プログラムを記憶させることができる。
The cache lockdown program uses the I /
また、キャッシュロックダウン用プログラムは、画像形成プログラムの制御周期を短縮することによって、印刷処理の模擬実行に要する時間を短縮する。従って、キャッシュロックダウン処理によるFCOT(First Copy Out Time)の増大を抑制することができる。
すなわち、図6に示されるように、まず、コントローラー制御用コア201からの画像形成指示に含まれるモード情報に基づいて、画像形成プログラムの模擬実行に用いる模擬データを生成する(S601)。図7は、モード情報と模擬データとの対応を例示する表である。図7に示されるように、モード情報における給紙口の指定からは給紙口の模擬データが生成される。
The cache lockdown program shortens the control cycle of the image forming program, thereby reducing the time required for simulating the printing process. Therefore, it is possible to suppress an increase in FCOT (First Copy Out Time) due to cache lockdown processing.
That is, as shown in FIG. 6, first, simulation data used for simulating execution of an image forming program is generated based on mode information included in an image forming instruction from the controller control core 201 (S601). FIG. 7 is a table illustrating the correspondence between the mode information and the simulation data. As shown in FIG. 7, the simulation data of the paper feed port is generated from the specification of the paper feed port in the mode information.
また、モード情報における用紙サイズの指定からは模擬データとして用紙長が1/100mm単位で生成される。カラーモードからは用紙先端位置が生成される。また、モード情報から生成された給紙口と用紙長からは給紙タイミングとして、用紙先端位置並びに用紙後端位置の各初期値が1/100mm単位で決定される。
更に、カラーモードによって、例えば、イエロー(Y)、マゼンタ(M)シアン(C)及び黒色(K)の4色のトナー像を形成するイメージングユニット111のうち、K色のイメージングユニット111のみを動作させるのか、YMCK全色のイメージングユニット111のみを動作させるのかが決定される。プリント速度からは制御周期あたりの用紙搬送量が決定される。印字面からは、片面通紙するか両面通紙するかが決まる。
Also, from the specification of the paper size in the mode information, the paper length is generated as simulation data in units of 1/100 mm. A paper leading edge position is generated from the color mode. Further, from the paper feed port and the paper length generated from the mode information, the initial values of the paper leading end position and the paper trailing end position are determined in 1/100 mm units as the paper feed timing.
Further, depending on the color mode, for example, of the imaging units 111 for forming four color toner images of yellow (Y), magenta (M), cyan (C) and black (K), only the K color imaging unit 111 is operated. It is determined whether to operate only the imaging unit 111 for all colors of YMCK. The paper transport amount per control cycle is determined from the print speed. From the printing surface, it is determined whether to pass one side or both sides.
次に、キャッシュロックダウン用プログラムは、画像形成プログラムの制御周期を短縮する(S602)。例えば、通常の画像形成時の制御周期が5ミリ秒である場合には、模擬実行時の制御周期を2.5ミリ秒に設定してもよい。
キャッシュロックダウン用プログラムは、更に、I/O制御部233を模擬モードに設定する(S603)。この場合において、キャッシュロックダウン用プログラムは、I/O制御部233の内部メモリにセンサー入力の初期値を書き込んでおく。例えば、画像形成処理の開始前にオフしているセンサー入力については対応するアドレスにその旨のデータを書き込んでおく。
Next, the cache lockdown program shortens the control cycle of the image forming program (S602). For example, if the control cycle during normal image formation is 5 milliseconds, the control cycle during simulation execution may be set to 2.5 milliseconds.
The cache lockdown program further sets the I /
そして、画像形成プログラムを起動して、画像形成処理を模擬実行させる(S604)。
ここで、本実施の形態において、画像形成装置1の搬送系は図8に示されるような構成を備えている。すなわち、給紙部120は1段目と2段目の2つの給紙トレイを有しており、1段目の給紙トレイに収容されている用紙は1段給紙ローラー801によって搬出されたことが1段給紙センサー802によって検出される。
Then, the image forming program is activated to simulate the image forming process (S604).
Here, in the present embodiment, the transport system of the
同様に、2段目の給紙トレイに収容されている用紙は2段給紙ローラー803によって搬出されたことが2段給紙センサー804によって検出され、その後、2段縦搬送ローラー805を通過したことが2段縦搬送センサー806によって検出される。また、手差しトレイ121にセットされている用紙は、マルチ手給紙ローラー807によって搬出される。
Similarly, the sheet stored in the second-stage paper feed tray is detected by the two-stage paper feed sensor 804 to be carried out by the two-stage paper feed roller 803, and then passes through the two-stage vertical conveyance roller 805. Is detected by the two-stage vertical conveyance sensor 806. The paper set on the
タイミングセンサー808は、搬送中の用紙の先頭を検出する。タイミングローラー809は、2次転写タイミングに合わせて用紙を搬送する。2次転写ローラー114は、トナー像を用紙上に2次転写する。定着ループセンサー810は2次転写ローラー114から定着装置115に至る用紙の搬送系路上で、用紙が形成するループの大きさを検出する。
The
定着ローラー811は、トナー像を用紙に熱定着する。排紙前ローラー812が排紙口へ送り出した用紙は、排紙センサー813に検出される。排紙ローラー814は用紙を機外へ排出する。ADU(Automatic Duplexing Unit: 自動両面印刷ユニット)搬送ローラー815、816、817及び818は両面印刷時に、用紙の裏面にトナー像が2次転写されるように、用紙を搬送する。 The fixing roller 811 thermally fixes the toner image on the paper. The sheet fed by the pre-discharge roller 812 to the discharge port is detected by a discharge sensor 813. The paper discharge roller 814 discharges the paper outside the machine. ADU (Automatic Duplexing Unit) transport rollers 815, 816, 817 and 818 transport the paper so that the toner image is secondarily transferred to the back side of the paper during duplex printing.
図6に戻って、キャッシュロックダウン用プログラムが画像形成プログラムを起動すると、画像形成プログラムは、画像形成指示に従って、例えば、1段給紙ローラー801を起動するために、制御出力を行う。この制御出力は、I/O制御部233によって遮断され、I/O制御部233の内部メモリに書き込まれ、メカコン制御対象部232へは出力されない。
Returning to FIG. 6, when the cache lockdown program starts the image forming program, the image forming program outputs a control output in accordance with the image forming instruction, for example, to start the single-stage paper feed roller 801. This control output is cut off by the I /
なお、I/O制御部233の内部メモリを監視すれば、画像形成プログラムが制御出力するタイミングを知ることができるので、この制御出力タイミングを利用してキャッシュロックダウン用プログラムを動作させてもよい。本実施の形態においては、キャッシュロックダウン用プログラムは、画像形成プログラムの制御周期をカウントして、給紙センサー801が正常にオンするタイミングを待つ。
By monitoring the internal memory of the I /
給紙センサー801がオンするタイミングになったら(S605:YES)、キャッシュロックダウン用プログラムは、I/O制御部233の内部メモリの給紙センサー801のレジスターに対応するアドレスに給紙センサー801がオンした旨のビットをセットすることによって、給紙センサー801がオンしたことを模擬する(S606)。
次に、上と同様にして、タイミングセンサー808のオンタイミングになったら(S607:YES)、キャッシュロックダウン用プログラムは、タイミングセンサー808のレジスターに対応するアドレスの当該ビットをセットして、タイミングセンサー808のオンを模擬する(S608)。
When it is time to turn on the paper feed sensor 801 (S605: YES), the cache lockdown program sends the paper feed sensor 801 to the address corresponding to the register of the paper feed sensor 801 in the internal memory of the I /
Next, in the same manner as above, when the timing of the
画像処理プログラムは、タイミングセンサー808のオン後、タイミングローラー809を起動する制御出力を行う。この制御出力もまたI/O制御部233によって遮断され、タイミングローラー809を駆動するためのモーターやクラッチが実際に動作することはない。
画像形成プログラムは、更に、タイミングセンサー808のオンタイミングから用紙後端位置を推定して、用紙後端が1段給紙ローラー801の停止位置を通過したと判断すると、1段給紙ローラー801を停止させる制御出力を行う。キャッシュロックダウン用プログラムは、給紙センサー802のオフタイミングになったら(S609:YES)、1段給紙センサー802を模擬的にオフする(S610)。これによって、画像形成プログラムは、用紙後端が1段給紙センサー802の検出位置を通過したと判断する。
After the
The image forming program further estimates the rear end position of the sheet from the ON timing of the
キャッシュロックダウン用プログラムは、タイミングセンサー808のオフタイミングになったら(S611:YES)、タイミングセンサー808を模擬的にオフする(S612)。これによって、画像形成プログラムは、用紙後端がタイミングセンサー808の検出位置を通過したと判断する。
画像形成プログラムは、更に、タイミングセンサー808のオフタイミングから用紙後端位置を推定して、用紙後端がタイミングローラー809の停止位置を通過したと判断すると、タイミングローラー809を停止させる制御出力を行う。
When the timing of turning off the
The image forming program further estimates the trailing edge position of the sheet from the timing at which the
以下、同様の処理を繰り返した後、キャッシュロックダウン用プログラムは、排紙センサー813のオンタイミングになったら(S613:YES)、排紙センサー813を模擬的にオンする(S614)。これによって、画像形成プログラムは、用紙先端が排紙センサー813の検出位置に到達したと判断する。
画像形成プログラムは、排紙センサー813のオンタイミングから用紙先端位置を推定して、用紙先端が排紙ローラー814の停止位置を通過したと判断すると、タイミングローラー809を停止させる制御出力を行う。キャッシュロックダウン用プログラムは、排紙センサー813のオフタイミングになったら(S615:YES)、排紙センサー813を模擬的にオフする(S616)。これによって、画像形成プログラムは、用紙後端が排紙センサー813の検出位置を通過したと判断する。
Thereafter, after the same processing is repeated, the cache lockdown program turns on the discharge sensor 813 in a simulated manner when the discharge sensor 813 is turned on (S613: YES) (S614). Accordingly, the image forming program determines that the leading edge of the sheet has reached the detection position of the sheet ejection sensor 813.
The image forming program estimates the leading end position of the sheet from the ON timing of the sheet ejection sensor 813, and performs a control output to stop the timing roller 809 when determining that the leading end of the sheet has passed the stop position of the sheet ejection roller 814. The cache lock-down program simulates turning off the paper ejection sensor 813 when it is time to turn off the paper ejection sensor 813 (S615: YES) (S616). Accordingly, the image forming program determines that the rear end of the sheet has passed the detection position of the sheet discharge sensor 813.
画像形成プログラムは、更に、排紙センサー813のオフタイミングから用紙後端位置を推定して、用紙後端が排紙ローラー814の停止位置を通過したと判断すると、排紙ローラー814を停止させる制御出力を行う。
その後、キャッシュロックダウン用プログラムは、I/O制御部233を通常モードにして(S617)、処理を終了する。
The image forming program further estimates the rear end position of the sheet from the off-timing of the sheet discharge sensor 813, and, when determining that the rear end of the sheet has passed the stop position of the sheet discharge roller 814, stops the sheet discharge roller 814. Perform output.
Thereafter, the cache lockdown program sets the I /
このようにすれば、実際に画像形成を行うことなく画像形成処理を模擬実行して、画像形成プログラムのモード情報に対応する実行箇所、すなわち画像形成プログラムの本実行の際に必要になる箇所をキャッシュメモリ203に記憶させることができる。
[4]変形例
以上、本発明を実施の形態に基づいて説明してきたが、本発明が上述の実施の形態に限定されないのは勿論であり、以下のような変形例を実施することができる。
(4−1)上記実施の形態においては、I/O制御部233を用いて模擬実行時の制御出力をすべて遮断すると共にセンサー入力を模擬する場合について説明したが、本発明がこれに限定されないのは言うまでもなく、これに代えて次のようにしてもよい。
According to this configuration, the image forming process is simulated without actually performing the image forming, and the execution position corresponding to the mode information of the image forming program, that is, the position necessary for the actual execution of the image forming program is determined. It can be stored in the
[4] Modifications Although the present invention has been described based on the embodiments, it goes without saying that the present invention is not limited to the above-described embodiments, and the following modifications can be made. .
(4-1) In the above-described embodiment, a case has been described in which all the control output during the simulation execution is used and the sensor input is simulated using the I /
図9に示されるように、画像形成装置1は1段給紙ローラー801、タイミングローラー809及び排紙ローラー814を回転駆動する駆動モーター900を備えている。駆動モーター900から1段給紙ローラー801、タイミングローラー809及び排紙ローラー814に駆動力を伝達する経路上にはそれぞれ1段給紙クラッチ901、タイミングクラッチ902及び排紙クラッチ903が設けられており、駆動モーター900から各ローラーへの駆動力を伝達したり、切断したりする。
As shown in FIG. 9, the
このため、駆動モーター900への制御出力を遮断しなくても、1段給紙クラッチ901、タイミングクラッチ902及び排紙クラッチ903を切断すれば、画像処理を模擬実行することができる。
図10は、模擬実行時のタイミングチャート例である。模擬実行時にキャッシュロックダウン用プログラムが予め各クラッチを切断している場合、図10に示されるように、画像処理プログラムが1段給紙クラッチ901を接続するために制御出力をオンしても、I/O制御部233に切断されているので、駆動モーター900の駆動力は1段給紙ローラー801には伝達されない。
Therefore, even if the control output to the
FIG. 10 is an example of a timing chart at the time of the simulation execution. If the cache lockdown program has previously disconnected each clutch during the simulation execution, as shown in FIG. 10, even if the image processing program turns on the control output to connect the single-stage paper feed clutch 901, The driving force of the driving
次に、キャッシュロックダウン用プログラムは給紙センサー802、タイミングセンサー808のオンを順次模擬する。これによって、画像形成プログラムは給紙センサー802、タイミングセンサー808のオンを順次検出して、タイミングクラッチ902を接続するために制御出力をオンしても、I/O制御部233に切断されているので、駆動モーター900の駆動力はタイミングローラー809には伝達されない。
Next, the cache lockdown program sequentially simulates turning on the paper feed sensor 802 and the
また、画像形成プログラムは、タイミングクラッチ902を接続するタイミングで、用紙搬送を停止して2次転写タイミングを待つために、1段給紙クラッチ901が切断するために制御出力を一旦オフする。その後、2次転写タイミングに合わせて1段給紙クラッチ901を接続する制御出力をオンし、更に、用紙後端が1段給紙ローラー801を通過し後、1段給紙クラッチ901を接続する制御出力をオフする。 Further, in the image forming program, at the timing of connecting the timing clutch 902, the control output is temporarily turned off to stop the sheet conveyance and wait for the secondary transfer timing, so that the first-stage paper feed clutch 901 is disconnected. Thereafter, the control output for connecting the first-stage paper feed clutch 901 is turned on in accordance with the secondary transfer timing, and further, after the rear end of the sheet passes through the first-stage paper feed roller 801, the first-stage paper feed clutch 901 is connected. Turn off the control output.
キャッシュロックダウン用プログラムは、1段給紙センサー901の検出位置を用紙後端が通過したことを模擬するために1段給紙センサーをオフする。本実施の形態においては、1段給紙センサーのオフを契機として、画像形成プログラムが排紙クラッチを接続する制御出力をオンするが、このオンタイミングは画像形成装置の構成に応じて異なっていてもよい。 The cache lockdown program turns off the single-stage paper feed sensor to simulate that the trailing edge of the paper has passed the detection position of the single-stage paper feed sensor 901. In this embodiment, when the one-stage paper feed sensor is turned off, the image forming program turns on the control output for connecting the paper discharge clutch, but this on-timing differs depending on the configuration of the image forming apparatus. Is also good.
その後、キャッシュロックダウン用プログラムは、排紙センサー813のオンを模擬する。キャッシュロックダウン用プログラムが、更にタイミングセンサー808のオフを模擬すると、画像形成プログラムはタイミングクラッチ902を切断するために制御出力をオフする。
更に所定時間経過後、キャッシュロックダウン用プログラムは、排紙センサー813の検出位置を用紙後端が通過したことを模擬するためにセンサー入力をオフする。これを契機として、画像形成プログラムは排紙ローラー814を停止させるために、排紙クラッチ903を切断する制御出力を行う。
Thereafter, the cache lockdown program simulates turning on the paper ejection sensor 813. When the cache lockdown program further simulates the turning off of the
Further, after a lapse of a predetermined time, the cache lockdown program turns off the sensor input to simulate that the trailing edge of the sheet has passed the detection position of the sheet ejection sensor 813. In response to this, the image forming program outputs a control output for disconnecting the discharge clutch 903 in order to stop the discharge roller 814.
このようにしても、メカ制御対象部232を実際に動作させることなく画像形成プログラムを模擬実行することができる。
(4−2)上記実施の形態においては、主に搬送系について画像形成処理を模擬するための動作を説明したが、本発明がこれに限定されないのは言うまでもなく、メカ制御対象部232の搬送系以外の箇所についても模擬を行う必要がある。
Even in this case, the image forming program can be simulated without actually operating the mechanical
(4-2) In the above-described embodiment, the operation for simulating the image forming process mainly on the transport system has been described. However, it is needless to say that the present invention is not limited to this. It is necessary to simulate parts other than the system.
例えば、イメージングユニット111はYMCKの各色のトナー像を中間転写ベルト113の画像形成位置に1次転写するために、それぞれ感光体ドラム、帯電装置、露光装置、現像装置、1次転写ローラー及びクリーナーを備えている。
画像形成プログラムは、実際の画像形成時には、感光体ドラムを回転駆動しながら、帯電装置で感光体ドラムの外周面を一様に帯電させ、露光装置で静電潜像を形成し、現像装置で静電潜像をトナー像にして、一次転写ローラーで中間転写ベルトに静電転写する。一次転写後に感光体ドラムの外周面上に残留するトナーはクリーナーによって除去される。クリーナーは、除電露光によって残留電荷も除去する。
For example, the imaging unit 111 includes a photosensitive drum, a charging device, an exposing device, a developing device, a primary transfer roller, and a cleaner for primary transfer of the YMCK color toner image to the image forming position of the
During the actual image formation, the image forming program uniformly charges the outer peripheral surface of the photosensitive drum with the charging device while rotating and driving the photosensitive drum, forms an electrostatic latent image with the exposure device, and forms the electrostatic latent image with the developing device. The electrostatic latent image is converted to a toner image and electrostatically transferred to an intermediate transfer belt by a primary transfer roller. After the primary transfer, the toner remaining on the outer peripheral surface of the photosensitive drum is removed by a cleaner. The cleaner also removes residual charges by static elimination exposure.
トナー像の1次転写先となる中間転写ベルト113上の転写予定領域は、画像形成処理において指定されるカラーモードに応じて異なる。画像形成プログラムは、YMCK各色のトナー像が中間転写ベルト113上の転写予定領域に転写されるように、帯電装置、露光装置、現像装置、1次転写ローラー及びクリーナーへ制御出力を行うタイミングを画像形成位置情報として管理する。
The transfer scheduled area on the
従って、キャッシュロックダウン用プログラムが適切なタイミングで様々なセンサー入力を模擬するためには、画像形成プログラムの制御周期をカウントするか、画像形成プログラムが管理する画像形成位置情報を参照すればよい。
このようにすれば、イメージングユニット111についても画像形成処理を模擬実行することができる。
(4−3)上記実施の形態においては、I/O制御部233を用いて制御出力を遮断し、センサー入力を模擬する場合を例にとって説明したが、本発明がこれに限定されないのは言うまでもなく、これに代えてソフトウェア処理のみで模擬実行を行ってもよい。例えば、模擬実行時には、本実行時に実行される画像形成プログラムのコードをすべて実行するのに加えて、制御出力を遮断し、センサー入力を模擬するためのコードを実行してもよい。このようにすれば、本実行時のコードがすべてキャッシュメモリ203に記憶されるので、本実行時のリアルタイム性を保証することができる。
(4−4)上記実施の形態においては、CPU200が2つのコア201、202を備える場合を例にとって説明したが、本発明がこれに限定されないのは言うまでもなく、CPU200は所謂シングルコアであってもよいし、3つ以上のコアを備えていてもよい。また、3つ以上のコアを備えている場合、どのコアにどの処理を割り振るかに関わらず本発明の効果は同じである。
(4−5)上記実施の形態においては、画像形成装置がタンデム型のカラープリンターである場合を例にとって説明したが、本発明がこれに限定されないのは言うまでもなく、タンデム型以外のカラープリンターやモノクロプリンターであってもよい。また、スキャナーを備えた複写装置や、更に通信機能を備えたファクシミリ装置といった単機能機やこれらの機能を兼ね備えた複合機(MFP: Multi- Function Peripheral)に本発明を適用しても同様の効果を得ることができる。
Therefore, in order for the cache lockdown program to simulate various sensor inputs at appropriate timing, the control cycle of the image forming program may be counted or image forming position information managed by the image forming program may be referred to.
In this way, the image forming process can be simulated for the imaging unit 111 as well.
(4-3) In the above embodiment, the case where the control output is cut off using the I /
(4-4) In the above embodiment, the case where the
(4-5) In the above embodiment, the case where the image forming apparatus is a tandem type color printer has been described as an example. However, it is needless to say that the present invention is not limited to this. It may be a monochrome printer. Further, the same effects can be obtained by applying the present invention to a single-function machine such as a copying machine having a scanner, a facsimile machine having a communication function, or a multi-function peripheral (MFP) having both of these functions. Can be obtained.
本発明に係る画像形成装置は、リアルタイム処理とベストエフォート処理とでキャッシュメモリを共用する場合にリアルタイム性を保証する装置として有用である。 INDUSTRIAL APPLICABILITY The image forming apparatus according to the present invention is useful as an apparatus that guarantees real-time performance when a cache memory is shared between real-time processing and best-effort processing.
1………画像形成装置
110…画像形成部
100…制御部
200…CPU
201…コントローラー制御用コア
202…メカコン制御用コア
203…キャッシュメモリ
231…コントローラー制御対象部
232…メカコン制御対象部
233…I/O制御部
1. Image forming apparatus 110
201: controller control core 202: mechanical control control core 203: cache memory 231: controller control target unit 232: mechanical control control target unit 233: I / O control unit
Claims (9)
前記他のプログラムの実行動作を停止する停止手段と、
前記画像形成プログラムの実行中、装置各部へ送信する制御出力を遮断し、装置各部に設けられたセンサーの検出信号を模擬的に作成する入出力模擬手段と、
前記画像形成プログラムの用紙搬送に係る制御周期を変更する制御周期変更手段と、
前記停止手段によって前記他のプログラムの動作が停止され、前記入出力模擬手段によって前記制御出力が遮断され、前記センサーの検出信号が模擬され、かつ、前記制御周期変更手段によって前記制御周期が画像形成時よりも短くされている状態で、前記画像形成プログラムを模擬実行する模擬実行手段と、
前記画像形成プログラムの本実行に先立って、前記キャッシュメモリの記憶領域のうち、少なくとも前記画像形成プログラムの模擬実行箇所を記憶した領域のキャッシュロックダウンを実行するキャッシュロックダウン手段と、
前記キャッシュロックダウンの実行後、前記他のプログラムの動作停止を解除する停止解除手段と、
前記画像形成プログラムの本実行後、前記キャッシュロックダウンを解除するキャッシュロックダウン解除手段と、を備える
ことを特徴とする画像形成装置。 An image forming apparatus that executes an image forming program that requires real-time performance and another program that does not necessarily require real-time performance by sharing one cache memory,
Stopping means for stopping the execution of the other program;
During the execution of the image forming program, an input / output simulation unit that shuts off a control output to be transmitted to each unit of the apparatus and simulates a detection signal of a sensor provided in each unit of the apparatus,
Control cycle changing means for changing a control cycle related to sheet conveyance of the image forming program,
The operation of the other program is stopped by the stopping means, the control output is cut off by the input / output simulating means, the detection signal of the sensor is simulated, and the control cycle is changed by the control cycle changing means. Simulation execution means for simulating the image forming program in a state where the time is shorter than the time,
Prior to the actual execution of the image forming program, a cache lock-down means for executing a cache lock-down of at least an area storing a simulated execution location of the image forming program in a storage area of the cache memory;
After execution of the cache lockdown, a stop release unit for releasing the operation stop of the other program,
An image forming apparatus comprising: a cache lockdown release unit configured to release the cache lockdown after the main execution of the image forming program.
前記入出力模擬手段は、前記搬送センサーによる用紙の先端及び後端の検出信号を模擬することによって、前記画像形成プログラムに用紙搬送量を算出させる
ことを特徴とする請求項1に記載の画像形成装置。 With a transport sensor that detects the leading and trailing edges of the paper transported during image formation,
2. The image forming apparatus according to claim 1, wherein the input / output simulation unit causes the image forming program to calculate a sheet conveyance amount by simulating detection signals of a leading edge and a trailing edge of the sheet by the transport sensor. 3. apparatus.
前記作像手段による作像状態を検出する作像センサーと、を備え、
前記入出力模擬手段は、前記作像センサーの検出信号を模擬して作成することによって、前記画像形成プログラムに画像形成位置を算出させる
ことを特徴とする請求項1に記載の画像形成装置。 Image forming means for forming a toner image;
An image forming sensor that detects an image forming state by the image forming unit,
The image forming apparatus according to claim 1, wherein the input / output simulation unit causes the image forming program to calculate an image forming position by simulating and creating a detection signal of the image forming sensor.
前記模擬実行手段は、前記モード情報に応じて前記画像形成プログラムを模擬実行する
ことを特徴とする請求項1から3の何れかに記載の画像形成装置。 A mode information specifying unit that specifies mode information specified in the image forming job;
The image forming apparatus according to claim 1, wherein the simulation execution unit performs the simulation of the image forming program in accordance with the mode information.
ことを特徴とする請求項4に記載の画像形成装置。 5. The image forming apparatus according to claim 4, wherein the mode information is information for designating at least one of a paper feed port, a paper size, a color mode, a printing speed, and a printing surface.
ことを特徴とする請求項4又は5に記載の画像形成装置。 6. The image forming apparatus according to claim 4, wherein the simulation execution unit executes the simulation of the image forming program after the mode information identification unit identifies the mode information. 7.
ことを特徴とする請求項1から6の何れかに記載の画像形成装置。 When the image forming program is subsequently executed after the actual execution of the image forming program, the simulated execution after the preceding actual execution and before the subsequent actual execution and the cache lock until the subsequent actual execution is completed. The image forming apparatus according to claim 1, further comprising a prohibition unit that prohibits release of the down state.
ことを特徴とする請求項7に記載の画像形成装置。 When the mode information is different between the preceding main execution and the subsequent main execution of the image forming program, the prohibiting unit prohibits neither the simulation execution nor the release of the cache lockdown. The image forming apparatus according to claim 7.
ことを特徴とする請求項1から8の何れかに記載の画像形成装置。 9. The image forming apparatus according to claim 1, wherein the other programs that do not require real-time processing include an image processing program that does not perform mechanical control and a user interface processing program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2016120166A JP6668966B2 (en) | 2016-06-16 | 2016-06-16 | Image forming device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2016120166A JP6668966B2 (en) | 2016-06-16 | 2016-06-16 | Image forming device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2017222114A JP2017222114A (en) | 2017-12-21 |
JP6668966B2 true JP6668966B2 (en) | 2020-03-18 |
Family
ID=60686735
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2016120166A Active JP6668966B2 (en) | 2016-06-16 | 2016-06-16 | Image forming device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6668966B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2018030267A (en) * | 2016-08-23 | 2018-03-01 | コニカミノルタ株式会社 | Image formation apparatus |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH10202985A (en) * | 1997-01-20 | 1998-08-04 | Toshiba Corp | Image forming device, communication controlling device, image forming method, and communication controlling method |
US6044478A (en) * | 1997-05-30 | 2000-03-28 | National Semiconductor Corporation | Cache with finely granular locked-down regions |
JP2000250518A (en) * | 1999-02-26 | 2000-09-14 | Canon Inc | Character processor and processing method for character data, and storage medium |
JP4882625B2 (en) * | 2005-12-26 | 2012-02-22 | 株式会社デンソー | Microcomputer |
JP2010226283A (en) * | 2009-03-23 | 2010-10-07 | Konica Minolta Business Technologies Inc | Information processing apparatus |
JP5494243B2 (en) * | 2010-06-01 | 2014-05-14 | 富士電機株式会社 | Programmable controller and program execution method for programmable controller |
JP5768627B2 (en) * | 2011-09-27 | 2015-08-26 | 富士電機株式会社 | Programmable controller, program creation support apparatus, digital control program, and program creation support program |
JP5772801B2 (en) * | 2012-11-28 | 2015-09-02 | コニカミノルタ株式会社 | Image forming apparatus, image forming apparatus control method, and image forming apparatus control program |
-
2016
- 2016-06-16 JP JP2016120166A patent/JP6668966B2/en active Active
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2018030267A (en) * | 2016-08-23 | 2018-03-01 | コニカミノルタ株式会社 | Image formation apparatus |
Also Published As
Publication number | Publication date |
---|---|
JP2017222114A (en) | 2017-12-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2009278484A (en) | Image forming apparatus, image formation control method, image formation control program and recording medium | |
US20150055160A1 (en) | Image forming apparatus | |
JP2007030476A (en) | Printing system | |
JP6755698B2 (en) | Image forming device | |
US10788782B2 (en) | Image forming apparatus locks down storage area of cache memory stores portion of image forming program for executing real-time image forming process | |
JP4402083B2 (en) | Image forming apparatus | |
JP6668966B2 (en) | Image forming device | |
JP2006240194A (en) | Image forming device | |
JP2010002511A (en) | Image forming apparatus and control method thereof | |
JP2005331968A (en) | Image forming apparatus and control method for the image forming apparatus | |
JP4886336B2 (en) | Image forming apparatus, sheet conveyance control method, and sheet conveyance control program | |
JP4519078B2 (en) | Control device and image forming apparatus using the same | |
JP4735514B2 (en) | Image forming apparatus | |
JP2010197781A (en) | Copying apparatus, control method therefor, and program | |
JP2015074208A (en) | Image forming apparatus, control method for image forming apparatus, and program | |
JP5263612B2 (en) | Printing device | |
JP2020118938A (en) | Image forming apparatus | |
US20240085826A1 (en) | Image forming apparatus and non-transitory computer readable medium storing image forming program | |
JP5188196B2 (en) | Paper transport device, paper transport method, and paper transport program for image forming apparatus | |
JP2008284856A (en) | Image forming apparatus | |
JP2001235972A (en) | Image forming device and its control method and printing system | |
JP2008233440A (en) | Image forming apparatus | |
JP2006195888A (en) | Print system | |
JP2021184010A (en) | Image forming apparatus | |
JP2021184011A (en) | Image forming apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20190416 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20200116 |
|
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: 20200128 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20200210 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6668966 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |