Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP4890170B2 - Image forming apparatus and charging system for image forming apparatus - Google Patents
[go: Go Back, main page]

JP4890170B2 - Image forming apparatus and charging system for image forming apparatus - Google Patents

Image forming apparatus and charging system for image forming apparatus Download PDF

Info

Publication number
JP4890170B2
JP4890170B2 JP2006251099A JP2006251099A JP4890170B2 JP 4890170 B2 JP4890170 B2 JP 4890170B2 JP 2006251099 A JP2006251099 A JP 2006251099A JP 2006251099 A JP2006251099 A JP 2006251099A JP 4890170 B2 JP4890170 B2 JP 4890170B2
Authority
JP
Japan
Prior art keywords
storage
address
image forming
forming apparatus
area
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.)
Expired - Fee Related
Application number
JP2006251099A
Other languages
Japanese (ja)
Other versions
JP2008070771A (en
Inventor
政伸 阿部
Original Assignee
株式会社沖データ
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 株式会社沖データ filed Critical 株式会社沖データ
Priority to JP2006251099A priority Critical patent/JP4890170B2/en
Publication of JP2008070771A publication Critical patent/JP2008070771A/en
Application granted granted Critical
Publication of JP4890170B2 publication Critical patent/JP4890170B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Control Or Security For Electrophotography (AREA)

Description

本発明は寿命カウント値や統計カウント値などの管理データを不揮発性メモリなどの記憶装置に記憶しながらトナーや感光ドラムなどの消耗品の管理を行なう画像形成装置、及び管理データを利用しながら所要の課金を行なう画像形成装置の課金システムに関する。   The present invention provides an image forming apparatus that manages consumables such as toner and a photosensitive drum while storing management data such as a life count value and a statistical count value in a storage device such as a nonvolatile memory, and is required while using the management data. The present invention relates to a charging system for an image forming apparatus that performs the above charging.

電子写真プリンタ等の画像記録装置では、有機薄膜等の感光体を有する感光体ドラムを帯電させ、この感光体ドラムの表面にLED等によって発生した記録光を照射して静電潜像を形成した後、感光体ドラムにトナーを付着させて静電潜像を現像し、現像によって形成されたトナー像を用紙に転写し、さらに、熱を加えながら転写したトナー像と用紙を圧着して用紙にトナー像を定着させるようになっている。このような電子写真プリンタ等では、トナーの補充あるいは交換の利便性を考えて、所定量のトナーを現像器内の所定の部分(ホッパ部)に収容しておくようになっている。 In an image recording apparatus such as an electrophotographic printer, a photosensitive drum having a photosensitive member such as an organic thin film is charged, and an electrostatic latent image is formed by irradiating the surface of the photosensitive drum with recording light generated by an LED or the like. After that, the toner is attached to the photosensitive drum to develop the electrostatic latent image, the toner image formed by the development is transferred to the paper, and the transferred toner image and the paper are pressure-bonded to the paper while applying heat. The toner image is fixed. In such an electrophotographic printer or the like, a predetermined amount of toner is accommodated in a predetermined portion (hopper) in the developing device in consideration of the convenience of replenishment or replacement of toner.

現像剤であるトナーが無くなれば印刷を行うことができないため、収容しているトナーを全て消費したときには現像器の寿命であるが、トナーがある程度残っていてもその残量が所定の量以下になったときには、印刷された画像がかすれたり、非印刷部分に対してもトナーが付着したりして印刷品位が極端に低下するため、実質的に現像器の寿命となってしまう。 Since printing cannot be performed when the toner that is the developer is used up, the life of the developing device is reached when all the stored toner is consumed, but even if some toner remains, the remaining amount remains below a predetermined amount. When this happens, the printed image becomes faint or the toner adheres to the non-printed portion and the print quality is extremely lowered, so that the life of the developing device is substantially reached.

このため、従来の電子写真プリンタ等では、トナーの残り量を検出し、トナーの残量が所定量以下となったときに、警告音,警告表示等によって警告を発するようにしており、印刷品位が低下する前に、ユーザが現像器の寿命を容易に判断することができるようになっている。トナーの残量を検出するための方法としては、トナーの撹拌時の負荷を機械的に検出する方法、LEDヘッドを駆動するデータを監視し、印刷するドット数をカウントしてトナーの消費量を検出し、トナーの残り量を検出する方法等が知られている。 For this reason, a conventional electrophotographic printer or the like detects the remaining amount of toner, and issues a warning by a warning sound, a warning display, etc. when the remaining amount of toner falls below a predetermined amount. It is possible for the user to easily determine the life of the developing device before the deterioration of the toner. As a method for detecting the remaining amount of toner, a method of mechanically detecting a load during stirring of toner, monitoring data for driving an LED head, counting the number of dots to be printed, and reducing the amount of toner consumed. A method for detecting and detecting the remaining amount of toner is known.

また、上述のような従来の電子写真プリンタ等では、感光体ドラムが劣化すると、印刷画像の品位が低下するため、感光体ドラムの寿命を検出し、寿命となったときに、警告音、表示等によって警告を発するようにしており、ユーザが容易に感光体ドラムの交換時期を判断することができるようになっている。感光体ドラムの寿命を検出する方法として、感光体ドラムの回転数をカウントしておき、これが所定の回転数(寿命回転数)を超えたときに、感光体ドラムの寿命であるとする方法が知られている。 Also, in the conventional electrophotographic printers and the like as described above, when the photosensitive drum deteriorates, the quality of the printed image is lowered. Therefore, the life of the photosensitive drum is detected, and a warning sound and display are displayed when the lifetime is reached. For example, a warning is issued so that the user can easily determine when to replace the photosensitive drum. As a method for detecting the life of the photoconductor drum, there is a method in which the rotation speed of the photoconductor drum is counted, and when this exceeds a predetermined rotation speed (life rotation speed), the life of the photoconductor drum is determined. Are known.

感光体ドラムとトナータンクを一体とした最近の現像ユニットでは、感光体ドラムの回転数に応じた寿命のみによって当該現像ユニットの寿命を検出した場合、トナーの消費や劣化に応じた現像ユニットの寿命が考慮されない。そこで、これらの寿命を考慮するため、感光体ドラムの回転数と、潜像を形成するデータのドット数の双方をカウントする装置が知られている(例えば、特許文献1参照。)。   In a recent development unit in which a photosensitive drum and a toner tank are integrated, when the lifetime of the development unit is detected only by the lifetime corresponding to the number of rotations of the photosensitive drum, the lifetime of the development unit corresponding to the consumption or deterioration of the toner is detected. Is not considered. In order to take these lifetimes into account, an apparatus that counts both the number of rotations of the photosensitive drum and the number of dots of data forming a latent image is known (see, for example, Patent Document 1).

特開2001−235985号公報JP 2001-235985 A

上述の如き画像形成装置は、プロセスカートリッジやトナーカットリッジなどの消耗品使用量や残量を算出するための元となる寿命カウント値や交換回数などを記録している統計カウント値を備えているが、それらの情報は装置の電源をオフにされた場合でも、情報を保持しなければならないため、不揮発性メモリ(EEPROM)に情報を記録している。前記不揮発性メモリ内のメモリマップは、常時固定アドレスの配置がとられているため、寿命カウンタ値や統計カウンタ値は、常に決まったエリアで更新が行なわれている。   The image forming apparatus as described above is provided with a statistical count value that records a life count value, a replacement count, and the like as a basis for calculating a consumption amount and remaining amount of consumables such as a process cartridge and a toner cut ridge. However, since the information must be retained even when the power of the apparatus is turned off, the information is recorded in a nonvolatile memory (EEPROM). Since the memory map in the non-volatile memory always has a fixed address arrangement, the life counter value and the statistical counter value are always updated in a predetermined area.

しかしながら、これら寿命等に関するデータの格納先である不揮発性メモリの内のメモリマップが常に決まったエリアに配されている場合で、その不揮発性メモリのチップ自体が制御基板にソケットを介して実装されているときでは、そのチップを基板から外して不揮発性メモリライターなどで、格納されているデータを容易に参照することができ、データを解析されてしまうと、情報の改ざんが可能となってしまう。従って、寿命カウント値やドット数を累積させた統計カウント値によって課金を行なっているシステムなどでは、そのような不正行為によって課金機能が果たせなくなり、不利益をこうむるという問題が発生する。   However, in the case where the memory map of the non-volatile memory that is the storage destination of the data on the lifetime etc. is always arranged in a fixed area, the non-volatile memory chip itself is mounted on the control board via the socket. If the chip is removed from the substrate, the stored data can be easily referenced with a non-volatile memory writer, and if the data is analyzed, the information can be altered. . Therefore, in a system or the like in which charging is performed based on a life count value or a statistical count value obtained by accumulating the number of dots, there is a problem in that the charging function cannot be performed due to such fraudulent acts, resulting in a disadvantage.

そこで、本発明は上述の技術的な課題に鑑み、寿命や課金のために格納されているデータを書き換えるような不正行為による損害を防止できるような画像形成装置を提供することを目的とする。また、本発明は寿命や課金のために格納されているデータを書き換えるような不正行為による損害を防止できるような画像形成装置の課金システムを提供することを目的とする。   In view of the above technical problems, an object of the present invention is to provide an image forming apparatus capable of preventing damage caused by fraudulent acts such as rewriting data stored for life or billing. It is another object of the present invention to provide a charging system for an image forming apparatus that can prevent damage caused by fraud such as rewriting data stored for lifetime or charging.

上述の技術的な課題を解決するため、本発明の画像形成装置は、前記消耗品使用量を格納パターン番号で規定される所定の格納アドレスにより指定されたそれぞれの領域に記憶する第1の記憶手段と、前記格納パターン番号と、所定の格納アドレスにより指定されたそれぞれの領域に記憶された前記消耗品使用量とを読み出し、一時的に記憶する第2の記憶手段と、消耗品の使用量を算出して、前記第2の記憶手段に記憶された前記消耗品使用量を更新する算出手段と、前記第2の記憶手段により読みだされた前記格納パターン番号に基づき、予め用意された複数のアドレス変換テーブルを参照して、前記消耗品使用量を所定の格納アドレスにより指定されたそれぞれの領域から別の格納アドレスにより指定されるそれぞれの領域に変更して記憶させる記憶領域変更手段とを有することを特徴とする。
In order to solve the above-described technical problem, the image forming apparatus of the present invention stores the consumable usage amount in each area specified by a predetermined storage address defined by a storage pattern number. Means, second storage means for reading out and temporarily storing the consumable use amount stored in each area designated by a predetermined storage address, and the consumable use amount Based on the storage pattern number read out by the calculation means for calculating the consumables usage amount stored in the second storage means, and the storage pattern number read out by the second storage means. Referring to the address conversion table, the consumable usage amount is changed from each area designated by a predetermined storage address to each area designated by another storage address. And having a storage area changing means for憶.

本発明の画像形成装置の好適な一例によれば、前記アドレス変更手段は、予め用意された複数のアドレス変換テーブルの1つのデータに基づいて配置変更することができ、例えば複数のアドレス変換テーブルの1つデータは発生させた乱数により選択されるように制御することも可能である。本発明の画像形成装置においては、前記アドレス変更手段は、電源投入時、消耗品交換時、及び印刷終了時の何れか1つ若しくは複数のタイミングで消耗品使用量の格納アドレスを配置変更することができる。   According to a preferred example of the image forming apparatus of the present invention, the address changing unit can change the arrangement based on one data of a plurality of address conversion tables prepared in advance. One data can be controlled so as to be selected by a generated random number. In the image forming apparatus according to the present invention, the address changing unit changes the storage address of the consumable usage amount at any one or a plurality of timings when the power is turned on, the consumables are replaced, and the printing is completed. Can do.

また、本発明の画像形成装置の課金システムは、消耗品使用量を格納パターン番号で規定される所定の格納アドレスにより指定されたそれぞれの領域に記憶する第1の記憶手段と、前記格納パターン番号と、前記領域に記憶された前記消耗品使用量とを前記第1の記憶手段から読み出し、一時的に記憶する第2の記憶手段と、消耗品の使用量を算出して、前記第2の記憶手段に記憶された前記消耗品使用量を更新する算出手段と、前記第2の記憶手段により読みだされた前記格納パターン番号に基づき、予め用意された複数のアドレス変換テーブルを参照して、前記消耗品使用量を所定の格納アドレスにより指定されたそれぞれの領域から別の格納アドレスにより指定されるそれぞれの領域に変更して記憶させる記憶領域変更手段とを有し、前記記憶領域変更手段により変更された前記別の格納アドレスにより指定された領域の前記消耗品使用量を読み出して所要の課金を行なうことを特徴とする。
The charging system of the image forming apparatus according to the present invention includes a first storage unit that stores a consumable usage amount in each area designated by a predetermined storage address defined by a storage pattern number, and the storage pattern number. And the second storage means for reading out the consumable use amount stored in the area from the first storage means and temporarily storing it, and calculating the consumption amount of the consumable, Based on a plurality of address conversion tables prepared in advance based on the storage pattern number read by the second storage means, the calculation means for updating the consumable consumption amount stored in the storage means, Storage area changing means for changing and storing the consumable usage amount from each area designated by a predetermined storage address to each area designated by another storage address; Reading the consumable consumption of the designated area by the altered the further storage address by the serial storage area changing means and performing predetermined billing.

本発明の画像形成装置によれば、アドレス変更手段が記憶手段に記憶された消耗品使用量の格納アドレスを不規則に配置変更することから、不正な行為を行なって記憶手段の格納アドレスとして読み出したところには、全く異なる無意味なデータが格納されていることになり、そのデータは不正使用には用いることができないことになり、不正行為そのものを簡単に抑制することができる。また、本発明の画像形成装置の課金システムでは、格納アドレスを不規則に変えることで、課金を行なうためのデータを不正行為から有効に守ることができ、適正な課金を続けることができる。   According to the image forming apparatus of the present invention, since the address changing unit irregularly changes the storage address of the consumables usage amount stored in the storage unit, an illegal act is performed to read the storage address of the storage unit. In other words, completely different meaningless data is stored, and the data cannot be used for illegal use, and the illegal act itself can be easily suppressed. In the charging system for the image forming apparatus according to the present invention, by changing the storage address irregularly, data for charging can be effectively protected from fraudulent acts, and appropriate charging can be continued.

本発明の好適な実施形態について図面を参照しながら説明する。本実施形態は、例えば電子写真プリンタ、ファクシミリ、コピー、あるいはこれらの複合機等の装置であって、現像剤であるトナーを収容するトナーカートリッジと感光体ドラムを一体化した現像ユニットを用いた印刷装置に適用したものである。   Preferred embodiments of the present invention will be described with reference to the drawings. This embodiment is an apparatus such as an electrophotographic printer, a facsimile machine, a copy machine, or a combination machine of these, for example, and printing using a developing unit in which a toner cartridge containing toner as a developer and a photosensitive drum are integrated. It is applied to the device.

図1は、本発明の第1の実施形態に係る画像形成装置としての電子写真プリンタの要部の構成を示すブロック図である。この第1の実施形態の電子写真プリンタでは、感光体ドラムの回転数(ドラムカウント)と、LEDヘッドが実際に印刷したドット数(ドットカウント)に応じて感光体ドラム,トナーカートリッジを有する現像ユニットの寿命を適切に判定するための各カウンタを備えている。ここで、ドラムカウントは、印刷動作時やクリーニング動作時の感光体ドラムの回転数を意味しており、ドットカウントは、印刷時の有効ドット(実際に印字されるドット)の数を意味している。   FIG. 1 is a block diagram showing a configuration of a main part of an electrophotographic printer as an image forming apparatus according to the first embodiment of the present invention. In the electrophotographic printer according to the first embodiment, a developing unit having a photosensitive drum and a toner cartridge according to the number of rotations of the photosensitive drum (drum count) and the number of dots actually printed by the LED head (dot count). Each counter is provided for appropriately determining the lifetime of the. Here, the drum count means the number of rotations of the photosensitive drum during the printing operation or the cleaning operation, and the dot count means the number of effective dots (dots actually printed) at the time of printing. Yes.

この電子写真プリンタは、図1に示すように、印刷等の動作を制御するプリンタ制御部1と、プリンタ制御部1からの制御に応じて記録光を発生させるLEDヘッド2と、このLEDヘッド2からの記録光に応じた静電潜像を形成するための感光体ドラムと、この感光体ドラム,後述の帯電ローラ,転写ローラ等を帯電させる高圧電源51と、後述の定着ローラを加熱するヒータ,冷却ファン等に電力を供給する電源52と、ヒータの温度を検出するサーミスタ53と、トナーの量を検出するトナーセンサ54と、電子写真プリンタの状態,ユーザに対するメッセージ等を表示する表示部11等を備えている。   As shown in FIG. 1, the electrophotographic printer includes a printer control unit 1 that controls operations such as printing, an LED head 2 that generates recording light in response to control from the printer control unit 1, and the LED head 2 A photosensitive drum for forming an electrostatic latent image corresponding to recording light from the recording drum, a high-voltage power source 51 for charging the photosensitive drum, a charging roller, a transfer roller, and the like, and a heater for heating a fixing roller, which will be described later , A power supply 52 that supplies power to a cooling fan, a thermistor 53 that detects the temperature of the heater, a toner sensor 54 that detects the amount of toner, a display unit 11 that displays the status of the electrophotographic printer, a message to the user, and the like. Etc.

プリンタ制御部1は、CPU3と、メモリ4と、EEPROM5と、ゲートアレイ(G/A)6、印刷用モータ(メインモータ)41、搬送用モータ(レジストモータ)42、給紙用モータ(第1及び第2のモータ)43、44を駆動するドライバ7a,7b,7c,45と、感光体ドラムの回転数をカウント(ドラムカウント)するカウンタ8と、印刷したドット数をカウント(ドットカウント)するドットカウンタ9とを備えている。   The printer control unit 1 includes a CPU 3, a memory 4, an EEPROM 5, a gate array (G / A) 6, a printing motor (main motor) 41, a conveyance motor (registration motor) 42, a paper feeding motor (first motor). And the second motor) 43 and 44, drivers 7a, 7b, 7c and 45, a counter 8 for counting the number of rotations of the photosensitive drum (drum counting), and the number of printed dots (dot counting). A dot counter 9.

