JP2005157791A - Printer simulator and simulation method of printer - Google Patents

Printer simulator and simulation method of printer Download PDF

Info

Publication number
JP2005157791A
JP2005157791A JP2003396023A JP2003396023A JP2005157791A JP 2005157791 A JP2005157791 A JP 2005157791A JP 2003396023 A JP2003396023 A JP 2003396023A JP 2003396023 A JP2003396023 A JP 2003396023A JP 2005157791 A JP2005157791 A JP 2005157791A
Authority
JP
Japan
Prior art keywords
simulator
signal
controller
printer
print engine
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2003396023A
Other languages
Japanese (ja)
Other versions
JP4341387B2 (en
Inventor
Koichi Kurose
光一 黒瀬
Takeharu Toguchi
武晴 戸口
Koichi Ishii
功一 石井
Koji Yanagisawa
浩司 柳沢
Takeshi Ikuma
健 井熊
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2003396023A priority Critical patent/JP4341387B2/en
Publication of JP2005157791A publication Critical patent/JP2005157791A/en
Application granted granted Critical
Publication of JP4341387B2 publication Critical patent/JP4341387B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a printer simulator realizing an operation nearer to a real machine. <P>SOLUTION: The simulator simulates the operation of the printer real machine having a print engine and a mechanism device. The simulator is also provided with a first simulator operating a print engine model simulating the print engine performing a print processing based on a signal transmitted from a controller by a simulation processing based on a first control program, a second simulator operating a mechanism device model simulating the mechanism device performing printing to a print medium based on a signal inputted from the print engine by simulation calculation based on a second control program and outer hardware having an interface for transmitting/receiving a signal following a communication system between the controller and the printer real machine. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、プリンタコントローラの動作環境を提供するプリンタシミュレータおよびプリンタのシミュレーション方法に関する。   The present invention relates to a printer simulator and a printer simulation method that provide an operating environment of a printer controller.

従来、プリンタコントローラのデバックは、印刷エンジンや機構装置からなるプリンタ実機そのものを対象に行っていた。しかし、プリンタ実機の開発には時間がかかるため、プリンタ実機ができあがるまで、プリンタコントローラのデバックをすることができないという問題があった。   Conventionally, the printer controller has been debugged for the actual printer itself including a print engine and a mechanism device. However, since the development of the actual printer takes time, there is a problem that the printer controller cannot be debugged until the actual printer is completed.

そこで、プリンタを模擬動作させるシミュレータが提案されている。例えば、特開平5−143260号公報には、プリンタコントローラが動作するために必要な外部環境をソフトウェアインタフェースとして実現したプリンタハードウェアシミュレータ部を備えるシミュレーション装置が開示されている(特許文献1)。また、特開2003−30251号公報には、機構装置(メカ)に代えて計算機上に仮想的機構モデルを構築し、入力データに応じたシミュレーション計算により仮想機構モデルを動作させるシミュレーション装置が開示されている(特許文献2)。
特開平5−143260号公報 特開2003−30251号公報
Therefore, a simulator for simulating a printer has been proposed. For example, Japanese Patent Laid-Open No. 5-143260 discloses a simulation apparatus including a printer hardware simulator unit that implements an external environment necessary for the operation of a printer controller as a software interface (Patent Document 1). Japanese Patent Laid-Open No. 2003-30251 discloses a simulation apparatus that constructs a virtual mechanism model on a computer instead of a mechanism apparatus (mechanism) and operates the virtual mechanism model by simulation calculation according to input data. (Patent Document 2).
JP-A-5-143260 JP 2003-30251 A

しかしながら、上記特開平5−143260号公報に記載されているシミュレーション装置は、印刷エンジンのシミュレータであるため機構装置であるメカ部分に関する動作は対象とされていない。よって、印刷エンジンと機構装置の双方をシミュレートする機能を備えた、より実機に近いシミュレーション装置が望まれる。   However, since the simulation apparatus described in the above-mentioned Japanese Patent Application Laid-Open No. 5-143260 is a simulator for a print engine, the operation relating to the mechanical part which is a mechanism apparatus is not targeted. Therefore, a simulation device closer to a real machine having a function of simulating both the print engine and the mechanism device is desired.

そこで、上記特開平5−143260号公報に記載されているような印刷エンジンのシミュレーション装置(以下、「エンジンシミュレータ」という)と、特開2003−30251号公報に記載されているような機構装置のシミュレーション装置(以下、「メカシミュレータ」という。)の双方の機能(ソフトウェア)を組み合わせることが提案される。しかし、ソフトウェアによるエンジンシミュレータとソフトウェアによるメカシミュレータとを単に組み合わせた場合には、以下に述べるような問題がある。   Therefore, a printing engine simulation device (hereinafter referred to as “engine simulator”) as described in Japanese Patent Laid-Open No. 5-143260 and a mechanism device as described in Japanese Patent Laid-Open No. 2003-30251 are disclosed. It is proposed to combine both functions (software) of a simulation apparatus (hereinafter referred to as “mechanical simulator”). However, when the engine simulator by software and the mechanical simulator by software are simply combined, there are the following problems.

シミュレータでは、実機のように画像データの印刷動作(例えばレーザビームの照射動作)は行われない。よって、プリンタコントローラが実機に送った画像データを検査するためには、シミュレータ側で、印刷媒体へ印刷する代わりに画像データを所定の記憶媒体に出力しておき、後で記憶媒体から画像データを読み出してこれを確認する作業が有効である。   In the simulator, the image data printing operation (for example, the laser beam irradiation operation) is not performed as in the actual machine. Therefore, in order to inspect the image data sent from the printer controller to the actual machine, the simulator side outputs the image data to a predetermined storage medium instead of printing it on the print medium, and later stores the image data from the storage medium. The work of reading and confirming this is effective.

しかし、例えばレーザプリンタのような場合、プリンタコントローラから実機へはレーザの走査タイミングに応じた水平同期信号(HSYNC:Horizontal Synchronizing Signal)に従って画像データが転送されるため、ソフトウェアによる実機の模擬動作では、この転送動作にあわせてリアルタイムに画像データを保存することは困難である。そのため、従来のシミュレータでは、プリンタコントローラが、実機と同じ転送動作で画像データの転送をシミュレーションすることはできても、その転送した画像データの内容を検査することができないという問題がある。   However, in the case of a laser printer, for example, image data is transferred from the printer controller to the actual machine according to a horizontal synchronization signal (HSYNC: Horizontal Synchronizing Signal) according to the laser scanning timing. It is difficult to store image data in real time in accordance with this transfer operation. Therefore, in the conventional simulator, there is a problem that even if the printer controller can simulate the transfer of the image data by the same transfer operation as that of the actual machine, the content of the transferred image data cannot be inspected.

また、シミュレータは、実機と同様のタイミングで印刷処理にかかわる信号を模擬的に発生させ、プリンタコントローラに通知する必要がある。しかし、シミュレータの模擬動作がソフトウェアによる制御に基づく場合、印刷処理にかかわる信号のうち高速に制御することが要求される信号(例えば上述した水平同期信号のような信号)については、シミュレータが、実機と同様のタイミングで当該信号を模擬的に発生してプリンタコントローラに通知することができないという問題がある。   In addition, the simulator must generate a signal related to the printing process at the same timing as the actual machine and notify the printer controller. However, when the simulation operation of the simulator is based on control by software, a signal that is required to be controlled at high speed among signals related to printing processing (for example, a signal such as the horizontal synchronization signal described above) There is a problem that the signal cannot be generated in a simulated manner and notified to the printer controller at the same timing.

また、ソフトウェアによるシミュレータでは、シミュレータとプリンタコントローラとの間の物理的な通信インタフェースの構成までカバーすることができない。そのため、プリンタコントローラ側のインタフェースは、シミュレータつまりソフトウェアを実装したコンピュータが備えるインタフェースに合わせる必要があり、実機と同様の構成でデバックを行うことができないという問題がある。   Further, a software simulator cannot cover the configuration of a physical communication interface between the simulator and the printer controller. Therefore, the interface on the printer controller side needs to be matched with the interface provided in the simulator, that is, the computer on which the software is installed, and there is a problem that debugging cannot be performed with the same configuration as the actual machine.

そこで、本発明は、より実機に近い動作を実現するプリンタシミュレータを提供することを目的とする。   Therefore, an object of the present invention is to provide a printer simulator that realizes an operation closer to a real machine.

具体的には、本発明は、プリンタコントローラから実機同様の転送動作で転送された画像データを確認することができるプリンタシミュレータを実現することを目的とする。   Specifically, an object of the present invention is to realize a printer simulator capable of confirming image data transferred from a printer controller by a transfer operation similar to a real machine.

また、本発明は、印刷処理にかかわる模擬信号をより実機に近いタイミングで発生することができるプリンタシミュレータを実現することを目的とする。   Another object of the present invention is to realize a printer simulator that can generate a simulation signal related to a printing process at a timing closer to a real machine.

また、本発明は、実機と同様のインタフェースでデータの送受信を行うことができるプリンタシミュレータを実現することを目的とする。   It is another object of the present invention to realize a printer simulator capable of transmitting and receiving data through an interface similar to that of a real machine.

上記課題を解決するための本発明は、以下の構成を備える。   The present invention for solving the above-described problems has the following configuration.

すなわち、本発明は、印刷エンジンと機構装置を備えるプリンタ実機の動作を模擬するシミュレータであって、コントローラから送信される信号に基づいて印刷処理を実行する印刷エンジンを模擬する印刷エンジンモデルを、第1の制御プログラムに基づく模擬処理により動作させる第1のシミュレータ(エンジンシミュレータ)と、印刷エンジンから入力される信号に基づいて印刷媒体への印刷を実行する機構装置を模擬する機構装置モデルを、第2の制御プログラムに基づく模擬計算により動作させる第2のシミュレータ(メカシミュレータ)と、前記コントローラと前記プリンタ実機との間の通信形式に従う信号を送受信するためのインタフェースを備える外部ハードウェアと、を備え、前記外部ハードウェアは、前記インタフェースを介して受信した信号を前記第1のシミュレータに出力し、前記第1のシミュレータは、前記出力された信号に基づく模擬処理により前記印刷エンジンモデルを動作させて所定の模擬信号を第2のシミュレータに出力し、前記第2のシミュレータは、前記出力された模擬信号に基づく模擬計算により前記機構装置モデルを動作させる。   That is, the present invention is a simulator for simulating the operation of an actual printer having a print engine and a mechanism device, and a print engine model for simulating a print engine that executes print processing based on a signal transmitted from a controller. A mechanism device model that simulates a first simulator (engine simulator) that is operated by simulation processing based on a control program 1 and a mechanism device that executes printing on a print medium based on a signal input from the print engine; A second simulator (mechanical simulator) that is operated by a simulation calculation based on the control program of No. 2, and external hardware that includes an interface for transmitting and receiving signals according to a communication format between the controller and the actual printer. The external hardware is the interface And the first simulator operates the print engine model by a simulation process based on the output signal and sends a predetermined simulation signal to the second simulator. The second simulator operates the mechanism device model by simulation calculation based on the output simulation signal.

当該構成によれば、コントローラは、コントローラとプリンタ実機との間の通信形式に従う信号を送受信するためのインタフェースを介してシミュレータとの間で信号を送受信することができるようになる。また、第1の制御プログラムや第2の制御プログラムを汎用のコンピュータに実装させた場合でも、実機と同様の信号を送受信することが可能になるので、質の高いデバックを行うことが可能になる。   According to this configuration, the controller can transmit and receive signals to and from the simulator via the interface for transmitting and receiving signals according to the communication format between the controller and the actual printer. Further, even when the first control program and the second control program are mounted on a general-purpose computer, it is possible to transmit and receive signals similar to those of an actual machine, so that high-quality debugging can be performed. .

また、前記インタフェースは、画像信号を転送するための第1の信号線と、制御信号を転送するための第2の信号線を備えることを特徴とする。   In addition, the interface includes a first signal line for transferring an image signal and a second signal line for transferring a control signal.

また、前記外部ハードウェア部は、前記コントローラが画像信号を転送するタイミングを制御するために前記プリンタ実機から前記コントローラへ送信される同期信号を模擬する第1の模擬同期信号を発生し、この発生した模擬同期信号を前記コントローラへ送信する発生回路を備えることを特徴とする。   The external hardware unit generates a first simulated synchronization signal that simulates a synchronization signal transmitted from the printer to the controller in order to control the timing at which the controller transfers the image signal. And a generation circuit for transmitting the simulated synchronization signal to the controller.

当該構成によれば、コントローラが画像信号を転送するタイミングを制御するためにプリンタ実機からコントローラへ送信される同期信号と同等の同期信号を発生させることができるようになるので、より実機に近いシミュレータを実現することが可能になる。   According to this configuration, a synchronization signal equivalent to the synchronization signal transmitted from the actual printer to the controller can be generated in order to control the timing at which the controller transfers the image signal. Can be realized.

さらにまた、前記発生回路は、前記第2のシミュレータより前記機構装置モデルの動作結果として出力される第2の模擬同期信号に応じて、前記第1の模擬同期信号を発生し前記コントローラへ送信することを特徴とする。   Furthermore, the generation circuit generates the first simulated synchronization signal according to a second simulated synchronization signal output as an operation result of the mechanism device model from the second simulator, and transmits the first simulated synchronization signal to the controller. It is characterized by that.

当該構成によれば、メカシミュレータの模擬動作に従って同期信号を発生させることができるので、印刷シーケンスの流れの中で実機に近い同期信号を発生させることが可能になる。   According to this configuration, since the synchronization signal can be generated according to the simulation operation of the mechanical simulator, it is possible to generate a synchronization signal close to the actual machine in the flow of the printing sequence.

また、前記外部ハードウェア部は、画像信号を記憶するためのメモリと、前記発生回路が送信した第1の模擬同期信号に従うタイミングで前記コントローラから転送される画像信号を前記メモリに記憶させる記憶回路と、を備えることを特徴とする
当該構成によれば、実機と同じ転送動作でシミュレータへ画像信号を転送することができるとともに、その転送した画像信号を記憶させることができるようになる。
The external hardware unit includes a memory for storing an image signal, and a storage circuit for storing in the memory an image signal transferred from the controller at a timing according to a first simulated synchronization signal transmitted by the generation circuit According to this configuration, the image signal can be transferred to the simulator by the same transfer operation as that of the actual machine, and the transferred image signal can be stored.

また、前記シミュレータは、画像信号に基づく画像を表示する表示装置と、前記メモリに記憶された画像信号を読み出して前記表示装置に表示させる表示回路とをさらに備えることを特徴とする。   The simulator may further include a display device that displays an image based on an image signal, and a display circuit that reads the image signal stored in the memory and displays the image signal on the display device.

当該構成によれば、実機と同じ転送動作で送られた画像信号を表示装置上で確認することができるようになる。   According to this configuration, the image signal transmitted by the same transfer operation as that of the actual device can be confirmed on the display device.

さらにまた、前記外部ハードウェア部は、タイマに基づく割り込み信号を発生し、この発生した割り込み信号を前記第1のシミュレータと前記第2のシミュレータのそれぞれに出力するタイマ発生回路を備え、前記第1のシミュレータは、前記出力されたタイマ割り込みに従って前記印刷エンジンモデルを動作させ、前記第2のシミュレータは、前記出力されたタイマ割り込みに従って前記機構装置モデルを動作させることを特徴とする。   Furthermore, the external hardware unit includes a timer generation circuit that generates an interrupt signal based on a timer and outputs the generated interrupt signal to each of the first simulator and the second simulator. The simulator operates the print engine model according to the output timer interrupt, and the second simulator operates the mechanism device model according to the output timer interrupt.

当該構成によれば、第1のシミュレータと第2のシミュレータの双方を実機と同様の実時間動作で模擬動作させることができるようになる。   According to this configuration, both the first simulator and the second simulator can be simulated by real time operation similar to that of a real machine.

また、本発明は、印刷エンジンと機構装置を備えるプリンタ実機を模擬するプリンタモデルをコンピュータ上で動作させるシミュレータであって、コントローラから送信される信号に基づいて印刷処理を実行する印刷エンジンを模擬する印刷エンジンモデルを動作させるための第1の制御プログラムと、印刷エンジンから入力される信号に基づいて印刷媒体への印刷を実行する機構装置を模擬する機構装置モデルを動作させるための第2の制御プログラムと、前記コントローラと前記プリンタ実機との間の通信形式に従う信号を送受信するためのインタフェースを備える外部ハードウェアと、を備え、前記第1の制御プログラムは、前記外部ハードウェアが前記インタフェースを介して受信した信号に基づいて前記印刷エンジンモデルを動作させて所定の駆動信号を第2の制御プログラムに供給する処理を前記コンピュータに実行させ、前記第2の制御プログラムは、前記供給された駆動信号に基づいて前記機構装置モデルを動作させる処理を前記コンピュータに実行させることを特徴とする。   Further, the present invention is a simulator for operating on a computer a printer model that simulates an actual printer having a print engine and a mechanism device, and simulates a print engine that executes a printing process based on a signal transmitted from a controller. A first control program for operating a print engine model and a second control for operating a mechanism device model that simulates a mechanism device that executes printing on a print medium based on a signal input from the print engine And an external hardware having an interface for transmitting and receiving a signal in accordance with a communication format between the controller and the actual printer. The first control program includes the external hardware via the interface. Operate the print engine model based on the received signal And causing the computer to execute a process of supplying a predetermined drive signal to the second control program, and the second control program performs a process of operating the mechanism device model based on the supplied drive signal. The computer is executed.

また、本発明は、制御プログラムを実行してプリンタ実機を制御するためのコントローラと、前記コントローラから送信される信号に基づいて前記プリンタ実機の動作を模擬するシミュレータと、を備えるシミュレーションシステムであって、前記シミュレータは、コントローラから送信される信号に基づいて印刷処理を実行する印刷エンジンを模擬する印刷エンジンモデルを、第1の制御プログラムに基づく模擬処理により動作させる第1のシミュレータと、印刷エンジンから入力される信号に基づいて印刷媒体への印刷を実行する機構装置を模擬する機構装置モデルを、第2の制御プログラムに基づく模擬計算により動作させる第2のシミュレータと、前記コントローラと前記プリンタ実機との間の通信形式に従う信号を送受信するためのインタフェースを備える外部ハードウェアと、を備え、前記外部ハードウェアは、前記インタフェースを介して受信した信号を前記第1のシミュレータに供給し、前記第1のシミュレータは、前記供給された信号に基づく模擬処理により前記印刷エンジンモデルを動作させて所定の駆動信号を第2のシミュレータに供給し、前記第2のシミュレータは、前記供給された駆動信号に基づく模擬計算により前記機構装置モデルを動作させることを特徴とする。   Further, the present invention is a simulation system comprising a controller for executing a control program to control an actual printer, and a simulator for simulating the operation of the actual printer based on a signal transmitted from the controller. The simulator includes: a first simulator that operates a print engine model that simulates a print engine that executes print processing based on a signal transmitted from a controller by simulation processing based on a first control program; and a print engine A second simulator for operating a mechanism device model for simulating a mechanism device that performs printing on a print medium based on an input signal by simulation calculation based on a second control program; the controller; To send and receive signals according to the communication format between External hardware including an interface, and the external hardware supplies a signal received via the interface to the first simulator, and the first simulator simulates based on the supplied signal. The print engine model is operated by processing to supply a predetermined drive signal to the second simulator, and the second simulator operates the mechanism device model by simulation calculation based on the supplied drive signal. Features.

本発明のシミュレータは、シミュレーションの方法としても成立する。そして、このシミュレーションの方法は、コンピュータにより実施することができるが、そのためのコンピュータプログラムは、CD−ROM、磁気ディスク、半導体メモリ及び通信ネットワークなどの各種の媒体を通じてコンピュータにインストールまたはロードすることができる。また、コンピュータプログラムが、プリンタ用カードやプリンタ用オプションボードに記録されて流通する場合も含む。   The simulator of the present invention is also established as a simulation method. This simulation method can be implemented by a computer, and a computer program therefor can be installed or loaded on the computer through various media such as a CD-ROM, a magnetic disk, a semiconductor memory, and a communication network. . It also includes the case where a computer program is recorded and distributed on a printer card or printer option board.

本発明によれば、より実機に近い動作を実現することができるプリンタシミュレータを提供することが可能になる。   According to the present invention, it is possible to provide a printer simulator capable of realizing an operation closer to a real machine.

(第1の実施形態)
(シミュレーション装置の構成)
まず、図1乃至図3を用いて、本発明の実施形態のプリンタシミュレータ(以下、「シミュレーション装置」という。)の構成について説明する。図1は、本発明の実施形態のシミュレーション装置のハードウェア構成を示すブロック図である。図2は、本発明の実施形態のシミュレーション装置における外部ハードウェア部の機能構成図を示すブロック図である。図3は、本発明の実施形態のシミュレーション装置におけるシミュレータ部の機能構成図を示すブロック図である。
(First embodiment)
(Configuration of simulation device)
First, the configuration of a printer simulator (hereinafter referred to as “simulation apparatus”) according to an embodiment of the present invention will be described with reference to FIGS. 1 to 3. FIG. 1 is a block diagram showing a hardware configuration of a simulation apparatus according to an embodiment of the present invention. FIG. 2 is a block diagram illustrating a functional configuration diagram of the external hardware unit in the simulation apparatus according to the embodiment of the present invention. FIG. 3 is a block diagram illustrating a functional configuration diagram of the simulator unit in the simulation apparatus according to the embodiment of the present invention.

図1に示すように、本実施形態のシミュレーションシステム100は、プリンタコントローラ1と、印刷エンジンと機構装置を備えるプリンタ実機の動作を模擬するシミュレーション装置2と、を備える。   As shown in FIG. 1, a simulation system 100 according to this embodiment includes a printer controller 1 and a simulation device 2 that simulates the operation of an actual printer that includes a print engine and a mechanism device.

プリンタコントローラ1は、CPU、ROM、RAM、ビデオインタフェース12を備え、プリンタエンジンを制御することにより所定の印刷処理を実行するためのものである。CPUは、ROMやRAM、外部の記憶媒体等に格納される所定のプログラムを実行することにより、印刷処理に必要な各種コマンド(例えば、印刷開始コマンドやステータス要求など)やラスタデータ(イメージデータ、印刷データともいう。)を、ビデオインタフェース12を介してシミュレーション装置2に送信する。   The printer controller 1 includes a CPU, a ROM, a RAM, and a video interface 12, and executes predetermined printing processing by controlling a printer engine. The CPU executes predetermined programs stored in a ROM, RAM, external storage medium, etc., thereby executing various commands (for example, a print start command and status request) necessary for print processing and raster data (image data, (Also referred to as print data) is transmitted to the simulation apparatus 2 via the video interface 12.

本実施形態にかかるプリンタコントローラ1は、レーザプリンタに使用されるものであると仮定し、以下、レーザプリンタに使用されるプリンタコントローラ1をデバックするためのシミュレーション装置について説明する。なお、プリンタコントローラ1の構成は、レーザプリンタに使用されるものに限られず、プリンタの仕様に応じたものを用いることができ、シミュレーション装置の構成も、プリンタコントローラ1の構成に対応して適宜変更することが可能である。   Assuming that the printer controller 1 according to the present embodiment is used for a laser printer, a simulation apparatus for debugging the printer controller 1 used for a laser printer will be described below. Note that the configuration of the printer controller 1 is not limited to that used for the laser printer, and a configuration according to the specifications of the printer can be used. The configuration of the simulation apparatus is also changed as appropriate according to the configuration of the printer controller 1. Is possible.

シミュレーション装置2は、プリンタ実機の動作をハードウェアによってシミュレーションするための外部ハードウェア部3と、プリンタ実機の動作を主にソフトウェア(プログラム)を用いてシミュレーションするシミュレータ部4を備える。なお、シミュレーション装置2における各処理は、プリンタ実機の動作を模擬するための処理(模擬処理)であり、シミュレーション装置2にて発生するデータはプリンタ実機にて発生するデータを模擬するためのデータ(模擬データ)として位置づけられる。   The simulation apparatus 2 includes an external hardware unit 3 for simulating the operation of the actual printer using hardware, and a simulator unit 4 for simulating the operation of the actual printer using mainly software (program). Each process in the simulation apparatus 2 is a process (simulation process) for simulating the operation of the actual printer, and data generated in the simulation apparatus 2 is data for simulating data generated in the actual printer ( (Simulated data).

外部ハードウェア部3は、制御回路部30、SDRAM(Synchronous Dynamic Random Access Memory)31、ビデオインタフェース32から構成される。外部ハードウェア部3は、プリンタコントローラ1とシミュレータ部4との間に介在するように設けられる。外部ハードウェア部3とプリンタコントローラ1は、それぞれのビデオインタフェース12、32を専用線を介して接続することにより通信を行う。外部ハードウェア部3とシミュレータ部は共通バス(例えばPCIバス)を介して通信を行う。   The external hardware unit 3 includes a control circuit unit 30, an SDRAM (Synchronous Dynamic Random Access Memory) 31, and a video interface 32. The external hardware unit 3 is provided so as to be interposed between the printer controller 1 and the simulator unit 4. The external hardware unit 3 and the printer controller 1 communicate with each other by connecting the video interfaces 12 and 32 via dedicated lines. The external hardware unit 3 and the simulator unit communicate via a common bus (for example, a PCI bus).

外部ハードウェア部3を、制御回路部30、SDRAM31およびビデオインタフェース32を備える拡張カード(例えばPCIカード)として構成することにより、汎用の処理装置を容易にシミュレータとして機能させることができる。   By configuring the external hardware unit 3 as an expansion card (for example, a PCI card) including the control circuit unit 30, SDRAM 31, and video interface 32, a general-purpose processing device can easily function as a simulator.

制御回路部30は、ソフトウェアによる実現が困難な処理をカバーするための専用回路であり、例えば、FPGA(Field Programmable Gate Array)が該当する。制御回路部30の機能は後述する。   The control circuit unit 30 is a dedicated circuit for covering a process that is difficult to realize by software, and corresponds to, for example, an FPGA (Field Programmable Gate Array). The function of the control circuit unit 30 will be described later.

SDRAMは、プリンタコントローラ1からビデオインタフェース12、32を介して送られたラスタデータを実機への転送速度と合わせて格納するためのメモリである。また、SDRAMに格納されたラスタデータは、実機に送られたデータの内容を確認するために読み出される。なお、メモリはSDRAMに限られず、仕様に応じたものを採用することができる。   The SDRAM is a memory for storing raster data sent from the printer controller 1 via the video interfaces 12 and 32 together with the transfer speed to the actual machine. The raster data stored in the SDRAM is read to confirm the contents of the data sent to the actual machine. Note that the memory is not limited to the SDRAM, and a memory according to the specification can be adopted.

ビデオインタフェース32は、プリンタコントローラ1とプリンタ実機との間の通信形式に従う信号を送受信するためのものである。ビデオインタフェース32は、たとえば、画像信号を転送するための第1の信号線と、制御信号(印刷開始コマンドやステータス)を転送するための第2の信号線と、割り込み信号を転送するための第3の信号線を含んで構成される。制御信号はシリアル通信、例えば、UART(Universal Asynchronous Receiver Transmitter)通信に従い転送される。   The video interface 32 is for transmitting and receiving signals in accordance with the communication format between the printer controller 1 and the actual printer. The video interface 32, for example, a first signal line for transferring an image signal, a second signal line for transferring a control signal (print start command or status), and a first signal line for transferring an interrupt signal. 3 signal lines. The control signal is transferred according to serial communication, for example, UART (Universal Asynchronous Receiver Transmitter) communication.

尚、ビデオインタフェース32は、実機にて使用されているインタフェースと同じ構成であることが前提であり、実機の仕様に応じたインタフェースを採用することができる。シミュレーション装置2側のビデオインタフェース32とプリントコントローラ1側のビデオインタフェース12とは、専用ケーブルによって接続される。   The video interface 32 is based on the premise that the video interface 32 has the same configuration as the interface used in the actual machine, and an interface according to the specifications of the actual machine can be adopted. The video interface 32 on the simulation apparatus 2 side and the video interface 12 on the print controller 1 side are connected by a dedicated cable.

次に、制御回路部30の詳細について説明する。   Next, details of the control circuit unit 30 will be described.

図2は、本発明の実施形態の外部ハードウェア部における制御回路部30の機能構成図を示すブロック図である。制御回路部30は、データ入出力部301と、画像データ入出力部302と、制御コマンド入力部303と、同期信号発生部304と、タイマ割込信号発生部305とを備える。   FIG. 2 is a block diagram illustrating a functional configuration diagram of the control circuit unit 30 in the external hardware unit according to the embodiment of the present invention. The control circuit unit 30 includes a data input / output unit 301, an image data input / output unit 302, a control command input unit 303, a synchronization signal generation unit 304, and a timer interrupt signal generation unit 305.

データ入出力部301は、ビデオインタフェース32を介してプリンタコントローラ1から送られる各種コマンド(印刷開始コマンドやステータス要求)を入力し、この入力した各種コマンドをシミュレータ部4に出力する。また、データ入出力部301は、シミュレータ部4から送られるステータス応答信号を入力し、このステータス応答信号をビデオインタフェース32を介してプリンタコントローラ1へ出力する。なお、データ入出力部301とプリンタコントローラ1は、ビデオインタフェース32の制御信号用の信号線を用いて各種コマンドやステータス応答信号を送受信する。   The data input / output unit 301 inputs various commands (print start command and status request) sent from the printer controller 1 via the video interface 32, and outputs the input various commands to the simulator unit 4. Further, the data input / output unit 301 receives a status response signal sent from the simulator unit 4 and outputs the status response signal to the printer controller 1 via the video interface 32. The data input / output unit 301 and the printer controller 1 transmit and receive various commands and status response signals using the signal lines for control signals of the video interface 32.

画像データ入出力部302は、ビデオインタフェース32を介してプリンタコントローラ1から送られるラスタデータ(画像データ)を入力し、この入力したラスタデータをSDRAM31に出力する(記憶させる)。画像データ入出力部302は、実機の印刷動作時における水平同期信号に合わせたクロック同期で高速にラスタデータをSDRAM31に格納することにより、実機の印刷動作に合わせたリアルタイムな保存を実現する。   The image data input / output unit 302 receives raster data (image data) sent from the printer controller 1 via the video interface 32, and outputs (stores) the input raster data to the SDRAM 31. The image data input / output unit 302 stores the raster data in the SDRAM 31 at high speed in synchronization with the horizontal synchronization signal during the printing operation of the actual machine, thereby realizing real-time storage in accordance with the printing operation of the actual machine.

また、画像データ入出力部302は、シミュレータ部4からの出力要求を受けとると、SDRAM31に格納されたラスタデータを読み出してシミュレータ部4に出力する(表示させる)。なお、画像データ入出力部302は、ビデオインタフェース32の画像信号用の信号線を用いて画像データをプリンタコントローラ1から受信する。   When the image data input / output unit 302 receives an output request from the simulator unit 4, the image data input / output unit 302 reads the raster data stored in the SDRAM 31 and outputs (displays) the raster data to the simulator unit 4. The image data input / output unit 302 receives image data from the printer controller 1 using a signal line for image signals of the video interface 32.

制御コマンド入力部303は、シミュレータ部4から送られる外部ハードウェア部3に対する制御コマンドを入力するためのものであり、入力された制御コマンドはI/Oレジスタに書き込まれる。外部ハードウェア部3に対する制御コマンドとしては、例えば、水平同期信号(HSYNC)や垂直同期信号(VSYNC)の発生を指示するための発生指示コマンドやタイマ割込信号を設定するためのタイマ設定コマンドなどが該当する。   The control command input unit 303 is for inputting a control command sent from the simulator unit 4 to the external hardware unit 3, and the input control command is written to the I / O register. Examples of control commands for the external hardware unit 3 include a generation instruction command for instructing generation of a horizontal synchronization signal (HSYNC) and a vertical synchronization signal (VSYNC), a timer setting command for setting a timer interrupt signal, and the like. Is applicable.

同期信号発生部304は、所定の間隔で制御コマンド入力部303のI/Oレジスタ内の発生指示コマンドが書き込まれる領域を参照する。発生指示コマンドが格納されている場合には、発生指示コマンドの値に応じて垂直同期信号(VSYNC)や水平同期信号(HSYNC)をプリンタ実機と同様の周期で発生させ、ビデオインタフェース32を介してプリンタコントローラ1へ出力する。垂直同期信号(VSYNC)は、発生指示コマンドに従い発生する。水平同期信号(HSYNC)は、発生指示コマンドをトリガとして設定周期毎に所定のライン数分発生する。水平同期信号の発生条件であるライン数や周期には、実機と同様のライン数や周期(例えば、200マイクロSEC)が設定されることが望ましい。   The synchronization signal generation unit 304 refers to an area in which generation instruction commands in the I / O register of the control command input unit 303 are written at predetermined intervals. When the generation instruction command is stored, the vertical synchronization signal (VSYNC) and the horizontal synchronization signal (HSYNC) are generated in the same cycle as the actual printer according to the value of the generation instruction command, and are transmitted via the video interface 32. Output to the printer controller 1. The vertical synchronization signal (VSYNC) is generated according to the generation instruction command. The horizontal synchronization signal (HSYNC) is generated for a predetermined number of lines every set period with a generation instruction command as a trigger. It is desirable to set the same number of lines and cycle (for example, 200 micro SEC) as the actual machine as the number of lines and cycle that are the generation conditions of the horizontal synchronization signal.

プリンタコントローラ1は、この同期信号発生部304から送られる水平同期信号や垂直同期信号に合わせてラスタデータをシミュレーション装置2へ送信する。このラスタデータは、プリンタエンジン(プリントタスク)を直接制御するためのものであり、プリンタエンジンの印刷プロセスをリアルタイムに制御するものである。また、送信されたラスタデータは、画像データ入出力部302によって水平同期信号に合わせたクロック同期でSDRAM31に出力される。   The printer controller 1 transmits raster data to the simulation apparatus 2 in accordance with the horizontal synchronization signal and the vertical synchronization signal sent from the synchronization signal generation unit 304. This raster data is for directly controlling the printer engine (print task), and controls the printing process of the printer engine in real time. The transmitted raster data is output to the SDRAM 31 by the image data input / output unit 302 with clock synchronization in accordance with the horizontal synchronization signal.

タイマ割込信号発生部305は、所定の間隔でI/Oレジスタ内のタイマ設定コマンドドが書き込まれる領域を参照する。タイマ設定コマンドが格納されている場合には、タイマ設定コマンドの値に応じてタイマ割り込みを発生させるとともに、発生した割り込み信号をシミュレータ部4(エンジンシミュレータ40およびメカシミュレータ50)へ送る。エンジンシミュレータ40およびメカシミュレータ50は、それぞれタイマ割り込みに従って処理を実行することにより、相互の同期を図る。   The timer interrupt signal generation unit 305 refers to an area where the timer setting command is written in the I / O register at a predetermined interval. When a timer setting command is stored, a timer interrupt is generated according to the value of the timer setting command, and the generated interrupt signal is sent to the simulator unit 4 (engine simulator 40 and mechanical simulator 50). The engine simulator 40 and the mechanical simulator 50 are synchronized with each other by executing processing in accordance with a timer interrupt.

次に、シミュレータ部4の機能について詳細に説明する。   Next, functions of the simulator unit 4 will be described in detail.

図3は、本発明の実施形態のシミュレーション装置におけるシミュレータ部の機能構成図を示すブロック図である。同図に示すように、シミュレータ部4は、コントローラから送信される信号に基づいて印刷処理を実行する印刷エンジンを模擬する印刷エンジンモデルを、第1の制御プログラムに基づく模擬処理により動作させる第1のシミュレータ(エンジンシミュレータ)40と、印刷エンジンから入力される信号に基づいて印刷媒体への印刷を実行する機構装置を模擬する機構装置モデルを、第2の制御プログラムに基づく模擬計算により動作させる第2のシミュレータ(メカシミュレータ)50とを備える。   FIG. 3 is a block diagram illustrating a functional configuration diagram of the simulator unit in the simulation apparatus according to the embodiment of the present invention. As shown in the figure, the simulator unit 4 operates a print engine model that simulates a print engine that executes a print process based on a signal transmitted from a controller by a simulation process based on a first control program. And a mechanism device model for simulating a mechanism device (engine simulator) 40 and a mechanism device that executes printing on a print medium based on a signal input from the print engine, by a simulation calculation based on a second control program. 2 simulator (mechanical simulator) 50.

エンジンシミュレータ40は、プリンタエンジンをシミュレートするプリンタエンジンモデルとして、プリンタコントローラ1との間ではプリンタ制御コマンドの受信、解析、ステータス応答などを行うとともに、メカシミュレータ50に対しては、メカ制御を行う。エンジンシミュレータ40は、通信タスク401、プリントタスク402、エンジン制御タスク403、エンジンステータス制御部404を含んで構成される。   The engine simulator 40 receives a printer control command from the printer controller 1 as a printer engine model for simulating the printer engine, analyzes it, performs status response, etc., and performs mechanical control on the mechanical simulator 50. . The engine simulator 40 includes a communication task 401, a print task 402, an engine control task 403, and an engine status control unit 404.

通信タスク401は、プリンタコントローラ1との間のシリアル通信を制御するためのものである。プリンタコントローラ1から送られるプリンタエンジンへのコマンドや、プリンタエンジンからコントローラ1へ送られるステータスは、実機と同様にシリアル通信にて行われる。   A communication task 401 is for controlling serial communication with the printer controller 1. Commands to the printer engine sent from the printer controller 1 and status sent from the printer engine to the controller 1 are performed by serial communication in the same manner as in the actual machine.

通信タスク401は、外部ハードウェア部3を介してプリンタコントローラ1からシリアルデータを受信すると、実機と同様に、当該シリアルデータ中のコマンドを解析する。当該コマンドが、エンジン情報の設定である場合は、エンジン設定を示すパラメータの値を更新する。また、当該コマンドが、ステータス要求である場合は、エンジンステータス制御部404からステータス情報を取得して、コントローラ1へ送信する。また、当該コマンドが印刷開始コマンドの場合には、これをプリントタスク402へ通知する。   When the communication task 401 receives serial data from the printer controller 1 via the external hardware unit 3, the communication task 401 analyzes a command in the serial data in the same manner as the actual machine. If the command is a setting of engine information, the parameter value indicating the engine setting is updated. If the command is a status request, status information is acquired from the engine status control unit 404 and transmitted to the controller 1. If the command is a print start command, this is notified to the print task 402.

プリントタスク402は、実機と同様に、外部ハードウェア部3を介してプリンタコントローラ1から印刷開始コマンドを受信することにより起動され、メカシミュレータ50を制御しながら印刷処理を行う。具体的には、通信タスク401から印刷開始が通知されると、エンジンステータス制御部404のステータスを「印刷中(Printing)」に設定する。そして、印刷開始設定処理として、メカシミュレータ50へ、印刷動作開始を指示する各種トリガ信号(モータ駆動信号やトナー制御信号)を発行する。このトリガ信号により、メカシミュレータ50ではメカ部の動作がシミュレーション(模擬動作)され、シミュレーション結果(センサ信号など)が送り返される。   The print task 402 is activated by receiving a print start command from the printer controller 1 via the external hardware unit 3 and performs a printing process while controlling the mechanical simulator 50 as in the case of the actual machine. Specifically, when the start of printing is notified from the communication task 401, the status of the engine status control unit 404 is set to “Printing”. Then, as the print start setting process, various trigger signals (motor drive signal and toner control signal) for instructing the start of the printing operation are issued to the mechanical simulator 50. With this trigger signal, the mechanical simulator 50 simulates the operation of the mechanical unit (simulation operation) and sends back a simulation result (sensor signal or the like).

プリントタスク402は、実機とほぼ同様に、メカシミュレータ50から送られる各種センサ信号に応じた処理を実行する。ただし、本実施形態のプリンタタスク402は、水平同期信号を受信した場合には、この水平同期信号に基づいて外部ハードウェア部3の同期信号発生部304が実機と同じ周期で水平同期信号を発生するように制御する点で、実機とは異なる。   The print task 402 executes processing corresponding to various sensor signals sent from the mechanical simulator 50, almost the same as the actual machine. However, when the printer task 402 of this embodiment receives a horizontal synchronization signal, the synchronization signal generation unit 304 of the external hardware unit 3 generates a horizontal synchronization signal at the same cycle as the actual machine based on the horizontal synchronization signal. It is different from the actual machine in that it is controlled to do so.

つまり、メカシミュレータ50から送られる水平同期信号は、ソフトウェア制御によるものであるため実機同様の信号ではない。そのため、本実施形態では、メカシミュレータ50が、センスした結果に基づいて水平同期信号を発生するものの、プリントタスク402は、この信号を受信すると、この発生した水平同期信号をトリガとして、実機レベルの水平同期信号を外部ハードウェア部3の同期信号発生部304に発生させるように制御している。   That is, the horizontal synchronization signal sent from the mechanical simulator 50 is not the same signal as the actual machine because it is based on software control. Therefore, in this embodiment, although the mechanical simulator 50 generates a horizontal synchronization signal based on the sensed result, when the print task 402 receives this signal, the generated horizontal synchronization signal is used as a trigger at the actual machine level. Control is performed so that the horizontal synchronization signal is generated by the synchronization signal generation unit 304 of the external hardware unit 3.

プリントタスク402は、メカシミュレータ50による印刷処理が終了すると、エンジンステータス制御部404のステータスを「待機中(Ready)」に設定する。また、メカシミュレータ50から「紙なし」を意味するセンサ信号を受信すると、エンジンステータス制御部404のステータスを「紙なし(Error)」に設定する。   When the printing process by the mechanical simulator 50 is completed, the print task 402 sets the status of the engine status control unit 404 to “Ready”. When a sensor signal indicating “no paper” is received from the mechanical simulator 50, the status of the engine status control unit 404 is set to “no paper (Error)”.

エンジン制御タスク403は、プリンタエンジンの初期化、ユーザインタフェースやメカシミュレータとの通信、エンジンステータス制御部404の情報の更新や信号処理を行う。エンジン制御タスク403は、ユーザインタフェースである入力手段から、SDRAMのイメージデータの読み出し要求が入力されると、制御回路部30に読み出し要求を出力する。そして、制御回路部30から読み出されたイメージデータに基づく画像をディスプレイなどの表示装置に出力する。   The engine control task 403 performs initialization of the printer engine, communication with a user interface and a mechanical simulator, update of information in the engine status control unit 404 and signal processing. The engine control task 403 outputs a read request to the control circuit unit 30 when a read request for SDRAM image data is input from an input unit that is a user interface. Then, an image based on the image data read from the control circuit unit 30 is output to a display device such as a display.

エンジンステータス制御部404は、プリンタエンジンのステータスを記録し管理するためのものである。通信タスク401やプリントタスク402などからの通知に応じて、ステータスの値(印刷中、待機中など)を更新する。また、通信タスク401やプリントタスク402などからの要求に応じて、現在のステータスを通知する。   The engine status control unit 404 is for recording and managing the status of the printer engine. In response to a notification from the communication task 401 or the print task 402, the status value (printing, waiting, etc.) is updated. Further, in response to a request from the communication task 401 or the print task 402, the current status is notified.

なお、上記各タスクは、外部ハードウェア部3から送られるタイマ割り込みに応じて動作する。また、上記各タスク等は、シミュレーション装置2内のROMやRAM、外部の記憶媒体等に格納されるエンジンシミュレーション用のプログラムをCPUが実行することにより機能的に実現される。   Each task operates in response to a timer interrupt sent from the external hardware unit 3. Each of the above tasks is functionally realized by the CPU executing a program for engine simulation stored in the ROM or RAM in the simulation apparatus 2 or an external storage medium.

次に、メカシミュレータ50は、プリンタコントローラ1およびエンジンシミュレータ40が制御対象とするプリンタのメカ(機構装置)に対応して仮想的に構築された仮想機構モデルを備える。仮想機構モデルの構築には既知の手法を用いることができるが、仮想機構モデルを実機により近づけるためには、実機のCADデータを利用して部品の動作定義を行うことが望ましい。   Next, the mechanical simulator 50 includes a virtual mechanism model that is virtually constructed corresponding to a printer mechanism (mechanism device) to be controlled by the printer controller 1 and the engine simulator 40. A known method can be used to construct the virtual mechanism model. However, in order to bring the virtual mechanism model closer to the actual machine, it is desirable to define the operation of the part using the CAD data of the actual machine.

メカシミュレータ50は、入出力手段501、演算処理手段502、描画処理手段503をおもに備える。入出力手段501は、エンジンシミュレータ40から送られる各種トリガ信号(モータ駆動信号やトナー制御信号)等の入力や、シミュレーション結果であるセンサ信号などの出力を行う。   The mechanical simulator 50 mainly includes an input / output unit 501, an arithmetic processing unit 502, and a drawing processing unit 503. The input / output means 501 inputs various trigger signals (motor drive signals and toner control signals) sent from the engine simulator 40, and outputs sensor signals as simulation results.

演算処理手段502は、シミュレーション装置2上に構築されている仮想機構モデルに対し、入出力手段501から入力されたトリガ信号を入力した場合のモデル定義に従ってモータの動きに対し各機構要素の動きを計算する演算処理を実行する。各機構要素には、センサも含まれ、このセンサが検出した情報は、実機同様に他の機構要素(部品)やプリントコントローラ1へ通知される。   The arithmetic processing unit 502 performs the movement of each mechanism element with respect to the movement of the motor in accordance with the model definition when the trigger signal input from the input / output unit 501 is input to the virtual mechanism model built on the simulation apparatus 2. Executes the calculation process to be calculated. Each mechanism element includes a sensor, and information detected by the sensor is notified to other mechanism elements (parts) and the print controller 1 as in the actual machine.

描画処理手段503は、演算処理手段502による演算結果にもとづいてディスプレイ(表示装置)上に機構モデルを出力するための描画処理を実行する。   The drawing processing unit 503 executes drawing processing for outputting the mechanism model on the display (display device) based on the calculation result by the calculation processing unit 502.

なお、上記各手段は、外部ハードウェア部3から送られるタイマ割り込みに応じて動作する。また、上記各手段は、シミュレーション装置2内のROMやRAM、外部の記憶媒体等に格納されるメカシミュレーション用のプログラムをCPUが実行することにより機能的に実現される。   Each of the above units operates in response to a timer interrupt sent from the external hardware unit 3. The above means are functionally realized by the CPU executing a mechanical simulation program stored in the ROM or RAM in the simulation apparatus 2, an external storage medium, or the like.

(シミュレーション装置における処理)
以下、図4乃至図5に示すフローチャートを参照して、プリンタコントローラ1をデバックした場合のシミュレーション装置2における処理について説明する。図4および図5は、本実施形態にかかるシミュレーション装置2の処理の流れを示すフローチャートである。なお、各工程(符号が付与されていない部分的な工程を含む)は処理内容に矛盾を生じない範囲で任意に順番を変更して又は並列に実行することができる。
(Processing in the simulation device)
Hereinafter, the processing in the simulation apparatus 2 when the printer controller 1 is debugged will be described with reference to the flowcharts shown in FIGS. 4 and 5 are flowcharts showing a processing flow of the simulation apparatus 2 according to the present embodiment. In addition, each process (including the partial process to which the code | symbol is not provided) can be arbitrarily changed in order within the range which does not produce contradiction in the processing content, or can be performed in parallel.

なお、ここでは、プリンタコントローラ1のデバック処理の一例として、プリンタコントローラ1がシミュレーション装置2を使用して印刷を行い、その後、紙なしエラーが通知された場合を例に説明する。   Here, as an example of the debugging process of the printer controller 1, a case where the printer controller 1 performs printing using the simulation apparatus 2 and then a paper out error is notified will be described as an example.

エンジンシミュレータ40及びメカシミュレータ50は、タイマ割り込みを設定するため、I/Oレジスタの所定の領域にタイマ設定コマンド及び割り込み許可コマンドを書き込む(S1)。   The engine simulator 40 and the mechanical simulator 50 write a timer setting command and an interrupt permission command in a predetermined area of the I / O register in order to set a timer interrupt (S1).

タイマ割込信号発生部305は、I/Oレジスタからタイマ設定コマンドを読み出すと、タイマ設定コマンドの値に従ってタイマ割り込みを発生させ、定期的にエンジンシミュレータ40とメカシミュレータ50に対してそれぞれタイマ割り込みをかける(S2)。   When the timer interrupt signal generator 305 reads the timer setting command from the I / O register, it generates a timer interrupt according to the value of the timer setting command, and periodically issues a timer interrupt to the engine simulator 40 and the mechanical simulator 50, respectively. (S2).

エンジンシミュレータ40とメカシミュレータ50は、それぞれタイマ割り込みに従って下記の動作を行う。これにより、エンジンシミュレータ40とメカシミュレータ50の同期を図りながら、メカシミュレータ50を実時間動作に近づけることができるようになる。   The engine simulator 40 and the mechanical simulator 50 each perform the following operation according to a timer interrupt. As a result, the mechanical simulator 50 can be brought close to real-time operation while the engine simulator 40 and the mechanical simulator 50 are synchronized.

プリンタコントローラ1は、印刷開始に先立ち、パラメータの設定コマンド(エンジン情報の設定)をシリアル通信により送信する(S3)。エンジンシミュレータ40の通信タスク401は、パラメータの設定コマンドを、実機と同様に、ビデオインタフェース32および制御回路部30を介して受信する(S4)。   Prior to the start of printing, the printer controller 1 transmits a parameter setting command (engine information setting) by serial communication (S3). The communication task 401 of the engine simulator 40 receives the parameter setting command via the video interface 32 and the control circuit unit 30 in the same manner as the actual machine (S4).

通信タスク401は、設定コマンドを受信すると、このコマンドを解析し、解析結果に応じた処理を実機と同様に実行する。具体的には、解析結果に従い、パラメータの値を更新する。またエンジンステータス制御部404よりステータスを取得して、制御回路部30およびビデオインタフェース32を介してプリンタコントローラ1へステータス応答信号を送り返す(S4)。   Upon receiving the setting command, the communication task 401 analyzes this command and executes a process according to the analysis result in the same manner as the actual machine. Specifically, the parameter value is updated according to the analysis result. The status is acquired from the engine status control unit 404, and a status response signal is sent back to the printer controller 1 via the control circuit unit 30 and the video interface 32 (S4).

ステータスを受信したプリンタコントローラ1は、次に、印刷開始コマンドをビデオインタフェース32および制御回路部30を介して送信する(S5)。   The printer controller 1 that has received the status next transmits a print start command via the video interface 32 and the control circuit unit 30 (S5).

通信タスク401は、設定コマンドを受信すると、コマンドを解析し、印刷開始コマンであると判断した場合は、プリントタスク402に通知する。プリントタスク402は、エンジンステータス制御部404のステータスを「印刷中」に変更する(S6)。   When the communication task 401 receives the setting command, the communication task 401 analyzes the command, and notifies the print task 402 when it is determined that the command is a print start command. The print task 402 changes the status of the engine status control unit 404 to “printing” (S6).

そして、プリントタスク402は、印刷開始処理を実行する(S7)。具体的には、プリントタスク402は、Hsyncモータ始動信号、給紙モータ始動信号および紙搬送モータ始動信号などのモータ始動信号を実機と同様にメカシミュレータ50に送信する。   Then, the print task 402 executes a print start process (S7). Specifically, the print task 402 transmits motor start signals such as an Hsync motor start signal, a paper feed motor start signal, and a paper transport motor start signal to the mechanical simulator 50 as in the actual machine.

メカシミュレータ50において、入出力手段501は各モータ始動信号を受信し、演算処理手段502が各モータ始動信号に基づく演算処理を実行する(S8)。例えば、演算処理手段502は、給紙モータ始動信号に基づく給紙動作や紙搬送モータ始動信号に基づく紙搬送動作を計算し、計算結果に基づく機構装置モデルの画像を描画処理手段503によってディスプレイに出力する。   In the mechanical simulator 50, the input / output means 501 receives each motor start signal, and the arithmetic processing means 502 executes arithmetic processing based on each motor start signal (S8). For example, the arithmetic processing unit 502 calculates a paper feed operation based on the paper feed motor start signal and a paper transport operation based on the paper transport motor start signal, and an image of the mechanism device model based on the calculation result is displayed on the display by the drawing processing unit 503. Output.

また、プリントタスク402は、印刷トナー位置制御信号をメカシミュレータ50に送信する(S9)。メカシミュレータ50は、入出力手段501によって印刷トナー位置制御信号を受信し、演算処理手段502によって受信した印刷トナー位置制御信号に基づくドラム回転動作を計算する(S10)。そして、この計算結果に対応したセンサからのセンサ信号(Vsync発生のトリガ信号)を、実機と同様にエンジンシミュレータ40に送り返す(S12)。   Also, the print task 402 transmits a print toner position control signal to the mechanical simulator 50 (S9). The mechanical simulator 50 receives the print toner position control signal by the input / output unit 501 and calculates a drum rotation operation based on the print toner position control signal received by the arithmetic processing unit 502 (S10). Then, a sensor signal (a trigger signal for generating Vsync) corresponding to the calculation result is sent back to the engine simulator 40 as in the actual machine (S12).

プリントタスク402は、Vsync発生のトリガ信号を受け取ると、当該Vsync発生のトリガ信号を制御回路部30に指示する(S13)。   Upon receiving the trigger signal for generating Vsync, the print task 402 instructs the trigger circuit for generating Vsync to the control circuit unit 30 (S13).

制御回路部30の制御コマンド入力部303は、Vsync発生のトリガ信号を受け取ると、これをI/Oレジスタの所定の領域に格納する。同期信号発生部304は、I/OレジスタからVsync発生のトリガ信号を読み出すと、Vsync信号とHsync信号を発生し、ビデオインタフェース32を介してプリンタコントローラ1に送出する(S14)。なお、Hsync信号は、設定周期毎に発生するものとし、また、設定ライン数分発生する。本実施形態では、実機と同じ周期およびライン数が設定されているものとする。   When receiving the trigger signal for generating Vsync, the control command input unit 303 of the control circuit unit 30 stores it in a predetermined area of the I / O register. When the synchronization signal generation unit 304 reads the trigger signal for Vsync generation from the I / O register, the synchronization signal generation unit 304 generates a Vsync signal and an Hsync signal and sends them to the printer controller 1 via the video interface 32 (S14). Note that the Hsync signal is generated every set cycle, and is generated for the number of set lines. In the present embodiment, it is assumed that the same cycle and the number of lines as the actual machine are set.

プリンタコントローラ1は、制御回路部30から実機と同様の周期で送られるHsync信号に同期して、RAMなどに格納されたラスタデータを、ビデオインタフェース12を介してシミュレーション装置2に送る(S15)。   The printer controller 1 sends the raster data stored in the RAM or the like to the simulation apparatus 2 via the video interface 12 in synchronization with the Hsync signal sent from the control circuit unit 30 in the same cycle as the actual machine (S15).

外部ハードウェア部3の制御回路部30(画像データ入出力部302)は、ビデオインタフェース32を介してHsync信号に同期して送られるラスタデータを受信し、このラスタデータをHsync信号に合わせたクロック同期でSDRAMに格納する(S16)。   The control circuit unit 30 (image data input / output unit 302) of the external hardware unit 3 receives raster data sent in synchronization with the Hsync signal via the video interface 32, and a clock in which the raster data is matched with the Hsync signal. The data is stored in the SDRAM synchronously (S16).

そして、プリンタコントローラ1とシミュレーション装置2は、S9からS16までの処理を、プリントコントローラ1から1ページ分のラスタデータが送られるまで繰り返す。   Then, the printer controller 1 and the simulation apparatus 2 repeat the processing from S9 to S16 until raster data for one page is sent from the print controller 1.

プリントタスク402は、1ページ分のラスタデータの処理が終了すると、排紙用モータ始動信号をメカシミュレータ50へ送信する(S17)。   When the print task 402 finishes processing the raster data for one page, it sends a paper discharge motor start signal to the mechanical simulator 50 (S17).

メカシミュレータ50は、入出力手段501によって排紙用モータ始動信号を受信し、演算処理手段502によって受信した排紙用モータ始動信号に基づく演算処理(排紙動作)を実行する(S18)。そして、計算結果を描画処理手段503によってディスプレイに出力する。   The mechanical simulator 50 receives the paper discharge motor start signal by the input / output means 501 and executes a calculation process (paper discharge operation) based on the paper discharge motor start signal received by the arithmetic processing means 502 (S18). The calculation result is output to the display by the drawing processing means 503.

プリンタコントローラ1が、シリアル通信にてステータス要求を送ると(S19)、通信タスク401は、ステータスの応答処理を行う(S20)。ここでは、エンジンステータス制御部404のステータスに「Ready」が設定されているので、実機と同様に、その値をステータス応答信号としてシリアル通信にて返信する。なお、ステータスは、エンジンシミュレータ40が印刷及び排紙を終了すると、所定タイミングでステータスを「Ready」に変更したものとする。   When the printer controller 1 sends a status request by serial communication (S19), the communication task 401 performs status response processing (S20). Here, since “Ready” is set as the status of the engine status control unit 404, the value is returned as a status response signal by serial communication, as in the case of the actual machine. It is assumed that the status is changed to “Ready” at a predetermined timing when the engine simulator 40 finishes printing and paper discharge.

ここで、メカシミュレータ50の演算処理手段502において、センサが「紙なし」を検出すると、「紙なし」を示すセンサ信号がエンジンシミュレータ40のプリントタスク402へ通知される(S21)。   Here, when the sensor detects "no paper" in the arithmetic processing means 502 of the mechanical simulator 50, a sensor signal indicating "no paper" is notified to the print task 402 of the engine simulator 40 (S21).

プリントタスク402は、「紙なし」を示すセンサ信号を受信すると、エンジンステータス制御部404のステータスを「紙なし」に更新する(S22)。   Upon receiving the sensor signal indicating “no paper”, the print task 402 updates the status of the engine status control unit 404 to “no paper” (S22).

その後、プリンタコントローラ1が、ステータス要求を送ると(S23)、通信タスク401は、ステータスの応答処理を行う(S24)。ここでは、ステータスに「紙なし」が設定されているので、その値をステータス応答信号として返信する。   Thereafter, when the printer controller 1 sends a status request (S23), the communication task 401 performs status response processing (S24). Here, since “no paper” is set as the status, the value is returned as a status response signal.

プリンタコントローラ1は、ステータス応答信号を受信すると、ステータスの値を解析し、紙なしの場合には、例えば用紙を補給するメッセージ等を表示装置に出力する処理を行う。   When the printer controller 1 receives the status response signal, the printer controller 1 analyzes the status value, and when there is no paper, performs processing to output a message for supplying paper, for example, to the display device.

また、印刷のシミュレーションがひととおり終わると、デバック担当者は、ラスタデータの検査を行うために、ラスタデータの確認要求をユーザインタフェースより指示する。エンジンシミュレータ40は、ユーザインタフェースを介してラスタデータの確認要求が入力されると、ラスタデータの読み出し要求を外部ハードウェア部3の制御回路部30に送信する(S25)。   When the printing simulation is completed, the person in charge of debugging instructs a check request for raster data from the user interface in order to inspect the raster data. When the raster data confirmation request is input via the user interface, the engine simulator 40 transmits a raster data read request to the control circuit unit 30 of the external hardware unit 3 (S25).

制御回路部30は、画像データ入出力部302を介してラスタデータの読み出し要求が入力されると、SDRAM31からラスタデータを読み出して、読み出したラスタデータをエンジンシミュレータ40に送信する(S26)。   When the raster data read request is input via the image data input / output unit 302, the control circuit unit 30 reads the raster data from the SDRAM 31 and transmits the read raster data to the engine simulator 40 (S26).

エンジンシミュレータ40は、送信されたラスタデータを画像としてディスプレイに表示する(S27)。   The engine simulator 40 displays the transmitted raster data as an image on the display (S27).

上記実施形態の構成によれば、一度のデバック作業で、実機(シミュレーション装置2)へ送信したラスタデータを確認することができるとともに、実機の印刷動作(レーザー照射)に合わせて格納したラスタデータを確認することが可能になる。   According to the configuration of the above embodiment, the raster data transmitted to the actual machine (simulation apparatus 2) can be confirmed by one debugging operation, and the raster data stored in accordance with the printing operation (laser irradiation) of the actual machine is stored. It becomes possible to confirm.

なお、印刷動作中に所定のエラー(例えば紙ジャム)が発生することを想定したデバックを行う場合には、印刷開始後エラーが発生した時点までのラスタデータがSDRAM31に格納されていることになる。よって、エラー発生時点でのラスタデータを確認することができるようになる。   When debugging is performed assuming that a predetermined error (for example, paper jam) occurs during the printing operation, raster data up to the time when the error has occurred after the start of printing is stored in the SDRAM 31. . Therefore, the raster data at the time of error occurrence can be confirmed.

また、ラスタデータの保存は外部ハードウェア部3にて行い、メカの印刷動作に関するシミュレーションはシミュレータ部4にて行う構成であるので、実機の場合には不要であるラスタデータの保存処理が、印刷動作に関するシミュレーションに影響を与えることを回避することができる。   In addition, since the raster data is stored in the external hardware unit 3 and the simulation relating to the printing operation of the mechanism is performed in the simulator unit 4, the raster data storage process which is unnecessary in the case of an actual machine is printed. It is possible to avoid affecting the simulation related to the operation.

また、上記実施形態によれば、シミュレーション装置2に実機と同様のビデオインタフェースを設ける構成としたので、プリンタコントローラ側のインタフェースを、シミュレーション装置(汎用のコンピュータ)が備える一般的なインタフェースに合わせる必要がなくなる。   Further, according to the above embodiment, since the simulation apparatus 2 is provided with the same video interface as that of the actual machine, it is necessary to match the interface on the printer controller side with a general interface provided in the simulation apparatus (general-purpose computer). Disappear.

(その他の実施形態)
本発明は上記各実施形態に限定されることなく、種々に変形して適用することが可能である。
(1)例えば、上記実施形態では、エンジンシミュレータ30とメカシミュレータ50とを組み合わせた場合について説明したが、シミュレータ部4をエンジンシミュレータ30単体としてもよいし、シミュレータ部4をメカシミュレータ50単体で構成してもよい。
(Other embodiments)
The present invention is not limited to the above-described embodiments, and can be variously modified and applied.
(1) For example, in the above-described embodiment, the case where the engine simulator 30 and the mechanical simulator 50 are combined has been described. However, the simulator unit 4 may be the engine simulator 30 alone, or the simulator unit 4 is configured by the mechanical simulator 50 alone. May be.

シミュレータ部4をエンジンシミュレータ30単体とした場合には、メカシミュレータ50からのセンサ信号は入力されないので、エンジンシミュレータ30に、所定のタイミングでセンサ信号を発生させる手段を設ける構成や、ユーザインタフェースからセンサ信号を入力させる構成を採用すればよい。同期信号のトリガとなるセンサ信号が入力された場合には、上記実施形態と同様に、エンジンシミュレータ30は、外部ハードウェア部3にてHSYNCやVSYNCを発生させるように制御する。   When the simulator unit 4 is the engine simulator 30 alone, the sensor signal from the mechanical simulator 50 is not input. Therefore, the engine simulator 30 is provided with means for generating a sensor signal at a predetermined timing, or the sensor is detected from the user interface. A configuration for inputting a signal may be employed. When a sensor signal serving as a trigger for the synchronization signal is input, the engine simulator 30 controls the external hardware unit 3 to generate HSYNC and VSYNC as in the above embodiment.

この構成によれば、シミュレータ部4をエンジンシミュレータ30単体とし、メカ部のシミュレータを用いない場合であっても、実機と同様の周波数でHSYNCやVSYNCを発生させることができるようになるので、プリンタエンジンにかかるシミュレータの性能をより向上させることが可能になる。
(2)上記実施形態の外部ハードウェア部3は、ビデオインタフェース32、ラスタデータのSDRAMへの保存と読み出し、水平同期信号および垂直同期信号の発生、タイマ割り込み等の機能を備えているが、いずれの機能を備えるかは仕様に応じて決定することができる。また、仕様に応じて新たな機能を追加または変更することも可能である。
According to this configuration, even if the simulator unit 4 is the engine simulator 30 alone and the mechanical unit simulator is not used, HSYNC and VSYNC can be generated at the same frequency as the actual machine. It becomes possible to further improve the performance of the simulator applied to the engine.
(2) The external hardware unit 3 of the above embodiment has functions such as a video interface 32, storage and reading of raster data to and from the SDRAM, generation of horizontal and vertical synchronization signals, timer interruption, etc. It can be determined according to the specification whether the function is provided. It is also possible to add or change new functions according to the specifications.

シミュレーション装置のハードウェア構成を示すブロック図である。It is a block diagram which shows the hardware constitutions of a simulation apparatus. 外部ハードウェア部の機能構成図を示すブロック図である。It is a block diagram which shows the function block diagram of an external hardware part. シミュレータ部の機能構成図を示すブロック図である。It is a block diagram which shows the function block diagram of a simulator part. シミュレーション装置の処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a process of a simulation apparatus. シミュレーション装置の処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a process of a simulation apparatus.

符号の説明Explanation of symbols

1 プリンタコントローラ、 2 シミュレーション装置、 3 外部ハードウェア部3、 4 シミュレータ部、 12 ビデオインタフェース、 30 制御回路部、 31 SDRAM、 32 ビデオインタフェース
DESCRIPTION OF SYMBOLS 1 Printer controller, 2 Simulation apparatus, 3 External hardware part 3, 4 Simulator part, 12 Video interface, 30 Control circuit part, 31 SDRAM, 32 Video interface

Claims (9)

印刷エンジンと機構装置を備えるプリンタ実機の動作を模擬するシミュレータであって、
コントローラから送信される信号に基づいて印刷処理を実行する印刷エンジンを模擬する印刷エンジンモデルを、第1の制御プログラムに基づく模擬処理により動作させる第1のシミュレータと、
印刷エンジンから入力される信号に基づいて印刷媒体への印刷を実行する機構装置を模擬する機構装置モデルを、第2の制御プログラムに基づく模擬計算により動作させる第2のシミュレータと、
前記コントローラと前記プリンタ実機との間の通信形式に従う信号を送受信するためのインタフェースを備える外部ハードウェアと、を備え、
前記外部ハードウェアは、前記インタフェースを介して受信した信号を前記第1のシミュレータに出力し、前記第1のシミュレータは、前記出力された信号に基づく模擬処理により前記印刷エンジンモデルを動作させて所定の模擬信号を第2のシミュレータに出力し、前記第2のシミュレータは、前記出力された模擬信号に基づく模擬計算により前記機構装置モデルを動作させることを特徴とするシミュレータ。
A simulator for simulating the operation of a printer having a print engine and a mechanism device,
A first simulator for operating a print engine model that simulates a print engine that executes a print process based on a signal transmitted from a controller by a simulation process based on a first control program;
A second simulator for operating a mechanism device model for simulating a mechanism device that executes printing on a print medium based on a signal input from a print engine by simulation calculation based on a second control program;
External hardware including an interface for transmitting and receiving signals in accordance with a communication format between the controller and the actual printer,
The external hardware outputs a signal received via the interface to the first simulator, and the first simulator operates the print engine model by a simulation process based on the output signal and performs predetermined processing. The simulation signal is output to a second simulator, and the second simulator operates the mechanism device model by simulation calculation based on the output simulation signal.
前記インタフェースは、画像信号を転送するための第1の信号線と、制御信号を転送するための第2の信号線を備えることを特徴とする請求項1に記載のシミュレータ。 2. The simulator according to claim 1, wherein the interface includes a first signal line for transferring an image signal and a second signal line for transferring a control signal. 前記外部ハードウェア部は、
前記コントローラが画像信号を転送するタイミングを制御するために前記プリンタ実機から前記コントローラへ送信される同期信号を模擬する第1の模擬同期信号を発生し、この発生した模擬同期信号を前記コントローラへ送信する発生回路を備えることを特徴とする請求項1または2記載のシミュレータ。
The external hardware unit is
In order to control the timing at which the controller transfers the image signal, a first simulated synchronization signal that simulates the synchronization signal transmitted from the printer to the controller is generated, and the generated simulated synchronization signal is transmitted to the controller. The simulator according to claim 1, further comprising a generation circuit that performs the operation.
前記発生回路は、
前記第2のシミュレータより前記機構装置モデルの動作結果として出力される第2の模擬同期信号に応じて、前記第1の模擬同期信号を発生し前記コントローラへ送信することを特徴とする請求項3記載のシミュレータ。
The generation circuit includes:
4. The first simulated synchronization signal is generated and transmitted to the controller in accordance with a second simulated synchronization signal output as an operation result of the mechanism device model from the second simulator. The simulator described.
前記外部ハードウェア部は、
画像信号を記憶するためのメモリと、
前記発生回路が送信した第1の模擬同期信号に従うタイミングで前記コントローラから転送される画像信号を前記メモリに記憶させる記憶回路と、
を備えることを特徴とする請求項3または4記載のシミュレータ。
The external hardware unit is
A memory for storing image signals;
A storage circuit for storing in the memory an image signal transferred from the controller at a timing according to a first simulated synchronization signal transmitted by the generation circuit;
The simulator according to claim 3 or 4, further comprising:
前記シミュレータは、
画像信号に基づく画像を表示する表示装置と、
前記メモリに記憶された画像信号を読み出して前記表示装置に表示させる表示回路と
をさらに備えることを特徴とする請求項5記載のシミュレータ。
The simulator
A display device for displaying an image based on an image signal;
6. The simulator according to claim 5, further comprising a display circuit that reads an image signal stored in the memory and displays the image signal on the display device.
前記外部ハードウェア部は、
タイマに基づく割り込み信号を発生し、この発生した割り込み信号を前記第1のシミュレータと前記第2のシミュレータのそれぞれに出力するタイマ発生回路を備え、
前記第1のシミュレータは、前記出力されたタイマ割り込みに従って前記印刷エンジンモデルを動作させ、前記第2のシミュレータは、前記出力されたタイマ割り込みに従って前記機構装置モデルを動作させることを特徴とする請求項1乃至6いずれか1項記載のシミュレータ。
The external hardware unit is
A timer generation circuit for generating an interrupt signal based on a timer and outputting the generated interrupt signal to each of the first simulator and the second simulator;
The first simulator operates the print engine model according to the output timer interrupt, and the second simulator operates the mechanism device model according to the output timer interrupt. The simulator according to any one of 1 to 6.
印刷エンジンと機構装置を備えるプリンタ実機を模擬するプリンタモデルをコンピュータ上で動作させるシミュレータであって、
コントローラから送信される信号に基づいて印刷処理を実行する印刷エンジンを模擬する印刷エンジンモデルを動作させるための第1の制御プログラムと、
印刷エンジンから入力される信号に基づいて印刷媒体への印刷を実行する機構装置を模擬する機構装置モデルを動作させるための第2の制御プログラムと、
前記コントローラと前記プリンタ実機との間の通信形式に従う信号を送受信するためのインタフェースを備える外部ハードウェアと、を備え、
前記第1の制御プログラムは、前記外部ハードウェアが前記インタフェースを介して受信した信号に基づいて前記印刷エンジンモデルを動作させて所定の駆動信号を第2の制御プログラムに供給する処理を前記コンピュータに実行させ、
前記第2の制御プログラムは、前記供給された駆動信号に基づいて前記機構装置モデルを動作させる処理を前記コンピュータに実行させることを特徴とするシミュレータ。
A simulator for operating on a computer a printer model that simulates an actual printer having a print engine and a mechanism device,
A first control program for operating a print engine model that simulates a print engine that executes print processing based on a signal transmitted from a controller;
A second control program for operating a mechanism device model that simulates a mechanism device that executes printing on a print medium based on a signal input from a print engine;
External hardware including an interface for transmitting and receiving signals in accordance with a communication format between the controller and the actual printer,
The first control program causes the computer to execute a process of operating the print engine model based on a signal received by the external hardware via the interface and supplying a predetermined drive signal to the second control program. Let it run
The second control program causes the computer to execute processing for operating the mechanism device model based on the supplied drive signal.
制御プログラムを実行してプリンタ実機を制御するためのコントローラと、
前記コントローラから送信される信号に基づいて前記プリンタ実機の動作を模擬するシミュレータと、を備えるシミュレーションシステムであって、
前記シミュレータは、
コントローラから送信される信号に基づいて印刷処理を実行する印刷エンジンを模擬する印刷エンジンモデルを、第1の制御プログラムに基づく模擬処理により動作させる第1のシミュレータと、
印刷エンジンから入力される信号に基づいて印刷媒体への印刷を実行する機構装置を模擬する機構装置モデルを、第2の制御プログラムに基づく模擬計算により動作させる第2のシミュレータと、
前記コントローラと前記プリンタ実機との間の通信形式に従う信号を送受信するためのインタフェースを備える外部ハードウェアと、を備え、
前記外部ハードウェアは、前記インタフェースを介して受信した信号を前記第1のシミュレータに供給し、前記第1のシミュレータは、前記供給された信号に基づく模擬処理により前記印刷エンジンモデルを動作させて所定の駆動信号を第2のシミュレータに供給し、前記第2のシミュレータは、前記供給された駆動信号に基づく模擬計算により前記機構装置モデルを動作させることを特徴とするシミュレーションシステム。

A controller for executing the control program to control the actual printer,
A simulator for simulating the operation of the actual printer based on a signal transmitted from the controller,
The simulator
A first simulator for operating a print engine model that simulates a print engine that executes a print process based on a signal transmitted from a controller by a simulation process based on a first control program;
A second simulator for operating a mechanism device model for simulating a mechanism device that executes printing on a print medium based on a signal input from a print engine by simulation calculation based on a second control program;
External hardware including an interface for transmitting and receiving signals in accordance with a communication format between the controller and the actual printer,
The external hardware supplies a signal received via the interface to the first simulator, and the first simulator operates the print engine model by a simulation process based on the supplied signal and performs predetermined processing. The driving signal is supplied to a second simulator, and the second simulator operates the mechanism device model by simulation calculation based on the supplied driving signal.

JP2003396023A 2003-11-26 2003-11-26 Printer simulator and printer simulation method Expired - Fee Related JP4341387B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003396023A JP4341387B2 (en) 2003-11-26 2003-11-26 Printer simulator and printer simulation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003396023A JP4341387B2 (en) 2003-11-26 2003-11-26 Printer simulator and printer simulation method

Publications (2)

Publication Number Publication Date
JP2005157791A true JP2005157791A (en) 2005-06-16
JP4341387B2 JP4341387B2 (en) 2009-10-07

Family

ID=34721636

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003396023A Expired - Fee Related JP4341387B2 (en) 2003-11-26 2003-11-26 Printer simulator and printer simulation method

Country Status (1)

Country Link
JP (1) JP4341387B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008041056A (en) * 2006-08-10 2008-02-21 Ricoh Co Ltd Software operation confirmation method, information processing system and information processor
JP2010170339A (en) * 2009-01-22 2010-08-05 Canon Inc Information processor, information processing system, and control method therefor
JP2011164859A (en) * 2010-02-08 2011-08-25 Ricoh Co Ltd Simulator apparatus and simulator program
US8189210B2 (en) 2008-02-05 2012-05-29 Dot Gain Ltd. Method and system for simulating the operation of an image conversion device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008041056A (en) * 2006-08-10 2008-02-21 Ricoh Co Ltd Software operation confirmation method, information processing system and information processor
US8189210B2 (en) 2008-02-05 2012-05-29 Dot Gain Ltd. Method and system for simulating the operation of an image conversion device
JP2010170339A (en) * 2009-01-22 2010-08-05 Canon Inc Information processor, information processing system, and control method therefor
JP2011164859A (en) * 2010-02-08 2011-08-25 Ricoh Co Ltd Simulator apparatus and simulator program

Also Published As

Publication number Publication date
JP4341387B2 (en) 2009-10-07

Similar Documents

Publication Publication Date Title
JP2008268971A (en) Method and display system for updating image frame on display screen
JP2013097436A (en) Error detection method, information processing circuit and program for error detection
JP4341387B2 (en) Printer simulator and printer simulation method
JP2008226207A (en) Simulation device
JP4875545B2 (en) Simulation synchronization apparatus and control method thereof
JP2007079077A (en) Timing controller and image display device
JP2010033192A (en) Information processor, method of controlling the same, computer program, and storage medium
JP2015215684A (en) Information processing apparatus and information processing program
JP2002300226A (en) Device and program for preparing communication program and computer readable recording medium with the same recorded thereon
JP2003280620A5 (en)
JP2007060096A (en) Printer
JP2009223762A (en) Cooperation verification device
WO2023119524A1 (en) Simulation program, simulation method, and simulation device
JP2011081560A (en) System level simulation method and device
JP2002007483A (en) Device and method for scanner simulator
JP2908337B2 (en) VHDL simulation execution system for multi-process
JP3017355B2 (en) Printing equipment
JP2004139223A (en) Printing system
JP2000020275A (en) Printer
JP2020013243A (en) Verification device, verification method and verification program
JP2015034891A (en) Register setting control device
JPH07152509A (en) Printing device control part
JPH04125591A (en) Image processor
JP2008272987A (en) Image processor, image forming device, and image forming system
JPH09190304A (en) Image formation method, image formation controller and image formation system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20061019

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090107

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090306

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: 20090616

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20090629

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120717

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120717

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130717

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees