JP2009190408A - Cartridge - Google Patents

Cartridge Download PDF

Info

Publication number
JP2009190408A
JP2009190408A JP2009096573A JP2009096573A JP2009190408A JP 2009190408 A JP2009190408 A JP 2009190408A JP 2009096573 A JP2009096573 A JP 2009096573A JP 2009096573 A JP2009096573 A JP 2009096573A JP 2009190408 A JP2009190408 A JP 2009190408A
Authority
JP
Japan
Prior art keywords
address
cartridge
memory
data
rewriting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2009096573A
Other languages
Japanese (ja)
Inventor
Noboru Asauchi
昇 朝内
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 JP2009096573A priority Critical patent/JP2009190408A/en
Publication of JP2009190408A publication Critical patent/JP2009190408A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Ink Jet (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To dissolve the problem that it is difficult to secure a sufficient reliability for writing data into a memory, though a cartridge with a recording material for printing stores information about the cartridge, for example a residual ink amount, into the memory. <P>SOLUTION: An ink cartridge 10 includes a memory control part 15 for controlling a processing which accompanies the rewrite of data to a memory 14. When rewriting (deleting or writing) the content of the memory 14 of a cartridge 10 side is instructed to be processed by wireless signals from a control device 22 of a printer 20, data rewriting on an indicated address of the memory is executed, and its ending response (an acknowledgement) is returned when information of an address corresponding to the indicated address is returned. Then, the side that includes instructed the memory 14 to process accompanying rewriting the content can verify whether the data rewriting includes been executed on a right address by reading this address. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、記録に用いる記録材料を収容した収容室を備えたカートリッジに関し、詳しくは不揮発性のメモリを内蔵したカートリッジとこのカートリッジとの間で情報をやり取りする技術に関する。   The present invention relates to a cartridge including a storage chamber for storing a recording material used for recording, and more particularly to a technique for exchanging information between a cartridge incorporating a nonvolatile memory and the cartridge.

インクジェットプリンタのようにインクを用紙に吐出して記録を行なう記録装置(プリンタ)やトナーを用いて記録を行なう記録装置などが広く用いられている。こうした記録装置のカートリッジでは、インクやトナーなどの記録材料を収容した収容室を備えている。記録材料の残量管理は、記録装置においては、重要な技術となっており、使用量を記録装置側でソフトウェアによりカウントすることが広く行なわれている。カウントした結果得られるインク残量のデータは、記録装置側のメモリにこれを記憶・管理するだけでなく、最近では、カートリッジにメモリを設けて、カートリッジ側で記憶することも行なわれている。   2. Description of the Related Art A recording apparatus (printer) that performs recording by ejecting ink onto paper, such as an ink jet printer, a recording apparatus that performs recording using toner, and the like are widely used. Such a cartridge of the recording apparatus includes a storage chamber that stores a recording material such as ink or toner. Management of the remaining amount of the recording material is an important technique in the recording apparatus, and the usage amount is widely counted by software on the recording apparatus side. The ink remaining amount data obtained as a result of the counting is not only stored and managed in the memory on the recording apparatus side, but recently, a memory is provided in the cartridge and stored on the cartridge side.

更に、カートリッジのメモリとして不揮発性メモリを採用すれば、カートリッジを記録装置本体から取り外しても、インク残量などのデータを保存することができる。従って、カートリッジを使用の途中で差し替えた場合などでも、継続して、インク残量などの管理を行なうことが可能となる。   Furthermore, if a non-volatile memory is employed as the memory of the cartridge, data such as the remaining amount of ink can be stored even when the cartridge is removed from the recording apparatus main body. Therefore, even if the cartridge is replaced during use, the remaining amount of ink can be managed continuously.

しかしながら、こうしたメモリを内蔵したカートリッジでは、メモリの内容に対する信頼性をいかにして確保するかが常に問題となっていた。メモリの内容に対する信頼性を低下させる要因としては、大きく分けると二つの理由が考えられる。一つは、カートリッジの場合、データを更新している途中で記録装置側の電源が断たれたり、場合によってデータを更新している最中に、カートリッジを取り外すことが行なわれ得るという点である。この場合、カートリッジ側のメモリの内容の更新がどこまで行なわれたかを検証することは困難であった。もう一つの要因としては、電気的な接続の問題を上げることができる。カートリッジは基本的には着脱自在に設計されており、カートリッジ内のメモリへの信号線も固定的なものとすることはできない。このため、接触式の接続などが用いられるが、接触箇所の信頼性はどうしても不充分なものとなりやすい。   However, in a cartridge incorporating such a memory, it has always been a problem how to ensure the reliability of the memory contents. There are two main reasons for reducing the reliability of the memory contents. One is that in the case of a cartridge, the power supply on the recording apparatus side can be cut off while data is being updated, or the cartridge can be removed while data is being updated. . In this case, it has been difficult to verify how far the contents of the memory on the cartridge side have been updated. Another factor can raise the problem of electrical connections. The cartridge is basically designed to be detachable, and the signal line to the memory in the cartridge cannot be fixed. For this reason, contact-type connection or the like is used, but the reliability of the contact point tends to be insufficient.

なお、かかる問題に対して、メモリに対する更新処理を複数回行なうものとしたり、メモリ自体を二重化して、同じデータを複数箇所に書き込むといった対応も考えられるが、たとえば信号線が接触不良などを起こしていれば、いずれの対応を採っても信頼性を高くすることはできない。また、メモリとして電気的に消去可能な半導体メモリ(EEPROM)を用いると、データの書き換えを行なう場合には、メモリの内容を一旦消去し、それからデータを書き込むと言った手順をとることらになる。このため、データを更新する場合には、消去と書き込みの2回のアクセスが共に正常に行なわれることが必要となり、信頼性に対する要求は更に高いものとなっていた。   To deal with this problem, it is possible to update the memory multiple times, or to duplicate the memory itself and write the same data to multiple locations. For example, the signal line may cause poor contact. If this is the case, reliability cannot be improved by taking any of these measures. In addition, when an electrically erasable semiconductor memory (EEPROM) is used as the memory, when data is rewritten, the contents of the memory are once erased and then the data is written. . For this reason, when data is updated, it is necessary that both two accesses of erasing and writing are normally performed, and the requirement for reliability is further increased.

本発明の装置は、こうした問題を解決し、メモリを備えたカートリッジにおいて、データの更新の信頼性を確保することを目的とする。   The apparatus of the present invention aims to solve such problems and to ensure the reliability of data update in a cartridge equipped with a memory.

上記課題の少なくとも一部を解決する本発明の装置は、
記録に用いる記録材料を収容し、記録装置に搭載されるカートリッジであって、
該カートリッジに関する情報を不揮発的に記憶するメモリと、
該メモリの内容の書き換えを伴う処理について、外部から、少なくともアドレスの指定を伴う指示を受け付ける処理受付手段と、
前記指定されたアドレスの内容の書き換え伴う処理を実行する実行手段と、
該処理を実行した後、少なくとも前記指定されたアドレスに対応したデータを出力する出力手段と
を備えたことを要旨としている。
An apparatus of the present invention that solves at least a part of the above problems
A cartridge for storing a recording material used for recording and mounted in a recording apparatus,
A memory for storing information on the cartridge in a nonvolatile manner;
A process accepting means for accepting at least an instruction with an address designation from the outside for a process involving rewriting of the contents of the memory;
Execution means for executing processing involving rewriting of the contents of the designated address;
The gist of the invention is that it comprises at least output means for outputting data corresponding to the designated address after executing the processing.

かかるカートリッジは、カートリッジに関する情報を不揮発的に記憶するメモリを備えており、外部からこのメモリの内容の書き換えを伴う処理について、少なくともアドレスの指定を伴う指示を受け付ける。この指示をうけつけると、カートリッジは、指定されたアドレスの内容の書き換えを伴う処理を実行するが、その上で、少なくとも指定されたアドレスに対応したデータを出力する。なお、アドレスに対応したデータとは、アドレスそのものでも良いし、アドレスの上位または下位の複数ビットのデータでもよい。あるいは、アドレスのチェックサムやサイクリックリダンダンシーコード(CRC)、あるいはハミングコードなどでも差し支えない。メモリに対して内容の書き換えを伴う処理の指示を行なった側は、出力されたデータを読み取り、指定したアドレスに対して処理が行なわれたかを検証することが可能となる。   Such a cartridge is provided with a memory for storing information relating to the cartridge in a nonvolatile manner, and accepts at least an instruction accompanied by designation of an address for processing involving rewriting of the contents of the memory from the outside. When this instruction is received, the cartridge executes a process involving rewriting of the contents of the designated address, and then outputs at least data corresponding to the designated address. Note that the data corresponding to the address may be the address itself, or may be data of a plurality of bits at the upper or lower order of the address. Alternatively, an address checksum, a cyclic redundancy code (CRC), or a hamming code may be used. The side that has instructed the process to rewrite the contents to the memory can read the output data and verify whether the process has been performed on the designated address.

メモリの内容の書き換えを伴う処理としては、メモリへのデータの書き込み処理またはデータの消去処理を考えることができる。メモリによってはデータを書き換える際に、前もって消去処理を必要とするものも存在する。この場合は、書き込み処理は、消去処理および書き込み処理となる。   As a process involving rewriting of the contents of the memory, a data writing process or a data erasing process can be considered. Some memories require an erasing process before rewriting data. In this case, the writing process is an erasing process and a writing process.

メモリの内容の書き換えを伴う処理として、メモリへのデータの消去処理を想定した場合、消去処理について外部から指定されるアドレスに、少なくとも2以上の冗長度を持たせることも有用である。消去処理は、データの中味を失わせる処理なので、アドレスを二重化して出力するなど、高い冗長度を持たせることが望ましいからである。例えば、外部からのアドレスの指定を、書き換えを伴う処理を行なおうとするアドレスを指定する信号と、該アドレスのビットの状態を所定の規則に従って入れ替えた信号とにより行なうことも可能である。こうした所定の規則としては、逆数演算、補数演算、ビットのローテーションのうちの少なくとも一つを採用することができる。   Assuming an erasure process of data to the memory as a process involving rewriting of the memory contents, it is also useful to provide at least two or more redundancy at an address designated from the outside for the erasure process. This is because the erasure process is a process for losing the contents of the data, and therefore it is desirable to provide a high redundancy, for example, by outputting the address in duplicate. For example, the designation of an address from the outside can be performed by a signal that designates an address to be processed with rewriting and a signal in which the bit state of the address is changed according to a predetermined rule. As such a predetermined rule, at least one of reciprocal operation, complement operation, and bit rotation can be employed.

こうした外部からのアドレス指定を受けて出力手段が出力するデータは、指定されたアドレスと対応しているデータであれば良く、指定されたアドレスと同一のデータでも良いし、その一部に相当するデータであってよい。また、指定されたアドレスから生成されるパリティ、ハミングコード、CRCなどのコードでもよい。これらを用いれば、アドレス自体を出力するより、出力するデータのビット数を少なくすることが可能となる。   The data output by the output means in response to such external address designation may be data corresponding to the designated address, and may be the same data as the designated address or a part thereof. It may be data. Further, it may be a code such as a parity, a Hamming code, or a CRC generated from a specified address. By using these, it is possible to reduce the number of bits of data to be output, rather than outputting the address itself.

また、出力手段は、前記メモリの内容の書き換えを伴う処理の完了後に、該処理の完了を示す信号と共に、前記データを出力する手段とすることも可能である。もとより、完了を示す信号とデータとを別々に出力しても差し支えない。同時に出力する場合には、処理を短期間に完了でき、別々に出力する場合には、データ構成の自由度を高めることができる。   Further, the output means may be means for outputting the data together with a signal indicating the completion of the process after completion of the process involving rewriting of the contents of the memory. Of course, a signal indicating completion and data may be output separately. In the case of simultaneous output, the processing can be completed in a short time, and in the case of separate output, the degree of freedom of data configuration can be increased.

メモリにおいて更新されるデータとしては、収容した記録材料の残量あるいは消費量や、処理状況に関するデータ、異常発生などに関するデータ、カートリッジの取り外し回数あるいは使用時間などのデータ、使用環境(温度、湿度など)に関するデータなど、種々の情報を考えることができる。   Data that is updated in the memory includes the remaining amount or consumption of the stored recording material, data related to processing conditions, data related to occurrence of abnormalities, data such as the number of cartridge removals or usage time, and usage environment (temperature, humidity, etc.) ) And other information can be considered.

また、カートリッジに収納された記録材料としては、プリンタなどの記録装置における所定色のインクや、複写機、ファックスまたはレーザプリンタ用のトナーなどを想定することができる。もとよりその他の材料、例えば半導体を形成するための材料や、触媒の溶液など、最終的に何らかの記録が行なわれる材料であれば、適用することができる。   As the recording material stored in the cartridge, ink of a predetermined color in a recording apparatus such as a printer, toner for a copying machine, a fax machine, or a laser printer can be assumed. Of course, other materials, for example, a material for forming a semiconductor, a material such as a solution of a catalyst, and the like that can be finally recorded are applicable.

メモリとしは、通常のパラレルアクセスタイプのものでも良いが、信号のやり取りに要する信号線の低減を図って、シリアルアクセスタイプのメモリを採用することも可能である。また、こうしたメモリは、不揮発性またはバッテリバックアップされていることが望ましく、電気的消去可能なプログラマブルメモリ(EEPROM)や強誘電体メモリなどを採用することができる。   The memory may be a normal parallel access type, but a serial access type memory may be employed in order to reduce signal lines required for signal exchange. Such a memory is preferably non-volatile or battery-backed up, and an electrically erasable programmable memory (EEPROM), a ferroelectric memory, or the like can be adopted.

なお、カートリッジと外部とのデータのやり取りは、有線・無線通信のいずれであってもよい。一部を有線、残りを無線通信とすることもできる。無線通信の場合には、外部と無線通信よりデータの授受を行なう無線通信手段を備え、メモリの内容の書き換えを伴う処理に関する指定,アドレス,アドレスに対応したデータのうち、少なくとも一つについては、この無線通信手段を介してやり取りする構成を採用することができる。無線通信を採用する場合には、コネクタや接触子のような電気的な接続手段を別途設ける必要がなく、カートリッジの脱着が容易であるという利点が得られる。   Note that the exchange of data between the cartridge and the outside may be either wired or wireless communication. Some can be wired and the rest can be wireless. In the case of wireless communication, a wireless communication means for transferring data from / to the outside by wireless communication is provided, and at least one of the data corresponding to the designation, address, and address related to processing involving rewriting of the contents of the memory, A configuration for exchanging via this wireless communication means can be adopted. In the case of adopting wireless communication, there is no need to separately provide electrical connection means such as a connector or a contact, and there is an advantage that the cartridge can be easily attached and detached.

こうした無線通信手段には、通信を行なうためのループ状のアンテナを備えることができ、このアンテナに誘起される起電力を利用して、カートリッジ内への給電を行なう電源手段を備えることも可能である。かかる構成を採用すれば、無線通信を利用しながら、カートリッジ側の特別な電源、例えば電池などを用意する必要がない。もとより、カートリッジ側に一次電池を設けても良いし、電池に代えて、あるいは一次電池共に、二次電池やコンデンサを設けてもよい。   Such a wireless communication means can be provided with a loop-shaped antenna for performing communication, and can also be provided with a power supply means for supplying power into the cartridge using an electromotive force induced in the antenna. is there. By adopting such a configuration, it is not necessary to prepare a special power source such as a battery on the cartridge side while using wireless communication. Of course, a primary battery may be provided on the cartridge side, or a secondary battery or a capacitor may be provided instead of the battery or together with the primary battery.

また、本発明の記録装置は、記録に用いる記録材料を収容した収容室を備えたカートリッジが搭載された記録装置であって、
前記カートリッジには、
該カートリッジに関する情報を不揮発的に記憶するメモリと、
該メモリの内容の書き換えを伴う処理について、外部から、少なくともアドレスの指定を伴う指示を受け付ける処理受付手段と、
前記指定されたアドレスの内容の書き換え伴う処理を実行する実行手段と、
該処理を実行した後、少なくとも前記指定されたアドレスに対応したデータを出力する出力手段と
が備えられ、
更に、当該記録装置には、
前記前記メモリの内容の書き換えを行なうアドレスを指定するアドレス指定手段と、
前記カートリッジの出力手段から出力された前記アドレスに対応したデータを入力する入力手段と、
該入力した前記データと前記アドレス指定手段が指定したアドレスとを突き合わせ、両者が対応している場合には、該メモリの内容の書き換えを伴う処理が正常に行なわれたと判断する判断手段と
を備えたことを要旨とする。
The recording apparatus of the present invention is a recording apparatus equipped with a cartridge having a storage chamber for storing a recording material used for recording,
The cartridge includes
A memory for storing information on the cartridge in a nonvolatile manner;
A process accepting means for accepting at least an instruction with an address designation from the outside for a process involving rewriting of the contents of the memory;
Execution means for executing processing involving rewriting of the contents of the designated address;
An output means for outputting data corresponding to at least the designated address after executing the processing;
Furthermore, the recording device includes
Address designating means for designating an address for rewriting the contents of the memory;
Input means for inputting data corresponding to the address output from the output means of the cartridge;
A judgment means for judging that the process involving rewriting of the contents of the memory has been normally performed when the inputted data and the address designated by the address designation means are matched and both correspond to each other; This is the summary.

かかる記録装置では、記録装置側からカートリッジのメモリに対して所定のアドレスを指定してそのデータの書き換えを伴う処理を指示する。カートリッジ側では、この指示をうけつけると、指定されたアドレスの内容の書き換えを伴う処理を実行するが、その上で、少なくとも指定されたアドレスに対応したデータを記録装置に出力する。記録装置は、出力されたデータを読み取り、指定したアドレスとの時合わせを行ない、両者が対応している場合には、メモリの所定のアドレスへの内容の書き換えを伴う処理が正常に行なわれたと判断する。このため、この記録装置によれば、メモリの内容の書き換えを伴うような処理について、書き換えが正しいアドレスについて行なわれたかを検証することができ、メモリ内容の信頼性を高めることができる。   In such a recording apparatus, a predetermined address is designated to the memory of the cartridge from the recording apparatus side to instruct a process involving rewriting of the data. Upon receiving this instruction, the cartridge side executes a process involving rewriting of the contents of the designated address, and then outputs at least data corresponding to the designated address to the recording apparatus. The recording device reads the output data and performs time alignment with the specified address. If both correspond, the process involving rewriting of the contents to the predetermined address in the memory has been performed normally. to decide. For this reason, according to this recording apparatus, it is possible to verify whether rewriting has been performed on a correct address in a process involving rewriting of the contents of the memory, and the reliability of the memory contents can be improved.

ここで、入力した前記データと前記アドレス指定手段が指定したアドレスとを突き合わせ、両者が対応していない場合には、メモリの内容の書き換えを行なう処理を再度行なわせて、誤りを修正するものとしし、メモリ内のデータの信頼性を高めることも望ましい。もとより、両者が対応していない場合には、その旨を報知する構成としても良い。こうすれば、使用者に対して何らかのエラーの発生を報知することができ、機器使用上の信頼性を一層高めることができる。更に、記録装置のアドレス指定手段は、アドレスの指定を、書き換えを伴う処理を行なおうとするアドレスを指定する信号と、このアドレスのビットの状態を所定の規則に従って入れ替えた信号とにより行なうものとすることもできる。また、この所定の規則としては、逆数演算、補数演算、ビットのローテーションのうちの少なくとも一つを採用することができる。   Here, the input data and the address designated by the address designating unit are matched, and if they do not correspond, the process of rewriting the contents of the memory is performed again to correct the error. It is also desirable to increase the reliability of data in the memory. Of course, when both do not correspond, it is good also as a structure which alert | reports that. By so doing, it is possible to notify the user of the occurrence of some error and to further improve the reliability in using the device. Further, the addressing means of the recording apparatus performs the address designation by a signal for designating an address to be processed with rewriting and a signal in which the bit state of this address is changed in accordance with a predetermined rule. You can also As the predetermined rule, at least one of reciprocal operation, complement operation, and bit rotation can be employed.

本発明は、こうした記録装置としてだけでなく、情報をやり取りする方法の発明として把握することも可能である。即ち、本発明の情報をやり取りする方法は、
記録に用いる記録材料を収容した収容室を備えたカートリッジとの間で、情報をやり取りする方法であって、
前記カートリッジに設けられ、前記カートリッジに関する情報を不揮発的に記憶するメモリに対する内容の書き換えを伴う処理について、少なくともそのアドレスを、該カートリッジの外部から指定し、
該指定されたアドレスに従って、前記カートリッジにおいて行なわれる前記メモリの内容の書き換えを伴う処理が行なわれた後、前記指定されたアドレスに対応したデータを、前記カートリッジの外部に出力し、
該出力されたデータと前記指定されたアドレスとの対応を検証して、前記メモリの内容の書き換えを伴う処理が正常に行なわれたか否かを判断すること
を要旨とする。
The present invention can be understood not only as such a recording apparatus but also as an invention of a method for exchanging information. That is, the method of exchanging information of the present invention is as follows.
A method for exchanging information with a cartridge having a storage chamber for storing a recording material used for recording,
For processing that involves rewriting the contents of a memory that is provided in the cartridge and stores information about the cartridge in a nonvolatile manner, at least the address thereof is designated from the outside of the cartridge,
In accordance with the designated address, after processing that involves rewriting the contents of the memory performed in the cartridge is performed, data corresponding to the designated address is output to the outside of the cartridge,
The gist is to verify the correspondence between the output data and the designated address to determine whether or not the process involving rewriting of the contents of the memory has been performed normally.

本発明の実施の態様としてのカートリッジ10の概略構成を示す説明図である。It is explanatory drawing which shows schematic structure of the cartridge 10 as an embodiment of this invention. 本発明の実施の態様としてのカートリッジ側とプリンタ側の処理とを関連付けて示すフローチャートである。6 is a flowchart showing the cartridge side and printer side processing in association with each other as an embodiment of the present invention. 本発明の一実施例としてのプリンタ200の内部構成を示す概略構成図である。1 is a schematic configuration diagram illustrating an internal configuration of a printer 200 as an embodiment of the present invention. 実施例のプリンタ200における制御装置222の内部構成を示すブロック図である。FIG. 3 is a block diagram illustrating an internal configuration of a control device 222 in the printer 200 of the embodiment. 実施例の検出記憶モジュール121の外観を示す説明図である。It is explanatory drawing which shows the external appearance of the detection storage module 121 of an Example. 実施例のインクカートリッジ111への検出記憶モジュール121の取り付け状態を示す説明図である。It is explanatory drawing which shows the attachment state of the detection storage module 121 to the ink cartridge 111 of an Example. 検出記憶モジュール121の内部構成を示すブロック図である。3 is a block diagram showing an internal configuration of a detection storage module 121. FIG. キャリッジ210に搭載されたインクカートリッジ111ないし116と送受信部230との関係を示す説明図である。4 is an explanatory diagram showing a relationship between ink cartridges 111 to 116 mounted on a carriage 210 and a transmission / reception unit 230. FIG. 検出記憶モジュール121におけるEEPROM166の内部に記憶された情報を示す説明図である。4 is an explanatory diagram showing information stored in an EEPROM 166 in a detection storage module 121. FIG. 検出記憶モジュール121における処理の概要を示すフローチャートである。5 is a flowchart showing an outline of processing in a detection storage module 121. 制御装置222側からEEPROM166のデータの書き換えを伴う処理のタイミングチャートである。6 is a timing chart of a process involving rewriting of data in an EEPROM 166 from the control device 222 side. プリンタ20においてEEPROM166へのデータの書き換えにおける検証処理を示すフローチャートである。4 is a flowchart illustrating a verification process in rewriting data to an EEPROM 166 in the printer 20.

以下、本発明の実施の形態について説明する。図1は、発明の実施の形態としてのインクカートリッジ10とこのインクカートリッジ10を搭載する記録装置としてのプリンタ20との概略構成を示す説明図である。プラテン24により搬送される用紙Tに、印字ヘッド25からインクを吐出して印字を行なうプリンタ20の内部構成などについては省略するが、プリンタ20には、制御装置22が設けられている。この制御装置22では、印刷に用いたインク量などのデータを演算しており、これを送受信装置30を介してインクカートリッジ10側に送信している。インクカートリッジ10との間のデータの送受信は、無線通信によっているが、有線でも差し支えない。無線通信の方式は、この実施の形態では、電磁誘導方式としたが、他の方式も採用可能である。
インクカートリッジ10には、通信を制御する通信制御部12、メモリ14へのデータの読み書きを行なうメモリ制御部15、圧電素子を用いたセンサ17、このセンサ17の駆動とセンサ17を利用したインク残量の検出を行なうセンサ制御部19とを備える。メモリ制御部15は、通信制御部12がプリンタプリンタ20側から受け取った指示に基づいて、メモリ14との間でデータのやり取りを行なう。データのやり取りには、メモリ14の指定されたアドレスからのデータを読み取り、指定されたアドレスのデータの消去、指定されたアドレスへのデータの書き込み、の3種類がある。他方、センサ制御部19は、センサ17を用い、インク収容室16に設けられた共振室18の共振周波数の相違を利用して、インクの有無を検出する。
Embodiments of the present invention will be described below. FIG. 1 is an explanatory diagram showing a schematic configuration of an ink cartridge 10 as an embodiment of the invention and a printer 20 as a recording apparatus on which the ink cartridge 10 is mounted. Although the internal configuration of the printer 20 that performs printing by ejecting ink from the print head 25 onto the paper T conveyed by the platen 24 is omitted, the printer 20 includes a control device 22. The control device 22 calculates data such as the amount of ink used for printing, and transmits the data to the ink cartridge 10 side via the transmission / reception device 30. Data transmission / reception with the ink cartridge 10 is performed by wireless communication, but may be wired. In this embodiment, the radio communication system is an electromagnetic induction system, but other systems can also be used.
The ink cartridge 10 includes a communication control unit 12 that controls communication, a memory control unit 15 that reads and writes data to and from the memory 14, a sensor 17 that uses a piezoelectric element, and driving of the sensor 17 and ink remaining using the sensor 17. And a sensor control unit 19 for detecting the amount. The memory control unit 15 exchanges data with the memory 14 based on an instruction received from the printer printer 20 by the communication control unit 12. There are three types of data exchange: reading data from a designated address in the memory 14, erasing data at a designated address, and writing data to a designated address. On the other hand, the sensor control unit 19 uses the sensor 17 to detect the presence or absence of ink by using the difference in the resonance frequency of the resonance chamber 18 provided in the ink storage chamber 16.

図2は、メモリ制御部15が行なう処理を、プリンタ20側の制御装置22の処理と対応づけて模式的に記載したフローチャートである。メモリ制御部15は、実際にはゲートアレイなどを用いた回路により実現されるが、理解の便を図って、その処理内容をフローチャートに従って説明する。メモリ14の内容の書き換えを伴うような処理は、プリンタ20の制御装置22からの指示に基づいて行なわれる(ステップS5)。このとき、制御装置22は、メモリ14の所定のアドレスの消去、または所定のアドレスのデータの書き換えを指示する。カートリッジ10では、通信制御部12を介して、処理の内容と処理すべきアドレスとを受け取る(ステップS10)。   FIG. 2 is a flowchart schematically illustrating the process performed by the memory control unit 15 in association with the process of the control device 22 on the printer 20 side. The memory control unit 15 is actually realized by a circuit using a gate array or the like, but for the sake of understanding, the processing content will be described according to a flowchart. Processing that involves rewriting the contents of the memory 14 is performed based on an instruction from the control device 22 of the printer 20 (step S5). At this time, the control device 22 instructs deletion of a predetermined address in the memory 14 or rewriting of data at the predetermined address. In the cartridge 10, the contents of processing and the address to be processed are received via the communication control unit 12 (step S10).

検出条件の指定を受け取ったメモリ制御部15は、指定されたアドレスに対して、その内容を書き換える処理の実施を指示する(ステップS13)。かかる処理は、1バイトのオペランドと1バイトのアドレスを、メモリ14に出力することにより実現される。1バイトのオペランドは、処理の内容、たとえば消去や読取、書込などを示している。またアドレスの指定は、この例では1バイトとしたが、メモリ14の容量が大きければそれに見合ったバイト数とすれば良いし、仮に1バイトで足りる場合でも、データの信頼を高めるために、書き換えまたは消去を指示するオペコードに続けて、同じアドレスを連続して2バイト分出力するようにしても良いし、1バイトのアドレス指定+その補数1バイトからなるデータを出力するようにしても良い。もとよりその順序を入れ替えて、「書き換えまたは消去を指示するオペコード+アドレスのインバート1バイト+アドレス1バイト」という構成としても良い。更に言えば、アドレス信号に付加するもう1バイトの信号としては、アドレスを示すビット列に対して、逆数演算、補数演算、ローテーションなど、所定の規則に従う処理を行なったものを考えることができる。また、こうした余剰のバイトには、アドレス自身ではなく、アドレスのチェックサムやCRC、あるいはハミングコード、誤り訂正符号など、種々のデータを載せてもよい。   Receiving the designation of the detection condition, the memory control unit 15 instructs the designated address to perform a process of rewriting the contents (step S13). Such processing is realized by outputting a 1-byte operand and a 1-byte address to the memory 14. The 1-byte operand indicates the contents of processing, for example, erasing, reading, writing, and the like. The address designation is 1 byte in this example, but if the capacity of the memory 14 is large, the number of bytes may be set accordingly, and even if 1 byte is sufficient, rewriting is performed to increase data reliability. Alternatively, two bytes of the same address may be output continuously after the operation code instructing erasure, or data consisting of 1 byte address designation and its complement 1 byte may be output. Of course, the order may be changed to “opcode for rewriting or erasing + invert 1 byte of address + address 1 byte”. Furthermore, as another one-byte signal added to the address signal, a signal obtained by performing processing according to a predetermined rule, such as reciprocal operation, complement operation, rotation, etc., on the bit string indicating the address can be considered. Further, in such surplus bytes, various data such as an address checksum, CRC, Hamming code, error correction code, etc. may be placed instead of the address itself.

メモリ制御部15がこうしたオペランドとアドレスを出力すると、メモリ14はこれを受け取って、データの書き換えを行ない、その結果を、所定時間以内にアクセスの完了を示す信号をメモリ制御部15に返すことで知らせるから、メモリ制御部15は、メモリ14の指定アドレスのデータの書き換えが行なわれたかどうかを知ることができる。そこで、メモリ制御部15は、アクノレッジACKとデータの書き換えを伴う処理を行なったアドレスを示す1バイトのデータとを出力する(ステップS15)。   When the memory control unit 15 outputs such an operand and address, the memory 14 receives this, rewrites the data, and returns a result indicating the completion of access within a predetermined time to the memory control unit 15. Therefore, the memory control unit 15 can know whether or not the data at the designated address in the memory 14 has been rewritten. Therefore, the memory control unit 15 outputs an acknowledge ACK and 1-byte data indicating an address for which a process involving data rewriting has been performed (step S15).

メモリ制御部15が、アクノレッジACKとデータの書き換えを伴う処理を行なったアドレスとを、通信制御部12を介して出力すると、プリンタ20の制御装置22は、このデータを受け取り(ステップS20)、特にアドレスを受け取り、このアドレスが、制御装置22自らが指定したアドレスと一致しているか、否か判断する(ステップS30)。カートリッジ10側から受け取ったアドレスが指定したアドレスと一致していれば、制御装置22は、データは正常に書き換えられたと判断し(ステップS40)、次の処理の実行に移る。他方、両者が一致していなければ、制御装置22は、カートリッジ10におけるメモリ14の所定アドレスのデータの書き換えの処理にはエラーが、あったと判断する(ステップS50)。   When the memory control unit 15 outputs the acknowledge ACK and the address at which the data rewriting process is performed via the communication control unit 12, the control device 22 of the printer 20 receives this data (step S20). An address is received, and it is determined whether or not this address matches the address designated by the control device 22 itself (step S30). If the address received from the cartridge 10 matches the designated address, the control device 22 determines that the data has been rewritten normally (step S40), and proceeds to the next process. On the other hand, if the two do not match, the control device 22 determines that there is an error in the process of rewriting data at a predetermined address in the memory 14 in the cartridge 10 (step S50).

以上説明した本発明の実施の形態に拠れば、カートリッジ10では、メモリ14について、外部から指定されたアドレスの内容を書き換えることができるだけてなく、書き換えが行なわれたアドレスを、書き換えの後で確認することができる。従って、メモリ14に対するアドレスの指定などがノイズなどにより書き換えられた場合など、誤ったアドレスについてデータの書き換えが行なわれたことを認識することができる。   According to the embodiment of the present invention described above, the cartridge 10 can not only rewrite the contents of the externally designated address in the memory 14, but also confirms the rewritten address after the rewriting. can do. Therefore, it is possible to recognize that data has been rewritten at an incorrect address, such as when the address designation for the memory 14 is rewritten due to noise or the like.

次に、本発明の実施例について説明する。第1実施例はインクジェットプリンタに適用したものである。図3は、このプリンタ200の動作に関与する部分を中心に、その構成を模式的に示す説明図である。また、図4は、プリンタ200の制御装置222を中心に、その電気的な構成を示す説明図である。図3に示したように、このプリンタ200は、給紙ユニット203から給紙されプラテン225によって搬送される用紙Tに、印字ヘッド211ないし216から、インク滴を吐出して、用紙T上に画像を形成する。プラテン225は、紙送り用モータ240からギヤトレイン241を介して伝達される駆動力により回転・駆動される。このプラテンの回転角度は、エンコーダ242により検出される。印字ヘッド211ないし216は、用紙Tの幅方向に往復動するキャリッジ210に設けられている。このキャリッジ210は、ステッピングモータ223により駆動される搬送用ベルト221に結合されている。搬送用ベルト221は、無端ベルトであり、ステッピングモータ223と、その反対側に設けられたプーリ229との間に架設されている。従って、ステッピングモータ223が回転すると、キャリッジ210は、搬送用ベルト221の移動に伴い、搬送用のガイド224に沿って往復動する。   Next, examples of the present invention will be described. The first embodiment is applied to an ink jet printer. FIG. 3 is an explanatory diagram schematically showing the configuration centering on the portion related to the operation of the printer 200. FIG. 4 is an explanatory diagram showing the electrical configuration of the printer 200 centering on the control device 222. As shown in FIG. 3, the printer 200 ejects ink droplets from the print heads 211 to 216 onto the paper T that is fed from the paper feeding unit 203 and conveyed by the platen 225, so that an image is formed on the paper T. Form. The platen 225 is rotated and driven by a driving force transmitted from the paper feed motor 240 via the gear train 241. The rotation angle of the platen is detected by the encoder 242. The print heads 211 to 216 are provided on the carriage 210 that reciprocates in the width direction of the paper T. The carriage 210 is coupled to a conveying belt 221 that is driven by a stepping motor 223. The conveyor belt 221 is an endless belt, and is stretched between the stepping motor 223 and a pulley 229 provided on the opposite side. Accordingly, when the stepping motor 223 rotates, the carriage 210 reciprocates along the conveyance guide 224 as the conveyance belt 221 moves.

次に、キャリッジ210に搭載された6色のインクカートリッジ111ないし116について説明する。6色のインクカートリッジ111ないし116は、基本的な構造は同一であり、その内部の収容室に収容されるインクの組成、即ち色が異なっている。インクカートリッジ111ないし116には、それぞれ黒色のインク(K)、シアンインク(C)、マゼンタインク(M)、イエロインク(Y)、ライトシアンインク(LC)、ライトマゼンタインク(LM)、が収容されている。ライトシアンインク(LC)、ライトマゼンタインク(LM)は、それぞれ、シアンインク(C)、マゼンタインク(M)より、その染料濃度において、1/4程度に調整された淡い色のインクである。これらのカートリッジ111ないし116には、後で詳しくその構成を説明する検出記憶モジュール121ないし126が取り付けられている。この検出記憶モジュール121ないし126は、無線通信により、プリンタ200側の制御装置222とデータの交換などを行なうことができる。第1実施例では、検出記憶モジュール121ないし126は、インクカートリッジ111ないし116の側面に取り付けられている。   Next, the six color ink cartridges 111 to 116 mounted on the carriage 210 will be described. The six-color ink cartridges 111 to 116 have the same basic structure, and are different in the composition, that is, the color of the ink stored in the storage chamber. Each of the ink cartridges 111 to 116 contains black ink (K), cyan ink (C), magenta ink (M), yellow ink (Y), light cyan ink (LC), and light magenta ink (LM). ing. The light cyan ink (LC) and light magenta ink (LM) are light color inks that are adjusted to about ¼ in the dye density of the cyan ink (C) and magenta ink (M), respectively. These cartridges 111 to 116 are attached with detection storage modules 121 to 126 whose configuration will be described in detail later. The detection storage modules 121 to 126 can exchange data with the control device 222 on the printer 200 side by wireless communication. In the first embodiment, the detection storage modules 121 to 126 are attached to the side surfaces of the ink cartridges 111 to 116.

これらの検出記憶モジュール121ないし126と無線によるデータ交換を行なうために、プリンタ200には、通信用の送受信部230が設けられている。送受信部230は、他の電子部品、例えば、紙送り用モータ240、ステッピングモータ223、エンコーダ242等と共に、制御装置222に接続されている。制御装置222には、この他、プリンタ200の前面に用意された操作パネル245の各種スイッチ247や、LED248も接続されている。   In order to exchange data with these detection storage modules 121 to 126 wirelessly, the printer 200 is provided with a transmission / reception unit 230 for communication. The transmission / reception unit 230 is connected to the control device 222 together with other electronic components such as a paper feed motor 240, a stepping motor 223, an encoder 242, and the like. In addition to this, various switches 247 of an operation panel 245 prepared on the front surface of the printer 200 and an LED 248 are also connected to the control device 222.

この制御装置222は、図4に示すように、プリンタ200全体の制御を司るCPU251、その制御プログラムを記憶したROM252、データの一時保存に用いられるRAM253、外部の機器とのインタフェースを司るPIO254、時間を管理するためのタイマ255、印字ヘッド211ないし216を駆動するためのデータを蓄える駆動バッファ256などを備え、これらを、バス257で相互に接続している。制御装置222には、これらの回路素子の他、発振器258や分配出力器259なども設けられている。分配出力器259は、発振器258から出力されるパルス信号を、6つの印字ヘッド211ないし216のコモン端子に分配するものである。印字ヘッド211ないし216は、そのオン・オフ(インクを吐出する・しない)のデータを、駆動バッファ256の側から受取り、分配出力器259から駆動パルスを受け取った時点で、駆動バッファ256の側から出力されたデータに従って、インクを対応するノズルから吐出する。   As shown in FIG. 4, the control device 222 includes a CPU 251 that controls the entire printer 200, a ROM 252 that stores the control program, a RAM 253 that is used for temporary storage of data, a PIO 254 that controls an interface with an external device, a time And a drive buffer 256 for storing data for driving the print heads 211 to 216 are connected to each other via a bus 257. In addition to these circuit elements, the control device 222 is also provided with an oscillator 258, a distribution output device 259, and the like. The distribution output unit 259 distributes the pulse signal output from the oscillator 258 to the common terminals of the six print heads 211 to 216. The print heads 211 to 216 receive the ON / OFF (ink ejection / no ink) data from the drive buffer 256 side, and when the drive pulse is received from the distribution output unit 259, the print head 211 to 216 receives the data from the drive buffer 256 side. Ink is ejected from the corresponding nozzle according to the output data.

制御装置222のPIO254には、既に説明したステッピングモータ223、紙送り用モータ240、エンコーダ242、送受信部230、操作パネル245と共に、印刷すべき画像データをプリンタ200に出力するコンピュータPCも接続されている。従って、印刷時には、コンピュータPCにおいて印刷すべき画像が特定され、そのラスタライズ、色変換、ハーフトニングなどの処理が行なわれたデータが、プリンタ200に出力される。プリンタ200は、キャリッジ210の移動位置をステッピングモータ223の駆動量により検出しつつ、紙送りの位置をエンコーダ242からのデータで確認し、これらに合わせて、コンピュータPCから受け取ったデータを、印字ヘッド211ないし216のノズルから吐出すべきインクのオン・オフのデータに展開し、駆動バッファ256および分配出力器259を駆動する。   A computer PC that outputs image data to be printed to the printer 200 is connected to the PIO 254 of the control device 222 together with the stepping motor 223, the paper feed motor 240, the encoder 242, the transmission / reception unit 230, and the operation panel 245 already described. Yes. Therefore, at the time of printing, an image to be printed is specified in the computer PC, and data subjected to processing such as rasterization, color conversion, and halftoning is output to the printer 200. The printer 200 detects the moving position of the carriage 210 based on the driving amount of the stepping motor 223, checks the paper feed position with the data from the encoder 242, and matches the data received from the computer PC with the print head. The data is developed into ON / OFF data of ink to be ejected from nozzles 211 to 216, and the drive buffer 256 and the distribution output unit 259 are driven.

制御装置222は、PIO254に接続された送受信部230を介して、カートリッジ111ないし116に搭載された検出記憶モジュール121ないし126と、無線でデータのやり取りを行なうことができる。このために、送受信部230には、PIO254からの信号を所定周波数の交流信号に変換するRF変換部231と、RF変換部231からの交流信号を受けるループアンテナ233が設けられている。ループアンテナ233に交流信号を加えると、その近傍に同様のアンテナを配置すると、電磁誘導により、他方のアンテナに電気信号が励起される。本実施例では、無線による通信距離がプリンタ内部の距離に限られることから、電磁誘導を用いた無線通信手法を採用した。   The control device 222 can wirelessly exchange data with the detection storage modules 121 to 126 mounted on the cartridges 111 to 116 via the transmission / reception unit 230 connected to the PIO 254. For this purpose, the transmission / reception unit 230 is provided with an RF conversion unit 231 that converts a signal from the PIO 254 into an AC signal having a predetermined frequency, and a loop antenna 233 that receives the AC signal from the RF conversion unit 231. When an AC signal is applied to the loop antenna 233, if a similar antenna is disposed in the vicinity thereof, an electric signal is excited in the other antenna by electromagnetic induction. In this embodiment, since the wireless communication distance is limited to the distance inside the printer, a wireless communication method using electromagnetic induction is adopted.

次に、インクカートリッジ111側の検出記憶モジュール121の構成について説明する。図5は、検出記憶モジュール121ないし126の外観を正面および側面から示す図である。各インクカートリッジ111ないし116に搭載された検出記憶モジュール121ないし126は、内部に記憶されたID番号を除いてすべて同一なので、検出記憶モジュール121について以下説明する。この検出記憶モジュール121は、図示するように、薄いフィルム上の基板131に金属の薄膜パターンとして形成されたアンテナ133と、後述する各種機能を造り込んだ専用ICチップ135と、インクの有無を検出するセンサモジュール137と、これらを接続する配線パターン139などから構成されている。   Next, the configuration of the detection storage module 121 on the ink cartridge 111 side will be described. FIG. 5 is a diagram showing the appearance of the detection storage modules 121 to 126 from the front and side. Since the detection storage modules 121 to 126 mounted on the ink cartridges 111 to 116 are all the same except for the ID numbers stored therein, the detection storage module 121 will be described below. As shown in the figure, this detection storage module 121 detects an antenna 133 formed as a metal thin film pattern on a substrate 131 on a thin film, a dedicated IC chip 135 incorporating various functions to be described later, and the presence or absence of ink. Sensor module 137 and a wiring pattern 139 for connecting them.

図6は、この検出記憶モジュール121をインクカートリッジ111に装着した状態を示す端面図である。図示するように、検出記憶モジュール121は、接着剤または両面テープなどの接着層141により、インクカートリッジ111の側面に装着される。このとき、基板131の裏面に設けられたセンサモジュール137は、カートリッジ111の側面に設けられた開口に嵌合する。センサモジュール137の内部には、共振室151が形成されており、この共振室151の一側壁にセンサとして働く圧電素子153が貼付されている。   FIG. 6 is an end view showing a state in which the detection storage module 121 is mounted on the ink cartridge 111. As shown in the figure, the detection storage module 121 is mounted on the side surface of the ink cartridge 111 with an adhesive layer 141 such as an adhesive or a double-sided tape. At this time, the sensor module 137 provided on the back surface of the substrate 131 is fitted into the opening provided on the side surface of the cartridge 111. A resonance chamber 151 is formed inside the sensor module 137, and a piezoelectric element 153 serving as a sensor is attached to one side wall of the resonance chamber 151.

検出記憶モジュール121の内部構成について説明する。図7は、検出記憶モジュール121の内部構成を示すブロック図である。図示するように、この検出記憶モジュール121は、専用ICチップ135内に、RF回路161,電源部162,データ解析部163,EEPROM制御部165,EEPROM166の他、圧電素子153を備えたセンサモジュール137との間でデータのやり取りを行ないインク残量の検出を行なう検出制御部168や出力部178から構成されている。   The internal configuration of the detection storage module 121 will be described. FIG. 7 is a block diagram showing the internal configuration of the detection storage module 121. As shown in the figure, this detection storage module 121 includes a sensor module 137 provided with a piezoelectric element 153 in addition to an RF circuit 161, a power supply unit 162, a data analysis unit 163, an EEPROM control unit 165, and an EEPROM 166 in a dedicated IC chip 135. It comprises a detection control unit 168 and an output unit 178 that exchange data with each other and detect the remaining amount of ink.

RF回路161は、アンテナ133に電磁誘導により発生した交流信号を検波して入力する回路であり、検波により取り出した電力成分を電源部162に、信号成分をデータ解析部163に出力する。また、後述する出力部178からの信号を受取り、これを変調して交流信号とし、アンテナ133を介して、プリンタ200側の送受信部230に送信する機能も有する。電源部162は、RF回路161から受け取った電力成分を用い、これを安定化して、専用ICチップ135内部の電源およびセンサモジュール137の電源として出力する回路である。従って、インクカートリッジ111ないし116には、乾電池などの電源は搭載されていない。また、特に図示しなかったが、送受信部230から信号により電力が供給される時間がある程度限られている場合には、電源部162により生成された安定化電源を蓄えるコンデンサなどの電荷蓄積素子を設けることも有用である。電荷蓄積素子は、電源部162の前段に設けるものとしても良い。   The RF circuit 161 is a circuit that detects and inputs an AC signal generated by electromagnetic induction to the antenna 133, and outputs the power component extracted by the detection to the power supply unit 162 and the signal component to the data analysis unit 163. Also, it has a function of receiving a signal from an output unit 178 (to be described later), modulating the signal into an AC signal, and transmitting it to the transmitting / receiving unit 230 on the printer 200 side via the antenna 133. The power supply unit 162 is a circuit that uses the power component received from the RF circuit 161, stabilizes it, and outputs it as the power supply inside the dedicated IC chip 135 and the power supply of the sensor module 137. Therefore, the ink cartridges 111 to 116 are not equipped with a power source such as a dry battery. Although not particularly shown, when the time for which power is supplied by the signal from the transmission / reception unit 230 is limited to some extent, a charge storage element such as a capacitor for storing the stabilized power generated by the power supply unit 162 is provided. It is also useful to provide it. The charge storage element may be provided before the power supply unit 162.

データ解析部163は、RF回路161から受け取った信号成分を解析し、大まかにはコマンドとデータを取り出す回路である。データ解析部163は、解析した結果に基づき、EEPROM166とのデータのやり取りを行なうか、センサモジュール137とのデータのやり取りを行なうかを制御している。データ解析部163は、データを解析した結果に従って、EEPROM166とのデータのやり取りやセンサモジュール137とのデータのやり取りなどを行なうが、そのために、やり取りの対象となってるインクカートリッジを識別する処理なども行なう必要が生じる。データ解析部163はこれらの処理も行なう。その処理の詳細については後述するが、基本的には、図8(a)(b)に示したように、キャリッジ210に搭載された各インクカートリッジが、送受信部230に対してどの位置にあるか、という情報と、各インクカートリッジに記憶されたIDとのにより、インクカートリッジの識別を行なっている。図8(a)は、各インクカートリッジ111ないし116およびこれに装着された検出記憶モジュール121ないし126と、送受信部230との位置関係を、斜視により示す説明図であり、図8(b)は、更にインクカートリッジと送受信部230との関係を、両者の幅の観点から示す説明図である。   The data analysis unit 163 is a circuit that analyzes the signal component received from the RF circuit 161 and roughly extracts a command and data. The data analysis unit 163 controls whether data is exchanged with the EEPROM 166 or data exchange with the sensor module 137 based on the analysis result. The data analysis unit 163 exchanges data with the EEPROM 166 and exchanges data with the sensor module 137 according to the result of analyzing the data. For this purpose, the data analysis unit 163 also performs processing for identifying the ink cartridge to be exchanged. There is a need to do it. The data analysis unit 163 also performs these processes. Although details of the processing will be described later, basically, as shown in FIGS. 8A and 8B, each ink cartridge mounted on the carriage 210 is located at a position with respect to the transmission / reception unit 230. The ink cartridge is identified based on the above information and the ID stored in each ink cartridge. FIG. 8A is an explanatory view showing the positional relationship between each of the ink cartridges 111 to 116 and the detection storage modules 121 to 126 attached thereto and the transmission / reception unit 230 in perspective, and FIG. Furthermore, it is explanatory drawing which shows the relationship between an ink cartridge and the transmission / reception part 230 from a viewpoint of both width | variety.

インクカートリッジを識別する処理を行なう場合、制御装置222は、キャリッジ210を、送受信部230の存在する側に搬送する。キャリッジ210が送受信部230と対向する位置は、印字範囲外に設けられている。図8に示したように、この実施例では、検出記憶モジュール121ないし126は、インクカートリッジ111ないし116の側面に装着されており、キャリッジ210が移動することで、最大2つの検出記憶モジュールが、送受信部230との送信可能範囲に入ることになる。この状態で、データ解析部163は、送受信部230を介して、制御装置222からの要求を受け、インクカートリッジの認識処理やメモリへのアクセスあるいはセンサモジュール137とのやり取りなどの処理を行なう。処理の詳細は、後でフローチャートを用いて説明する。   When performing the process of identifying the ink cartridge, the control device 222 conveys the carriage 210 to the side where the transmission / reception unit 230 exists. The position where the carriage 210 faces the transmission / reception unit 230 is provided outside the printing range. As shown in FIG. 8, in this embodiment, the detection storage modules 121 to 126 are mounted on the side surfaces of the ink cartridges 111 to 116, and when the carriage 210 moves, a maximum of two detection storage modules are The transmission range with the transmission / reception unit 230 is entered. In this state, the data analysis unit 163 receives a request from the control device 222 via the transmission / reception unit 230, and performs processing such as ink cartridge recognition processing, access to the memory, and exchange with the sensor module 137. Details of the processing will be described later using a flowchart.

データをやり取りするインクカートリッジの特定を済ませた後、実際にEEPROM166との間でデータのやり取りを行なう場合、データ解析部163は、読み書きや消去を行なうアドレス、読み書きや消去のいずれを行なうかの指定、およびデータの書き込みの場合にはそのデータを、EEPROM制御部165に渡す。これらの指定やデータを受け取ったEEPROM制御部165は、EEPROM166に対してアドレスと読み書きや消去といった処理の指定とを出力し、データを書き込んだり、EEPROM166からデータを読み出したり、あるいはEEPROM166の特定のアドレスのデータを消去するといった処理を行なう。   After actually specifying the ink cartridge to exchange data, when actually exchanging data with the EEPROM 166, the data analysis unit 163 designates an address for reading / writing or erasing and whether to perform reading / writing or erasing In the case of data writing, the data is transferred to the EEPROM control unit 165. The EEPROM control unit 165 that has received these designations and data outputs an address and designation of processing such as read / write and erase to the EEPROM 166, writes data, reads data from the EEPROM 166, or a specific address of the EEPROM 166. The process of deleting the data is performed.

EEPROM166の内部のデータ構成を図9に示した。図9(a)に示したように、EEPROM166の内部は大きくは二つに分かれており、メモリ空間の前半は、インク残量などのデータが読み書きされるユーザメモリおよび分類コードが記憶される読み書き可能領域RAAである。またメモリ空間の後半は、インクカートリッジを特定するためのID情報が書き込まれた読出専用領域ROAである。   The internal data structure of the EEPROM 166 is shown in FIG. As shown in FIG. 9A, the inside of the EEPROM 166 is roughly divided into two, and the first half of the memory space is a user memory in which data such as the remaining amount of ink is read and written and a read / write in which a classification code is stored. It is a possible area RAA. The second half of the memory space is a read-only area ROA in which ID information for specifying the ink cartridge is written.

読出専用領域ROAに対する書き込みは、EEPROM166を備えた検出記憶モジュール121ないし126がインクカートリッジ111ないし116に取り付けられる前、例えば、検出記憶モジュールが製造される過程や、インクカートリッジが製造される過程で行なわれる。従って、プリンタ200の本体側からは、読み書き可能領域RAAに記憶されているデータに対しては、データの読み出しおよび書き込み、更にはデータの消去といった処理を実行することができる。他方、読出専用領域ROAに対しては、データの読み取りを実行し得るが、データの書き込みは実行することができない。   Writing to the read-only area ROA is performed before the detection storage modules 121 to 126 having the EEPROM 166 are attached to the ink cartridges 111 to 116, for example, in the process of manufacturing the detection storage module or the process of manufacturing the ink cartridge. It is. Therefore, from the main body side of the printer 200, processing such as data reading and writing, and data erasing can be executed on the data stored in the readable / writable area RAA. On the other hand, data can be read from the read-only area ROA, but data cannot be written.

読み書き可能領域RAAのユーザメモリには、各インクカートリッジ111ないし116のインク残量情報などを書き込むために使用されており、インク残量情報をプリンタ200本体側で読み取り、残量が僅かになったときにユーザに対して警告を出すといった処理利用可能である。分類コードの記憶領域には、インクカートリッジの種類などを区別するための様々なコードが記憶されており、ユーザが独自にこれらのコードを使用することができる。   The user memory in the readable / writable area RAA is used for writing ink remaining amount information of each ink cartridge 111 to 116, and the remaining amount of ink is read by the main body of the printer 200. It is possible to use a process that sometimes gives a warning to the user. In the storage area for the classification code, various codes for distinguishing the types of ink cartridges are stored, and the user can use these codes independently.

読出専用領域ROAに記憶されたID情報は、検出記憶モジュールが取り付けられるインクカートリッジに関する製造情報などである。ID情報としては、図9(b)に示したように、インクカートリッジ111ないし116が製造された年、月、日、時、分、秒、場所についての情報が記憶されている。これらは全て4〜8bit程度の大きさの領域に書き込まれており、全体で40bit〜70bit程度のメモリ領域を占有している。プリンタ200の電源投入直後などに、プリンタ200の制御装置222は、検出記憶モジュール121ないし126から各インクカートリッジ111ないし116の製造情報を含むID情報を読み取ることにより、例えば、インクカートリッジの有効期限が切れていたり残り僅かである場合に、ユーザに対して警告を出すことなどが可能である。   The ID information stored in the read-only area ROA is manufacturing information related to the ink cartridge to which the detection storage module is attached. As the ID information, as shown in FIG. 9B, information about the year, month, day, hour, minute, second, and place where the ink cartridges 111 to 116 are manufactured is stored. These are all written in an area having a size of about 4 to 8 bits, and occupy a memory area of about 40 bits to 70 bits as a whole. For example, immediately after the printer 200 is turned on, the control device 222 of the printer 200 reads the ID information including the manufacturing information of the ink cartridges 111 to 116 from the detection storage modules 121 to 126, for example, the expiration date of the ink cartridge. A warning or the like can be issued to the user when it is cut or only a little left.

なお、検出記憶モジュール121のEEPROM166には、上記の情報以外の情報が適宜含まれていてもよい。また、EEPROM166は、全体が書き換え可能領域としてもよい。その場合、上述したインクカートリッジの製造情報などのID情報などは、EEPROM166をNAND型フラッシュROMなど電気的に読み書き可能なメモリを採用して構成することも可能である。なお、本実施例では、EEPROM166としては、シリアルタイプのメモリを使用している。   Note that the EEPROM 166 of the detection storage module 121 may appropriately include information other than the above information. The entire EEPROM 166 may be a rewritable area. In this case, the ID information such as the manufacturing information of the ink cartridge described above can be configured by adopting an electrically readable / writable memory such as a NAND flash ROM for the EEPROM 166. In the present embodiment, a serial type memory is used as the EEPROM 166.

他方、センサモジュール137との間でやり取りを行なう場合には、データ解析部163は、検出条件を制御装置222から受け取り、これを検出制御部168に渡す。検出制御部168は、この検出条件を受け取り、これに従ってセンサモジュール137を駆動し、インクがセンサモジュール137の位置まで存在するか否かを、圧電素子153の共振周波数の相違により検出する。検出結果は、センサモジュール137から検出制御部168に返され、検出制御部168からこれを受け取った出力部178から、RF回路161を介してプリンタ200の制御装置222に出力される。   On the other hand, when exchanging with the sensor module 137, the data analysis unit 163 receives the detection condition from the control device 222 and passes it to the detection control unit 168. The detection control unit 168 receives this detection condition, drives the sensor module 137 according to this detection condition, and detects whether ink exists up to the position of the sensor module 137 based on the difference in the resonance frequency of the piezoelectric element 153. The detection result is returned from the sensor module 137 to the detection control unit 168, and is output from the output unit 178 that has received the detection result to the control device 222 of the printer 200 via the RF circuit 161.

次に、プリンタ200の制御装置222が検出記憶モジュール121ないし126のデータ解析部163と共に行なうインクカートリッジ111の識別処理やメモリアクセスの処理の概要について説明する。図10は、プリンタ200側に設けられた制御装置222と各インクカートリッジ111ないし116に設けられた検出記憶モジュール121ないし126とが、送受信部230を介した通信を行ないつつ実行する処理の概要を示したフローチャートである。プリンタ200の制御装置222と検出記憶モジュール121ないし126のデータ解析部163とは、送受信部230を介して通信を行ないつつ、ID情報読み取り処理(第1手順)、及びID情報以外の読み取り処理やインク残量情報の書き込み処理などであるメモリアクセス処理(第2手順)、更にはセンサモジュール137とのデータのやり取り(第3手順)などの各ステップを実行する。   Next, an outline of the ink cartridge 111 identification processing and memory access processing performed by the control device 222 of the printer 200 together with the data analysis unit 163 of the detection storage modules 121 to 126 will be described. FIG. 10 shows an outline of processing executed by the control device 222 provided on the printer 200 side and the detection storage modules 121 to 126 provided in the ink cartridges 111 to 116 while performing communication via the transmission / reception unit 230. It is the shown flowchart. The control device 222 of the printer 200 and the data analysis unit 163 of the detection storage modules 121 to 126 communicate with each other via the transmission / reception unit 230 while performing ID information reading processing (first procedure), reading processing other than ID information, Steps such as a memory access process (second procedure) such as a process for writing ink remaining amount information and further data exchange with the sensor module 137 (third procedure) are executed.

プリンタ200では、電源投入時、電源オン中にユーザがインクカートリッジ111ないし116の何れかを交換したとき、前回の通信処理を実行してから所定時間経過したとき等に、そのインクカートリッジの製造情報を読み取ったり、インク残量をEEPROM166の所定の領域に書き込んだり、読み取ったする処理などを実行する。これらの処理は、通常の印刷処理とは異なっており、送受信部230を介して、検出記憶モジュール121ないし126との通信を伴う処理である。   In the printer 200, when the power is turned on, when the user replaces any of the ink cartridges 111 to 116 while the power is on, the manufacturing information of the ink cartridge is displayed when a predetermined time has elapsed since the previous communication process was executed. , The ink remaining amount is written in a predetermined area of the EEPROM 166, and the process of reading is executed. These processes are different from normal printing processes, and are processes involving communication with the detection storage modules 121 to 126 via the transmission / reception unit 230.

このとき、検出記憶モジュール121ないし126との通信を行なうために、インクカートリッジ111ないし116を収容するキャリッジ210は、通常の印刷実行時の位置または右側非印字領域から離れて、送受信部230が存在する左側非印字領域へと移動される。キャリッジ210がこの左側非印字領域に移動されることによって、送受信部230の近傍に至った検出記憶モジュールでは、送受信部230のループアンテナ233からの交流信号を、アンテナ133を介して受け取る。電源部162は、この交流信号から電力を取り出し、安定化した電源店圧を内部の各制御部,回路素子に供給する。この結果、検出記憶モジュールの各制御部,回路素子は、処理を行なうことが可能になる。   At this time, in order to communicate with the detection storage modules 121 to 126, the carriage 210 that accommodates the ink cartridges 111 to 116 is away from the normal printing execution position or the right non-printing area, and the transmission / reception unit 230 exists. To the left non-printing area. When the carriage 210 is moved to the left non-printing area, the detection storage module that has reached the vicinity of the transmission / reception unit 230 receives an AC signal from the loop antenna 233 of the transmission / reception unit 230 via the antenna 133. The power supply unit 162 extracts power from the AC signal and supplies the stabilized power supply store pressure to each internal control unit and circuit element. As a result, each control unit and circuit element of the detection storage module can perform processing.

こうして送受信部230と各検出記憶モジュール121ないし126との通信を伴う処理ルーチンが開始されると、まず、プリンタ200側の制御装置222にて、電源オン要求が発生したか否かを判定する(ステップS100)。すなわち、インクジェットプリンタ200に電源が投入され、その作動が開始された直後であるか否かの判定を行なう。電源オン要求が発生したと判定した場合には(ステップS100:Yes)、第1手順すなわち検出記憶モジュール121ないし126からのID情報を読み取る手順を開始する(ステップS104以下)。   When a processing routine involving communication between the transmission / reception unit 230 and each of the detection storage modules 121 to 126 is started in this way, first, the control device 222 on the printer 200 side determines whether or not a power-on request has occurred ( Step S100). That is, it is determined whether or not the ink jet printer 200 is immediately after the power is turned on and its operation is started. If it is determined that a power-on request has occurred (step S100: Yes), the first procedure, that is, the procedure for reading ID information from the detection storage modules 121 to 126 is started (step S104 and subsequent steps).

制御装置222は、電源オン要求が発生していないと判定した場合には(ステップS100:No)、プリンタ200が通常の印刷処理を実行中であると判断し、次にインクカートリッジ111ないし116の交換要求が発生したか否かを判定する(ステップS102)。インクカートリッジ111ないし116の交換要求は、例えば、プリンタ200の電源が投入されている状態でユーザが操作パネル245上のインクカートリッジ交換ボタン247を押すことにより生じる。このとき、プリンタ200は、通常の印刷処理モードを中断してインクカートリッジ111ないし116の何れかの交換を行なうが、交換要求自体は、インクカートリッジ111ないし116の交換後に発生する。   If the control device 222 determines that a power-on request has not occurred (step S100: No), the control device 222 determines that the printer 200 is performing normal printing processing, and then determines the ink cartridges 111 to 116. It is determined whether an exchange request has occurred (step S102). The replacement request for the ink cartridges 111 to 116 is generated, for example, when the user presses the ink cartridge replacement button 247 on the operation panel 245 while the printer 200 is powered on. At this time, the printer 200 interrupts the normal print processing mode and replaces any of the ink cartridges 111 to 116. However, the replacement request itself occurs after the ink cartridges 111 to 116 are replaced.

制御装置222は、インクカートリッジ111ないし116の交換要求が発生したと判定した場合には(ステップS102:Yes)、第1手順、すなわち交換されたインクカートリッジに設けられた記憶素子からのID情報を読み取る手順を開始する(ステップS104)。一方、インクカートリッジ111ないし116交換要求が発生していない(ステップS102:No)と判定した場合には、電源投入時などに各検出記憶モジュール121ないし126のID情報を既に正常に読み取っていると判断して、次にアクセスの対象について判断する処理を行なう(ステップS150)。アクセスの対象は、本実施例のインクカートリッジでは、EEPROM166とセンサモジュール137とが存在する。そこで、メモリへのアクセスが指示されていると判断した場合には(ステップS150:メモリ)、上述した第2手順、すなわち検出記憶モジュール121ないし126とのメモリアクセス処理を開始する(ステップS200)。他方、アクセスの対象がセンサモジュール137であると判断した場合には(ステップS150:センサ)、センサモジュール137から検出結果を読み取る第3手順を実行する。   When the control device 222 determines that a replacement request for the ink cartridges 111 to 116 has been generated (step S102: Yes), the control device 222 obtains ID information from the storage element provided in the replaced ink cartridge. A reading procedure is started (step S104). On the other hand, if it is determined that the replacement request for the ink cartridges 111 to 116 has not occurred (step S102: No), the ID information of each of the detection storage modules 121 to 126 has already been normally read when the power is turned on. Next, a process for determining an access target is performed (step S150). The access target includes the EEPROM 166 and the sensor module 137 in the ink cartridge of this embodiment. Therefore, when it is determined that an instruction to access the memory is given (step S150: memory), the above-described second procedure, that is, the memory access processing with the detection storage modules 121 to 126 is started (step S200). On the other hand, when it is determined that the access target is the sensor module 137 (step S150: sensor), a third procedure for reading the detection result from the sensor module 137 is executed.

次に第1ないし第3手順の各々について説明する。上述したように、第1手順は、制御装置222が、プリンタにおける電源オン要求やインクカートリッジ交換要求を検出した場合に実行される。第1手順では、まず検出記憶モジュール121ないし126からのID情報読み取り(ステップS104)、次に、アンチコリジョン処理を実行する(ステップS106)。アンチコリジョン処理とは、いまだ各検出記憶モジュール121ないし126からそれぞれのID情報を取得していない場合に、各素子からID情報読み取り処理を行なう際に混信が発生することを防止するための処理である。このアンチコリジョン処理が途中で失敗した場合は、再度始めからアンチコリジョン処理を実行することとすればよい。無線通信を用いた本実施例の場合、送受信部230は、常に複数の検出記憶モジュール(この実施例では二つの検出記憶モジュール)と通信が可能であり、かつ通信を開始した時点では、キャリッジ210に搭載されているインクカートリッジ111ないし116に装着された検出記憶モジュール121ないし126のID情報を、制御装置222は知らないので、混信を防止するアンチコリジョン処理が必要となる。アンチコリジョン処理の詳細については、ここでは説明しないが、基本的には、ID情報の一部を送受信部230から出力し、ID情報の一部が一致する検出記憶モジュールのみが応答を返し、他の検出記憶モジュールはスリープモードに入ることで、通信可能範囲に存在するインクカートリッジの検出記憶モジュールのID情報を特定し、一致する検出記憶モジュールとの通信を確立する。   Next, each of the first to third procedures will be described. As described above, the first procedure is executed when the control device 222 detects a power-on request or an ink cartridge replacement request in the printer. In the first procedure, first, ID information is read from the detection storage modules 121 to 126 (step S104), and then anti-collision processing is executed (step S106). Anti-collision processing is processing for preventing the occurrence of interference when performing ID information reading processing from each element when the respective ID information has not yet been acquired from each of the detection storage modules 121 to 126. is there. If this anti-collision process fails midway, the anti-collision process may be executed again from the beginning. In the case of this embodiment using wireless communication, the transmission / reception unit 230 can always communicate with a plurality of detection storage modules (two detection storage modules in this embodiment), and when the communication is started, the carriage 210 Since the control device 222 does not know the ID information of the detection storage modules 121 to 126 mounted on the ink cartridges 111 to 116 mounted on the printer, an anti-collision process for preventing interference is required. Although details of the anti-collision processing are not described here, basically, a part of the ID information is output from the transmission / reception unit 230, and only the detection storage module in which a part of the ID information matches returns a response. When the detection storage module enters the sleep mode, the ID information of the detection storage module of the ink cartridge existing in the communicable range is specified, and communication with the matching detection storage module is established.

アンチコリジョン処理が終了した場合、制御装置222は、データ解析部163を介して、各検出記憶モジュール121ないし126からID情報を読み取る処理を実行する(ステップS108)。ID情報を読み取るこの処理が終了した場合、とりあえず本通信処理ルーチンを終了する場合と、引き続いてEEPROM166に記憶されている全データを読み取る処理(ステップS110)を実行する場合とがある。全データを読み取る処理(ステップS110)について説明する。   When the anti-collision process is completed, the control device 222 executes a process of reading ID information from each of the detection storage modules 121 to 126 via the data analysis unit 163 (step S108). When this process of reading the ID information is completed, there are cases where the present communication process routine is ended for the time being and cases where a process of reading all data stored in the EEPROM 166 (step S110) is subsequently executed. A process of reading all data (step S110) will be described.

ステップS110では、制御装置222は、インクカートリッジ111ないし116に搭載された検出記憶モジュール121ないし126内のデータの信頼性を確保するために、検出記憶モジュール121ないし126内のEEPROM166に記憶された全データを読み出し、これをRAM253に記憶する。即ち、プリンタ200に電源が投入された時点で、制御装置222は、装着されているインクカートリッジ111ないし116の検出記憶モジュール121ないし126と通信を行ない、検出記憶モジュール121ないし126内のEEPROM166からデータを読み出し、これをRAM253の所定の領域に記憶するのである。かかるデータは、RAM253内に常時保存されており、例えば、通信中にインクカートリッジ111側でエラーが発生した場合など、インクカートリッジ111側のデータが信頼できないと判断された場合に、インクカートリッジ111側のデータを訂正するのに用いられる。プリンタ200の使用中は、制御装置222は、検出記憶モジュール121ないし126側のEEPROM166のデータを書き換える場合には、RAM253の対応するアドレスのデータも更新している。従って、RAM253に記憶されたデータは、常に最新のデータに更新されており、信頼性の高いものとなっている。   In step S110, the control device 222 determines all the data stored in the EEPROM 166 in the detection storage modules 121 to 126 in order to ensure the reliability of the data in the detection storage modules 121 to 126 mounted on the ink cartridges 111 to 116. Data is read out and stored in the RAM 253. That is, when the printer 200 is turned on, the control device 222 communicates with the detection storage modules 121 to 126 of the installed ink cartridges 111 to 116, and data is read from the EEPROM 166 in the detection storage modules 121 to 126. Is stored in a predetermined area of the RAM 253. Such data is always stored in the RAM 253. When it is determined that the data on the ink cartridge 111 side is unreliable, for example, when an error occurs on the ink cartridge 111 side during communication, the ink cartridge 111 side Used to correct data. While the printer 200 is in use, the control device 222 updates the data at the corresponding address in the RAM 253 when rewriting the data in the EEPROM 166 on the detection storage module 121 to 126 side. Therefore, the data stored in the RAM 253 is always updated to the latest data and has high reliability.

第2手順を開始する場合について説明する。第2手順を開始する場合、制御装置222は、メモリアクセスを開始するものとし(ステップS200)、続けてアクティブモードコマンドを、各検出記憶モジュール121ないし126に向けて発行する(ステップS202)。アクティブモードコマンドとは、各検出記憶モジュール121ないし126に対しそれぞれのID情報を随伴させて発行するコマンドであり、各検出記憶モジュール121ないし126のデータ解析部163は、受信したID情報を照合して自身のID情報と一致した場合のみ、アクセス準備完了の応答信号ACKを、制御装置222に送信する。   A case where the second procedure is started will be described. When starting the second procedure, the control device 222 starts memory access (step S200), and subsequently issues an active mode command to each of the detection storage modules 121 to 126 (step S202). The active mode command is a command issued with each ID information accompanying each detection storage module 121 to 126, and the data analysis unit 163 of each detection storage module 121 to 126 collates the received ID information. Only when the ID information matches the ID information of itself, a response signal ACK indicating completion of access preparation is transmitted to the control device 222.

制御装置222は、検出記憶モジュール121ないし126からアクティブモードコマンドに対するの応答信号ACKを得ると、各検出記憶モジュール121ないし126に対するメモリアクセス処理を実行する(ステップS204)。このメモリアクセス処理は、EEPROM166の所定アドレスへのデータの書き込みか、所定アドレスのデータの消去か、あるいはEEPROM166の所定アドレスからのデータの読み出しの処理である。いずれの場合も、EEPROM制御部165側からは、制御装置222が指定したメモリのアドレスを伴ってアクセスが行なわれる。EEPROM制御部165は、このアドレスと書込・消去・読出のいずれの処理であるかの指示に従って、EEPROM166の該当するアドレスに対して処理を行なう。   When the control device 222 obtains a response signal ACK to the active mode command from the detection storage modules 121 to 126, the control device 222 executes a memory access process for each of the detection storage modules 121 to 126 (step S204). This memory access process is a process of writing data to a predetermined address of the EEPROM 166, erasing data at a predetermined address, or reading data from a predetermined address of the EEPROM 166. In either case, access is made from the EEPROM control unit 165 side with the memory address designated by the control device 222. The EEPROM control unit 165 performs processing on the corresponding address in the EEPROM 166 in accordance with this address and an instruction as to which processing is writing / erasing / reading.

EEPROM166に対するこれらの処理のうち、書込と消去の処理について更に詳しく説明する。図11は、書込と消去の場合の処理のタイミングチャートである。図示するように、制御装置222側からは、オペランドに相当する1バイトのコードOPと、書込または消去の対象となるアドレスを指定する2バイトのコードAD1,AD2が出力される。このうち、アドレスAD1とAD2とは、補数の関係になっており、実質的にアドレスは、1バイトで指定される。   Of these processes for the EEPROM 166, the write and erase processes will be described in more detail. FIG. 11 is a timing chart of processing in writing and erasing. As shown in the figure, from the control device 222 side, a 1-byte code OP corresponding to an operand and 2-byte codes AD1 and AD2 designating an address to be written or erased are output. Of these, the addresses AD1 and AD2 have a complement relationship, and the address is substantially designated by 1 byte.

EEPROM制御部165は、このアドレスAD1,AD2を取り込んで、両者を検証し、補数の関係になっていなければ、アドレスの指定に誤りがあるとして、メモリアクセスを行なわず、図11に示したように、エラー信号を出力する。他方、アドレスAD1,AD2が一致していれば、EEPROM制御部165は、EEPROM166のアドレスAD1に対して、消去または書込の処理を行なうる。EEPROM166へのメモリアクセスを完了すると、EEPROM制御部165は、アクセス完了を示す応答信号ACKとアクセスしたアドレスに対応したアドレス対応信号ADCとを、データ解析部163を介して制御装置222に送信する。アクセスしたアドレスに対応するアドレス対応信号ADCとは、指定されたアドレスAD1と同じものであっても良いし、その補数や1ないし数ビットシフトもしくはローテーションした信号など、所定の処理を施した信号でも良いし、チェックサムやCRC、あるいはハミングコードなどの誤り検出または訂正に関するコードでも良い。以上がEEPROM制御部165の行なうメモリアクセス処理(ステップS204)の内容である。   The EEPROM control unit 165 takes in the addresses AD1 and AD2, verifies the addresses, and if they are not in a complement relationship, it is assumed that there is an error in the address designation, and no memory access is performed, as shown in FIG. Output an error signal. On the other hand, if the addresses AD1 and AD2 match, the EEPROM control unit 165 performs an erasing or writing process on the address AD1 of the EEPROM 166. When the memory access to the EEPROM 166 is completed, the EEPROM control unit 165 transmits the response signal ACK indicating the access completion and the address corresponding signal ADC corresponding to the accessed address to the control device 222 via the data analysis unit 163. The address corresponding signal ADC corresponding to the accessed address may be the same as the designated address AD1, or may be a signal subjected to predetermined processing such as a complement or a signal shifted or rotated by one to several bits. It may be a code related to error detection or correction, such as a checksum, CRC, or Hamming code. The above is the contents of the memory access process (step S204) performed by the EEPROM control unit 165.

EEPROM制御部165によりメモリアクセスが完了し、アクセス完了を示す応答信号ACKと共にアドレス対応信号ADCが出力されると、制御装置222はこれを取得して検証する処理を行なう(ステップS210)。検証する処理について、詳細を図12のフローチャートに示した。検証処理では、制御装置222は、まずアドレス対応信号ADCを読み取る処理を行なう(ステップS211)。次に制御装置222は、自分が指定したアクセス用のアドレスAD1に対して、アドレス対応信号ADCが、正しく対応した信号であるかを判断する(ステップS212)。アドレス対応信号ADCが、自ら指定したアドレスAD1に対応したものであると判断した場合には、制御装置22は、指定したアドレスAD1へのデータの書込または消去の処理は正常に終了したものと判断し、次の処理を続行する(ステップS214)。   When the memory access is completed by the EEPROM control unit 165 and the address corresponding signal ADC is output together with the response signal ACK indicating the access completion, the control device 222 performs a process of acquiring and verifying this (step S210). Details of the verification process are shown in the flowchart of FIG. In the verification process, the control device 222 first performs a process of reading the address corresponding signal ADC (step S211). Next, the control device 222 determines whether or not the address correspondence signal ADC is a signal that correctly corresponds to the access address AD1 designated by the control device 222 (step S212). When it is determined that the address corresponding signal ADC corresponds to the address AD1 designated by itself, the control device 22 assumes that the data writing or erasing processing to the designated address AD1 has been normally completed. The next processing is continued (step S214).

他方、アドレス対応信号ADCが、自ら指定したアドレスAD1に対応しないと判断した場合には、まずアドレス対応信号ADCに対応するアドレスに誤って書込や消去が行なわれた可能性があるので、アドレス対応信号ADCに対応したアドレスのデータを読み出し(ステップS216)、このデータが、制御装置222がRAM253に保存しているデータと対応しているかを検証する(ステップS218)。制御装置222が、電源投入時に、総てのデータをインクカートリッジ111ないし116の検出記憶モジュール121ないし126から読み出し、RAM253に記憶すると共に、その更新を行なっていることは既に説明した。そこで、アドレス応答信号ADCで指定されたアドレスのデータを再度インクカートリッジの検出記憶モジュールから読み出すと共に、RAM253の所定のアドレスのデータと付き合わせて、これが正しいかを検証するのである。   On the other hand, if it is determined that the address corresponding signal ADC does not correspond to the address AD1 designated by itself, the address corresponding to the address corresponding signal ADC may have been erroneously written or erased. The address data corresponding to the corresponding signal ADC is read (step S216), and it is verified whether this data corresponds to the data stored in the RAM 253 by the control device 222 (step S218). It has already been described that the control device 222 reads all data from the detection storage modules 121 to 126 of the ink cartridges 111 to 116 and stores them in the RAM 253 and updates them when the power is turned on. Therefore, the data at the address specified by the address response signal ADC is read again from the detection storage module of the ink cartridge, and the data at the predetermined address in the RAM 253 is matched to verify whether it is correct.

両者が一致していなければ、アドレス対応信号ADCが指定するアドレスの内容は誤って書き換えられたものと判断し、アドレス応答信号ADCで指定されたアドレスに正しいデータ(RAM253に保存されているデータ)を書き込む処理を行なう(ステップS220)。なお、両者が一致していれば、アドレス対応信号ADCが指定したアドレスのデータは正しいと判断し、何も行なわず、ステップS222以降の処理に移行する。   If the two do not match, it is determined that the contents of the address designated by the address correspondence signal ADC have been rewritten by mistake, and the correct data (data stored in the RAM 253) is specified at the address designated by the address response signal ADC. Is written (step S220). If the two match, it is determined that the data at the address specified by the address correspondence signal ADC is correct, nothing is performed, and the process proceeds to step S222 and subsequent steps.

アドレス対応信号ADCが指定するアドレスのデータについての検証を終えると、続いて、制御装置222は、当初自ら指定したアドレスAD1のデータを検出記憶モジュール121側から読み出す処理を行なう(ステップS222)。次に、読み出したデータが、制御装置222がRAM253に保存しているデータと対応しているかを検証する(ステップS224)。即ち、アドレスADC1として指定されたアドレスのデータを再度インクカートリッジの検出記憶モジュールから読み出すと共に、RAM253に所定のアドレスのデータと付き合わせて、これが正しいかを検証するのである。   When the verification of the data of the address designated by the address corresponding signal ADC is completed, the control device 222 subsequently performs a process of reading the data of the address AD1 originally designated from the detection storage module 121 side (step S222). Next, it is verified whether the read data corresponds to the data stored in the RAM 253 by the control device 222 (step S224). That is, the data at the address designated as the address ADC1 is read again from the detection storage module of the ink cartridge, and the RAM 253 is matched with the data at the predetermined address to verify whether this is correct.

両者が一致していなければ、アドレスAD1が指定するアドレスの内容は誤って書き換えられたものと判断し、アドレスAD1で指定されたアドレスに正しいデータ(RAM253に保存されているデータ)を書き込む処理を行なう(ステップS226)。なお、両者が一致していれば、アドレスAD1のデータは正しいと判断し、何も行なわず、一連の処理を終了する。   If the two do not match, it is determined that the content of the address designated by the address AD1 has been rewritten by mistake, and the correct data (data stored in the RAM 253) is written to the address designated by the address AD1. This is performed (step S226). If the two match, it is determined that the data at the address AD1 is correct, nothing is performed, and the series of processes is terminated.

次に、第3手順について説明する。第3手順では、センサモジュール137へのアクセスを開始し(ステップS300)、メモリアクセスの場合と同様、まずアクティブモードコマンドAMCの発行を行なう(ステップS302)。アクティブモードコマンドを受け取ったインクカートリッジ111ないし116のうち、アクティブモードコマンドに随伴したID情報が一致したカートリッジは、応答信号AC形を返送し、その後の処理を受け付ける状態に移行する。   Next, the third procedure will be described. In the third procedure, access to the sensor module 137 is started (step S300), and an active mode command AMC is first issued (step S302), as in the case of memory access. Of the ink cartridges 111 to 116 that have received the active mode command, the cartridge whose ID information associated with the active mode command is identical returns the response signal AC type, and shifts to a state for accepting subsequent processing.

アクティブモードコマンドを出力して、いずれかの検出記憶モジュールをアクティブにすると、制御装置222は、次に検出条件の指定を、そのインクカートリッジに送信する(ステップS304)。この例では、検出は、圧電素子153の共振周波数を測定することであり、指定される検出条件とは、圧電素子153の振動周波数の検出を行なうのが、振動開始から何発目のパルス(例えば、第1パルス)であり、測定を行なった期間に相当するパルス数(例えば4パルス分)といったデータである。検出条件を指定するデータが受け取られ、応答信号が戻ってくると、制御装置222は、次に検出の指示を出力する(ステップS306)。なお、検出の指示は、検出条件の指定に含めることも可能である。   When one of the detection storage modules is activated by outputting an active mode command, the control device 222 next transmits the designation of the detection condition to the ink cartridge (step S304). In this example, the detection is to measure the resonance frequency of the piezoelectric element 153, and the specified detection condition is that the vibration frequency of the piezoelectric element 153 is detected by the number of pulses ( For example, the first pulse) is data such as the number of pulses (for example, 4 pulses) corresponding to the measurement period. When data specifying the detection condition is received and the response signal is returned, the control device 222 next outputs a detection instruction (step S306). The detection instruction can also be included in the detection condition specification.

検出の指示がなされると、検出記憶モジュール121のデータ解析部163がこれを解析し、検出制御部168に検出の指示を行なう。検出制御部168は、指定された検出条件に従って、圧電素子153を充放電し、圧電素子153に強制的な振動を励起する。圧電素子153への充放電の間隔は、圧電素子153に励起される振動の周波数が、センサモジュール137内の共振室151の共振周波数に近くなるように設定されている。   When a detection instruction is given, the data analysis unit 163 of the detection storage module 121 analyzes this, and gives a detection instruction to the detection control unit 168. The detection control unit 168 charges and discharges the piezoelectric element 153 according to the specified detection condition, and excites forced vibration in the piezoelectric element 153. The charge / discharge interval to the piezoelectric element 153 is set so that the frequency of vibration excited by the piezoelectric element 153 is close to the resonance frequency of the resonance chamber 151 in the sensor module 137.

検出制御部168による充電と放電が行なわれる結果、圧電素子153は、共振室151の共振周波数で振動し、圧電素子153の電極にはこの振動による電圧が発生する。この振動は、基本的には、共振室151の性質から決まる共振周波数となる。共振室151の性質とは、ここでは、共振室151内のインクの充満の程度である。共振室151内にインクが充満している場合には、この実施例では、共振周波数はおよそ90KHzであり、共振室151内のインクが印刷と共に消費されて空になった場合にて、およそ110KHzであった。もとよりこうした共振周波数は、共振室151の大きさや内壁の性質(撥水性など)によって変化する。従って、インクカートリッジのタイプ毎に測定しておけばよい。   As a result of charging and discharging by the detection control unit 168, the piezoelectric element 153 vibrates at the resonance frequency of the resonance chamber 151, and a voltage due to this vibration is generated in the electrode of the piezoelectric element 153. This vibration basically has a resonance frequency determined by the properties of the resonance chamber 151. Here, the property of the resonance chamber 151 is the degree of ink filling in the resonance chamber 151. In this embodiment, when the resonance chamber 151 is filled with ink, the resonance frequency is approximately 90 KHz. When the ink in the resonance chamber 151 is consumed with printing and becomes empty, the resonance frequency is approximately 110 KHz. Met. Naturally, such a resonance frequency varies depending on the size of the resonance chamber 151 and the properties of the inner wall (water repellency, etc.). Therefore, it may be measured for each type of ink cartridge.

圧電素子153は、上述したように、印加電圧による強制振動を起因として、共振室151の共振周波数に従った周波数で振動する。かかる振動を検出制御部168は、その内部の回路により読み取り、出力部178を介して、プリンタ200の制御装置222に出力する。制御装置222は、この検出結果を取得して、インクカートリッジ111ないし116内のインクの有無を判定するのである。このとき、検出制御部168は、圧電素子153の振動の周波数のみならず、制御装置222がわら指定された検出条件も出力することができる。なお、出力する検出条件は、指定された検出条件そのものでも良いし、指定された検出条件から作り出された他の条件でも良い。例えば、共振周波数の検出を行なった期間の最後に当たるパルスか何番目のパルス(例えば、第5目のパルス)かといったデータを返しても良い。   As described above, the piezoelectric element 153 vibrates at a frequency according to the resonance frequency of the resonance chamber 151 due to forced vibration caused by the applied voltage. The detection control unit 168 reads the vibration by an internal circuit and outputs the vibration to the control device 222 of the printer 200 via the output unit 178. The control device 222 acquires this detection result and determines the presence or absence of ink in the ink cartridges 111 to 116. At this time, the detection control unit 168 can output not only the vibration frequency of the piezoelectric element 153 but also the detection condition designated by the control device 222. Note that the detection condition to be output may be the designated detection condition itself or another condition created from the designated detection condition. For example, data such as the pulse corresponding to the end of the period during which the resonance frequency is detected or the number of pulses (for example, the fifth pulse) may be returned.

制御装置222は、検出結果である共振周波数と、上記の検出条件を受け取り、インク残量を判定する。実際には、共振室151にインクが存在するか否かの判断を行なうことになる。プリンタ200の制御装置222は、印字ヘッド211ないし216から吐出されるインク滴の数をソフトウェアでカウントして、インク消費量を管理しているが、その管理の値と現実のインクカートリッジ111ないし116内の検出記憶モジュール121ないし126から得られた共振室151内のインクの有無の情報とを用いて、インクカートリッジ111ないし116内のインクの現在量を正確に管理することが可能となる。   The control device 222 receives the resonance frequency as the detection result and the above detection condition, and determines the remaining ink amount. Actually, it is determined whether ink is present in the resonance chamber 151. The control device 222 of the printer 200 counts the number of ink droplets ejected from the print heads 211 to 216 by software and manages the ink consumption. The management value and the actual ink cartridges 111 to 116 are managed. Using the information on the presence / absence of ink in the resonance chamber 151 obtained from the detection storage modules 121 to 126, the current amount of ink in the ink cartridges 111 to 116 can be accurately managed.

インク吐出量をカウントしてインク残量を管理する場合、印字ヘッド211ないし216から一度に吐出されるインク量は、そのノズル径の加工上のバラツキや、インクの粘性のパラツキ、使用時のインク温度などにより、インク残量の計算値は、現実の残量と少しずつずれてくる。検出記憶モジュール121ないし126は、インクカートリッジ111ないし116においてインクがおよそ1/2消費された場合に共振室151内のインクが空になるように配置されている。従って、検出記憶モジュール121ないし126からのインクの有無に関する判断が、インク有りからインクなしに切り替った時点を検出し、この時点で、ソフトウェアでカウントしてきたインク消費量を較正すれば、インク消費量を正確に管理することが可能となる。較正は、単にインク消費量を、検出記憶モジュール121ないし126からの検出結果を利用して1/2にリセットするするものとしてもよい、それまでソフトウェアのカウントの程度を補正するといった手法で行なってもよい。この結果、インクカートリッジ111ないし116におけるインクエンド(カートリッジ内のインクが完全になくなるタイミング)を正確に算出することが可能となる。従って、インクエンドによる交換を指示したインクカートリッジ内に未使用のインクが所定量残っており、資源を無駄にすると言うことがない。また、インクエンドの検出前にインクカートリッジ内のインクがなくなってしまい、いわゆる空打ちをして、印字ヘッド211ないし216が損傷を被るということも生じにくい。   When the ink remaining amount is managed by counting the amount of ink discharged, the amount of ink discharged from the print heads 211 to 216 at once is the variation in processing of the nozzle diameter, the variation in the viscosity of the ink, the ink in use The calculated value of the remaining amount of ink slightly deviates from the actual remaining amount due to temperature or the like. The detection storage modules 121 to 126 are arranged so that the ink in the resonance chamber 151 is emptied when approximately half of the ink is consumed in the ink cartridges 111 to 116. Therefore, if the determination as to the presence or absence of ink from the detection storage modules 121 to 126 detects when the ink is switched from the presence of ink to the absence of ink, and the ink consumption counted by the software is calibrated at this point, the ink consumption It becomes possible to manage the amount accurately. The calibration may be simply performed by resetting the ink consumption to ½ using the detection results from the detection storage modules 121 to 126, or by correcting the degree of software count until then. Also good. As a result, it is possible to accurately calculate the ink end (timing at which the ink in the cartridge completely disappears) in the ink cartridges 111 to 116. Therefore, a predetermined amount of unused ink remains in the ink cartridge instructed to be replaced by the ink end, and there is no need to waste resources. Also, it is unlikely that the ink in the ink cartridge runs out before the ink end is detected, so that the print heads 211 to 216 are damaged due to so-called idling.

以上説明した本実施例によれば、制御装置222側からは所定のアドレスに対してデータの書き換えを伴う処理(データの消去または書き換え処理)を行なう際、インクカートリッジ111ないし116側の検出記憶モジュール121ないし126が、EEPROM166の指定したアドレスのデータを正しく書き換えたかを容易に検証することができる。仮に誤って他のアドレスのデータを書き換えた場合にも、そのアドレスを容易に知ることができる。このため、EEPROM166側と同じ内容をRAM253に記憶していることも相俟って、インクカートリッジ111ないし116側でのデータの書き換えに失敗した場合には、これを検出して、正しいデータへの書き直しを行なうことができる。   According to the present embodiment described above, the detection storage module on the ink cartridge 111 to 116 side when performing a process (data erasing or rewriting process) with data rewriting on a predetermined address from the control device 222 side. It can be easily verified whether the data 121 to 126 have correctly rewritten the data at the designated address in the EEPROM 166. Even if data at another address is rewritten by mistake, the address can be easily known. For this reason, in combination with the fact that the same contents as the EEPROM 166 side are stored in the RAM 253, when data rewriting on the ink cartridge 111 to 116 side fails, this is detected and the correct data is restored. Can be rewritten.

以上、インクカートリッジ111ないし116に設けられた検出記憶モジュール121ないし126と送受信部との第1手順ないし第3手順、更にはEEPROM166内のデータの書き換えを伴う処理を行なう場合に制御装置222が行なう処理について説明した。これらの処理は、制御装置222が各検出記憶モジュール121ないし126と通信しながら実現される。かかる通信処理は、左端の検出記憶モジュール121から右端の検出記憶モジュール126へと順次1つずつ行なわれる。その際、キャリッジ210は、インクカートリッジの幅1つ分ずつ順次移動しては停止する。停止した際、各インクカートリッジの検出記憶モジュールとの通信処理が行なわれる。もとより、本実施例の送受信部230のように、その幅が、インクカートリッジほぼ2つ分に対向する大きさである場合は、インクカートリッジ2つ分ずつ合計3回移動・停止し、各位置で検出記憶モジュール2つずつと通信処理を行なうこととすれば、キャリッジ210の移動・位置決め動作が少なくて済むのでより好ましい。この場合でも、制御装置222は、アンチコリジョンの処理を行なっているので、複数個のインクカートリッジのやり取りが混信することはない。   As described above, the control device 222 performs the first procedure to the third procedure between the detection storage modules 121 to 126 provided in the ink cartridges 111 to 116 and the transmission / reception unit, and further performs the process involving rewriting of the data in the EEPROM 166. The process has been described. These processes are realized while the control device 222 communicates with each of the detection storage modules 121 to 126. Such communication processing is sequentially performed one by one from the leftmost detection storage module 121 to the rightmost detection storage module 126. At that time, the carriage 210 sequentially moves by one width of the ink cartridge and stops. When stopped, communication processing with the detection storage module of each ink cartridge is performed. Of course, when the width of the transmission / reception unit 230 is almost the same as that of two ink cartridges as in the transmission / reception unit 230 of this embodiment, the ink cartridges are moved and stopped three times in total for two ink cartridges. It is more preferable to perform communication processing with each of the detection storage modules 2 because the movement and positioning operations of the carriage 210 can be reduced. Even in this case, since the control device 222 performs the anti-collision process, exchange of a plurality of ink cartridges does not interfere.

以上、本発明の実施の形態と実施例とについて説明したが、本発明はこうした実施の形態および実施例に何等限定されるものではなく、本発明の要旨を逸脱しない範囲内において、更に種々なる形態で実施し得ることは勿論である。例えば、本実施例の検出記憶モジュール121は、インクジェットプリンタのインクカートリッジのみならず、トナーカートリッジなどにも適用することができる。また、検出記憶モジュール121は、カートリッジの底面や上面に設けることも可能である。上面に設けた場合には、送受信部230の配置の自由度が高く、全体の構成が簡略となる。   The embodiments and examples of the present invention have been described above. However, the present invention is not limited to these embodiments and examples, and various modifications can be made without departing from the scope of the present invention. Of course, it can be implemented in the form. For example, the detection storage module 121 of this embodiment can be applied not only to an ink cartridge of an ink jet printer but also to a toner cartridge. The detection storage module 121 can also be provided on the bottom or top surface of the cartridge. When provided on the upper surface, the degree of freedom of arrangement of the transmission / reception unit 230 is high, and the overall configuration is simplified.

更に、上記実施例では、インクカートリッジ内のメモリとしてはEEPROMを用いたが、電池などによりバックアップされたSRAMやDRAMを用いることもできる。もとより、他のタイプの不揮発性メモリ、例えば共有伝体メモリや磁気的な記憶手段を用いることも可能である。   Further, in the above embodiment, the EEPROM is used as the memory in the ink cartridge, but an SRAM or DRAM backed up by a battery or the like can also be used. Of course, it is possible to use other types of non-volatile memories such as a shared transmission memory and magnetic storage means.

10…インクカートリッジ
12…通信制御部
14…メモリ
15…メモリ制御部
16…インク収容室
17…センサ
18…共振室
19…センサ制御部
20…プリンタ
22…制御装置
24…プラテン
25…印字ヘッド
30…送受信装置
111〜116…インクカートリッジ
121〜126…検出記憶モジュール
131…基板
133…アンテナ
135…専用ICチップ
137…センサモジュール
139…配線パターン
141…接着層
151…共振室
153…圧電素子
161…RF回路
162…電源部
163…データ解析部
165…EEPROM制御部
166…EEPROM
168…検出制御部
178…出力部
200…インクジェットプリンタ
203…給紙ユニット
210…キャリッジ
211…印字ヘッド
221…搬送用ベルト
222…制御装置
223…ステッピングモータ
224…ガイド
225…プラテン
229…プーリ
230…送受信部
231…RF変換部
233…ループアンテナ
240…紙送り用モータ
241…ギヤトレイン
242…エンコーダ
245…操作パネル
247…各種スイッチ
(インクカートリッジ交換ボタン)
248…LED
251…CPU
252…ROM
253…RAM
254…PIO
255…タイマ
256…駆動バッファ
257…バス
258…発振器
259…分配出力器
DESCRIPTION OF SYMBOLS 10 ... Ink cartridge 12 ... Communication control part 14 ... Memory 15 ... Memory control part 16 ... Ink storage chamber 17 ... Sensor 18 ... Resonance chamber 19 ... Sensor control part 20 ... Printer 22 ... Control apparatus 24 ... Platen 25 ... Print head 30 ... Transmission / reception devices 111-116 ... Ink cartridges 121-126 ... Detection storage module 131 ... Substrate 133 ... Antenna 135 ... Dedicated IC chip 137 ... Sensor module 139 ... Wiring pattern 141 ... Adhesive layer 151 ... Resonance chamber 153 ... Piezoelectric element 161 ... RF circuit 162 ... Power supply unit 163 ... Data analysis unit 165 ... EEPROM control unit 166 ... EEPROM
168: Detection control unit 178 ... Output unit 200 ... Inkjet printer 203 ... Paper feed unit 210 ... Carriage 211 ... Print head 221 ... Conveying belt 222 ... Control device 223 ... Stepping motor 224 ... Guide 225 ... Platen 229 ... Pulley 230 ... Transmission / reception 231 ... RF converter 233 ... Loop antenna 240 ... Paper feed motor 241 ... Gear train 242 ... Encoder 245 ... Operation panel 247 ... Various switches
(Ink cartridge replacement button)
248 ... LED
251 ... CPU
252 ... ROM
253 ... RAM
254 ... PIO
255 ... Timer 256 ... Drive buffer 257 ... Bus 258 ... Oscillator 259 ... Distribution output device

Claims (19)

記録に用いる記録材料を収容し、記録装置に搭載されるカートリッジであって、
該カートリッジに関する情報を不揮発的に記憶するメモリと、
該メモリの内容の書き換えを伴う処理について、外部から、少なくともアドレスの指定を伴う指示を受け付ける処理受付手段と、
前記指定されたアドレスの内容の書き換え伴う処理を実行する実行手段と、
該処理を実行した後、少なくとも前記指定されたアドレスに対応したデータを出力する出力手段と
を備えたカートリッジ。
A cartridge for storing a recording material used for recording and mounted in a recording apparatus,
A memory for storing information on the cartridge in a nonvolatile manner;
A process accepting means for accepting at least an instruction with an address designation from the outside for a process involving rewriting of the contents of the memory;
Execution means for executing processing involving rewriting of the contents of the designated address;
An output means for outputting at least data corresponding to the designated address after executing the processing.
前記メモリの内容の書き換えを伴う処理は、メモリへのデータの書き込み処理またはデータの消去処理である請求項1記載のカートリッジ。   2. The cartridge according to claim 1, wherein the process involving rewriting of the contents of the memory is a process of writing data to the memory or a process of erasing data. 請求項2記載のカートリッジであって、
前記処理について外部から指定されるアドレスは少なくとも2以上の冗長度を有する請求項1記載のカートリッジ。
The cartridge according to claim 2, wherein
The cartridge according to claim 1, wherein an address designated from outside for the processing has a redundancy of at least two or more.
請求項3記載のカートリッジであって、
前記アドレスが備える2以上の冗長度は、アドレスに対応した信号と該アドレスのビットを所定の規則で入れ替えた信号とであるカートリッジ。
The cartridge according to claim 3, wherein
The cartridge having two or more redundancy levels included in the address is a signal corresponding to the address and a signal obtained by exchanging bits of the address according to a predetermined rule.
請求項4記載のカートリッジであって、
前記所定の規則は、逆数演算、補数演算、ビットのローテーションのうちの少なくとも一つであるカートリッジ。
The cartridge according to claim 4, wherein
The cartridge in which the predetermined rule is at least one of reciprocal operation, complement operation, and bit rotation.
前記出力手段が出力するデータは、前記指定されたアドレスと同一のデータである請求項1記載のカートリッジ。   2. The cartridge according to claim 1, wherein the data output by the output means is the same data as the designated address. 請求項6記載のカートリッジであって、
前記出力手段は、前記メモリの内容の書き換えを伴う処理の完了後に、該処理の完了を示す信号と共に、前記データを出力する手段である
カートリッジ。
The cartridge according to claim 6, wherein
The output means is means for outputting the data together with a signal indicating the completion of the process after the completion of the process involving rewriting of the contents of the memory.
前記メモリは、収容した記録材料の残量を記憶するメモリである請求項1ないし請求項7のいずれか記載のカートリッジ。   The cartridge according to any one of claims 1 to 7, wherein the memory is a memory for storing a remaining amount of the stored recording material. 前記記録材料は、所定色のインクである請求項1ないし請求項8のいずれか記載のカートリッジ。   The cartridge according to claim 1, wherein the recording material is ink of a predetermined color. 前記記録材料は、複写機、ファックスまたはレーザプリンタ用のトナーである請求項1記載のカートリッジ。   2. The cartridge according to claim 1, wherein the recording material is toner for a copying machine, a fax machine, or a laser printer. 前記メモリはシリアルアクセスタイプのメモリである請求項1ないし請求項10のいずれか記載のカートリッジ。   11. The cartridge according to claim 1, wherein the memory is a serial access type memory. 請求項1ないし請求項11のいずれか記載のカートリッジであって、
外部と無線通信よりデータの授受を行なう無線通信手段を備えると共に、
前記メモリの内容の書き換えを伴う処理に関する指定,前記アドレス,前記アドレスに対応したデータのうち、少なくとも一つについては、該無線通信手段を介してやり取りするカートリッジ。
The cartridge according to any one of claims 1 to 11,
With wireless communication means to exchange data with the outside by wireless communication,
A cartridge for exchanging at least one of the designation relating to the process involving rewriting of the contents of the memory, the address, and data corresponding to the address via the wireless communication means.
請求項12記載のカートリッジであって、
前記無線通信手段は、前記通信を行なうためのループ状のアンテナを備え、該アンテナに誘起される起電力を利用して、カートリッジ内への給電を行なう電源手段を備えた
カートリッジ。
The cartridge according to claim 12, wherein
The wireless communication means includes a loop-shaped antenna for performing the communication, and includes a power supply means for supplying power into the cartridge using an electromotive force induced in the antenna.
記録に用いる記録材料を収容した収容室を備えたカートリッジが搭載された記録装置であって、
前記カートリッジには、
該カートリッジに関する情報を不揮発的に記憶するメモリと、
該メモリの内容の書き換えを伴う処理について、外部から、少なくともアドレスの指定を伴う指示を受け付ける処理受付手段と、
前記指定されたアドレスの内容の書き換え伴う処理を実行する実行手段と、
該処理を実行した後、少なくとも前記指定されたアドレスに対応したデータを出力する出力手段と
が備えられ、
更に、当該記録装置には、
前記前記メモリの内容の書き換えを行なうアドレスを指定するアドレス指定手段と、
前記カートリッジの出力手段から出力された前記アドレスに対応したデータを入力する入力手段と、
該入力した前記データと前記アドレス指定手段が指定したアドレスとを突き合わせ、両者が対応している場合には、該メモリの内容の書き換えを伴う処理が正常に行なわれたと判断する判断手段と
を備えた記録装置。
A recording apparatus equipped with a cartridge having a storage chamber for storing a recording material used for recording,
The cartridge includes
A memory for storing information on the cartridge in a nonvolatile manner;
A process accepting means for accepting at least an instruction with an address designation from the outside for a process involving rewriting of the contents of the memory;
Execution means for executing processing involving rewriting of the contents of the designated address;
An output means for outputting data corresponding to at least the designated address after executing the processing;
Furthermore, the recording device includes
Address designating means for designating an address for rewriting the contents of the memory;
Input means for inputting data corresponding to the address output from the output means of the cartridge;
A judgment means for judging that the process involving rewriting of the contents of the memory has been normally performed when the inputted data and the address designated by the address designation means are matched and both correspond to each other; Recording device.
請求項14記載の記録装置であって、
前記判断手段は、前記入力した前記データと前記アドレス指定手段が指定したアドレスとを突き合わせ、両者が対応していない場合には、前記メモリの内容の書き換えを行なう処理を再度行なわせて、誤りを修正する修正手段を備えた記録装置。
15. The recording device according to claim 14, wherein
The judging means matches the inputted data with the address designated by the address designating means, and when both do not correspond to each other, the process of rewriting the contents of the memory is performed again, and the error is corrected. A recording apparatus comprising correcting means for correcting.
請求項14記載の記録装置であって、
前記判断手段は、前記入力した前記データと前記アドレス指定手段が指定したアドレスとを突き合わせ、両者が対応していない場合には、その旨を報知する手段を備えた記録装置。
15. The recording device according to claim 14, wherein
The determination unit is a recording apparatus provided with a unit that matches the input data and the address designated by the address designation unit, and notifies the fact when they do not correspond to each other.
請求項14記載の記録装置であって、
前記記録装置の前記アドレス指定手段は、前記アドレスの指定を、前記書き換えを伴う処理を行なおうとするアドレスを指定する信号と、該アドレスのビットの状態を所定の規則に従って入れ替えた信号とにより行なう手段である
記録装置。
15. The recording device according to claim 14, wherein
The address designating unit of the recording apparatus performs the address designation by a signal designating an address to be processed with the rewriting and a signal in which a bit state of the address is changed according to a predetermined rule. Recording device that is means.
請求項17記載の記録装置であって、
前記所定の規則は、逆数演算、補数演算、ビットのローテーションのうちの少なくとも一つである記録装置。
The recording device according to claim 17, wherein
The recording apparatus, wherein the predetermined rule is at least one of reciprocal operation, complement operation, and bit rotation.
記録に用いる記録材料を収容した収容室を備えたカートリッジとの間で、情報をやり取りする方法であって、
前記カートリッジに設けられ、前記カートリッジに関する情報を不揮発的に記憶するメモリに対する内容の書き換えを伴う処理について、少なくともそのアドレスを、該カートリッジの外部から指定し、
該指定されたアドレスに従って、前記カートリッジにおいて行なわれる前記メモリの内容の書き換えを伴う処理が行なわれた後、前記指定されたアドレスに対応したデータを、前記カートリッジの外部に出力し、
該出力されたデータと前記指定されたアドレスとの対応を検証して、前記メモリの内容の書き換えを伴う処理が正常に行なわれたか否かを判断する
カートリッジとの間で情報をやり取りする方法。
A method for exchanging information with a cartridge having a storage chamber for storing a recording material used for recording,
For processing that involves rewriting the contents of a memory that is provided in the cartridge and stores information about the cartridge in a nonvolatile manner, at least the address thereof is designated from the outside of the cartridge,
In accordance with the designated address, after processing that involves rewriting the contents of the memory performed in the cartridge is performed, data corresponding to the designated address is output to the outside of the cartridge,
A method for exchanging information with a cartridge, wherein the correspondence between the output data and the designated address is verified to determine whether or not the process involving rewriting of the contents of the memory has been normally performed.
JP2009096573A 2009-04-13 2009-04-13 Cartridge Pending JP2009190408A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009096573A JP2009190408A (en) 2009-04-13 2009-04-13 Cartridge

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009096573A JP2009190408A (en) 2009-04-13 2009-04-13 Cartridge

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2002234696A Division JP4374834B2 (en) 2002-08-12 2002-08-12 Cartridge and recording device

Publications (1)

Publication Number Publication Date
JP2009190408A true JP2009190408A (en) 2009-08-27

Family

ID=41072842

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009096573A Pending JP2009190408A (en) 2009-04-13 2009-04-13 Cartridge

Country Status (1)

Country Link
JP (1) JP2009190408A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012069033A (en) * 2010-09-27 2012-04-05 Seiko Epson Corp Memory device, host device, circuit board, liquid container, and system
JP2015501231A (en) * 2011-09-30 2015-01-15 ヒューレット−パッカード デベロップメント カンパニー エル.ピー.Hewlett‐Packard Development Company, L.P. Authentication system and method
CN114114863A (en) * 2021-03-25 2022-03-01 珠海艾派克微电子有限公司 Toner cartridge and toner amount detection method

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS55162694A (en) * 1979-06-06 1980-12-18 Fujitsu Ltd Remote control system
JPH02206856A (en) * 1989-01-27 1990-08-16 Digital Equip Corp <Dec> Detecting method of address transfer error and apparatus
JPH02223245A (en) * 1988-10-15 1990-09-05 Ab Electron Components Ltd Data communication system
JPH04304097A (en) * 1991-03-30 1992-10-27 Toshiba Lighting & Technol Corp Data transmission system and device
JPH08309974A (en) * 1995-05-17 1996-11-26 Brother Ind Ltd Recording apparatus
JPH10247899A (en) * 1997-03-04 1998-09-14 Hitachi Ltd Serial transmission method and synchronization error detection method therefor
JP2001105699A (en) * 1999-10-08 2001-04-17 Seiko Epson Corp Printer, printer system and method for detecting error in printer
JP2001232809A (en) * 2000-02-21 2001-08-28 Canon Inc Cartridge type recorder and cartridge
JP2002063079A (en) * 2000-08-22 2002-02-28 Mega Chips Corp Information-writing method
JP2002062769A (en) * 2000-06-26 2002-02-28 Xerox Corp Module for printer capable of making wireless communication
JP2002127460A (en) * 2000-10-25 2002-05-08 Seiko Epson Corp Cartridge for printer and printer
JP2002160387A (en) * 2000-09-12 2002-06-04 Canon Inc Media pack, printer, and camera with printer
JP2002192753A (en) * 1998-11-26 2002-07-10 Seiko Epson Corp Ink vessel and printer using the same
JP2004074464A (en) * 2002-08-12 2004-03-11 Seiko Epson Corp Cartridge and recorder

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS55162694A (en) * 1979-06-06 1980-12-18 Fujitsu Ltd Remote control system
JPH02223245A (en) * 1988-10-15 1990-09-05 Ab Electron Components Ltd Data communication system
JPH02206856A (en) * 1989-01-27 1990-08-16 Digital Equip Corp <Dec> Detecting method of address transfer error and apparatus
JPH04304097A (en) * 1991-03-30 1992-10-27 Toshiba Lighting & Technol Corp Data transmission system and device
JPH08309974A (en) * 1995-05-17 1996-11-26 Brother Ind Ltd Recording apparatus
JPH10247899A (en) * 1997-03-04 1998-09-14 Hitachi Ltd Serial transmission method and synchronization error detection method therefor
JP2002192753A (en) * 1998-11-26 2002-07-10 Seiko Epson Corp Ink vessel and printer using the same
JP2001105699A (en) * 1999-10-08 2001-04-17 Seiko Epson Corp Printer, printer system and method for detecting error in printer
JP2001232809A (en) * 2000-02-21 2001-08-28 Canon Inc Cartridge type recorder and cartridge
JP2002062769A (en) * 2000-06-26 2002-02-28 Xerox Corp Module for printer capable of making wireless communication
JP2002063079A (en) * 2000-08-22 2002-02-28 Mega Chips Corp Information-writing method
JP2002160387A (en) * 2000-09-12 2002-06-04 Canon Inc Media pack, printer, and camera with printer
JP2002127460A (en) * 2000-10-25 2002-05-08 Seiko Epson Corp Cartridge for printer and printer
JP2004074464A (en) * 2002-08-12 2004-03-11 Seiko Epson Corp Cartridge and recorder

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012069033A (en) * 2010-09-27 2012-04-05 Seiko Epson Corp Memory device, host device, circuit board, liquid container, and system
JP2015501231A (en) * 2011-09-30 2015-01-15 ヒューレット−パッカード デベロップメント カンパニー エル.ピー.Hewlett‐Packard Development Company, L.P. Authentication system and method
CN114114863A (en) * 2021-03-25 2022-03-01 珠海艾派克微电子有限公司 Toner cartridge and toner amount detection method
CN114114863B (en) * 2021-03-25 2024-04-09 极海微电子股份有限公司 Toner cartridge and toner amount detection method

Similar Documents

Publication Publication Date Title
JP4374834B2 (en) Cartridge and recording device
JP4175065B2 (en) Cartridge, printing apparatus, and method for exchanging information with cartridge
KR20040010223A (en) Cartridge and print apparatus
US8782326B2 (en) Memory device and system including a memory device electronically connectable to a host circuit
US8291154B2 (en) Memory device accepting write data and inverted write data from a host circuit
US8215734B2 (en) Liquid consuming system, liquid consuming apparatus, liquid supply unit, and method of supervising a remaining amount of liquid contained in a liquid supply unit
US20090237439A1 (en) Mountable apparatus, board, and method of rewriting liquid information
US8230163B2 (en) Memory device, host circuit, circuit board, liquid receptacle, method of transmitting data stored in a nonvolatile data memory section to a host circuit, and system including a host circuit and a memory device detachably attachable to the host circuit
JP2009190408A (en) Cartridge
US20100257436A1 (en) Memory device, circuit board, liquid receptacle, method of controlling a nonvolatile data memory section, and system including a memory device detachably connectable to a host circuit
US20090251498A1 (en) Liquid container, board, and method of rewriting liquid information
JP4259058B2 (en) Cartridge and printing device
JP4730391B2 (en) Cartridge, printing apparatus, and method for exchanging information with cartridge
JP4259059B2 (en) Cartridge and printing device
JP4488095B2 (en) IC chip and printing apparatus

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110518

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110524

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110705

A131 Notification of reasons for refusal

Effective date: 20110906

Free format text: JAPANESE INTERMEDIATE CODE: A131

A02 Decision of refusal

Effective date: 20120124

Free format text: JAPANESE INTERMEDIATE CODE: A02