図2は、この電子写真プリンタの印刷機構の構成を示す側断面図である。この電子写真プリンタでは、交換時の利便性に鑑みてトナーを収容するトナーカートリッジ31と感光体ドラム22等を一体化した現像ユニット26を用いている。この現像ユニット26は、後述のように寿命であると判断されるとユーザによって交換される。   FIG. 2 is a side sectional view showing the configuration of the printing mechanism of the electrophotographic printer. This electrophotographic printer uses a developing unit 26 in which a toner cartridge 31 for storing toner, a photosensitive drum 22 and the like are integrated in consideration of convenience at the time of replacement. The developing unit 26 is replaced by the user when it is determined that the lifetime is reached as will be described later.

この図2に示すように、現像ユニット26は、感光体ドラム22の周囲に設けられたクリーニングローラ27、帯電ローラ28、現像ローラ30等を備えている。この現像ユニット26が電子写真プリンタに装着されると、LEDヘッド2に近接した位置に感光体ドラム22が配置された状態となる。   As shown in FIG. 2, the developing unit 26 includes a cleaning roller 27, a charging roller 28, a developing roller 30, and the like provided around the photosensitive drum 22. When the developing unit 26 is attached to the electrophotographic printer, the photosensitive drum 22 is disposed at a position close to the LED head 2.

電子写真プリンタは、その筐体の下部に設けられた用紙トレイ12と、筐体の上面に設けられた用紙排出部13を有する。用紙トレイ12、用紙排出部13は搬送路14の両端に設けられており、この搬送路14に沿って、用紙トレイ12から用紙15を繰り出すホッピングローラ16、レジストローラ17、用紙センサ18、転写ローラ19、ヒートローラ20、2つの排出ローラ21が設けられている。転写ローラ19は感光体ドラム22に対向して設けられており、ヒートローラ20、各排出ローラ21の各々に対向して加圧ローラ23,24,25が設けられている。このように構成された電子写真プリンタは、従来の電子写真プリンタと同様に、パーソナルコンピュータ等の外部の機器から印刷が指示されると、これに応じた印刷処理を実行する。   The electrophotographic printer has a paper tray 12 provided at the lower part of the housing and a paper discharge unit 13 provided on the upper surface of the housing. The paper tray 12 and the paper discharge unit 13 are provided at both ends of the transport path 14. A hopping roller 16 that feeds the paper 15 from the paper tray 12 along the transport path 14, a registration roller 17, a paper sensor 18, and a transfer roller. 19, a heat roller 20, and two discharge rollers 21 are provided. The transfer roller 19 is provided to face the photosensitive drum 22, and pressure rollers 23, 24, and 25 are provided to face the heat roller 20 and the discharge rollers 21. The electrophotographic printer configured as described above executes a printing process in response to an instruction for printing from an external device such as a personal computer, as in the case of a conventional electrophotographic printer.

印刷処理の実行を開始すると、図1中のCPU3は、まず、G/A6、ドライバ7cを介して第1のモータ43を駆動して図2中のホッピングローラ16を回転させ、用紙トレイ12から用紙15を一枚繰り出させる。これにより、用紙が搬送路14に繰り出される。そして、用紙センサ18が用紙15を検知すると、CPU3は、G/A6、ドライバ7aを介してメインモータ41を駆動して図2中のレジストローラ17、転写ローラ19、ヒートローラ20、排出ローラ21、感光体ドラム22、クリーニングローラ27、帯電ローラ28、現像ローラ30を回転させる。   When the execution of the printing process is started, the CPU 3 in FIG. 1 first drives the first motor 43 via the G / A 6 and the driver 7c to rotate the hopping roller 16 in FIG. One sheet of paper 15 is fed out. As a result, the sheet is fed out to the conveyance path 14. When the paper sensor 18 detects the paper 15, the CPU 3 drives the main motor 41 via the G / A 6 and the driver 7 a to register the roller 17, the transfer roller 19, the heat roller 20, and the discharge roller 21 in FIG. 2. The photosensitive drum 22, the cleaning roller 27, the charging roller 28, and the developing roller 30 are rotated.

また、CPU3は、各ローラを回転させると共に、高圧電源51に、転写ローラ19、クリーニングローラ27、帯電ローラ28、現像ローラ30に対して各々対応する高電圧を印加させる。感光体ドラム22の表面の帯電体層22bには、負電圧を印加された帯電ローラ28によって負の電荷が供給され、一様に帯電される。   In addition, the CPU 3 rotates each roller and causes the high-voltage power source 51 to apply a corresponding high voltage to the transfer roller 19, the cleaning roller 27, the charging roller 28, and the developing roller 30. Negative charge is supplied to the charged body layer 22b on the surface of the photosensitive drum 22 by the charging roller 28 to which a negative voltage is applied, and the charged body layer 22b is uniformly charged.

また、CPU3は、外部の機器から1ライン毎に供給される印刷データを順次、LEDヘッド2に供給し、記録光の発生を指示する。これにより、一様に帯電している感光体ドラム22の表面に、LEDヘッド2からの記録光に応じた静電潜像が形成される。この静電潜像は、現像ローラ30から供給されたトナーにより現像される。   Further, the CPU 3 sequentially supplies the print data supplied for each line from an external device to the LED head 2 and instructs the generation of the recording light. Thereby, an electrostatic latent image corresponding to the recording light from the LED head 2 is formed on the surface of the photosensitive drum 22 that is uniformly charged. This electrostatic latent image is developed with the toner supplied from the developing roller 30.

一方、用紙15には転写ローラ19から正電荷が供給されており、用紙15がトナー像と対向する位置に到達すると、感光体ドラム22上のトナー像が順次、用紙15に転写される。用紙15に転写されたトナー像はヒートローラ20と加圧ローラ23とにより用紙15に溶着される。トナー像が溶着されると、用紙15は、順次、排出ローラ21によって用紙排出部13に排出される。   On the other hand, positive charge is supplied to the paper 15 from the transfer roller 19, and when the paper 15 reaches a position facing the toner image, the toner images on the photosensitive drum 22 are sequentially transferred to the paper 15. The toner image transferred to the paper 15 is welded to the paper 15 by the heat roller 20 and the pressure roller 23. When the toner image is welded, the paper 15 is sequentially discharged to the paper discharge unit 13 by the discharge roller 21.

図3は本実施形態の画像形成装置で使用されるデータ記憶に関する制御システムのブロック図である。図3において、制御部であるCPU3は、ROM4bに格納されているプログラムに従って、寿命カウンタ値や統計カウンタ値を計測し、その値をRAM4aに格納すると共に、RAM4aに記憶してあるデータを不揮発性メモリであるEEPROM5に保存する。このEEPROM5に保存されたデータは、装置の電源投入時にRAM4aに読み込まれる。   FIG. 3 is a block diagram of a control system related to data storage used in the image forming apparatus of this embodiment. In FIG. 3, the CPU 3 as the control unit measures the life counter value and the statistical counter value according to the program stored in the ROM 4b, stores the value in the RAM 4a, and stores the data stored in the RAM 4a in a nonvolatile manner. The data is stored in the EEPROM 5, which is a memory. The data stored in the EEPROM 5 is read into the RAM 4a when the apparatus is turned on.

ROM4bに格納されているプログラムの一部について説明すると、ROM4bには主なプログラムとして電源投入処理B101、印刷処理B108、カバークローズ処理B113の各プログラムを格納するように構成されている。電源投入処理B101は、電源投入時の各種設定を行なう処理であり、H/W初期化処理B102とRAMエリア初期化処理B103からなる。H/W初期化処理B102では、各種I/Oポートの初期設定を行なう。RAMエリア初期化処理B103は、制御プログラムで使用する各種RAMエリアを初期化し、その1つとしてEEPROM初期化処理B104を実行する。   A part of the programs stored in the ROM 4b will be described. The ROM 4b is configured to store the power-on process B101, the print process B108, and the cover close process B113 as main programs. The power-on process B101 is a process for performing various settings when the power is turned on, and includes an H / W initialization process B102 and a RAM area initialization process B103. In the H / W initialization process B102, various I / O ports are initialized. The RAM area initialization process B103 initializes various RAM areas used in the control program, and executes the EEPROM initialization process B104 as one of them.

EEPROM初期化処理B104では、後述するEEPROM内の消耗品制御に関するカウンタ値をカウンタコピー処理B105により読み出し、その読み出したカウンタ値を後述するRAM上のミラーエリアにコピーする。この消耗品に関するカウンタ値は、アドレス変換テーブルB107による処理によって所定の変換されたアドレスを伴い、前回電源投入状態で保存されていたアドレスとは異なるアドレスに配置されると共に、EEPROM書き込み処理B106により、EEPROM上にも変換後の配置で格納される。   In the EEPROM initialization process B104, a counter value related to consumables control in the EEPROM, which will be described later, is read by the counter copy process B105, and the read counter value is copied to a mirror area on the RAM, which will be described later. The counter value related to the consumables is arranged at an address different from the address stored in the previous power-on state along with the address converted by the processing by the address conversion table B107, and by the EEPROM writing process B106, Also stored in the EEPROM after the conversion.

印刷処理B108では印刷動作の制御を行なう。印刷処理B108では、印刷開始処理B109、印刷中止処理B110、及び印刷終了処理B111が行なわれる。印刷開始処理B109は、上位から送信された印刷パラメータに従い、各種印刷条件の設定を行なうと共に、印刷前の定着器温度の調整、イメージドラムカートリッジを帯電させるためのドラムの空転などが行なわれる。印刷中処理B110で実際の印刷が行なわれる。この印刷中処理B110による処理の際には消耗品カウンタ更新処理B112によりRAM上のミラーエリアにコピーされた消耗品カウンタ値の更新を行なう。印刷終了処理B111では、最終ページの排出を行なうと共にEEPROM書き込み処理B106により、印刷中に更新されたRAM上のミラーエリアの消耗品カウンタ値をEEPROMに書き込む。   In the printing process B108, the printing operation is controlled. In the print process B108, a print start process B109, a print stop process B110, and a print end process B111 are performed. In the printing start process B109, various printing conditions are set according to the printing parameters transmitted from the host, adjustment of the fixing device temperature before printing, and idling of the drum for charging the image drum cartridge are performed. In actual printing process B110, actual printing is performed. At the time of the processing by the printing process B110, the consumable counter value copied to the mirror area on the RAM is updated by the consumable counter updating process B112. In the print end process B111, the last page is discharged, and the consumables counter value in the mirror area on the RAM updated during printing is written in the EEPROM by the EEPROM write process B106.

カバークローズ処理B113はカバーを閉めた時の制御を行なう。カバークローズ処理B113は、各種アラーム解除処理B114及び消耗品交換検出処理B115からなる。各種アラーム解除処理B114は紙づまりなどが発生した後の復旧動作を行なう。消耗品交換検出処理B115は、各消耗品が交換されたか否かを判断し、トナーカートリッジやドラムカートリッジなどの交換を検出した場合、消粍品カウンタ更新処理Bl12により、RAM上のミラーエリアにコピーされた消耗品カウンタ値の更新を行い、更に、EEPROM書込み処理Bl06 により、交換検出により更新された、RAM上のミラーエリアの消耗品カウンタ値をEEPROMに書込む。   The cover closing process B113 performs control when the cover is closed. The cover close process B113 includes various alarm release processes B114 and a consumable item replacement detection process B115. Various alarm release processing B114 performs a recovery operation after a paper jam or the like occurs. The consumable item replacement detection process B115 determines whether or not each consumable item has been replaced. When the replacement of the toner cartridge, the drum cartridge, or the like is detected, the consumable item replacement process B115 performs copying to the mirror area on the RAM by the consumption item counter update process B12. The consumable counter value thus updated is updated, and further, the consumable counter value in the mirror area on the RAM, which has been updated by the replacement detection, is written into the EEPROM by the EEPROM writing process B06.

図4は不揮発性メモリであるEEPROM5の記憶領域のメモリマップである。 アドレス0から255の領域に、画像形成装置で制御する種々のデータを記憶するが、後述する消耗品の制御に関するカウンタ値が、後述するアドレス119のカウンタ値格納パターン番号B6と後述する格納アドレステーブルに従ったアドレスに格納されている。初期化済フラグB0は、EEPROM5の領域が既に図4に従ったマッ プで初期化させているか否かを示す領域であり、フラグがセットされている場合は、既に初期化済であることを示している。 通常、初期化済フラグは最初の電源投入時にセットされる。   FIG. 4 is a memory map of a storage area of the EEPROM 5 which is a nonvolatile memory. Various data to be controlled by the image forming apparatus are stored in the area from address 0 to 255. Counter values relating to consumable control described later include counter value storage pattern number B6 of address 119 described later and storage address table described later. Stored in the address according to The initialized flag B0 is an area indicating whether or not the area of the EEPROM 5 has already been initialized with the map according to FIG. 4. If the flag is set, it indicates that the area has already been initialized. Show. Normally, the initialized flag is set at the first power-on.

プロセスカートリッジ回転カウンタB1は、プロセスカートリッジの使用量管理するカウンタである。トナー消費量カウンタB2は、トナーカートリッジの残量管理するカウンタである。トナーカートリッジ交換回数カウンタB3は、トナーカートリッジの交換回数管理をするカウンタである。プロセスカートリッジ交換回数B4は、プロセスカートリッジの交換回数を管理するカウンタである。総印刷枚数カウンタB5は、画像形成 装置で印刷した総枚数を管理するカウンタである。なお、上述したカウンタ類の配置は、不連続、かつ、不規則な配置とする。また、本実施形態では、上述した カウンタ類は5種類であるが、その数は消粍品に関するカウンタ値の数によって、任意に決定される。 尚、図4に示した配置は、カウンタ値格納パターン番号が例えば"1"の時に従った配置である。   The process cartridge rotation counter B1 is a counter that manages the amount of process cartridge used. The toner consumption counter B2 is a counter that manages the remaining amount of the toner cartridge. The toner cartridge replacement number counter B3 is a counter that manages the number of replacements of the toner cartridge. The process cartridge replacement count B4 is a counter that manages the number of process cartridge replacements. The total number of printed sheets counter B5 is a counter that manages the total number of printed sheets by the image forming apparatus. Note that the above-described counter arrangement is discontinuous and irregular. Further, in the present embodiment, there are five types of counters described above, but the number thereof is arbitrarily determined according to the number of counter values related to the consumer goods. The arrangement shown in FIG. 4 is an arrangement according to when the counter value storage pattern number is “1”, for example.

図5はRAM4a上に存在する、EEPROM5のミラー(データコピー)領域としての記憶領域のメモリマップである。 電源投入時に、EEPROM5のデータを読み込み、RAM4a上の所定のアドレス例えばアドレス20000から20255(オフセットアドレス)の領域に、読み出したデータをコピーし、画像形成装置で制御する種々のデータは、RAM4a上で更新される。RAM4a上のデータが更新され、所定のタイミングでEEPROM5上のデータとの差分が生じたことが検出された場合、制御部1からデータ書き込み指示がなされ、RAM4a上のデータが、EEPROM5に保存される。   FIG. 5 is a memory map of a storage area as a mirror (data copy) area of the EEPROM 5 existing on the RAM 4a. When the power is turned on, the data in the EEPROM 5 is read, and the read data is copied to a predetermined address on the RAM 4a, for example, the address 20000 to 20255 (offset address), and various data controlled by the image forming apparatus is stored in the RAM 4a. Updated. When the data on the RAM 4a is updated and it is detected that a difference from the data on the EEPROM 5 has occurred at a predetermined timing, a data write instruction is issued from the control unit 1, and the data on the RAM 4a is stored in the EEPROM 5. .

図6は、ROM4bのプログラム上に配置される各種カウンタの格納アドレスを規定したテーブル表である。カウンタ値格納パターン番号B6の行は、テーブルの指標値を示す数値が配置されており、後述する各種カウンタの格納先アドレスを検索する場合に用いる。プロセスカートリッジ回転カウンタB1の行は、プロセスカートリッジ回転力ウンタB1の格納先アドレスを示す数値が配置されており、そのアドレスの選択は、カウンタ値格納パターン番号B6の数値により変化する。トナー消費カウンタB2の行、トナーカートリッジ交換回数カウンタB3の行、プロセスカートリッジ交換回数カウンタB4の行、総印刷枚数カウンタB5の行も、すべて、プロセスカートリッジ回転カウンタB1の行の説明と同様で格納先アドレスを示す数値が配置され、カウンタ値格納パターン番号B6の数値により変化する。   FIG. 6 is a table that defines the storage addresses of various counters arranged on the program of the ROM 4b. The row of the counter value storage pattern number B6 is arranged with a numerical value indicating the index value of the table, and is used when searching for storage addresses of various counters to be described later. In the row of the process cartridge rotation counter B1, a numerical value indicating the storage destination address of the process cartridge rotational force counter B1 is arranged, and the selection of the address varies depending on the numerical value of the counter value storage pattern number B6. The row of the toner consumption counter B2, the row of the toner cartridge replacement count counter B3, the row of the process cartridge replacement count counter B4, and the row of the total print number counter B5 are all stored in the same manner as the description of the row of the process cartridge rotation counter B1. A numerical value indicating an address is arranged and changes depending on the numerical value of the counter value storage pattern number B6.

カウンタ値格納パターン番号B6の値については、固定されたアドレスに格納され、最小値は0、 最大値はNとなる。この最大値Nは本エリアのデータ長に関係しており、1バイトのデータ長であれば、255までの値を設定することが可能である。但し、本実施形態の場合、カウンタ類の種類の合計が5種類であるため、パターンの組み合わせの最大を考えれば、最大でも120通りあれば十分である。カウンタ値格納パターン番号B6が0の列P0は、カウンタ値格納パターン番号が0の場合の各カウンタ格納位置を示すアドレスが配置されている。すなわちカウンタ値格納パターン番号が0の場合を例示すると、プロセスカートリッジ回転カウンタB1の格納先はアドレス10、トナー消費カウンタB2の格納先はアドレス12、トナーカートリッジ交換回数カウンタB3の格納先はアドレス2、プロセスカートリッジ交換回数カウンタB4の格納先はアドレス26、総印刷枚数カウンタB5の格納先はアドレス24ということになる。図5に示すRAM4aでの配置は、カウンタ値格納パターン番号が1の場合(P1)の格納位置を表現している。尚、工場出荷時の該カウンタ値格納パターン番号B6は0を初期値とする。   The value of the counter value storage pattern number B6 is stored at a fixed address, the minimum value is 0, and the maximum value is N. The maximum value N is related to the data length of this area. If the data length is 1 byte, a value up to 255 can be set. However, in the case of the present embodiment, since the total number of types of counters is five, considering the maximum combination of patterns, 120 patterns at the maximum are sufficient. In the column P0 where the counter value storage pattern number B6 is 0, an address indicating each counter storage position when the counter value storage pattern number is 0 is arranged. That is, exemplifying the case where the counter value storage pattern number is 0, the storage destination of the process cartridge rotation counter B1 is the address 10, the storage destination of the toner consumption counter B2 is the address 12, the storage destination of the toner cartridge replacement number counter B3 is the address 2, The storage destination of the process cartridge replacement number counter B4 is the address 26, and the storage destination of the total print number counter B5 is the address 24. The arrangement in the RAM 4a shown in FIG. 5 represents the storage position when the counter value storage pattern number is 1 (P1). The counter value storage pattern number B6 at the time of factory shipment is set to 0 as an initial value.

図7はROM4bのプログラム上に配置される実際のテーブルデータを示している。プロセスカートリッジ回転カウンタ先頭D1は、プロセスカートリッジ回転カウンタ値を格納するEEPROMアドレス群の先頭アドレスを示す。トナー消費カウンタ先頭D2、トナーカートリッジ交換回数カウンタ先頭D3、プロセスカートリッジ交換回数カウンタ先頭D4、総印刷枚数カウンタ先頭D5についても、プロセスカートリッジ回転カウンタ先頭D1の説明と同様にそれぞれEEPROMアドレス群の先頭アドレスを示す。尚、このテーブルは、ROM2のプログラム上、任意の位置に配置される。また、このテーブル内のアドレスの配置パターンは、各カウンタがパターン番号の変化により不連続かつ不規則な配置になるようなアドレス構成となっている。   FIG. 7 shows actual table data arranged on the program of the ROM 4b. The process cartridge rotation counter head D1 indicates the head address of the EEPROM address group that stores the process cartridge rotation counter value. For the toner consumption counter head D2, the toner cartridge replacement count counter head D3, the process cartridge replacement count counter head D4, and the total print number counter head D5, the start addresses of the EEPROM address groups are respectively set in the same manner as the process cartridge rotation counter head D1. Show. This table is arranged at an arbitrary position on the ROM 2 program. Further, the address arrangement pattern in this table has an address configuration in which each counter is discontinuously and irregularly arranged due to a change in pattern number.

図8は、カウンタ値格納パターン番号B6の値が、2の時(図6のP2の列)のEEPROM5の記憶領域の配置図である。図4から各カウンタ値の格納アドレスが変化しており、アドレス2のメモリー領域にはプロセスカートリッジ回転カウンタ値の代わりにトナーカートリッジ交換回数カウンタ(B3)値が記憶され、アドレス10のメモリー領域にはトナー消費カウンタ値の代わりに総印刷枚数カウンタ(B5)値が記憶され、アドレス12のメモリー領域にはトナーカートリッジ交換回数カウンタ値の代わりにプロセスカートリッジ交換回数カウンタ(B4)値が記憶され、アドレス24のメモリー領域にはプロセスカートリッジ交換回転カウンタ値の代わりにトナーカートリッジ回転カウンタ(B1)値が記憶され、アドレス26のメモリー領域には総印刷枚数カウンタ値の代わりにトナー消費カウンタ(B2)値が記憶されている。なお、アドレス119のカウンタ値格納パターン番号の記憶領域は変わっていない。   FIG. 8 is a layout diagram of the storage area of the EEPROM 5 when the value of the counter value storage pattern number B6 is 2 (column P2 in FIG. 6). As shown in FIG. 4, the storage address of each counter value has changed, the toner cartridge replacement counter (B3) value is stored in the memory area of address 2 instead of the process cartridge rotation counter value, and the memory area of address 10 is stored. The total print number counter (B5) value is stored instead of the toner consumption counter value, and the process cartridge replacement number counter (B4) value is stored in the memory area of the address 12 instead of the toner cartridge replacement number counter value. In the memory area, the toner cartridge rotation counter (B1) value is stored instead of the process cartridge replacement rotation counter value, and in the memory area of the address 26, the toner consumption counter (B2) value is stored instead of the total print number counter value. Has been. Note that the storage area of the counter value storage pattern number at the address 119 has not changed.

図9は、本発明における、電源投入時の処理を示す図である。 画像形成装置の電源が投入される(Sl)と、EEPROMからRAM上のミラー領域に、前記EEPROM全データをコピーする(S2)。データ初期化済フラグを確認し(S3)、初期化されていなかった(初めて電源が投入された)場合(S3 NO)は、前記RAM上のミラー領域の初期化を行うとともに、ミラー領域のデータ初期化済フラグをセットし、カウンタ値格納パターン番号を0に初期化する。初期化済みの場合には、ステップ5に移る(S3 Yes)。   FIG. 9 is a diagram showing processing upon power-on in the present invention. When the power of the image forming apparatus is turned on (S1), all the EEPROM data is copied from the EEPROM to the mirror area on the RAM (S2). The data initialization flag is confirmed (S3). If it has not been initialized (the power is turned on for the first time) (S3 NO), the mirror area on the RAM is initialized and the mirror area data is also initialized. The initialized flag is set, and the counter value storage pattern number is initialized to 0. If it has been initialized, the process proceeds to step 5 (S3 Yes).

RAM上のミラー領域のカウンタ値格納パターン番号を読み出し、そのパターン番号とROM上の変換テーブルに従い、各カウンタの格納アドレスを取得し、そのアドレスから各カウンタ値を読み出して、RAM上のテンポラリエリア(各カウンタの更新元レジスタ)に退避する(S5)。次に印刷指示に従って印刷処理が行なわれると、各カウンタは使用量に応じて更新される(S6)。更新されるエリアはテンポラリエリアである。この更新後、印刷の終了や所定時間毎のタイミングでデータ保存を行なう。上記タイミングか否かが判断される(S7)。   The counter value storage pattern number of the mirror area on the RAM is read out, the storage address of each counter is obtained according to the pattern number and the conversion table on the ROM, each counter value is read out from the address, and the temporary area on the RAM ( Save to the update source register of each counter (S5). Next, when the printing process is performed according to the printing instruction, each counter is updated according to the usage amount (S6). The area to be updated is a temporary area. After this update, the data is stored at the end of printing or at a predetermined time interval. It is determined whether or not it is the above timing (S7).

RAM上のミラー領域のカウンタ値格納パターン番号をインクリメントする(S8)。インクリメントした結果、パター ン番号の最大値Nを超えた場合(S9 YES)は、RAM上のミラー領域のカウンタ値格納パターン番号に0を設定する(S10)。パターン番号が最大値N以下の場合は、そのまま、ステップ11に移る(S9 NO)。ステップ11(S11)では、更新されたRAM上のミラー領域のカウンタ値格納パターン番号を読み出し、そのパターン番号と、ROM上の変換テーブルに従い、RAM上のテンポラリエリアに退避してあった各カウンタ値を、ミラー領域の該当箇所に復帰させる。次いでRAM上のミラー領域エリアをEEPROMに保存し(S12)、電源投入処理を終了して待機状態に移行する(Sl3)。   The counter value storage pattern number of the mirror area on the RAM is incremented (S8). When the maximum value N of the pattern numbers is exceeded as a result of the increment (S9 YES), 0 is set to the counter value storage pattern number of the mirror area on the RAM (S10). If the pattern number is less than or equal to the maximum value N, the process proceeds to step 11 as it is (S9 NO). In step 11 (S11), the counter value storage pattern number of the updated mirror area on the RAM is read, and each counter value saved in the temporary area on the RAM according to the pattern number and the conversion table on the ROM. Is restored to the corresponding location in the mirror area. Next, the mirror area area on the RAM is stored in the EEPROM (S12), the power-on process is terminated, and the standby state is entered (Sl3).

本実施形態の一例では、ステップ5(S5)でデータを読み出すとき、そのときのカウンタ値格納パターン番号 が0であった場合、総印刷枚数が格納されているのはアドレス24である。その後、ステップ9で総印刷枚数データを復帰させる場合は、カウンタ値格納パターン番号が1であるので、アドレス26に 復帰させることになる。アドレス26はパターン番号0の時に、プロセスカートリッジ交換回数カウンタが格納されていた場所である。ステップ10でEEPROM5に再度データを書き戻しているが、 この時点で、前回の電源OFFからEEPROM5内のアドレス配置が変更になっている。   In an example of this embodiment, when data is read in step 5 (S5), if the counter value storage pattern number at that time is 0, the total number of printed sheets is stored at address 24. Thereafter, when the total print number data is restored in step 9, the counter value storage pattern number is 1, so that the data is restored to the address 26. The address 26 is the place where the process cartridge replacement counter is stored when the pattern number is 0. In step 10, data is written back to the EEPROM 5 again. At this point, the address arrangement in the EEPROM 5 has changed since the previous power-off.

図10は、RAM上のミラー領域から、総印刷枚数を読み出す処理を示す。なお、本実施形態における、プロセスカートリッジ回転カウンタ、トナー消費量カウンタ、トナーカートリッジ交換回数カウンタ、プロセスカートリッジ交換回数カウンタも総印刷枚数の読み出し処理と同様の方法で読み出される。 総印刷枚数の読み出し要求が発生した場合(S21)は、まず、RAM上のミラー領域のカウンタ値格納パターン番号を読み出す(S22)。その後、ROM上の変換テーブルの総印刷枚数カウンタ先頭アドレスに、前記ステップ22で読み出したカウンタ値格納パターン番号を加算して、ROM上のテーブルから総印刷枚数カウント値が格納されているアドレスを読み出す(S23)。RAM上ミラー領域のオフセットアドレス20000番地に前記ステップ23で読み出したアドレスを加算して、RAM上ミラー領域から総印刷枚数カウンタを読み出し、RAM上の任意のテンポラリエリアに格納(S24)し、読み出し処理を終了する(S25)。   FIG. 10 shows a process of reading the total number of printed sheets from the mirror area on the RAM. In this embodiment, the process cartridge rotation counter, the toner consumption counter, the toner cartridge replacement number counter, and the process cartridge replacement number counter are also read by the same method as the total print number reading process. When a read request for the total number of printed sheets is generated (S21), first, the counter value storage pattern number of the mirror area on the RAM is read (S22). Thereafter, the counter value storage pattern number read in step 22 is added to the total print sheet counter start address of the conversion table on the ROM, and the address at which the total print sheet count value is stored is read from the table on the ROM. (S23). The address read in step 23 is added to the offset address 20000 of the mirror area on the RAM, the total print number counter is read from the mirror area on the RAM, and stored in an arbitrary temporary area on the RAM (S24). Is finished (S25).

図11は、RAM上のミラー領域に、総印刷枚数を書き込む処理を示す。尚、本実施形態における、プロセスカートリッジ回転カウンタ、トナー消費量カウンタ、トナーカートリッジ交換回数カウンタ、プロセスカートリッジ交換回数カウンタも同様の方法で書き込む。 総印刷枚数の書き込み要求が発生した場合(S31)は、まず、RAM上のミラー領域のカウンタ値格納パターン番号を読み出す(S32)。尚、書き込むデータは、予め、RAM上の任意のテンポラリエリアに格納されているものとする。 その後、ROM上の変換テーブルの総印刷枚数カウンタ先頭アドレスに、前記ステップ32で読み出したカウンタ値格納パターン番号を加算して、ROM上のテーブルから総印刷枚数カウント値が格納されているアドレスを読み出す(S33)。   FIG. 11 shows a process of writing the total number of printed sheets in the mirror area on the RAM. In this embodiment, the process cartridge rotation counter, the toner consumption counter, the toner cartridge replacement count counter, and the process cartridge replacement count counter are written in the same manner. When a write request for the total number of printed sheets is generated (S31), first, the counter value storage pattern number of the mirror area on the RAM is read (S32). It is assumed that data to be written is stored in advance in an arbitrary temporary area on the RAM. Thereafter, the counter value storage pattern number read in step 32 is added to the total print sheet counter start address of the conversion table on the ROM, and the address at which the total print sheet count value is stored is read from the table on the ROM. (S33).

RAM上ミラー領域のオフセットアドレス20000番地に前記ステップ23で読み出したアドレ スを加算して、RAM上の任意のテンポラリエリアからRAM上のミラー領域の総印刷枚数カウンタ値エリアに値を書き込み(S34)、書き込み処理を終了する(S35)。   The address read in step 23 is added to the offset address 20000 of the mirror area on the RAM, and the value is written from the arbitrary temporary area on the RAM to the total print number counter value area on the mirror area on the RAM (S34). The writing process is terminated (S35).

図12は、RAM上のミラー領域データを、EEPROMに書き込む処理を示す。EEPROMへの書き込み要求が発生した場合(S41)は、まず、RAM上のミラー領域のアドレスポインタ、及び、EEPROMのアドレスポインタをして、RAM上のインデックスカウンタIに初期値である0を設定する(S42)。次にRAM上のミラー領域の先頭アドレスに前記インデックスカウンタIを加算して、RAM上のミラー領域のデータを読み出す。読み出した値をXとする(S43)。次にEEPROMの先頭アドレスに前記インデックスカウンタIを加算して、EEPROM上のデータを読み出す。ここでは読み出した値をYとする(S44)。ステップ43で読み出したデータXとステップ44で読み出したデータYを比較(S45)して、等しければ、ステップ47(S47)へ移行する。この場合はEEPROMへの書き込みは行われない(S45 YES)。等しくなければ(S45 NO)、データが更新されていると判断し、EEPROMの先頭 アドレスに前記インデックスカウンタIを加算したアドレスに、前記ステップ43で読み出したデー タXを書き込む(S46)。前記インデックスカウンタIをインクリメントする(S47)。前記インデックスカウンタIが、255を超えたか否かを判定し(S48)、超えていない場合(S48 NO)は、ステップ43から同様の処理を繰り返す。超えていた場合(S48 YES)は、ステップ49へ移行してEEPROMの書き込み処理を終了する(S49)。   FIG. 12 shows a process of writing the mirror area data on the RAM into the EEPROM. When a write request to the EEPROM is generated (S41), first, the address pointer of the mirror area on the RAM and the address pointer of the EEPROM are set, and the initial value 0 is set to the index counter I on the RAM. (S42). Next, the index counter I is added to the head address of the mirror area on the RAM to read the data in the mirror area on the RAM. The read value is set as X (S43). Next, the index counter I is added to the start address of the EEPROM to read the data on the EEPROM. Here, the read value is Y (S44). The data X read in step 43 and the data Y read in step 44 are compared (S45). If they are equal, the process proceeds to step 47 (S47). In this case, writing to the EEPROM is not performed (S45 YES). If they are not equal (NO in S45), it is determined that the data has been updated, and the data X read in step 43 is written to the address obtained by adding the index counter I to the start address of the EEPROM (S46). The index counter I is incremented (S47). It is determined whether or not the index counter I has exceeded 255 (S48). If it has not exceeded (S48 NO), the same processing is repeated from step 43. If it has exceeded (YES in S48), the process proceeds to step 49 and the writing process of the EEPROM is terminated (S49).

以上のように、不規則な格納パターンを記憶したメモリテーブルなどを利用して、電源投入する度に不揮発性メモリ(EEPROM)上に保持される寿命カウンタ値や統計カウンタ値の格納場所を不規則に変化させることにより、EEPROMを基板から外し、EEPROMライタなどでEEPROM内のデータが参照されても、どのアドレスが、どのカウンタ値 に該当するかという解析を困難にさせることができ、不正ユーザによるデータの改ざんを防止することが可能となる。よって、寿命カウント値や統計カウント値により課金を行っているシステムなどでは、その不正行為による不利益を未然に防止できる。   As described above, by using a memory table storing an irregular storage pattern, the storage location of the life counter value and statistical counter value held on the nonvolatile memory (EEPROM) each time the power is turned on is irregular. This makes it difficult to analyze which address corresponds to which counter value even if the EEPROM is removed from the board and the data in the EEPROM is referenced by an EEPROM writer. Data can be prevented from being falsified. Therefore, in a system that charges based on the life count value or statistical count value, it is possible to prevent disadvantages caused by the fraud.

図13は、第2の実施形態の画像形成装置における本発明のデータ記憶に関する制御ブロック図である。 同図において、制御部103はROM104bに格納されている制御プログラムに従って、寿命カウンタ値や統計カウンタ値を計測し、その値をRAM104aに格納する共に、RAM104aに記憶してあるデータを不揮発性メモリであるEEPROM105に保存する。このEEPROM105に格納されたデータは、装置の電源投入時にRAM104aに読み込まれる。電源投入処理B101は、電源投入時の各種設定を行う。EEPROM初期化処理B104では、後述するEEPROM上の消耗品制御に関するカウンタ値を、カウンタコピー処理B105により読出し、後述するRAM上のミラーエリアにコピーするが、消耗品制御に関するカウンタ値は、アドレス変換テーブルB107と、乱数発生関数により乱数を発生させる乱数発生関数処理(B116)により、ランダムなアドレスパターンに変換され、前回電源投入状態で格納されていたアドレスとは異なるアドレスに配置されるとともに、EEPROM書込み処理B106により、EEPROM上にも変換後の配置で格納される。   FIG. 13 is a control block diagram relating to data storage of the present invention in the image forming apparatus of the second embodiment. In the figure, the control unit 103 measures the life counter value and the statistical counter value according to the control program stored in the ROM 104b, stores the value in the RAM 104a, and stores the data stored in the RAM 104a in a nonvolatile memory. The data is stored in a certain EEPROM 105. The data stored in the EEPROM 105 is read into the RAM 104a when the apparatus is turned on. The power-on process B101 performs various settings at power-on. In the EEPROM initialization process B104, a counter value related to consumables control on the EEPROM, which will be described later, is read out by the counter copy process B105 and copied to a mirror area on the RAM, which will be described later. B107 and a random number generation function process (B116) for generating a random number using a random number generation function are converted into a random address pattern, arranged at an address different from the address stored in the previous power-on state, and written to the EEPROM. By processing B106, it is also stored in the arrangement after conversion on the EEPROM.

図14は第2の実施形態における電源投入の処理を示す図である。画像形成装置の電源が投入(S101)されると、EEPROMからRAM上のミラー領域に、前記EEPROMの全データがコピーされる(S102)。前記RAM上ミラー領域にデータが既に格納されているか否かを確認するため、データ初期化済フラグを確認し(S103)、初期化されていなかった(初めて電源が投入された)場合は(S103 NO)、前記RAM上のミラー領域の初期化を行うとともに、ミラー領域のデータ初期化済フラグをセットし、カウンタ値格納パターン番号を0に初期化する(S104)。初期化済の場合は、ステップ105に移る(S103 YES)。 RAM上のミラー領域のカウンタ値格納パターン番号を読み出し、そのパターン番号とROM上の変換テーブルに従い、各カウンタの格納アドレスを取得し、そのアドレスから各カウンタ値を読み出して、RAM上のテンポラリエリア(各カウンタの更新元レジスタ)に退避する(S105)。   FIG. 14 is a diagram showing a power-on process in the second embodiment. When the power of the image forming apparatus is turned on (S101), all the data of the EEPROM is copied from the EEPROM to the mirror area on the RAM (S102). In order to check whether or not data is already stored in the mirror area on the RAM, the data initialization flag is checked (S103). If the data has not been initialized (the power is turned on for the first time) (S103). NO), the mirror area on the RAM is initialized, the data initialization flag of the mirror area is set, and the counter value storage pattern number is initialized to 0 (S104). If it has been initialized, the routine goes to Step 105 (S103 YES). The counter value storage pattern number of the mirror area on the RAM is read out, the storage address of each counter is obtained according to the pattern number and the conversion table on the ROM, each counter value is read out from the address, and the temporary area on the RAM ( The data is saved in the update source register of each counter (S105).

次に印刷指示に従って印刷処理が行なわれると、各カウンタは使用量に応じて更新される(S106)。更新されるエリアはテンポラリエリアである。この更新後、印刷の終了や所定時間毎のタイミングでデータ保存を行なう。上記タイミングか否かが判断される(S107)。続いて、0からNまでの整数をランダムに発生させる乱数発生関数により、乱数を発生させ、RAM上のミラー領域のカウンタ値格納パターン番号に格納する。このとき、乱数の発生結果が前回と同様の値の場合は、再度、乱数発生関数により乱数を発生させる(S108)。更新されたRAM上のミラー領域のカウンタ値格納パターン番号を読み出し、そのパターン番号と、ROM上の変換テーブルに従い、RAM上のテンポラリエリアに退避してあった各カウンタ値を、ミラー領域の該当箇所に復帰させる(S109)。次いでRAM上のミラー領域エリアをEEPROMに保存する(S110)。 その後、電源投入処理を終了し待機状態に移行する(S111)。   Next, when printing processing is performed according to the printing instruction, each counter is updated according to the usage amount (S106). The area to be updated is a temporary area. After this update, the data is stored at the end of printing or at a predetermined time interval. It is determined whether or not the timing is reached (S107). Subsequently, a random number is generated by a random number generation function that randomly generates integers from 0 to N, and is stored in the counter value storage pattern number of the mirror area on the RAM. At this time, if the generation result of the random number is the same value as the previous time, the random number is generated again by the random number generation function (S108). The counter value storage pattern number of the mirror area on the updated RAM is read, and each counter value saved in the temporary area on the RAM according to the pattern number and the conversion table on the ROM is changed to the corresponding part of the mirror area. (S109). Next, the mirror area on the RAM is stored in the EEPROM (S110). Thereafter, the power-on process is terminated and the process shifts to a standby state (S111).

以上のように、第2の実施形態では、カウンタ値格納パターン値を、第1の実施形態のように、昇順に変化させるのではなく、乱数発生関数を用いてランダムに変化させる。不揮発性メモリ(EEPROM105)上 に保持している、寿命カウンタ値や統計カウンタ値の格納場所を不規則に変化させることに加え、カウンタ値格納パターン値をランダムに変化させることにより、EEPROM105を基板から外し、EEPROMライタなどでEEPROM内のデータが参照されても、どのアドレスが、どのカウンタ値に該当するかという解析を、第1の実施形態より更に困難にさせることができ、不正ユーザによるデータの改ざんを防止することが可能となる。よって、寿命カウント値や統計カウント値により課金を行っているシステムなどで、その不正行為により不利益をこうむるという問題を解決できることになる。   As described above, in the second embodiment, the counter value storage pattern value is not changed in ascending order as in the first embodiment, but is changed randomly using a random number generation function. In addition to irregularly changing the storage location of the life counter value and statistical counter value held in the nonvolatile memory (EEPROM 105), the counter value storage pattern value is randomly changed, so that the EEPROM 105 is removed from the substrate. Even if the data in the EEPROM is referred to by an EEPROM writer or the like, it is possible to make it more difficult to analyze which address corresponds to which counter value than in the first embodiment. It becomes possible to prevent tampering. Therefore, it is possible to solve the problem that a fraudulent act incurs a disadvantage in a system that charges based on the life count value or statistical count value.

図15は、第3の実施形態の画像形成装置における本発明のデータ記憶に関する制御ブロック図である。 同図において、制御部111はROM114bに格納されている制御プログラムに従って、寿命カウンタ値や統計カウンタ値を計測し、その値をRAM114aに格納する共に、RAM114aに記憶してあるデータを不揮発性メモリであるEEPROM115に保存する。このEEPROM115に格納されたデータは、装置の電源 投入時にRAM114aに読み込まれる。   FIG. 15 is a control block diagram relating to data storage of the present invention in the image forming apparatus of the third embodiment. In the figure, the control unit 111 measures the life counter value and the statistical counter value according to the control program stored in the ROM 114b, stores the value in the RAM 114a, and stores the data stored in the RAM 114a in a nonvolatile memory. Saved in a certain EEPROM 115. The data stored in the EEPROM 115 is read into the RAM 114a when the apparatus is turned on.

図16は、第3の実施形態における、カバークローズ検出時の処理の一部を示す図である。画像形成装置のカバーのクローズが検出(S201)されると、RAM上のミラー領域のカウンタ値格納パターン番号を読み出し、そのパターン番号とROM上の変換テーブルに従い、各カウンタの格納アドレスを取得し、そのアドレスから各カウンタ値を読み出して、RAM上のテンポラリエリア(各カウンタの更新元レジスタ)に退避する(S202)。次いでRAM上のミラー領域のカウンタ値格納パターン番号を更新(インクリメント)する(S203)。更新した結果、パターン番号の最大値Nを超えた場合(S204 YES)は、RAM上のミラー領域のカウンタ値格納パターン番号に0を設定する(S205)。パターン番号が最大値N以下の場合は、そのまま、ステップ206に移る(S204 NO)。更新されたRAM上のミラー領域のカウンタ値格納パターン番号を読み出し、そのパターン番号と、ROM上の変換テーブルに従い、RAM上のテンポラリエリアに退避してあった各カウンタ値を、ミ ラー領域の該当箇所に復帰させる(S206)。RAM上のミラー領域エリアを、EEPROMに保存する(S207)。その後、従来のカバークローズ時の処理に移行する(S208)。   FIG. 16 is a diagram illustrating a part of the processing at the time of detecting the cover close in the third embodiment. When closing of the cover of the image forming apparatus is detected (S201), the counter value storage pattern number of the mirror area on the RAM is read, and the storage address of each counter is obtained according to the pattern number and the conversion table on the ROM, Each counter value is read from the address and saved in a temporary area (update counter register of each counter) on the RAM (S202). Next, the counter value storage pattern number of the mirror area on the RAM is updated (incremented) (S203). As a result of the update, if the pattern number exceeds the maximum value N (S204 YES), 0 is set to the counter value storage pattern number of the mirror area on the RAM (S205). If the pattern number is less than or equal to the maximum value N, the process proceeds to step 206 as it is (S204 NO). Read the updated counter value storage pattern number of the mirror area on the RAM and, according to the pattern number and the conversion table on the ROM, save each counter value saved in the temporary area on the RAM to the corresponding mirror area. Return to the location (S206). The mirror area area on the RAM is stored in the EEPROM (S207). Thereafter, the process proceeds to the conventional cover closing process (S208).

以上のように、第3の実施形態では、カバークローズのタイミングで、EEPROM115上の各カウンタの格納アドレスを移動する。 保守用にオンライン状態でEEPROMデータを読み出せるコマンド機能があるため、この保守用コマンド機能を利用し、消耗品交換後(カバークローズ後)にEEPROMデータを読み出されても、どのアドレスが、どのカウンタ値に該当するかという解析を困難にさせることができ、不正ユーザによるデータの改ざんを困難にすることが出来る。よって、寿命カウント値や統計カウント値により課金を行っているシステムなどで、その不正行為により不利益を蒙る場合があるという問題を解決できる。   As described above, in the third embodiment, the storage address of each counter on the EEPROM 115 is moved at the cover closing timing. Since there is a command function that can read EEPROM data online for maintenance, even if the EEPROM command is read after replacement of consumables (after the cover is closed) using this maintenance command function, It is possible to make it difficult to analyze whether the value corresponds to the counter value, and to make it difficult for an unauthorized user to tamper with the data. Therefore, it is possible to solve the problem that in some cases, such as a system that charges based on the life count value or the statistical count value, there is a case where it is disadvantageous due to the fraud.

図17は、第4の実施形態における本発明のデータ記憶に関する制御ブロック図である。同図において、制御部123はROM124bに格納されている制御プログラムに従って、寿命カウンタ値や統 計カウンタ値を計測し、その値をRAM124aに格納する共に、RAM124aに記憶してあるデータを不揮発性メモリであるEEPROM125に保存する。このEEPROM125に格納されたデータは、装置の電源 投入時にRAM124aに読み込まれる。   FIG. 17 is a control block diagram relating to data storage of the present invention in the fourth embodiment. In the figure, the control unit 123 measures the life counter value and the statistical counter value according to the control program stored in the ROM 124b, stores the value in the RAM 124a, and stores the data stored in the RAM 124a in the nonvolatile memory. Is stored in the EEPROM 125. The data stored in the EEPROM 125 is read into the RAM 124a when the apparatus is turned on.

図18は第4の実施形態における印刷終了時の処理の一部を示す流れ図である。例えば印刷ジョブの終了や、1枚の印刷の排出時など、或いは最終印刷が終了して所定時間経過したとき等の画像形成装置の印刷が停止したとき(S301)では、RAM上のミラー領域のカウンタ値格納パターン番号を読み出し、そのパターン番号とROM上の変換テーブルに従い、各カウンタの格納アドレスを取得し、そのアドレスから各カウンタ値を読み出して、RAM上のテンポラリエリア(各カウンタの更新元レジスタ)に退避する(S302)。 RAM上のミラー領域のカウンタ値格納パターン番号を更新(インクリメント)する(S303)。更新した結果、パターン番号の最大値Nを超えた場合(S304 YES)は、RAM上のミラー領域のカウンタ値格納パターン番号に0を設定する(S305)。パターン番号が最大値N以下の場合は、そのまま、ステップ306に移る(S304 NO)。更新されたRAM上のミラー領域のカウンタ値格納パターン番号を読み出し、そのパターン番号と、ROM上の変換テーブルに従い、RAM上のテンポラリエリアに退避してあった各カウンタ値を、ミラー領域の該当箇所に復帰させる(S306)。RAM上のミラー領域エリアを、EEPROMに保存する(S307)。その後、従来の印刷終了処理に移行する(S308)。 FIG. 18 is a flowchart showing a part of processing at the end of printing in the fourth embodiment. For example, when the printing of the image forming apparatus is stopped (S301), such as when a print job is finished, when a single print is discharged, or when a predetermined time has passed since the last print was finished (S301), The counter value storage pattern number is read out, the storage address of each counter is obtained according to the pattern number and the conversion table on the ROM, each counter value is read from the address, and the temporary area on the RAM (the update source register of each counter) (S302). The counter value storage pattern number of the mirror area on the RAM is updated (incremented) (S303). As a result of the update, if the maximum value N of pattern numbers is exceeded (S304 YES), 0 is set to the counter value storage pattern number of the mirror area on the RAM (S305). If the pattern number is less than or equal to the maximum value N, the process proceeds to step 306 as it is (S304 NO). The counter value storage pattern number of the mirror area on the updated RAM is read, and each counter value saved in the temporary area on the RAM according to the pattern number and the conversion table on the ROM is changed to the corresponding part of the mirror area. (S306). The mirror area area on the RAM is stored in the EEPROM (S307). Thereafter, the process proceeds to a conventional print end process (S308).

以上のように、第4の実施形態では、印刷終了のタイミングで、EEPROM上の各カウンタの格納ア ドレスを移動する。保守用にオンライン状態でEEPROMデータを読み出せるコマンド機能があるため、この保守用コマンド機能を利用し、印刷枚数更新後(印刷終了後)にEEPROMデータを読み出されても、どのアドレスが、どのカウンタ値に該当するかという解析を困難にさせることができ、不正ユーザによる データの改ざんを困難にすることが出来る。よって、寿命カウント値や統計カウント値により課金を行っているシステムなどで、その不正行為により不利益を蒙る場合があるという問題を解決できる。 As described above, in the fourth embodiment, the storage address of each counter on the EEPROM is moved at the end of printing. Since there is a command function that can read EEPROM data in an online state for maintenance, even if the EEPROM command is read after updating the number of printed sheets (after printing is completed) using this maintenance command function, It can make it difficult to analyze whether the data falls under the counter value, making it difficult for unauthorized users to tamper with the data. Therefore, it is possible to solve the problem that in some cases, such as a system that charges based on the life count value or the statistical count value, there is a case where it is disadvantageous due to the fraud.

上述の各実施形態の画像形成装置は、寿命カウント値や統計カウント値に代表される消耗品管理データを不揮発性メモリに記憶する機能を備えた、プリンタ、ファクシミリ、MFP(Multifunction Peripheral)、複写機などの装置に適用可能である。 The image forming apparatus of each of the above-described embodiments includes a printer, a facsimile, an MFP (Multifunction Peripheral), a copier having a function of storing consumable management data represented by a life count value and a statistical count value in a nonvolatile memory. It is applicable to such devices.

なお、上述の各実施形態では、消耗品カウンタ値を記憶する不揮発性メモリを画像形成装置本体に備えたが、プロセスカートリッジ本体に備えるように構成することもできる。また、上述の実施形態では、画像形成装置の消耗品カウンタ値について説明したが、本発明はこれに限定されるものではなく、カウンタ値を格納する不揮発性メモリを備えた課金システムにも適用することができる。例えば、利用時間によってカウント値を加算して課金するシステムや、使用パケット数によってカウンタ値を加算して課金するシステム、或いは使用電力量によってカウンタ値を加算して課金するシステムなどにも適用することができる。   In each of the above-described embodiments, the nonvolatile memory for storing the consumable counter value is provided in the image forming apparatus main body. However, the non-volatile memory may be provided in the process cartridge main body. In the above-described embodiment, the consumables counter value of the image forming apparatus has been described. However, the present invention is not limited to this, and the present invention is also applicable to a charging system including a non-volatile memory for storing the counter value. be able to. For example, the present invention is also applicable to a system that adds a count value depending on usage time and charges, a system that charges a counter value based on the number of used packets, or a system that charges based on the amount of power used. Can do.

また、上述の実施形態では、カウンタ類は5種類であるが、その数は消耗品に関するカウンタ値の数によって任意に決定される。たとえば、カラー出力カウンタ、白黒出力カウンタ、或いは印字画素数カウンタなども含まれる。   In the above-described embodiment, there are five types of counters, but the number is arbitrarily determined by the number of counter values related to consumables. For example, a color output counter, a black and white output counter, or a print pixel number counter is also included.

本発明の第1の実施形態にかかる画像形成装置の一例を示すブロック図である。1 is a block diagram illustrating an example of an image forming apparatus according to a first embodiment of the present invention. 本発明の第1の実施形態にかかる画像形成装置の一例の印刷機構の構成を示す概略側面図である。1 is a schematic side view illustrating a configuration of a printing mechanism as an example of an image forming apparatus according to a first embodiment of the present invention. 本発明の第1の実施形態にかかる画像形成装置の一例のデータ記憶に関する構成のブロック図である。1 is a block diagram of a configuration related to data storage of an example of an image forming apparatus according to a first embodiment of the present invention. 本発明の第1の実施形態にかかる画像形成装置の一例におけるEEPROMの記憶領域の構成図である。1 is a configuration diagram of a storage area of an EEPROM in an example of an image forming apparatus according to a first embodiment of the present invention. 本発明の第1の実施形態にかかる画像形成装置の一例におけるRAM上に存在する、EEPROMのミラー領域の構成図である。1 is a configuration diagram of a mirror region of an EEPROM existing on a RAM in an example of an image forming apparatus according to a first embodiment of the present invention. 本発明の第1の実施形態にかかる画像形成装置の一例におけるROMのプログラム上に配置される各種カウンタの格納アドレスを規定したテーブル表である。6 is a table that defines storage addresses of various counters arranged on a ROM program in the image forming apparatus according to the first embodiment of the present invention. 本発明の第1の実施形態にかかる画像形成装置の一例におけるROMのプログラム上に配置される実際のテーブルデータを示す。3 shows actual table data arranged on a ROM program in an example of the image forming apparatus according to the first embodiment of the present invention. 本発明の第1の実施形態にかかる画像形成装置の一例におけるカウンタ値格納パターン番号B6の値が、"2"の時のEEPROMの記憶領域の配置図である。FIG. 6 is an arrangement diagram of the storage area of the EEPROM when the value of the counter value storage pattern number B6 in the example of the image forming apparatus according to the first embodiment of the present invention is “2”. 本発明の第1の実施形態にかかる画像形成装置の一例における電源投入時の各処理を示す流れ図である。5 is a flowchart showing each process at power-on in the example of the image forming apparatus according to the first embodiment of the present invention. 本発明の第1の実施形態にかかる画像形成装置の一例におけるRAM上のミラー領域から総印刷枚数を読み出す処理を示す流れ図である。6 is a flowchart showing a process of reading a total number of printed sheets from a mirror area on a RAM in an example of the image forming apparatus according to the first embodiment of the present invention. 本発明の第1の実施形態にかかる画像形成装置の一例におけるRAM上のミラー領域から総印刷枚数を書き込む処理を示す流れ図である。6 is a flowchart showing a process of writing the total number of printed sheets from a mirror area on a RAM in an example of the image forming apparatus according to the first embodiment of the present invention. 本発明の第1の実施形態にかかる画像形成装置の一例におけるRAM上のミラー領域のデータをEEPROMに書き込む処理を示す流れ図である。3 is a flowchart showing a process of writing data in a mirror area on a RAM to an EEPROM in an example of the image forming apparatus according to the first embodiment of the present invention. 本発明の第2の実施形態にかかる画像形成装置の一例のデータ記憶に関する構成のブロック図である。It is a block diagram of the structure regarding the data storage of an example of the image forming apparatus concerning the 2nd Embodiment of this invention. 本発明の第2の実施形態にかかる画像形成装置の一例における電源投入時の各処理を示す流れ図である。6 is a flowchart showing each process at power-on in an example of an image forming apparatus according to a second embodiment of the present invention. 本発明の第3の実施形態にかかる画像形成装置の一例のデータ記憶に関する構成のブロック図である。It is a block diagram of the structure regarding the data storage of an example of the image forming apparatus concerning the 3rd Embodiment of this invention. 本発明の第3の実施形態にかかる画像形成装置の一例におけるカバークローズ時の各処理を示す流れ図である。10 is a flowchart showing each process when a cover is closed in an example of an image forming apparatus according to a third embodiment of the present invention. 本発明の第4の実施形態にかかる画像形成装置の一例のデータ記憶に関する構成のブロック図である。It is a block diagram of the structure regarding the data storage of an example of the image forming apparatus concerning the 4th Embodiment of this invention. 本発明の第4の実施形態にかかる画像形成装置の一例における印刷終了時の各処理を示す流れ図である。10 is a flowchart illustrating processing at the end of printing in an example of an image forming apparatus according to a fourth exemplary embodiment of the present invention.

符号の説明Explanation of symbols

1 プリント制御部
2 LEDヘッド
3 制御部(CPU)
4 メモリ
4a RAM
4b ROM
5 EEPROM
8 カウンタ
9 ドットカウンタ
11 表示部
22 感光体ドラム
26 現像ユニット
54 トナーセンサ
103 制御部(CPU)
104a RAM
104b ROM
105 EEPROM
113 制御部(CPU)
114a RAM
114b ROM
115 EEPROM
123 制御部(CPU)
124a RAM
124b ROM
125 EEPROM
1 Print Control Unit 2 LED Head 3 Control Unit (CPU)
4 Memory 4a RAM
4b ROM
5 EEPROM
8 Counter 9 Dot Counter 11 Display Unit 22 Photosensitive Drum 26 Developing Unit 54 Toner Sensor 103 Control Unit (CPU)
104a RAM
104b ROM
105 EEPROM
113 Control unit (CPU)
114a RAM
114b ROM
115 EEPROM
123 Control unit (CPU)
124a RAM
124b ROM
125 EEPROM

Claims (8)

消耗品使用量を算出して記憶する画像形成装置であって、
前記消耗品使用量を格納パターン番号で規定される所定の格納アドレスにより指定されたそれぞれの領域に記憶する第1の記憶手段と、
前記格納パターン番号と、所定の格納アドレスにより指定されたそれぞれの領域に記憶された前記消耗品使用量とを読み出し、一時的に記憶する第2の記憶手段と、
消耗品の使用量を算出して、前記第2の記憶手段に記憶された前記消耗品使用量を更新する算出手段と、
前記第2の記憶手段により読みだされた前記格納パターン番号に基づき、予め用意された複数のアドレス変換テーブルを参照して、前記消耗品使用量を所定の格納アドレスにより指定されたそれぞれの領域から別の格納アドレスにより指定されるそれぞれの領域に変更して記憶させる記憶領域変更手段とを有する
ことを特徴とする画像形成装置。
An image forming apparatus that calculates and stores a consumable usage amount,
First storage means for storing the amount of consumables used in each area designated by a predetermined storage address defined by a storage pattern number ;
Second storage means for reading and temporarily storing the storage pattern number and the consumable usage amount stored in each area designated by a predetermined storage address ;
Calculating means for calculating a consumption amount of consumables, and updating the consumption consumption amount stored in the second storage means;
Based on the storage pattern number read by the second storage means, referring to a plurality of address conversion tables prepared in advance, the amount of consumables used is determined from each area designated by a predetermined storage address. An image forming apparatus comprising storage area changing means for changing and storing each area designated by a different storage address .
前記格納パターン番号は、前記消耗品使用量の使用量に応じたカウンタ値の格納先アドレスを規定するカウンタ値格納パターン番号であり、The storage pattern number is a counter value storage pattern number that defines a storage destination address of a counter value according to the usage amount of the consumables usage amount,
前記アドレス変換テーブル内の格納アドレスの配置パターンは前記カウンタ値格納パターン番号の変化により不連続かつ不規則となるアドレス構成であり、An arrangement pattern of storage addresses in the address conversion table is an address configuration that becomes discontinuous and irregular due to a change in the counter value storage pattern number,
前記記憶領域変更手段は、前記カウント値格納パターン番号を変化させる複数の配置パターンから1つのパターンを選択して前記格納アドレスを設定することThe storage area changing means selects one pattern from a plurality of arrangement patterns for changing the count value storage pattern number and sets the storage address.
を特徴とする請求項1記載の画像形成装置。The image forming apparatus according to claim 1.
前記複数のアドレス変換テーブルの1つのデータは発生させた乱数により選択されることOne data of the plurality of address conversion tables is selected by a generated random number.
を特徴とする請求項1記載の画像形成装置。The image forming apparatus according to claim 1.
前記記憶領域変更手段は、電源投入時、消耗品交換時、及び印刷終了時の何れか1つ若しくは複数のタイミングで消耗品使用量の格納アドレスを配置変更することThe storage area changing means changes the storage address of the consumable usage amount at any one or a plurality of timings when the power is turned on, the consumables are replaced, and the printing is completed.
を特徴とする請求項1記載の画像形成装置。The image forming apparatus according to claim 1.
前記第1の記憶手段は不揮発性メモリであることThe first storage means is a nonvolatile memory
を特徴とする請求項1記載の画像形成装置。The image forming apparatus according to claim 1.
消耗品使用量を格納パターン番号で規定される所定の格納アドレスにより指定されたそれぞれの領域に記憶する第1の記憶手段と、First storage means for storing the amount of consumables used in each area designated by a predetermined storage address defined by a storage pattern number;
前記格納パターン番号と、前記領域に記憶された前記消耗品使用量とを前記第1の記憶手段から読み出し、一時的に記憶する第2の記憶手段と、Second storage means for reading out the storage pattern number and the consumable usage amount stored in the area from the first storage means and temporarily storing them;
消耗品の使用量を算出して、前記第2の記憶手段に記憶された前記消耗品使用量を更新する算出手段と、Calculating means for calculating a consumption amount of consumables, and updating the consumption consumption amount stored in the second storage means;
前記第2の記憶手段により読みだされた前記格納パターン番号に基づき、予め用意された複数のアドレス変換テーブルを参照して、前記消耗品使用量を所定の格納アドレスにより指定されたそれぞれの領域から別の格納アドレスにより指定されるそれぞれの領域に変更して記憶させる記憶領域変更手段とを有し、Based on the storage pattern number read by the second storage means, referring to a plurality of address conversion tables prepared in advance, the amount of consumables used is determined from each area designated by a predetermined storage address. Storage area changing means for changing and storing each area designated by another storage address;
前記記憶領域変更手段により変更された前記別の格納アドレスにより指定された領域の前記消耗品使用量を読み出して所要の課金を行なうことReading the amount of consumables used in the area specified by the other storage address changed by the storage area changing means and charging the required amount
を特徴とする画像形成装置の課金システム。A charging system for an image forming apparatus.
前記記憶領域変更手段は、電源投入時、消耗品交換時、及び印刷終了時の何れか1つ若しくは複数のタイミングで消耗品使用量の格納アドレスを配置変更することThe storage area changing means changes the storage address of the consumable usage amount at any one or a plurality of timings when the power is turned on, the consumables are replaced, and the printing is completed.
を特徴とする請求項6記載の画像形成装置の課金システム。The charging system for an image forming apparatus according to claim 6.
装置の消耗品に関する使用情報を記憶する画像形成装置において、In an image forming apparatus that stores usage information regarding consumables of the apparatus,
前記使用情報を管理する管理手段と、Management means for managing the usage information;
前記使用情報を格納パターン番号で規定される所定の格納アドレスにより指定された領域に記憶する第1の記憶手段と、First storage means for storing the usage information in an area designated by a predetermined storage address defined by a storage pattern number;
前記格納パターン番号と、所定の格納アドレスにより指定されたそれぞれの領域に記憶された前記使用情報とを読み出し、一時的に記憶する第2の記憶手段と、Second storage means for reading out and temporarily storing the storage pattern number and the use information stored in each area designated by a predetermined storage address;
消耗品の使用量を算出して、前記第2の記憶手段に記憶された前記使用情報を更新する算出手段と、Calculating means for calculating a consumption amount of consumables and updating the usage information stored in the second storage means;
前記第2の記憶手段により読みだされた前記格納パターン番号に基づき、予め用意された複数のアドレス変換テーブルを参照して、前記使用情報を所定の格納アドレスにより指定されたそれぞれの領域から別の格納アドレスにより指定されるそれぞれの領域に変更して記憶させる記憶領域変更手段とを有するBased on the storage pattern number read out by the second storage means, a plurality of address conversion tables prepared in advance are referred to, and the usage information is separated from each area designated by a predetermined storage address. Storage area changing means for changing and storing each area specified by the storage address
ことを特徴とする画像形成装置。  An image forming apparatus.
JP2006251099A 2006-09-15 2006-09-15 Image forming apparatus and charging system for image forming apparatus Expired - Fee Related JP4890170B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006251099A JP4890170B2 (en) 2006-09-15 2006-09-15 Image forming apparatus and charging system for image forming apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006251099A JP4890170B2 (en) 2006-09-15 2006-09-15 Image forming apparatus and charging system for image forming apparatus

Publications (2)

Publication Number Publication Date
JP2008070771A JP2008070771A (en) 2008-03-27
JP4890170B2 true JP4890170B2 (en) 2012-03-07

Family

ID=39292375

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006251099A Expired - Fee Related JP4890170B2 (en) 2006-09-15 2006-09-15 Image forming apparatus and charging system for image forming apparatus

Country Status (1)

Country Link
JP (1) JP4890170B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101239767B1 (en) * 2007-11-12 2013-03-06 삼성전자주식회사 Image forming apparatus and method the same

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH027074A (en) * 1988-06-27 1990-01-11 Fujitsu Ltd Device for integrating number of printed sheets for page printer
JPH02303874A (en) * 1989-05-18 1990-12-17 Matsushita Electric Ind Co Ltd counting device
JPH10187545A (en) * 1996-12-26 1998-07-21 Matsushita Electric Ind Co Ltd ID code processing device
JP2000113124A (en) * 1998-10-02 2000-04-21 Ntt Data Corp IC card, IC card access control method, and IC card access control method
US6591367B1 (en) * 1999-03-31 2003-07-08 Atabok Japan, Inc. Method and apparatus for preventing unauthorized copying and distributing of electronic messages transmitted over a network
JP4570722B2 (en) * 2000-02-25 2010-10-27 株式会社沖データ Image recording device

Also Published As

Publication number Publication date
JP2008070771A (en) 2008-03-27

Similar Documents

Publication Publication Date Title
US8036548B2 (en) Customer replaceable unit monitor (CRUM) unit, replaceable unit and image forming apparatus comprising the CRUM unit, and unit driving method thereof
JP3912026B2 (en) Image forming apparatus
JP4366613B2 (en) Image forming apparatus and image forming apparatus setting method
US8588626B2 (en) Apparatus and output setting method of consumed status of consumable items of the apparatus
JP7585538B2 (en) Image forming apparatus, method and program for controlling image forming apparatus
JP5104113B2 (en) Image forming apparatus
JP6269595B2 (en) Image forming apparatus
JP4890170B2 (en) Image forming apparatus and charging system for image forming apparatus
US7242879B2 (en) Image forming apparatus and control method for image forming apparatus
JP3890271B2 (en) Image processing apparatus, image processing apparatus ordering method, program, and storage medium
JP6773017B2 (en) Image forming device, consumables order timing notification method
JP5072709B2 (en) Image forming apparatus and consumable unit
JP6350748B2 (en) Image forming apparatus
JP5454273B2 (en) Electronic equipment and power saving control program
JP2009244892A (en) Consumable cartridge for image forming apparatus and image forming system
JP2007010774A (en) Consumable unit, image forming apparatus, and image forming apparatus management system
JP2002182532A (en) Image forming apparatus, replacement part for image forming apparatus, and IC chip
JP4967477B2 (en) Image forming apparatus and cartridge for image forming apparatus
JP4948862B2 (en) Image forming apparatus
JPH06138730A (en) Image forming device
JP2007248538A (en) Image information equipment
JP2005134513A (en) Printing device
JP2008139712A (en) Image forming apparatus
JP2006020059A (en) Image processing device
KR20050058119A (en) Apparatus and method for controlling toner supply in image forming device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090316

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20101214

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20110131

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110209

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110621

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110816

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

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

R150 Certificate of patent or registration of utility model

Ref document number: 4890170

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20141222

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees