JP2011081660A - Storage device, substrate, liquid container, system, and control method for storage device - Google Patents

Storage device, substrate, liquid container, system, and control method for storage device Download PDF

Info

Publication number
JP2011081660A
JP2011081660A JP2009234384A JP2009234384A JP2011081660A JP 2011081660 A JP2011081660 A JP 2011081660A JP 2009234384 A JP2009234384 A JP 2009234384A JP 2009234384 A JP2009234384 A JP 2009234384A JP 2011081660 A JP2011081660 A JP 2011081660A
Authority
JP
Japan
Prior art keywords
power supply
access control
read
data
storage device
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
JP2009234384A
Other languages
Japanese (ja)
Inventor
Shinichi Yamada
慎一 山田
Yasuhiko Kosugi
康彦 小杉
Noboru Asauchi
昇 朝内
Keisuke Nakamura
佳祐 中村
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 JP2009234384A priority Critical patent/JP2011081660A/en
Publication of JP2011081660A publication Critical patent/JP2011081660A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a storage device, a substrate, a liquid container, a system, and a control method and the like for a non-volatile storage part for suppressing destruction of data stored in a non-volatile storage part. <P>SOLUTION: A storage device 20 includes: a non-volatile storage part 60; a control part 30; and a capacitor 70. The control part 30 includes: a detection circuit 32; and an access control part. The detection part 32 detects the power source abnormality state of a power supply voltage VDD. An access control part 36 performs access control of reading or writing from or to the non-volatile storage part 60, and when the power source abnormality state is detected by the detection circuit 32, stops the access control of reading or writing from or to the non-volatile storage part 60. When the power source abnormality state is detected by the detection circuit 32, the capacitor 70 holds the power supply voltage VDD in order to complete at least one time access control of reading or writing. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は、記憶装置、基板、液体容器、システム及び記憶装置の制御方法等に関する。   The present invention relates to a storage device, a substrate, a liquid container, a system, a storage device control method, and the like.

不揮発性メモリー(広義には、不揮発性の記憶部)として、EEPROMやFERAM等が知られている。これらのメモリーは、ホスト装置とのデータ送受信を行い、そのデータのリード/ライトを行う。例えば、インクジェット方式のプリンター(ホスト装置)には、インクカートリッジ(液体容器)が取り付けられる。このインクカートリッジには、不揮発性メモリーを有する記憶装置が設けられているものがある(例えば、特許文献1)。不揮発性メモリーには、IDや製造情報、インクの残量などの種々の情報が記憶され、記憶装置は、これらの情報をプリンターとの間で送受信する。   As a nonvolatile memory (a nonvolatile storage unit in a broad sense), an EEPROM, an FERAM, or the like is known. These memories transmit / receive data to / from the host device and read / write the data. For example, an ink cartridge (liquid container) is attached to an ink jet printer (host device). Some ink cartridges are provided with a storage device having a nonvolatile memory (for example, Patent Document 1). The nonvolatile memory stores various information such as ID, manufacturing information, and ink remaining amount, and the storage device transmits and receives such information to and from the printer.

特開2004−299405号公報JP 2004-299405 A

しかしながら、記憶装置の電源に異常が生じた場合に、データのリード/ライトが正常に行われないことで、不揮発性メモリーに記憶されたデータが破壊されてしまう場合がある。例えば、インクカートリッジの記憶装置とプリンターは一般に端子の接触により接続され、その端子を介してプリンターから記憶装置に電源が供給される。このとき、不揮発性メモリーへのアクセス中に電源端子がフローティング状態(非接触状態)になる等の電源異常が生じると、不揮発性メモリーに記憶されたデータが破壊されてしまう場合がある。例えば、不揮発性メモリーが、リード時にリライト動作が必要なFERAM等である場合、IDや製造情報等をリードする際にリライトが正常に行われないことで、これらの情報が失われてしまう恐れがある。   However, when an abnormality occurs in the power supply of the storage device, data stored in the non-volatile memory may be destroyed because the data is not normally read / written. For example, a storage device of an ink cartridge and a printer are generally connected by contact of a terminal, and power is supplied from the printer to the storage device via the terminal. At this time, if a power supply abnormality such as a power supply terminal being in a floating state (non-contact state) occurs during access to the nonvolatile memory, data stored in the nonvolatile memory may be destroyed. For example, when the non-volatile memory is an FERAM or the like that requires a rewrite operation at the time of reading, the information may be lost because the rewrite is not normally performed when reading ID or manufacturing information. is there.

本発明の幾つかの態様によれば、不揮発性の記憶部に記憶されたデータの破壊を抑止できる記憶装置、基板、液体容器、システム及び不揮発性の記憶部の制御方法等を提供できる。   According to some aspects of the present invention, it is possible to provide a storage device, a substrate, a liquid container, a system, a method for controlling the nonvolatile storage unit, and the like that can prevent destruction of data stored in the nonvolatile storage unit.

本発明の一態様は、不揮発性の記憶部と、前記不揮発性の記憶部を制御する制御部と、キャパシターと、を含み、前記制御部は、ホスト装置から供給される電源電圧の電源異常状態を検出する検出回路と、前記不揮発性の記憶部に対する読み出し又は書き込みのアクセス制御を行い、前記検出回路により電源異常状態が検出された場合に、前記不揮発性の記憶部に対する読み出し又は書き込みのアクセス制御を停止するアクセス制御部と、を有し、前記キャパシターは、前記検出回路により電源異常状態が検出された場合に、少なくとも1回の読み出し又は書き込みのアクセス制御を完了させるために、前記ホスト装置から供給される電源電圧を保持する記憶装置に関係する。   One embodiment of the present invention includes a nonvolatile storage unit, a control unit that controls the nonvolatile storage unit, and a capacitor, and the control unit is in a power supply abnormal state of a power supply voltage supplied from a host device And a read or write access control for the nonvolatile storage unit, and when a power supply abnormal state is detected by the detection circuit, a read or write access control for the nonvolatile storage unit And an access control unit for stopping the access from the host device in order to complete at least one read or write access control when the power supply abnormal state is detected by the detection circuit. The present invention relates to a storage device that holds a supplied power supply voltage.

本発明の一態様によれば、検出回路により電源異常状態が検出された場合に、不揮発性の記憶部に対するアクセス制御が停止される。そして、少なくとも1回の読み出し又は書き込みのアクセス制御を完了させるために、ホスト装置から供給される電源電圧がキャパシターにより保持される。これにより、不揮発性メモリーに記憶されたデータの破壊を抑止すること等が可能になる。   According to one embodiment of the present invention, when a power supply abnormal state is detected by the detection circuit, access control to the nonvolatile storage unit is stopped. The power supply voltage supplied from the host device is held by the capacitor in order to complete at least one read or write access control. As a result, it is possible to suppress the destruction of data stored in the nonvolatile memory.

また、本発明の一態様では、前記検出回路は、前記ホスト装置から供給される電源電圧が閾値電圧以下となった場合に、電源異常状態として電源電圧低下を検出し、前記キャパシターは、前記少なくとも1回の読み出し又は書き込みのアクセス制御を行う期間において、前記ホスト装置から供給される電源電圧が、前記閾値電圧から低下して前記不揮発性の記憶部の動作下限電圧以下にならない容量値に設定されてもよい。   In one embodiment of the present invention, when the power supply voltage supplied from the host device is equal to or lower than a threshold voltage, the detection circuit detects a power supply voltage drop as a power supply abnormal state, and the capacitor has the at least In a period in which one read or write access control is performed, the power supply voltage supplied from the host device is set to a capacitance value that does not drop below the threshold voltage and does not fall below the lower limit operating voltage of the nonvolatile storage unit. May be.

このようにすれば、少なくとも1回の読み出し又は書き込みのアクセス制御を行う期間において、電源電圧を不揮発性の記憶部の動作下限電圧以下にならない電圧に保持できる。これにより、電源電圧低下を検出した後に少なくとも1回の読み出し又は書き込みのアクセス制御を行うことが可能になる。   In this way, the power supply voltage can be held at a voltage that does not become lower than the lower limit operation voltage of the nonvolatile storage unit in a period in which at least one read or write access control is performed. This makes it possible to perform at least one read or write access control after detecting a power supply voltage drop.

また、本発明の一態様では、前記不揮発性の記憶部は、強誘電体メモリーであり、前記少なくとも1回の読み出し又は書き込みのアクセス制御を行う期間は、前記強誘電体メモリーに対する読み出しのアクセス制御における再書き込み動作を完了するまでの期間であってもよい。   In one embodiment of the present invention, the non-volatile storage unit is a ferroelectric memory, and the read access control for the ferroelectric memory is performed during the period in which the at least one read or write access control is performed. It may be a period until the rewrite operation is completed.

このようにすれば、少なくとも1回の読み出し又は書き込みのアクセス制御として強誘電体メモリーの再書き込み動作まで完了し、読み出しのアクセス制御を完了できる。   In this way, at least one read or write access control is completed up to the rewrite operation of the ferroelectric memory, and the read access control can be completed.

また、本発明の一態様では、前記不揮発性の記憶部は、強誘電体メモリーであり、前記キャパシターは、前記強誘電体メモリーの強誘電体層で絶縁体が形成されるキャパシターであってもよい。   In one embodiment of the present invention, the nonvolatile memory portion may be a ferroelectric memory, and the capacitor may be a capacitor in which an insulator is formed by a ferroelectric layer of the ferroelectric memory. Good.

このようにすれば、強誘電体メモリーの強誘電体層で絶縁体を形成することで、キャパシターを実現できる。   In this way, a capacitor can be realized by forming an insulator with the ferroelectric layer of the ferroelectric memory.

また、本発明の一態様では、前記制御部は、前記アクセス制御部に供給されるシステムクロックのマスク処理を行うマスク処理部を含み、前記マスク処理部は、前記検出回路により電源異常状態が検出された場合に、前記システムクロックをマスクしてもよい。   In one embodiment of the present invention, the control unit includes a mask processing unit that performs mask processing of a system clock supplied to the access control unit, and the mask processing unit detects a power supply abnormal state by the detection circuit. In such a case, the system clock may be masked.

このようにすれば、アクセス制御部に供給されるシステムクロックをマスクすることで、検出回路により電源異常状態が検出された場合に、不揮発性の記憶部に対するアクセス制御を停止できる。   In this way, by masking the system clock supplied to the access control unit, access control to the nonvolatile storage unit can be stopped when a power supply abnormal state is detected by the detection circuit.

また、本発明の一態様では、前記アクセス制御部は、アクセスサイクルの開始後に前記検出回路により電源異常状態が検出された場合には、前記アクセスサイクルにおける読み出し又は書き込みのアクセス制御については、停止せずに完了し、前記検出回路は、前記ホスト装置から供給される電源電圧が閾値電圧以下となった場合に、電源異常状態として電源電圧低下を検出し、前記キャパシターは、前記アクセスサイクルにおける読み出し又は書き込みのアクセス制御を行う期間において、前記ホスト装置から供給される電源電圧が、前記閾値電圧から低下して前記不揮発性の記憶部の動作下限電圧以下にならない容量値に設定されてもよい。   In the aspect of the invention, the access control unit may stop the read or write access control in the access cycle when a power supply abnormal state is detected by the detection circuit after the start of the access cycle. The detection circuit detects a power supply voltage drop as a power supply abnormal state when the power supply voltage supplied from the host device is equal to or lower than a threshold voltage, and the capacitor reads or In a period during which the write access control is performed, the power supply voltage supplied from the host device may be set to a capacitance value that does not drop below the threshold voltage and does not fall below the operation lower limit voltage of the nonvolatile storage unit.

このようにすれば、アクセスサイクルにおけるアクセス制御を行う期間において、電源電圧を不揮発性の記憶部の動作下限電圧以下にならない電圧に保持できる。これにより、アクセスサイクルの開始後に電源電圧低下が検出された場合に、そのアクセスサイクルにおけるアクセス制御を完了することが可能になる。   In this way, the power supply voltage can be held at a voltage that does not fall below the operation lower limit voltage of the nonvolatile storage unit during the period of access control in the access cycle. Thereby, when a power supply voltage drop is detected after the start of the access cycle, the access control in the access cycle can be completed.

また、本発明の一態様では、前記アクセスサイクルは、読み出し又は書き込みのアクセス制御をイネーブルにするイネーブル信号の論理レベルの変化により開始し、読み出し動作又は書き込み動作は、読み出し又は書き込みのアクセス制御を行うためのクロックをアクティブにすることで開始し、前記アクセス制御部は、前記アクセスサイクルの開始後に前記検出回路により電源異常状態が検出された場合に、読み出し又は書き込みのアクセス制御を行うための前記クロックをアクティブにして、前記アクセスサイクルにおける読み出し又は書き込みのアクセス制御を完了してもよい。   In one embodiment of the present invention, the access cycle is started by a change in the logic level of an enable signal for enabling read or write access control, and the read operation or write operation performs read or write access control. The access control unit is configured to make the access control unit perform read or write access control when a power supply abnormal state is detected by the detection circuit after the start of the access cycle. May be activated to complete read or write access control in the access cycle.

このようにすれば、アクセス制御を行うためのクロックをアクティブにすることで、アクセスサイクルにおけるアクセス制御を開始できる。そして、検出回路により電源異常状態が検出された場合にも、その開始したアクセス制御を停止せずに完了できる。   In this way, the access control in the access cycle can be started by activating the clock for performing the access control. Even when a power supply abnormal state is detected by the detection circuit, the started access control can be completed without stopping.

また、本発明の他の態様は、上記のいずれかに記載の記憶装置を含む基板に関係する。   Another embodiment of the present invention relates to a substrate including any of the memory devices described above.

また、本発明の他の態様は、上記のいずれかに記載の記憶装置を含む液体容器に関係する。   Another aspect of the invention relates to a liquid container including any of the storage devices described above.

また、本発明の他の態様は、上記のいずれかに記載の記憶装置と、ホスト装置と、を含むシステムに関係する。   Another aspect of the present invention relates to a system including any of the storage devices described above and a host device.

また、本発明の他の態様は、不揮発性の記憶部を制御し、ホスト装置から供給される電源電圧の電源異常状態を検出し、前記不揮発性の記憶部に対する読み出し又は書き込みのアクセス制御を行い、前記電源異常状態が検出された場合に、前記不揮発性の記憶部に対する読み出し又は書き込みのアクセス制御を停止し、前記電源異常状態が検出された場合に、少なくとも1回の読み出し又は書き込みのアクセス制御を完了させるために、前記ホスト装置から供給される電源電圧を保持する記憶装置の制御方法に関係する。   According to another aspect of the present invention, a nonvolatile storage unit is controlled, a power supply abnormal state of a power supply voltage supplied from a host device is detected, and read or write access control is performed on the nonvolatile storage unit. When the power supply abnormal state is detected, the read or write access control to the nonvolatile storage unit is stopped, and when the power supply abnormal state is detected, at least one read or write access control is performed. In order to complete the process, the present invention relates to a control method of a storage device that holds a power supply voltage supplied from the host device.

本実施形態の記憶装置の第1の構成例。1 is a first configuration example of a storage device according to an embodiment. 本実施形態の記憶装置の第2の構成例。2 shows a second configuration example of a storage device according to the present embodiment. 不揮発性メモリーに対するリード制御の信号波形例。Signal waveform example of read control for nonvolatile memory. 不揮発性メモリーに対するライト制御の信号波形例。Signal waveform example of write control for nonvolatile memory. 電源異常を検出した場合の不揮発性メモリーに対するアクセス制御の信号波形例。Signal waveform example of access control to nonvolatile memory when a power supply abnormality is detected. 図6(A)は、強誘電体メモリーの構成例。図6(B)は、強誘電体メモリーセルに対するライト動作の説明図。図6(C)は、強誘電体メモリーセルに対するリード動作の説明図。FIG. 6A shows a configuration example of a ferroelectric memory. FIG. 6B is an explanatory diagram of a write operation with respect to the ferroelectric memory cell. FIG. 6C is an explanatory diagram of the read operation for the ferroelectric memory cell. 強誘電体メモリーに対するリード動作の詳細な信号波形例。Detailed signal waveform example of read operation for ferroelectric memory. 信号生成回路の詳細な構成例。3 shows a detailed configuration example of a signal generation circuit. キャパシターの容量値についての説明図。Explanatory drawing about the capacitance value of a capacitor. キャパシターを含む強誘電体メモリーの詳細な構成例。A detailed configuration example of a ferroelectric memory including a capacitor. 検出回路の詳細な構成例及び、マスク処理回路の詳細な構成例。2 shows a detailed configuration example of a detection circuit and a detailed configuration example of a mask processing circuit. 電源異常検出とマスク処理の動作例。Operation example of power failure detection and mask processing. 電源異常検出とマスク処理の動作例。Operation example of power failure detection and mask processing. 電源異常検出とマスク処理の動作例。Operation example of power failure detection and mask processing. 電源異常検出とマスク処理の動作例。Operation example of power failure detection and mask processing. 電源異常検出とマスク処理の動作例。Operation example of power failure detection and mask processing. 電源監視回路の構成例。2 is a configuration example of a power supply monitoring circuit. インクカートリッジの詳細な構成例。3 is a detailed configuration example of an ink cartridge. 図19(A)、図19(B)は、回路基板の詳細な構成例。19A and 19B show detailed configuration examples of the circuit board. システムの詳細な構成例。Detailed configuration example of the system. 記憶装置からデータを読み出す場合の信号波形例。The signal waveform example in the case of reading data from a memory | storage device. プリンターのリード処理のフローチャート例。The flowchart example of a read process of a printer. 記憶装置のリード処理のフローチャート例。6 is a flowchart example of read processing of a storage device. 記憶装置に対してデータを書き込む場合の信号波形例。An example of a signal waveform when data is written to a storage device. プリンターのライト処理のフローチャート例。The flowchart example of the write process of a printer. 記憶装置のライト処理のフローチャート例。6 is a flowchart example of a write process of a storage device.

以下、本発明の好適な実施の形態について詳細に説明する。なお以下に説明する本実施形態は特許請求の範囲に記載された本発明の内容を不当に限定するものではなく、本実施形態で説明される構成の全てが本発明の解決手段として必須であるとは限らない。   Hereinafter, preferred embodiments of the present invention will be described in detail. The present embodiment described below does not unduly limit the contents of the present invention described in the claims, and all the configurations described in the present embodiment are indispensable as means for solving the present invention. Not necessarily.

1.構成例
図1に、本実施形態の記憶装置の第1の構成例を示す。図1に示す記憶装置20は、制御部30(メモリー制御部、制御回路)、不揮発性メモリー60(不揮発性の記憶部)、キャパシター70、電源端子TV(第1の電源端子、高電圧側電源端子)、グランド端子TG(第2の電源端子、低電圧側電源端子、接地端子)、クロック端子TK(第1の端子)、データ端子TD(第2の端子)、リセット端子TRを含む。なお、本実施形態の記憶装置は図1の構成に限定されず、その構成要素の一部(例えば、クロック端子、データ端子、マスク処理部)を省略したり、他の構成要素を追加したりする等の種々の変形実施が可能である。
1. Configuration Example FIG. 1 shows a first configuration example of the storage device of this embodiment. 1 includes a control unit 30 (memory control unit, control circuit), a nonvolatile memory 60 (nonvolatile storage unit), a capacitor 70, a power supply terminal TV (first power supply terminal, high-voltage side power supply). Terminal), ground terminal TG (second power supply terminal, low-voltage side power supply terminal, ground terminal), clock terminal TK (first terminal), data terminal TD (second terminal), and reset terminal TR. Note that the storage device of the present embodiment is not limited to the configuration in FIG. 1, and some of the components (eg, clock terminal, data terminal, mask processing unit) are omitted, or other components are added. Various modifications such as this are possible.

記憶装置20は、電源異常を検出した場合にシステムクロックをマスクすることで、電源異常による不揮発性メモリー60のデータ破壊を抑止するためのものである。なお、以下では、不揮発性の記憶部が不揮発性メモリー60である場合を例に説明する。但し、本実施形態では、不揮発性の記憶部は他のものであってもよく、例えば、ハードディスクドライブ等の磁気ドライブやDVD等の光学ドライブであってもよい。また、以下では、電源電圧、グランド電圧、各種信号が、端子の接触により供給される場合を例に説明する。但し、本実施形態では、電源電圧、グランド電圧、各種信号が、コイル間の電磁誘導等を用いた無接点伝送(非接触伝送)により供給されてもよい。   The storage device 20 is for suppressing data destruction of the nonvolatile memory 60 due to power supply abnormality by masking the system clock when a power supply abnormality is detected. Hereinafter, a case where the nonvolatile storage unit is the nonvolatile memory 60 will be described as an example. However, in the present embodiment, the non-volatile storage unit may be other, for example, a magnetic drive such as a hard disk drive or an optical drive such as a DVD. In the following, a case where a power supply voltage, a ground voltage, and various signals are supplied by contact of terminals will be described as an example. However, in the present embodiment, the power supply voltage, the ground voltage, and various signals may be supplied by non-contact transmission (non-contact transmission) using electromagnetic induction between coils.

電源端子TV、グランド端子TG、クロック端子TK、データ端子TD、リセット端子TRは、それぞれホスト装置10のホスト側電源端子TVH、ホスト側グランド端子TGH、ホスト側クロック端子TKH、ホスト側データ端子TDH、ホスト側リセット端子TRHに電気的に接続される。例えば、ホスト装置10と記憶装置20の各端子は金属製の端子で構成され、その端子が物理的に接触することで電気的に接続される。ホスト装置10の端子と記憶装置20の端子とが接続されている場合、電源端子TVには、ホスト側電源端子TVHからの電源電圧VDD(第1の電源電圧、高電圧側電源電圧)が供給される。また、グランド端子TGにはホスト側グランド端子TGHからのグランド電圧VSS(第2の電源電圧、低電圧側電源電圧)が供給される。クロック端子TKには、ホスト側クロック端子TKHからのシステムクロックSCK(第1の信号)が供給され、データ端子TDには、ホスト側データ端子TDHからのデータ信号(第2の信号)が供給される。リセット端子TRには、ホスト側リセット端子TRHからのリセット信号XRSTが供給される。   The power supply terminal TV, the ground terminal TG, the clock terminal TK, the data terminal TD, and the reset terminal TR are respectively a host-side power supply terminal TVH, a host-side ground terminal TGH, a host-side clock terminal TKH, a host-side data terminal TDH, It is electrically connected to the host side reset terminal TRH. For example, each terminal of the host device 10 and the storage device 20 is composed of a metal terminal, and the terminals are electrically connected by physically contacting them. When the terminal of the host device 10 and the terminal of the storage device 20 are connected, the power supply terminal TV is supplied with the power supply voltage VDD (first power supply voltage, high voltage power supply voltage) from the host side power supply terminal TVH. Is done. The ground terminal TG is supplied with the ground voltage VSS (second power supply voltage, low voltage power supply voltage) from the host side ground terminal TGH. A system clock SCK (first signal) from the host side clock terminal TKH is supplied to the clock terminal TK, and a data signal (second signal) from the host side data terminal TDH is supplied to the data terminal TD. The The reset signal XRST from the host side reset terminal TRH is supplied to the reset terminal TR.

制御部30は、不揮発性メモリー60(広義には、不揮発性の記憶部)の制御や、ホスト装置10(ホスト)との間のデータ送受信(データ通信)、電源異常の検出を行う。具体的には、制御部30は、検出回路32(検出部)、マスク処理部34(マスク処理回路)、アクセス制御部36(アクセス制御回路)、送受信部38(通信部、送受信回路)を含む。   The control unit 30 controls the nonvolatile memory 60 (nonvolatile storage unit in a broad sense), performs data transmission / reception (data communication) with the host device 10 (host), and detects a power supply abnormality. Specifically, the control unit 30 includes a detection circuit 32 (detection unit), a mask processing unit 34 (mask processing circuit), an access control unit 36 (access control circuit), and a transmission / reception unit 38 (communication unit, transmission / reception circuit). .

検出回路32は、記憶装置20に供給される電源の異常を検出し、検出信号(検出結果の情報)をマスク処理部34に出力する。具体的には、検出回路32は、電源電圧VDDの電圧低下や、電源端子TV又はグランド端子TGのフローティング状態(オープン状態、非接触状態)等を検出する。例えば、検出回路32は、電源端子TVから供給される電圧の電圧低下や、グランド端子TGから供給される電圧の電圧上昇を、電源電圧VDDの電圧低下として検出する。   The detection circuit 32 detects an abnormality in the power supplied to the storage device 20 and outputs a detection signal (information on the detection result) to the mask processing unit 34. Specifically, the detection circuit 32 detects a voltage drop of the power supply voltage VDD, a floating state (open state, non-contact state) of the power supply terminal TV or the ground terminal TG, and the like. For example, the detection circuit 32 detects a voltage drop of the voltage supplied from the power supply terminal TV or a voltage rise of the voltage supplied from the ground terminal TG as a voltage drop of the power supply voltage VDD.

マスク処理部34は、検出回路32からの検出信号に基づいてシステムクロックSCKのマスク処理を行う。ここで、システムクロックSCKは、記憶装置20の制御に用いられるクロックである。例えば、SCKは、不揮発性メモリーのリード/ライト(読み出し又は書き込み)のアクセス制御等のためのクロックを生成したり、ホスト装置10と記憶装置20とのデータ送受信を行うためのクロックである。このシステムクロックSCKは、図1に示すように端子TKから供給されてもよく、記憶装置20の内部で生成されてもよい。   The mask processing unit 34 performs mask processing of the system clock SCK based on the detection signal from the detection circuit 32. Here, the system clock SCK is a clock used for controlling the storage device 20. For example, SCK is a clock for generating a clock for read / write (reading or writing) access control of the nonvolatile memory and for transmitting and receiving data between the host device 10 and the storage device 20. The system clock SCK may be supplied from the terminal TK as shown in FIG. 1 or may be generated inside the storage device 20.

検出回路32により電源異常が検出された場合には、マスク処理部34はクロック端子TKからのシステムクロックSCKをマスクする。すなわち、アクセス制御部36や送受信部38等の制御部30の構成要素に対して、システムクロックSCKを非供給にする。例えば、マスク処理後のシステムクロックをローレベル(第1の論理レベル)やハイレベル(第2の論理レベル)に固定することで、SCKを非供給にする。この場合、記憶装置20の動作は停止する。すなわち、不揮発性メモリー60に対するリード動作/ライト動作や、ホスト装置10との間のデータ送受信は行われない。一方、検出回路32により電源異常が検出されない場合には、マスク処理部34はシステムクロックSCKをマスクせず、制御部30の構成要素に対してSCKを供給する。この場合、記憶装置20は通常動作を行う。   When a power supply abnormality is detected by the detection circuit 32, the mask processing unit 34 masks the system clock SCK from the clock terminal TK. That is, the system clock SCK is not supplied to the components of the control unit 30 such as the access control unit 36 and the transmission / reception unit 38. For example, the SCK is not supplied by fixing the system clock after mask processing to a low level (first logic level) or a high level (second logic level). In this case, the operation of the storage device 20 is stopped. That is, no read / write operation with respect to the nonvolatile memory 60 or data transmission / reception with the host device 10 is performed. On the other hand, if no power supply abnormality is detected by the detection circuit 32, the mask processing unit 34 does not mask the system clock SCK and supplies SCK to the components of the control unit 30. In this case, the storage device 20 performs a normal operation.

アクセス制御部36は、マスク処理部34からのマスク処理後のシステムクロックに基づいて、不揮発性メモリー60に対するアクセス制御(メモリーアクセス制御)を行う。すなわち、システムクロックに同期して、不揮発性メモリー60の各アドレスに記憶されたデータのリード動作(読み出し動作)や、不揮発性メモリー60の各アドレスに対するデータのライト動作(書き込み動作)を行う。具体的には、アクセス制御部36は、ライトイネーブル信号、リードアドレス信号、ライトアドレス信号、ライトデータ信号等を生成し、アクセス制御を行う。なお、アクセス制御部36は、不揮発性メモリー60に対してシーケンシャルアクセスを行ってもよく、ランダムアクセスを行ってもよい。   The access control unit 36 performs access control (memory access control) for the nonvolatile memory 60 based on the system clock after the mask processing from the mask processing unit 34. That is, in synchronization with the system clock, a read operation (read operation) of data stored in each address of the nonvolatile memory 60 and a write operation (write operation) of data with respect to each address of the nonvolatile memory 60 are performed. Specifically, the access control unit 36 generates a write enable signal, a read address signal, a write address signal, a write data signal, and the like, and performs access control. The access control unit 36 may perform sequential access to the nonvolatile memory 60 or may perform random access.

送受信部38(受信部または、送信部)は、マスク処理部34からのマスク処理後のシステムクロックに基づいて、ホスト装置10と記憶装置20の間のデータ送受信を行う。そして、送受信部38は受信したデータをアクセス制御部36に対して出力し、アクセス制御部36は、そのデータを不揮発性メモリー60に書き込む。また、送受信部38は、アクセス制御部36により不揮発性メモリー60から読み出されたデータをホスト装置10に送信する。より具体的には、送受信部38は、データ端子TDを介してホスト装置10からのデータ信号SDAを受信する。受信されるデータ信号SDAには、例えば、リードコマンドやライトコマンド等のコマンド、アドレス信号、データ信号が含まれる。また、送受信部38は、アクセス制御部36により不揮発性メモリー60から読み出されたデータを、データ端子TDを介してホスト装置10に対して送信する。   The transmission / reception unit 38 (reception unit or transmission unit) performs data transmission / reception between the host device 10 and the storage device 20 based on the system clock after the mask processing from the mask processing unit 34. Then, the transmission / reception unit 38 outputs the received data to the access control unit 36, and the access control unit 36 writes the data in the nonvolatile memory 60. The transmission / reception unit 38 transmits the data read from the nonvolatile memory 60 by the access control unit 36 to the host device 10. More specifically, the transmission / reception unit 38 receives the data signal SDA from the host device 10 via the data terminal TD. The received data signal SDA includes, for example, a command such as a read command and a write command, an address signal, and a data signal. The transmission / reception unit 38 transmits the data read from the nonvolatile memory 60 by the access control unit 36 to the host device 10 via the data terminal TD.

不揮発性メモリー60は、例えばFERAM(強誘電体メモリー)や、フラッシュメモリー等のEEPROMにより構成される。この不揮発性メモリー60は、メモリーアレイ、カラム選択回路、ロー選択回路を含むことができる。不揮発性メモリー60は、製造時に書き込まれたID、製造情報や、ホスト装置10から書き込まれた情報を記憶する。例えばインクカートリッジの場合、不揮発性メモリー60は、製造情報として製造日の情報、インクの色の情報などを記憶し、ホスト装置10から書き込まれる情報としてインクの残量の情報などを記憶する。   The nonvolatile memory 60 is composed of, for example, an EEPROM such as FERAM (ferroelectric memory) or flash memory. The nonvolatile memory 60 may include a memory array, a column selection circuit, and a row selection circuit. The nonvolatile memory 60 stores the ID and manufacturing information written at the time of manufacturing, and information written from the host device 10. For example, in the case of an ink cartridge, the nonvolatile memory 60 stores manufacturing date information, ink color information, and the like as manufacturing information, and stores ink remaining information as information written from the host device 10.

キャパシター70は、電源端子TVとグランド端子TGとの間に設けられ、電源端子TVから供給される電源電圧VDDを保持する。すなわち、ホスト装置10から供給される電源電圧VDDの電圧低下を抑止(抑制)する。具体的には、上述のように、不揮発性メモリー60の記憶データの破壊を抑止するために、電源電圧低下(電源異常)が検出された場合に不揮発性メモリー60に対するアクセス制御が停止される。しかしながら、ライト動作中やリード動作中に電源電圧低下が検出された場合、そのライト動作やリード動作を途中で停止すると、データを破壊するおそれがある。そのため、アクセス制御部36は、そのライト動作やリード動作を停止せず完了(続行)させる。このとき、キャパシター70は、ホスト装置10から共有される電源電圧VDDの単位時間当たりの電圧低下を小さくすることで、ライト動作やリード動作を完了するための時間を確保する。   The capacitor 70 is provided between the power supply terminal TV and the ground terminal TG, and holds the power supply voltage VDD supplied from the power supply terminal TV. That is, the voltage drop of the power supply voltage VDD supplied from the host device 10 is suppressed (suppressed). Specifically, as described above, in order to suppress the destruction of data stored in the nonvolatile memory 60, access control to the nonvolatile memory 60 is stopped when a power supply voltage drop (power supply abnormality) is detected. However, if a power supply voltage drop is detected during a write operation or a read operation, if the write operation or read operation is stopped halfway, data may be destroyed. Therefore, the access control unit 36 completes (continues) the write operation or read operation without stopping. At this time, the capacitor 70 secures a time for completing the write operation and the read operation by reducing the voltage drop per unit time of the power supply voltage VDD shared from the host device 10.

なお、キャパシター70の絶縁層は、強誘電体メモリーの強誘電体層により構成されることが望ましい。具体的には、図2に記憶装置の第2の構成例を示す。この記憶装置20は、制御部30、強誘電体メモリー60、端子TV、TG、TK、TR、TDを含む。そして、強誘電体メモリー60は、キャパシター70を含む。このキャパシター70の一端の電極にはVDDが供給され、他端の電極にはVSSが供給される。これらの電極間の絶縁層(誘電体)は、強誘電体メモリーのメモリーセルに用いられる強誘電体により構成される。   The insulating layer of the capacitor 70 is preferably composed of a ferroelectric layer of a ferroelectric memory. Specifically, FIG. 2 shows a second configuration example of the storage device. The storage device 20 includes a control unit 30, a ferroelectric memory 60, and terminals TV, TG, TK, TR, and TD. The ferroelectric memory 60 includes a capacitor 70. VDD is supplied to one electrode of the capacitor 70 and VSS is supplied to the other electrode. The insulating layer (dielectric) between these electrodes is composed of a ferroelectric material used in a memory cell of a ferroelectric memory.

2.アクセス制御
上述のように、本実施形態では、ライト動作中やリード動作中に電源異常が検出された場合、そのライト動作やリード動作を停止せず完了(続行)させる。まず、図3〜図5を用いて、本実施形態のアクセス制御について説明する。そして、図6(A)〜図8を用いて、不揮発性メモリー60が強誘電体メモリーである場合を例に、ライト動作やリード動作の完了について具体的に説明する。
2. Access Control As described above, in this embodiment, when a power supply abnormality is detected during a write operation or a read operation, the write operation or read operation is completed (continued) without being stopped. First, the access control of this embodiment will be described with reference to FIGS. Then, with reference to FIGS. 6A to 8, the completion of the write operation and the read operation will be specifically described by taking as an example the case where the nonvolatile memory 60 is a ferroelectric memory.

図3には、不揮発性メモリーに対するリード制御の信号波形例を示す。図3のF1に示すように、アドレス信号AD[0:n]がアドレスAD1[0:n]にされ、F2に示すように、ライトイネーブル信号WEがハイレベルにされる。そして、F3に示すように、メモリーアクセス用のクロックCKの立ち上がりエッジ(または、立ち下がりエッジ)が入力されると、F4に示すように、アドレスAD1[0:n]のデータRD1[0:m]がリードデータRD[0:m]として読み出される。ここで、図3に示すように、クロックCKは、例えばシステムクロックSCK(マスク処理後のシステムクロック)を分周して生成されたクロックである。   FIG. 3 shows a signal waveform example of read control for the nonvolatile memory. As shown in F1 of FIG. 3, the address signal AD [0: n] is set to the address AD1 [0: n], and the write enable signal WE is set to the high level as shown in F2. When the rising edge (or falling edge) of the memory access clock CK is input as indicated by F3, the data RD1 [0: m] of the address AD1 [0: n] is indicated as indicated by F4. ] Is read as read data RD [0: m]. Here, as shown in FIG. 3, the clock CK is a clock generated by dividing the system clock SCK (system clock after masking), for example.

図4には、不揮発性メモリーに対するライト制御の信号波形例を示す。図4のG1に示すように、アドレス信号AD[0:n]がアドレスAD1[0:n]にされ、G2に示すように、ライトイネーブル信号WEがローレベル(アクティブ)にされる。G3に示すように、データ信号WD[0:m]としてライトデータWD1[0:m]が供給される。そして、G4に示すように、クロックCKの立ち上がりエッジが入力されると、アドレスAD1[0:n]にライトデータWD1[0:m]が書き込まれる。   FIG. 4 shows a signal waveform example of write control for the nonvolatile memory. As indicated by G1 in FIG. 4, the address signal AD [0: n] is changed to the address AD1 [0: n], and as shown by G2, the write enable signal WE is set to the low level (active). As indicated by G3, the write data WD1 [0: m] is supplied as the data signal WD [0: m]. Then, as indicated by G4, when the rising edge of the clock CK is input, the write data WD1 [0: m] is written to the address AD1 [0: n].

図5には、アクセスサイクルにおいて電源異常を検出した場合のアクセス制御の信号波形例を示す。図5に示すように、アクセスサイクルTa(アクセス期間)におけるタイミングTdにおいて電源異常状態を検出したとする。そうすると、H1に示すように、ライト動作またはリード動作を行うためのクロックCKのエッジが出力され(CKがアクティブにされ)、H2に示すように、システムクロックSCKがマスクされる。システムクロックSCKがマスクされると、クロックCKやアドレス信号AD[0:n]、ライトイネーブル信号WEは変化しなくなる。本実施形態は、ライト動作またはリード動作を行うためのクロックCKのエッジが出力された場合、システムクロックSCKがマスクされても、そのアクセスサイクルTaにおけるライト動作またはリード動作を停止せず完了する。   FIG. 5 shows an example of an access control signal waveform when a power supply abnormality is detected in the access cycle. As shown in FIG. 5, it is assumed that a power supply abnormal state is detected at timing Td in the access cycle Ta (access period). Then, the edge of the clock CK for performing the write operation or the read operation is output as indicated by H1 (CK is activated), and the system clock SCK is masked as indicated by H2. When the system clock SCK is masked, the clock CK, the address signal AD [0: n], and the write enable signal WE do not change. In this embodiment, when the edge of the clock CK for performing the write operation or the read operation is output, the write operation or the read operation in the access cycle Ta is completed without being stopped even if the system clock SCK is masked.

ここで、アクセスサイクルTaは、例えばライトイネーブル信号WEやアドレス信号AD[0:n]が不揮発性メモリー60に供給されるタイミングから開始する期間である。あるいは、システムクロックSCKの立ち下がりエッジ(または立ち上がりエッジ)でSCKがマスクされる場合、ライト動作またはリード動作を行うためのクロックCKのエッジが出力される直前のシステムクロックSCKの立ち下がりエッジから開始する期間である。そして、アクセスサイクルTaは、例えばTaにおけるアクセス対象のアドレスAD1[0:n]に対するライト動作またはリード動作の完了により終了する期間である。あるいは、次のアクセスサイクルの開始により終了する期間である。   Here, the access cycle Ta is a period starting from the timing when the write enable signal WE and the address signal AD [0: n] are supplied to the nonvolatile memory 60, for example. Alternatively, when SCK is masked by the falling edge (or rising edge) of system clock SCK, it starts from the falling edge of system clock SCK immediately before the output of clock CK for performing the write operation or read operation. It is a period to do. The access cycle Ta is, for example, a period that ends when the write operation or read operation for the address AD1 [0: n] to be accessed in Ta is completed. Alternatively, it is a period that ends when the next access cycle starts.

なお、本実施形態では、アクセスサイクルTaにおいて電源異常状態を検出した場合であっても、ライト動作またはリード動作を行うためのクロックCKのエッジが出力される前にシステムクロックSCKがマスクされた場合には、アクセス制御を停止してもよい。すなわち、そのアクセスサイクルTaにおけるライト動作またはリード動作を行うことなく動作を停止してもよい。   In this embodiment, even when a power supply abnormal state is detected in the access cycle Ta, the system clock SCK is masked before the edge of the clock CK for performing the write operation or the read operation is output. In some cases, access control may be stopped. That is, the operation may be stopped without performing a write operation or a read operation in the access cycle Ta.

3.強誘電体メモリー
次に、図6(A)〜図8を用いて、不揮発性メモリー60が強誘電体メモリーである場合を例に、ライト動作やリード動作の完了について具体的に説明する。但し、本実施形態では、不揮発性メモリー60はEEPROM等の他の不揮発性メモリーであってもよい。
3. Ferroelectric Memory Next, the completion of the write operation and the read operation will be specifically described with reference to FIGS. 6A to 8, taking as an example the case where the nonvolatile memory 60 is a ferroelectric memory. However, in this embodiment, the nonvolatile memory 60 may be another nonvolatile memory such as an EEPROM.

図6(A)に、強誘電体メモリーの構成例を示す。この強誘電体メモリーは、強誘電体キャパシターCS、N型トランスファートランジスターTR(広義には、第1導電型トランジスター)、センスアンプSA、第1、第2のトランジスターSW1、SW2、ラッチLTを含む。なお、図6(A)では、メモリーセルが1T1C(1 Transistor 1 Capacitor)型である場合を例に説明するが、本実施形態では、2T2C(2 Transistor 2 Capacitor)型や、FET型等であってもよい。   FIG. 6A shows a configuration example of a ferroelectric memory. This ferroelectric memory includes a ferroelectric capacitor CS, an N-type transfer transistor TR (first conductivity type transistor in a broad sense), a sense amplifier SA, first and second transistors SW1, SW2, and a latch LT. In FIG. 6A, a case where the memory cell is a 1T1C (1 Transistor 1 Capacitor) type will be described as an example. However, in this embodiment, a 2T2C (2 Transistor 2 Capacitor) type, an FET type, or the like is used. May be.

強誘電体キャパシターCSの一端にはノードNCが接続され、他端にはプレート線PLが接続される。トランジスターTRのゲート電極にはワード線WLが接続され、ソース電極(ドレイン電極)にはビット線BL1が接続され、ドレイン電極(ソース電極)にはノードNCが接続される。そして、強誘電体キャパシターCSとトランジスターTRによりメモリーセルが構成され、複数のメモリーセルがビット線BL1及びワード線WLに沿って配置される。   A node NC is connected to one end of the ferroelectric capacitor CS, and a plate line PL is connected to the other end. A word line WL is connected to the gate electrode of the transistor TR, a bit line BL1 is connected to the source electrode (drain electrode), and a node NC is connected to the drain electrode (source electrode). A memory cell is formed by the ferroelectric capacitor CS and the transistor TR, and a plurality of memory cells are arranged along the bit line BL1 and the word line WL.

センスアンプSAは、ビット線BL1に読み出された電荷(電圧)を増幅し、増幅後の電圧をビット線BL2に出力する。例えば、増幅後の電圧として、論理“1”に対応する電源電圧VCC、または論理“0”に対応する0Vを出力する。トランジスターSW1、SW2は、例えばN型トランジスターにより構成され、信号YSELによりオン・オフが制御される。信号YSELは、メモリーセルからの読み出し時にアクティブになる。ラッチLTは、読み出された論理レベル(電圧レベル)を保持(ラッチ)し、保持した論理レベルを出力信号LTQとして出力する。   The sense amplifier SA amplifies the charge (voltage) read to the bit line BL1, and outputs the amplified voltage to the bit line BL2. For example, a power supply voltage VCC corresponding to logic “1” or 0 V corresponding to logic “0” is output as the amplified voltage. The transistors SW1 and SW2 are composed of, for example, N-type transistors, and are turned on / off by a signal YSEL. The signal YSEL becomes active when reading from the memory cell. The latch LT holds (latches) the read logic level (voltage level), and outputs the held logic level as the output signal LTQ.

図6(B)を用いて、強誘電体メモリーセルに対するライト動作について説明する。図6(B)に示すように、メモリーセルに論理“1”を書き込む場合には、ワード線WLに選択電圧を印加し、ビット線BL1に電源電圧VCC(例えば、電源電圧VDD。広義には、第1の電源電圧)の電圧を印加し、プレート線PLに0V(例えば、グランド電圧VSS。広義には。第2の電源電圧)を印加する。これにより、強誘電体キャパシターCSの残留分極が「負」になる。このように、残留分極が「負」である状態を、例えば論理“1”が記憶されている状態と定義できる。   A write operation for the ferroelectric memory cell will be described with reference to FIG. As shown in FIG. 6B, when logic “1” is written in the memory cell, a selection voltage is applied to the word line WL, and a power supply voltage VCC (for example, power supply voltage VDD; broadly defined) is applied to the bit line BL1. , The first power supply voltage) is applied, and 0 V (for example, the ground voltage VSS. In a broad sense, the second power supply voltage) is applied to the plate line PL. Thereby, the remanent polarization of the ferroelectric capacitor CS becomes “negative”. Thus, a state in which the remanent polarization is “negative” can be defined as a state in which, for example, logic “1” is stored.

一方、メモリーセルに論理“0”を書き込む場合には、ワード線WLに選択電圧を印加し、ビット線BL1に0Vを印加し、プレート線PLにVCC(例えば5V)を印加する。これにより、強誘電体キャパシターCSの残留分極が「正」になる。このように、残留分極が「正」である状態を、例えば論理“0”が記憶されている状態と定義できる。   On the other hand, when writing logic “0” in the memory cell, a selection voltage is applied to the word line WL, 0 V is applied to the bit line BL1, and VCC (for example, 5 V) is applied to the plate line PL. Thereby, the remanent polarization of the ferroelectric capacitor CS becomes “positive”. Thus, a state in which the remanent polarization is “positive” can be defined as a state in which, for example, logic “0” is stored.

図6(C)を用いて、強誘電体メモリーセルに対するリード動作について説明する。図6(C)に示すように、第1の期間T1において、ワード線WLに選択電圧を印加し、強誘電体キャパシターCSからビット線BL1への電荷の転送が行われる。続く第2の期間T2において、センスアンプSAによりビット線BL1の電圧が増幅される。そして、第3の期間T3において、リードしたデータ(論理“0”または“1”)を保持し、リードにより破壊されたデータを回復するためにリライト動作(再書き込み動作)が行われる。   A read operation for the ferroelectric memory cell will be described with reference to FIG. As shown in FIG. 6C, in the first period T1, a selection voltage is applied to the word line WL, and charge is transferred from the ferroelectric capacitor CS to the bit line BL1. In the subsequent second period T2, the voltage of the bit line BL1 is amplified by the sense amplifier SA. In the third period T3, a rewrite operation (rewrite operation) is performed in order to retain the read data (logic “0” or “1”) and recover the data destroyed by the read.

なお、本実施形態では、上述の順序でリード動作が行われてもよく、例えばセンスアンプ増幅とリライト動作が同一期間において行われ、次の期間において保持される等の他の順序でリード動作が行われてもよい。   In this embodiment, the read operation may be performed in the above-described order. For example, the read operation is performed in another order, for example, the sense amplifier amplification and the rewrite operation are performed in the same period and held in the next period. It may be done.

図7に、強誘電体メモリーに対するリード動作の詳細な信号波形例を示す。図7のI1に示すように、クロックCKの立ち上がりエッジが入力されると、I2に示すように、ワード線WLに電源電圧VCCが印加される。そして、I3に示すように、プレート線PLに電源電圧VCCが印加され、I4に示すように、ビット線BL1に強誘電体キャパシターCSの電荷が読み出される。I5に示すように、センスアンプSAがオンし、I6に示すように、センスアンプSAにより増幅(ハイレベル化、またはローレベル化)された電圧がビット線BL2に出力される。なお、I7に示すように、YSELはハイレベル(アクティブ)のため、BL1とBL2は同電圧である。   FIG. 7 shows a detailed signal waveform example of the read operation for the ferroelectric memory. When the rising edge of the clock CK is input as indicated by I1 in FIG. 7, the power supply voltage VCC is applied to the word line WL as indicated by I2. Then, the power supply voltage VCC is applied to the plate line PL as indicated by I3, and the charge of the ferroelectric capacitor CS is read to the bit line BL1 as indicated by I4. As indicated by I5, the sense amplifier SA is turned on, and as indicated by I6, the voltage amplified (high level or low level) by the sense amplifier SA is output to the bit line BL2. As indicated by I7, since YSEL is at a high level (active), BL1 and BL2 have the same voltage.

I8に示すように、出力データラッチ信号LATの立ち上がりエッジ(アクティブエッジ)で、読み出された論理レベルがラッチされる。I9に示すように、プレート線PLに0Vが印加され、ビット線BL1(BL2)の電圧が強誘電体キャパシターCSにリライトされる。そして、I10に示すように、出力イネーブル信号OEがハイレベル(アクティブ)にされ、ラッチした論理レベルがリードデータとして出力される。   As shown at I8, the read logic level is latched at the rising edge (active edge) of the output data latch signal LAT. As indicated by I9, 0V is applied to the plate line PL, and the voltage of the bit line BL1 (BL2) is rewritten to the ferroelectric capacitor CS. Then, as indicated by I10, the output enable signal OE is set to high level (active), and the latched logic level is output as read data.

I11に示すように、アクセスサイクルTaにおいて電源異常状態を検出した場合には、クロックCKが立ち下がらなくなる。そのため、本実施形態では、アクセス制御を完了するために、クロックCKの立ち上がりエッジにより上述のアクセス制御を行う。   As indicated by I11, when a power supply abnormal state is detected in the access cycle Ta, the clock CK does not fall. Therefore, in this embodiment, in order to complete the access control, the above-described access control is performed at the rising edge of the clock CK.

図8には、クロックCKの立ち上がりエッジにより制御信号を生成できる信号生成回路の詳細な構成例を示す。この信号生成回路は、ディレイバッファDB1〜DB20(広義には、DB1〜DBi。iは自然数)、インバーターIB1、IB2、アンド回路AB1、AB2(論理積回路)、セット/リセットラッチSLRを含む。例えば、この信号生成回路は、図1に示すアクセス制御部36や不揮発性メモリー60に含まれることができる。なお、図8では、ワード線WLの制御信号について説明するが、他の制御信号についても同様に生成できる。   FIG. 8 shows a detailed configuration example of a signal generation circuit that can generate a control signal by the rising edge of the clock CK. This signal generation circuit includes delay buffers DB1 to DB20 (DB1 to DBi in a broad sense, i is a natural number), inverters IB1 and IB2, AND circuits AB1 and AB2 (logical product circuits), and a set / reset latch SLR. For example, the signal generation circuit can be included in the access control unit 36 and the nonvolatile memory 60 shown in FIG. In FIG. 8, the control signal of the word line WL is described, but other control signals can be generated in the same manner.

ディレイバッファDB1〜DB20は、クロックCKを受けて、クロックCKを順次遅延させる。インバーターIB1は、DB4の出力論理レベルを反転する。アンド回路AB1には、DB2の出力信号とインバーターIB1の出力信号とが入力される。インバーターIB2は、DB17の出力論理レベルを反転する。アンド回路AB2には、DB15の出力信号とインバーターIB2の出力信号とが入力される。ラッチSLRのセット端子には、アンド回路AB1の出力信号が入力され、リセット端子には、アンド回路AB2の出力信号が入力される。   The delay buffers DB1 to DB20 receive the clock CK and sequentially delay the clock CK. Inverter IB1 inverts the output logic level of DB4. The output signal of DB2 and the output signal of the inverter IB1 are input to the AND circuit AB1. Inverter IB2 inverts the output logic level of DB17. The output signal of DB15 and the output signal of the inverter IB2 are input to the AND circuit AB2. The output signal of the AND circuit AB1 is input to the set terminal of the latch SLR, and the output signal of the AND circuit AB2 is input to the reset terminal.

クロックCKの立ち上がりエッジが入力されると、DB3、DB4の遅延により、AB1はハイパルス(CKの立ち上がりエッジの微分パルス)を出力する。ラッチSLRは、そのハイパルスを受けて、ワード線WLの論理レベルをハイレベルにする。そして、DB5〜DB15の遅延による期間の経過後、アンド回路AB2がハイパルスを出力する。ラッチSLRは、そのハイパルスを受けて、ワード線WLをローレベルにする。このようにして、クロックCKの立ち上がりエッジにより、制御信号を生成できる。   When the rising edge of the clock CK is input, AB1 outputs a high pulse (differential pulse of the rising edge of CK) due to the delay of DB3 and DB4. The latch SLR receives the high pulse and sets the logic level of the word line WL to the high level. And after the elapse of the period due to the delay of DB5 to DB15, the AND circuit AB2 outputs a high pulse. The latch SLR receives the high pulse and sets the word line WL to the low level. In this way, the control signal can be generated by the rising edge of the clock CK.

4.キャパシター
図7等で上述のように、本実施形態は、アクセス制御用のクロックCKのアクティブエッジによりリード動作を完了する。このとき、電源電圧が低下した場合であっても記憶データが破壊されないためには、リード動作として少なくともリライト動作まで完了する必要がある。図7に示すように、リライト動作は、例えばセンスアンプSAをオフするタイミングに完了する。
4). Capacitor As described above with reference to FIG. 7 and the like, in the present embodiment, the read operation is completed by the active edge of the access control clock CK. At this time, in order to prevent the stored data from being destroyed even when the power supply voltage is lowered, at least the rewrite operation needs to be completed as the read operation. As shown in FIG. 7, the rewrite operation is completed, for example, at a timing when the sense amplifier SA is turned off.

図9を用いて、リード動作(またはライト動作)を完了するためのキャパシターの容量値について説明する。図9のJ1に示すように、アクセスサイクルTaの開始後に電源電圧VDDが閾値電圧LowVdd以下になったとする。そうすると、図11等で後述する電源監視回路120の出力信号がアクティブ(例えばローレベル)になる。この電圧低下検出からリード動作またはライト動作の完了までの期間を期間Tbとする。期間Tbは、例えば、最大でアクセスサイクルTaと同じ長さの期間となる。J3に示すように、キャパシター70は、期間Tbにおいて電源電圧VDDが不揮発性メモリー60の動作下限電圧VT以下とならない容量値に設定される。この動作下限電圧VTは、例えば設計仕様や製品仕様における不揮発性メモリーの電源電圧の下限である。あるいは、現物のICにおいてリード/ライト可能な電源電圧の下限である。   The capacitance value of the capacitor for completing the read operation (or write operation) will be described with reference to FIG. Assume that the power supply voltage VDD becomes equal to or lower than the threshold voltage LowVdd after the start of the access cycle Ta as indicated by J1 in FIG. Then, an output signal of a power supply monitoring circuit 120 described later with reference to FIG. 11 or the like becomes active (for example, low level). A period from the voltage drop detection to the completion of the read operation or the write operation is defined as a period Tb. The period Tb is, for example, a period having the same length as that of the access cycle Ta at the maximum. As indicated by J3, the capacitor 70 is set to a capacitance value that does not cause the power supply voltage VDD to be lower than the operation lower limit voltage VT of the nonvolatile memory 60 in the period Tb. This operation lower limit voltage VT is, for example, the lower limit of the power supply voltage of the nonvolatile memory in design specifications and product specifications. Alternatively, it is the lower limit of the power supply voltage that can be read / written in the actual IC.

例えば、記憶装置20がアクセス制御を行う際の消費電流をIddとし、キャパシター70の容量値をCとする。そうすると、電源電圧VDDの単位時間当たりの電圧低下は、ΔV/Δt=Idd/Cと表される。従って、LowVdd−(Idd/C)×Tb>VTを満たすようにキャパシター70の容量値Cを設定することで、期間Tbにおいて電源電圧VDDが電圧VT以下とならない容量値Cを設定できる。   For example, the current consumption when the storage device 20 performs access control is Idd, and the capacitance value of the capacitor 70 is C. Then, the voltage drop per unit time of the power supply voltage VDD is expressed as ΔV / Δt = Idd / C. Therefore, by setting the capacitance value C of the capacitor 70 so as to satisfy LowVdd− (Idd / C) × Tb> VT, it is possible to set the capacitance value C at which the power supply voltage VDD does not become the voltage VT or less in the period Tb.

なお、上記においてはリード動作を例に説明したが、ライト動作の場合には、例えばワード線及びビット線への電圧印加から強誘電体キャパシターへの書き込み終了までの時間を確保することでライト動作を完了する。   In the above description, the read operation is described as an example. However, in the case of the write operation, for example, the write operation is ensured by securing the time from the voltage application to the word line and the bit line to the end of writing to the ferroelectric capacitor. To complete.

図2等で上述のように、このようなキャパシター70は、強誘電体メモリーに内蔵することができる。図10には、キャパシターを含む強誘電体メモリーの詳細な構成例を示す。この強誘電体メモリーは、下地基板400(ダイ。例えばSi)、絶縁層410(絶縁膜。例えばSiO)、トランスファートランジスター500、強誘電体キャパシター510、キャパシター520を含む。 As described above with reference to FIG. 2 and the like, such a capacitor 70 can be incorporated in a ferroelectric memory. FIG. 10 shows a detailed configuration example of a ferroelectric memory including a capacitor. This ferroelectric memory includes a base substrate 400 (die, eg, Si), an insulating layer 410 (insulating film, eg, SiO 2 ), a transfer transistor 500, a ferroelectric capacitor 510, and a capacitor 520.

トランスファートランジスター500は、ソース電極420、ドレイン電極430、絶縁層440、ゲート電極450を含む。このトランスファートランジスター500と、後述する強誘電体キャパシター510により、メモリーセルが構成される。絶縁層440は、例えばSiO(二酸化ケイ素)で形成される。ゲート部450は、例えばポリクリスタルSiにより形成される。ソース部420、ドレイン部430は、例えば下地基板400へのイオン注入等により形成される。 The transfer transistor 500 includes a source electrode 420, a drain electrode 430, an insulating layer 440, and a gate electrode 450. The transfer transistor 500 and a ferroelectric capacitor 510 described later constitute a memory cell. The insulating layer 440 is made of, for example, SiO 2 (silicon dioxide). The gate portion 450 is made of, for example, polycrystal Si. The source part 420 and the drain part 430 are formed, for example, by ion implantation into the base substrate 400.

強誘電体キャパシター510は、バリア層461、下部電極471、強誘電体層481、上部電極491を含む。キャパシター520は、バリア層462、下部電極472(第1の電極)、強誘電体層482(絶縁層)、上部電極492(第2の電極)を含む。バリア層461、462は、例えばTiNにより形成される。下部電極471、472、上部電極491、492は、例えばアルミ等の金属層により形成される。強誘電体層481は、例えばPZT等の強誘電性物質により形成される。キャパシター520の上部電極492と下部電極472の一方には、電源電圧VDDが供給され、他方には、グランド電圧VSSが供給される。このようにして、キャパシターの絶縁層を、強誘電体メモリーの強誘電体層で形成することができる。   The ferroelectric capacitor 510 includes a barrier layer 461, a lower electrode 471, a ferroelectric layer 481, and an upper electrode 491. The capacitor 520 includes a barrier layer 462, a lower electrode 472 (first electrode), a ferroelectric layer 482 (insulating layer), and an upper electrode 492 (second electrode). The barrier layers 461 and 462 are made of, for example, TiN. The lower electrodes 471 and 472 and the upper electrodes 491 and 492 are formed of a metal layer such as aluminum. The ferroelectric layer 481 is formed of a ferroelectric material such as PZT. One of the upper electrode 492 and the lower electrode 472 of the capacitor 520 is supplied with the power supply voltage VDD, and the other is supplied with the ground voltage VSS. In this way, the insulating layer of the capacitor can be formed from the ferroelectric layer of the ferroelectric memory.

さて、上述のように、不揮発性メモリーを有する記憶装置では、電源異常によりデータのリード/ライトが正常に行われない事態が生じると、不揮発性メモリーに記憶されたデータが破壊される場合があるという問題がある。   As described above, in a storage device having a nonvolatile memory, data stored in the nonvolatile memory may be destroyed when a situation in which data reading / writing is not normally performed due to a power supply abnormality occurs. There is a problem.

この点、本実施形態によれば、検出回路32により電源異常状態が検出された場合に、不揮発性メモリー60に対するアクセス制御が停止される。そして、少なくとも1回のリード又はライトのアクセス制御を完了させるために、ホスト装置10から供給される電源電圧VDDがキャパシター70により保持される。   In this regard, according to the present embodiment, when the power supply abnormal state is detected by the detection circuit 32, the access control to the nonvolatile memory 60 is stopped. The power supply voltage VDD supplied from the host device 10 is held by the capacitor 70 in order to complete at least one read or write access control.

これにより、不揮発性メモリーに記憶されたデータが破壊されることを抑止できる。すなわち、ホスト装置10から供給される電源電圧VDDがキャパシター70により保持されることで、すでに開始されたリード又はライトのアクセス制御が不完全に終わることによるデータ破壊を抑止できる。   Thereby, it can suppress that the data memorize | stored in the non-volatile memory are destroyed. That is, the power supply voltage VDD supplied from the host device 10 is held by the capacitor 70, so that data destruction due to incomplete read / write access control that has already been started can be suppressed.

具体的には、本実施形態では、電源電圧VDDが閾値電圧LowVdd以下となった場合に、電源異常状態として電源電圧低下を検出する。そして、キャパシター70は、少なくとも1回のリード又はライトのアクセス制御を行う期間において、電源電圧VDDが、閾値電圧LowVddから低下して不揮発性メモリー60の動作下限電圧VT以下にならない容量値に設定される。   Specifically, in this embodiment, when the power supply voltage VDD becomes equal to or lower than the threshold voltage LowVdd, a power supply voltage drop is detected as a power supply abnormal state. The capacitor 70 is set to a capacitance value at which the power supply voltage VDD does not decrease from the threshold voltage LowVdd and does not fall below the operation lower limit voltage VT of the nonvolatile memory 60 during the period of at least one read / write access control. The

このようにすれば、少なくとも1回のリード又はライトのアクセス制御を行う期間において、電源電圧VDDを不揮発性メモリー60の動作下限電圧VTを下回らない電圧に保持できる。これにより、電源電圧低下を検出した後に少なくとも1回のリード又はライトのアクセス制御を行うことができる。   In this way, the power supply voltage VDD can be held at a voltage that does not fall below the operation lower limit voltage VT of the nonvolatile memory 60 in a period in which at least one read or write access control is performed. As a result, at least one read or write access control can be performed after the power supply voltage drop is detected.

より具体的には、本実施形態では、アクセスサイクルTaの開始後に電源電圧低下が検出された場合には、アクセスサイクルTaにおけるアクセス制御については、停止せずに完了する。そして、キャパシター70は、アクセスサイクルTaにおけるアクセス制御を行う期間において、電源電圧VDDが不揮発性メモリー60の動作下限電圧VT以下にならない容量値に設定される。   More specifically, in the present embodiment, when power supply voltage drop is detected after the start of the access cycle Ta, the access control in the access cycle Ta is completed without stopping. Capacitor 70 is set to a capacitance value such that power supply voltage VDD does not become lower than operation lower limit voltage VT of nonvolatile memory 60 during a period of access control in access cycle Ta.

このようにすれば、アクセスサイクルTaにおけるアクセス制御を行う期間において、電源電圧VDDを不揮発性メモリー60の動作下限電圧VTを下回らない電圧に保持できる。これにより、アクセスサイクルTaの開始後に電源電圧低下が検出された場合に、アクセスサイクルTaにおけるアクセス制御を完了できる。   In this way, the power supply voltage VDD can be held at a voltage that does not fall below the operation lower limit voltage VT of the nonvolatile memory 60 during the period of access control in the access cycle Ta. Thereby, when a power supply voltage drop is detected after the start of the access cycle Ta, the access control in the access cycle Ta can be completed.

図1等で上述のように、本実施形態では、マスク処理部34が、検出回路32により電源異常状態が検出された場合に、アクセス制御部36に供給されるシステムクロックをマスクする。   As described above with reference to FIG. 1 and the like, in the present embodiment, the mask processing unit 34 masks the system clock supplied to the access control unit 36 when a power supply abnormal state is detected by the detection circuit 32.

このようにすれば、アクセス制御部36に供給されるシステムクロックSCKをマスクすることで、検出回路32により電源異常状態が検出された場合に、不揮発性メモリー60に対するリード/ライトのアクセス制御を停止できる。   In this way, by masking the system clock SCK supplied to the access control unit 36, when the detection circuit 32 detects a power supply abnormal state, the read / write access control to the nonvolatile memory 60 is stopped. it can.

また図7等で上述のように、本実施形態では、アクセスサイクルTaの開始後に検出回路32により電源異常状態が検出された場合に、リード/ライトのアクセス制御を行うためのクロックCKをアクティブにする。そして、そのアクセスサイクルTaにおけるリード/ライトのアクセス制御を完了する。   Further, as described above with reference to FIG. 7 and the like, in this embodiment, when a power supply abnormal state is detected by the detection circuit 32 after the start of the access cycle Ta, the clock CK for performing read / write access control is activated. To do. Then, the read / write access control in the access cycle Ta is completed.

このようにすれば、アクセス制御を行うためのクロックCKをアクティブにすることで、アクセスサイクルTaにおけるアクセス制御を開始できる。そして、検出回路32により電源異常状態が検出された場合にも、その開始したアクセス制御を停止せずに完了できる。   In this way, the access control in the access cycle Ta can be started by activating the clock CK for performing access control. Even when a power supply abnormal state is detected by the detection circuit 32, the started access control can be completed without stopping.

より具体的には、クロックCKのアクティブエッジを遅延した信号に基づいて、アクセス制御の制御信号を生成する。すなわち、クロックCKを順次遅延した複数の遅延クロックを生成し、各遅延クロックのアクティブエッジの微分パルスを生成し、その微分パルスにより各制御信号のエッジを生成する。   More specifically, an access control control signal is generated based on a signal obtained by delaying the active edge of the clock CK. That is, a plurality of delay clocks are generated by sequentially delaying the clock CK, a differential pulse of the active edge of each delay clock is generated, and an edge of each control signal is generated by the differential pulse.

このようにすれば、クロックCKをアクティブにすることで、そのアクセスサイクルTaにおけるリード/ライトのアクセス制御を完了することができる。   In this way, the read / write access control in the access cycle Ta can be completed by activating the clock CK.

例えば、本実施形態では、不揮発性メモリー60は強誘電体メモリーであってもよい。そして、少なくとも1回の読み出し又は書き込みのアクセス制御を行う期間が、強誘電体メモリーに対するリードのアクセス制御におけるリライト動作を完了するまでの期間であてもよい。   For example, in the present embodiment, the nonvolatile memory 60 may be a ferroelectric memory. The period during which at least one read or write access control is performed may be a period until the rewrite operation in the read access control for the ferroelectric memory is completed.

このようにすれば、リライト動作まで完了できることで、データ破壊を抑止して強誘電体メモリーに対するリードのアクセス制御を完了できる。   In this way, since the rewrite operation can be completed, data destruction can be suppressed and read access control to the ferroelectric memory can be completed.

また、本実施形態では、キャパシター70は、強誘電体メモリーの強誘電体層で絶縁体が形成されるキャパシターであってもよい。   In the present embodiment, the capacitor 70 may be a capacitor in which an insulator is formed of a ferroelectric layer of a ferroelectric memory.

このようにすれば、強誘電体メモリーの強誘電体層で絶縁体を形成することで、キャパシター70を実現できる。これにより、強誘電体層による大容量のキャパシターの形成が容易になる。また、記憶装置20の構成部品点数を削減できる。   In this way, the capacitor 70 can be realized by forming the insulator with the ferroelectric layer of the ferroelectric memory. This facilitates the formation of a large-capacity capacitor from the ferroelectric layer. In addition, the number of components of the storage device 20 can be reduced.

5.検出回路、マスク処理部
図11に、電源異常状態を検出する検出回路32の構成例及び、システムクロックSCKをマスク処理するマスク処理部34の構成例を示す。図11に示す検出回路32は、パワーオンリセット回路110、電源監視回路120(電源電圧低下検出回路)、フローティング検出回路130、AND回路AN1(論理積回路)を含む。また、図11に示すマスク処理部34は、保持回路100(保持部)、AND回路AN2(論理積回路)を含む。なお、本実施形態の検出回路及びマスク処理回路はこの構成に限定されず、その構成要素の一部を省略したり(例えば、パワーオンリセット回路、電源監視回路)、他の構成要素を追加したりする等の種々の変形実施が可能である。
5). FIG. 11 shows a configuration example of the detection circuit 32 that detects a power supply abnormal state and a configuration example of the mask processing unit 34 that masks the system clock SCK. A detection circuit 32 shown in FIG. 11 includes a power-on reset circuit 110, a power supply monitoring circuit 120 (power supply voltage drop detection circuit), a floating detection circuit 130, and an AND circuit AN1 (logical product circuit). 11 includes a holding circuit 100 (holding unit) and an AND circuit AN2 (logical product circuit). The detection circuit and the mask processing circuit of the present embodiment are not limited to this configuration, and some of the components are omitted (for example, a power-on reset circuit or a power supply monitoring circuit) or other components are added. It is possible to implement various modifications such as.

パワーオンリセット回路110は、電源電圧VDDに基づいてパワーオンリセットを行う。具体的には、電源が投入されるまでは記憶装置20をリセット状態にし、電源が投入されたときには記憶装置20のリセットを解除する。パワーオンリセット回路110は、ホスト装置10の電源が投入され、電源電圧VDDとグランド電圧VSSの差分が閾値電圧(所定の電圧)以上となったとき、出力信号POROUTをハイレベル(広義には、第1の論理レベル)にする。   The power-on reset circuit 110 performs a power-on reset based on the power supply voltage VDD. Specifically, the storage device 20 is reset until the power is turned on, and the reset of the storage device 20 is released when the power is turned on. The power-on reset circuit 110 sets the output signal POROUT to a high level (in a broad sense, when the difference between the power supply voltage VDD and the ground voltage VSS is equal to or higher than a threshold voltage (predetermined voltage) when the power of the host device 10 is turned on. 1st logic level).

電源監視回路120は、電源電圧VDDの電圧低下を検出する。具体的には、電源監視回路120は、電源電圧VDDとグランド電圧VSSの差分が閾値電圧以上の場合には、ハイレベルの出力信号LVDを出力する。一方、電源電圧VDDとグランド電圧VSSの差分が閾値電圧以下の場合には、ローレベル(広義には、第2の論理レベル)の出力信号LVDを出力する。   The power supply monitoring circuit 120 detects a voltage drop of the power supply voltage VDD. Specifically, the power supply monitoring circuit 120 outputs a high-level output signal LVD when the difference between the power supply voltage VDD and the ground voltage VSS is greater than or equal to the threshold voltage. On the other hand, when the difference between the power supply voltage VDD and the ground voltage VSS is equal to or lower than the threshold voltage, an output signal LVD of a low level (second logic level in a broad sense) is output.

フローティング検出回路130は、電源端子TVとグランド端子TGのフローティング状態を検出する。例えば図17等で後述するように、フローティング検出回路130は、電源電圧VDDまたはグランド電圧VSSとリファレンス信号の電圧とを比較してフローティング状態を検出する。そして、フローティング状態を検出していない場合には、ハイレベルの出力信号FLTOを出力し、フローティング状態を検出した場合には、ローレベルの出力信号FLTOを出力する。   The floating detection circuit 130 detects the floating state of the power supply terminal TV and the ground terminal TG. For example, as will be described later with reference to FIG. 17 and the like, the floating detection circuit 130 detects the floating state by comparing the power supply voltage VDD or the ground voltage VSS with the voltage of the reference signal. When the floating state is not detected, the high level output signal FLTO is output. When the floating state is detected, the low level output signal FLTO is output.

AND回路AN1は、パワーオンリセット回路110からの出力信号POROUTと、電源監視回路120からの出力信号LVDと、フローティング検出回路130からの出力信号FLTOの論理積を演算する。すなわち、POROUT、LVD、FLTOの少なくとも1つがローレベル(アクティブ)の場合には、ローレベル(アクティブ)の出力信号QDTを出力する。   The AND circuit AN1 calculates the logical product of the output signal POROUT from the power-on reset circuit 110, the output signal LVD from the power supply monitoring circuit 120, and the output signal FLTO from the floating detection circuit 130. That is, when at least one of POROUT, LVD, and FLTO is at a low level (active), a low level (active) output signal QDT is output.

保持部100(広義には、マスク信号生成回路)は、検出回路32からの検出信号QDTに基づいて、システムクロックSCKをマスク処理するためのマスク信号QMSを出力する。具体的には、フローティング状態が検出されるまではマスク信号QMSを非アクティブにし、フローティング状態が検出された場合にはマスク信号QMSをアクティブにする。そして、一旦マスク信号QMSをアクティブにした後は、QMSをアクティブに保持する。より具体的には、保持部100は、検出信号QDTを保持する。すなわち、検出信号QDTがローレベルに変化すると、その後もローレベルを保持する。保持部100は、セレクターSEL(選択回路)、フリップフロップ回路FFを含む。   The holding unit 100 (mask signal generation circuit in a broad sense) outputs a mask signal QMS for masking the system clock SCK based on the detection signal QDT from the detection circuit 32. Specifically, the mask signal QMS is deactivated until the floating state is detected, and the mask signal QMS is activated when the floating state is detected. Then, once the mask signal QMS is activated, the QMS is held active. More specifically, holding unit 100 holds detection signal QDT. That is, when the detection signal QDT changes to the low level, the low level is maintained thereafter. The holding unit 100 includes a selector SEL (selection circuit) and a flip-flop circuit FF.

セレクターSELは、マスク信号QMSに基づいて、検出信号QDT及びマスク信号QMSのいずれか一方を選択し、選択した信号を出力信号QSLとして出力する。具体的には、マスク信号QMSがハイレベルの場合には、検出信号QDTを選択して出力し、マスク信号QMSがローレベルの場合には、マスク信号QMSを選択して出力する。   The selector SEL selects either the detection signal QDT or the mask signal QMS based on the mask signal QMS, and outputs the selected signal as the output signal QSL. Specifically, when the mask signal QMS is at a high level, the detection signal QDT is selected and output. When the mask signal QMS is at a low level, the mask signal QMS is selected and output.

フリップフロップ回路FFは、セレクターSELからの出力信号QSLの論理レベルをシステムクロックSCKの立ち下がりエッジ(または、立ち上がりエッジ)でラッチ(保持)し、ラッチした論理レベルのマスク信号QMSを出力する。また、リセット信号XRST(または、セット信号)がアクティブにされると、ラッチした論理レベルをリセット(または、セット)する。具体的には、リセット信号XRSTがローレベルの場合には、マスク信号QMSをリセット(クリア)し、ハイレベルのマスク信号QMSを出力する。一方、リセット信号XRSTがローレベルの場合には、リセットを解除し、ラッチした論理レベルのマスク信号QMSを出力する。   The flip-flop circuit FF latches (holds) the logic level of the output signal QSL from the selector SEL at the falling edge (or rising edge) of the system clock SCK, and outputs the latched logic level mask signal QMS. When the reset signal XRST (or set signal) is activated, the latched logic level is reset (or set). Specifically, when the reset signal XRST is at a low level, the mask signal QMS is reset (cleared) and a high level mask signal QMS is output. On the other hand, when the reset signal XRST is at the low level, the reset is released and the latched logic level mask signal QMS is output.

リセット解除直後はハイレベルのマスク信号QMSが出力されるため、セレクターSELにより検出信号QDTが選択される。検出信号QDTがローレベルになると、セレクターSELの出力信号QSLがローレベルとなり、フリップフロップ回路FFによりローレベルがラッチされる。そして、セレクターSELによりローレベルのマスク信号QMSが選択されることで、マスク信号QMSがローレベルに保持される。この保持状態は、リセット信号XRSTによりリセットされるまで維持される。   Since the high level mask signal QMS is output immediately after the reset is released, the detection signal QDT is selected by the selector SEL. When the detection signal QDT becomes low level, the output signal QSL of the selector SEL becomes low level, and the low level is latched by the flip-flop circuit FF. Then, when the low-level mask signal QMS is selected by the selector SEL, the mask signal QMS is held at the low level. This holding state is maintained until reset by the reset signal XRST.

AND回路AN2(広義には、マスク処理回路)は、マスク信号QMSに基づいてシステムクロックSCKのマスク処理を行う。具体的には、AND回路AN2は、マスク信号QMSとシステムクロックSCKとの論理積を演算する。すなわち、マスク信号QMSがローレベルの場合には、マスク処理後のシステムクロックMSCKをローレベルにし、システムクロックSCKを後段の回路に対して非供給にする。一方、マスク信号QMSがハイレベルの場合には、マスク処理後のシステムクロックMSCKとしてシステムクロックSCKを出力し、システムクロックSCKを後段の回路に対して供給する。   The AND circuit AN2 (mask processing circuit in a broad sense) performs mask processing of the system clock SCK based on the mask signal QMS. Specifically, the AND circuit AN2 calculates a logical product of the mask signal QMS and the system clock SCK. That is, when the mask signal QMS is at a low level, the system clock MSCK after masking is set to a low level, and the system clock SCK is not supplied to the subsequent circuit. On the other hand, when the mask signal QMS is at a high level, the system clock SCK is output as the system clock MSCK after the mask processing, and the system clock SCK is supplied to the subsequent circuit.

6.電源異常検出、マスク処理
図12〜図16を用いて、電源異常検出とマスク処理の動作例について説明する。図12には、通常動作時、すなわち電源端子のフローティング等の電源異常が無い場合の動作例を示す。
6). Power Supply Abnormality Detection and Mask Processing An example of operation of power supply abnormality detection and mask processing will be described with reference to FIGS. FIG. 12 shows an operation example during normal operation, that is, when there is no power supply abnormality such as floating of the power supply terminal.

図12のA1に示すように、電源電圧VDDが閾値電圧PORH(第1の閾値電圧)を超えると、A2に示すように、信号POROUTがハイレベルになり、パワーオンリセットが解除される。A3に示すように、VDDが閾値電圧LowVDDを超えると、A4に示すように、信号LVDがハイレベルになり、低電圧検出が非検出状態となる。A5に示すように、信号FLTOにはハイレベルが出力され、フローティング検出は非検出状態となる。そのため、A6に示すように、マスク信号QMSにはハイレベルが出力され、システムクロックSCKが制御部に供給される。   As shown at A1 in FIG. 12, when the power supply voltage VDD exceeds the threshold voltage PORH (first threshold voltage), the signal POROUT becomes high level and the power-on reset is released as shown at A2. As shown in A3, when VDD exceeds the threshold voltage LowVDD, as shown in A4, the signal LVD becomes high level, and the low voltage detection becomes a non-detection state. As shown at A5, a high level is output to the signal FLTO, and the floating detection is not detected. Therefore, as shown at A6, a high level is output to the mask signal QMS, and the system clock SCK is supplied to the control unit.

そして、A7に示すように、リセット信号XRSTがハイレベルにされてリセットが解除され、データ信号SDA、システムクロックSCKが入力される。A8に示すように、電源がオフされ、VDDが閾値電圧LowVDD以下になると、A9に示すように、信号LVDがローレベルになる。A10に示すように、VDDが閾値電圧PORL(第2の閾値電圧)以下になると、A11に示すように、信号POROUTがローレベルになる。   Then, as indicated by A7, the reset signal XRST is set to the high level to release the reset, and the data signal SDA and the system clock SCK are input. As shown in A8, when the power is turned off and VDD becomes equal to or lower than the threshold voltage LowVDD, the signal LVD becomes low level as shown in A9. As shown at A10, when VDD becomes lower than or equal to the threshold voltage PORL (second threshold voltage), the signal POROUT becomes low level as shown at A11.

図13には、システムクロックSCKが入力される前に電源端子TVまたはグランド端子TGがフローティング状態となった場合の動作例を示す。   FIG. 13 shows an operation example when the power supply terminal TV or the ground terminal TG is in a floating state before the system clock SCK is input.

図13のB1に示すように、電源端子TVがフローティング状態になると、B2に示すように、信号FLTOがローレベルになる。B3に示すように、システムクロックSCKが入力され、B4に示すように、SCKの最初の立ち下がりエッジでマスク信号QMSがローレベルになる。そのため、B5に示すように、マスク処理後のシステムクロックMSCKには、SCKの最初の立ち下がりエッジまでSCKが出力され、その後はローレベルが出力される。B6に示すように、リセットが解除されると、B7に示すように、マスク信号QMSの保持状態が解除され、QMSがハイレベルになる。他の動作については、図12で説明した動作例と同様である。   As shown in B1 of FIG. 13, when the power supply terminal TV is in a floating state, the signal FLTO becomes a low level as shown in B2. As shown in B3, the system clock SCK is input, and as shown in B4, the mask signal QMS becomes low level at the first falling edge of SCK. Therefore, as shown in B5, SCK is output until the first falling edge of SCK in the system clock MSCK after mask processing, and thereafter, the low level is output. As shown in B6, when the reset is released, as shown in B7, the holding state of the mask signal QMS is released, and the QMS becomes high level. Other operations are the same as the operation example described in FIG.

以上のように、図12に示す通常動作時には、システムクロックSCKが供給され、通常のアクセス制御等を行う。これに対して、図13に示すフローティング状態の検出時には、マスク信号QMSがローレベル(アクティブ)に保持される。これにより、システムクロックSCKがマスクされ、アクセス制御等が停止する。   As described above, during the normal operation shown in FIG. 12, the system clock SCK is supplied to perform normal access control and the like. In contrast, when the floating state shown in FIG. 13 is detected, the mask signal QMS is held at a low level (active). As a result, the system clock SCK is masked, and access control and the like are stopped.

図14には、通常動作中に電源電圧VDDが低下した場合の動作例を示す。図14のC1に示すように、電源電圧VDDが閾値電圧LowVDD以下になると、C2に示すように、信号LVDがローレベルになる。C3に示すように、信号LVDがローレベルになった後、最初のシステムクロックSCKの立ち下がりエッジでマスク信号QMSがローレベルになる。そして、C4に示すように、システムクロックSCKがマスクされ、マスク処理後のシステムクロックMSCKにはローレベルが出力される。他の動作については、図12で説明した動作例と同様である。   FIG. 14 shows an operation example when the power supply voltage VDD decreases during normal operation. As indicated by C1 in FIG. 14, when the power supply voltage VDD becomes equal to or lower than the threshold voltage LowVDD, the signal LVD becomes low level as indicated by C2. As indicated by C3, after the signal LVD becomes low level, the mask signal QMS becomes low level at the first falling edge of the system clock SCK. Then, as indicated by C4, the system clock SCK is masked, and a low level is output to the system clock MSCK after the masking process. Other operations are the same as the operation example described in FIG.

図15には、通常動作中に電源電圧VDDが低下し、再び電源電圧VDDが復帰した場合の動作例を示す。図15のD1に示すように、電源電圧VDDが閾値電圧LowVDD以下になると、D2に示すように、信号LVDがローレベルになり、D3に示すように、マスク信号QMSがローレベルになる。D4に示すように、再び電源電圧VDDが閾値電圧LowVDD以上になると、D5に示すように、信号LVDがハイレベルになる。このとき、D6に示すように、マスク信号QMSはローレベルに保持され、D7に示すように、システムクロックSCKは非供給状態が維持される。D8に示すように、リセット解除によりマスク信号QMSの保持状態がリセットされる。他の動作については、図14等で説明した動作例と同様である。   FIG. 15 shows an operation example when the power supply voltage VDD decreases during normal operation and the power supply voltage VDD is restored again. As shown in D1 of FIG. 15, when the power supply voltage VDD becomes equal to or lower than the threshold voltage LowVDD, the signal LVD becomes low level as shown in D2, and the mask signal QMS becomes low level as shown in D3. As indicated by D4, when the power supply voltage VDD becomes equal to or higher than the threshold voltage LowVDD again, the signal LVD becomes high level as indicated by D5. At this time, as indicated by D6, the mask signal QMS is held at a low level, and as indicated by D7, the system clock SCK is not supplied. As shown in D8, the holding state of the mask signal QMS is reset by reset release. Other operations are similar to the operation example described in FIG.

図16には、動作開始前から電源電圧VDDが閾値電圧LowVDD以下である場合の動作例を示す。図16のE1に示すように、電源電圧VDDが閾値電圧LowVDD以下であるため、E2に示すように、信号LVDにはローレベルが出力される。そして、E3に示すように、最初のシステムクロックSCKの立ち下がりエッジでマスク信号QMSがローレベルにされ、システムクロックSCKがマスクされる。他の動作については、図12で説明した動作例と同様である。   FIG. 16 shows an operation example when the power supply voltage VDD is equal to or lower than the threshold voltage LowVDD before the operation starts. Since the power supply voltage VDD is equal to or lower than the threshold voltage LowVDD as indicated by E1 in FIG. 16, a low level is output as the signal LVD as indicated by E2. Then, as indicated by E3, the mask signal QMS is set to the low level at the falling edge of the first system clock SCK, and the system clock SCK is masked. Other operations are the same as the operation example described in FIG.

なお、上述の図13では、電源端子TVがフローティング状態となった場合を例に説明した。但し、本実施形態では、グランド端子TGがフローティング状態となった場合や、電源電圧VDDが低下した場合にも同様の動作となる。また、上述の図14〜図16では、電源電圧VDDが低下した場合を例に説明した。但し、本実施形態では、電源端子TVまたはグランド端子TGがフローティング状態となった場合にも同様の動作となる。   In FIG. 13 described above, the case where the power supply terminal TV is in a floating state has been described as an example. However, in the present embodiment, the same operation is performed when the ground terminal TG is in a floating state or when the power supply voltage VDD is lowered. Further, in the above-described FIGS. 14 to 16, the case where the power supply voltage VDD is reduced is described as an example. However, in this embodiment, the same operation is performed when the power supply terminal TV or the ground terminal TG is in a floating state.

7.電源監視回路(低電圧検出回路)
図17に、電源監視回路(低電圧検出回路)の詳細な構成例を示す。この電源監視回路は、コンパレーターCP(オペアンプ)、第1、第2の抵抗素子R1、R2を含む。なお、本実施形態の電源監視回路はこの構成に限定されず、その構成要素の一部を省略したり、他の構成要素を追加したりする種々の変形実施が可能である。
7). Power supply monitoring circuit (low voltage detection circuit)
FIG. 17 shows a detailed configuration example of the power supply monitoring circuit (low voltage detection circuit). This power supply monitoring circuit includes a comparator CP (op-amp) and first and second resistance elements R1 and R2. Note that the power monitoring circuit of the present embodiment is not limited to this configuration, and various modifications may be made such as omitting some of the components or adding other components.

抵抗素子R1は、電源電圧VDDが供給される電源ラインと、ノードNIとの間に設けられる。抵抗素子R2は、ノードNIと、グランド電圧VSSが供給されるグランドラインとの間に設けられる。ノードNIには、VDDとVSSの間の電圧がR1、R2により抵抗分割された電圧VIが出力される。コンパレーターCPの正極入力端子(広義には、第1の入力端子)には、ノードNIが接続され、電圧VIが入力される。負極入力端子(広義には、第2の入力端子)には、リファレンス電圧Vrefが入力される。例えば、リファレンス電圧Vrefは、図示しないバンドギャップ回路等により生成される。そして、コンパレーターCPは、VI>Vrefのとき出力信号LVDにハイレベルを出力し、VI<Vrefのとき出力信号LVDにローレベルを出力する。   The resistor element R1 is provided between a power supply line to which the power supply voltage VDD is supplied and the node NI. The resistance element R2 is provided between the node NI and a ground line to which the ground voltage VSS is supplied. A voltage VI obtained by resistance-dividing the voltage between VDD and VSS by R1 and R2 is output to the node NI. The node NI is connected to the positive input terminal (first input terminal in a broad sense) of the comparator CP, and the voltage VI is input. The reference voltage Vref is input to the negative input terminal (second input terminal in a broad sense). For example, the reference voltage Vref is generated by a not-shown band gap circuit or the like. The comparator CP outputs a high level to the output signal LVD when VI> Vref, and outputs a low level to the output signal LVD when VI <Vref.

8.液体容器
次に、上述した本実施形態の記憶装置が設けられた液体容器の詳細な構成例について、図18を用いて説明する。なお以下では、ホスト装置がインクジェット方式のプリンターであり、液体容器がインクカートリッジであり、基板が、インクカートリッジに設けられた回路基板である場合を例に説明する。但し、本実施形態では、ホスト装置、液体容器、基板は、他の装置、容器、基板であってもよい。例えば、ホスト装置はメモリーカードのリーダー/ライターであってもよく、基板はメモリーカードに設けられた回路基板であってもよい。
8). Liquid Container Next, a detailed configuration example of the liquid container provided with the storage device of the present embodiment described above will be described with reference to FIG. In the following, an example in which the host device is an ink jet printer, the liquid container is an ink cartridge, and the substrate is a circuit board provided in the ink cartridge will be described. However, in the present embodiment, the host device, the liquid container, and the substrate may be other devices, containers, and substrates. For example, the host device may be a memory card reader / writer, and the substrate may be a circuit board provided on the memory card.

図18に示すインクカートリッジ200(広義には、液体容器)の内部には、インクを収容するための図示しないインク室が形成される。また、インクカートリッジ200には、インク室に連通するインク供給口240が設けられる。このインク供給口240は、インクカートリッジ200がプリンターに装着されたときに、印刷ヘッドユニットにインクを供給するためのものである。   An ink chamber (not shown) for containing ink is formed in the ink cartridge 200 (liquid container in a broad sense) shown in FIG. The ink cartridge 200 is provided with an ink supply port 240 that communicates with the ink chamber. The ink supply port 240 is for supplying ink to the print head unit when the ink cartridge 200 is installed in the printer.

インクカートリッジ200は、センサー210、回路基板220(広義には、基板)を含む。センサー210は、インク室内のインク残量を検出するためのものである。センサー210は、例えば圧電素子により構成され、インクカートリッジ200の内部に固定される。回路基板220には、本実施形態の記憶装置20が設けられ、データの記憶やホスト装置10とのデータ送受信を行う。回路基板220は、例えばプリント基板により実現され、インクカートリッジ200の表面に設けられる。回路基板220には、電源端子TV等の端子が設けられる。そして、インクカートリッジ200がプリンターに装着されたときに、それらの端子とプリンター側の端子が接触(電気的に接続)することで、電源やデータのやりとりが行われる。   The ink cartridge 200 includes a sensor 210 and a circuit board 220 (substrate in a broad sense). The sensor 210 is for detecting the remaining amount of ink in the ink chamber. The sensor 210 is composed of, for example, a piezoelectric element and is fixed inside the ink cartridge 200. The circuit board 220 is provided with the storage device 20 of the present embodiment, and stores data and transmits / receives data to / from the host device 10. The circuit board 220 is realized by a printed circuit board, for example, and is provided on the surface of the ink cartridge 200. The circuit board 220 is provided with terminals such as a power supply terminal TV. Then, when the ink cartridge 200 is mounted on the printer, the terminals and the terminals on the printer side come into contact (electrically connected), whereby power and data are exchanged.

9.基板
図19(A)、図19(B)に、本実施形態の記憶装置が設けられた回路基板の詳細な構成例を示す。図19(A)に示すように、回路基板220の表面(プリンターと接続される面)には、複数の端子を有する端子群が設けられる。この端子群は、グランド端子TG、電源端子TV、第1のセンサー駆動用端子TSN、リセット端子TR、クロック端子TK、データ端子TD、第2のセンサー駆動用端子TSPを含む。各端子は、例えば矩形状(略矩形状)に形成された金属端子により実現される。そして、各端子は、回路基板220に設けられた図示しない配線パターン層やスルホールを介して、記憶装置20またはセンサー210に接続される。
9. Substrate FIGS. 19A and 19B show a detailed configuration example of a circuit board provided with the memory device of this embodiment. As shown in FIG. 19A, a terminal group having a plurality of terminals is provided on the surface of the circuit board 220 (surface connected to the printer). This terminal group includes a ground terminal TG, a power supply terminal TV, a first sensor driving terminal TSN, a reset terminal TR, a clock terminal TK, a data terminal TD, and a second sensor driving terminal TSP. Each terminal is realized by, for example, a metal terminal formed in a rectangular shape (substantially rectangular shape). Each terminal is connected to the storage device 20 or the sensor 210 via a wiring pattern layer or a through hole (not shown) provided on the circuit board 220.

図19(B)に示すように、回路基板220の裏面(プリンターと接続される面の裏側の面)には、本実施形態の記憶装置20が設けられる。記憶装置20は、例えば、強誘電体メモリーを有する半導体記憶装置により実現できる。この記憶装置20には、インクまたはインクカートリッジ200に関連する種々のデータが格納され、例えば、インクの消費量やインクの色等のデータが格納される。インク消費量のデータは、インクカートリッジ200内に収容されたインクについて、印刷の実行等に伴い消費されるインク量の累計を示すデータである。このインク消費量のデータは、インクカートリッジ200内のインク量を示す情報であってもよく、消費したインク量の割合を示す情報であってもよい。   As shown in FIG. 19B, the storage device 20 of this embodiment is provided on the back surface of the circuit board 220 (the surface on the back side of the surface connected to the printer). The storage device 20 can be realized by, for example, a semiconductor storage device having a ferroelectric memory. The storage device 20 stores various data related to the ink or the ink cartridge 200, for example, data such as ink consumption and ink color. The ink consumption data is data indicating the total amount of ink consumed for the printing of the ink stored in the ink cartridge 200. The ink consumption data may be information indicating the amount of ink in the ink cartridge 200 or information indicating the ratio of the consumed ink amount.

10.システム
図20に、本実施形態の記憶装置が用いられるシステムの詳細な構成例を示す。図20に示すシステム(情報処理システム、印刷システム)は、プリンター10、インクカートリッジ200を含む。プリンター10は、主制御部300、サブ制御部310を含む。インクカートリッジ200は、本実施形態の記憶装置20、及びセンサー210を含む。なお、以下では、1つのインクカートリッジがプリンターに装着される場合を例に説明するが、本実施形態では、複数のインクカートリッジがプリンターに装着されてもよい。
10. System FIG. 20 shows a detailed configuration example of a system in which the storage device of this embodiment is used. The system shown in FIG. 20 (information processing system, printing system) includes a printer 10 and an ink cartridge 200. The printer 10 includes a main control unit 300 and a sub control unit 310. The ink cartridge 200 includes the storage device 20 and the sensor 210 of the present embodiment. Hereinafter, a case where one ink cartridge is mounted on the printer will be described as an example. However, in the present embodiment, a plurality of ink cartridges may be mounted on the printer.

サブ制御部310は、電源電圧VDD、グランド電圧VSSを、それぞれ電源端子TVH、グランド端子TGHを介して記憶装置20に供給する。また、サブ制御部310は、記憶装置20に対するデータのリード/ライトや、センサー210を用いたセンサー処理を行う。具体的には、サブ制御部310は、通信処理部312、センサー処理部314を含む。   The sub control unit 310 supplies the power supply voltage VDD and the ground voltage VSS to the storage device 20 via the power supply terminal TVH and the ground terminal TGH, respectively. The sub-control unit 310 performs data reading / writing with respect to the storage device 20 and sensor processing using the sensor 210. Specifically, the sub control unit 310 includes a communication processing unit 312 and a sensor processing unit 314.

通信処理部312は、記憶装置20及び主制御部300との間の通信処理を行う。具体的には、リセット信号XRST、システムクロックSCK、データ信号SDAを、それぞれリセット端子THR、クロック端子THK、データ端子THDを介して記憶装置20に供給する。そして、図11等で後述するように、これらの信号により記憶装置20とのシリアル通信処理を行う。但し、本実施形態では、通信処理部312と記憶装置20とがパラレル通信処理を行ってもよい。また、通信処理部312は、バスBSを介してコマンドやデータ信号をやりとりすることで、主制御部300との通信処理を行う。例えば、通信処理部312は、インクカートリッジ200とプリンター10の接続または非接続や、記憶装置20との通信エラーを判定し、これらの判定結果を主制御部300に送信する。   The communication processing unit 312 performs communication processing between the storage device 20 and the main control unit 300. Specifically, the reset signal XRST, the system clock SCK, and the data signal SDA are supplied to the storage device 20 via the reset terminal THR, the clock terminal THK, and the data terminal THD, respectively. Then, as will be described later with reference to FIG. 11 and the like, serial communication processing with the storage device 20 is performed using these signals. However, in the present embodiment, the communication processing unit 312 and the storage device 20 may perform parallel communication processing. In addition, the communication processing unit 312 performs communication processing with the main control unit 300 by exchanging commands and data signals via the bus BS. For example, the communication processing unit 312 determines connection or disconnection between the ink cartridge 200 and the printer 10 and a communication error with the storage device 20, and transmits these determination results to the main control unit 300.

センサー処理部314は、センサー210によるインク残量の判定処理を行う。センサー処理部314は、主制御部300からのセンサー駆動信号DSを、センサー駆動用端子THSNまたはTHSPを介してセンサー210の電極に印加する。センサー処理部314は、センサー駆動信号DSをセンサー210に印加することで得られた信号に基づいて、インクの残量が閾値以上であるか閾値以下であるかを判定する。この判定結果は、通信処理部312を介して主制御部302に送信される。   The sensor processing unit 314 performs a remaining ink level determination process by the sensor 210. The sensor processing unit 314 applies the sensor driving signal DS from the main control unit 300 to the electrode of the sensor 210 via the sensor driving terminal THSN or THSP. The sensor processing unit 314 determines whether the remaining amount of ink is greater than or less than the threshold based on a signal obtained by applying the sensor drive signal DS to the sensor 210. The determination result is transmitted to the main control unit 302 via the communication processing unit 312.

主制御部300は、プリンター10の制御を行う。例えば、メモリーアクセスを制御したり、サブ制御部310に対して電源電圧VDHやグランド電圧VSHを供給したり、インク残量の判断(算出処理)を行ったりする。より具体的には、主制御部300は、制御回路302、駆動信号生成回路304を含む。   The main control unit 300 controls the printer 10. For example, the memory access is controlled, the power supply voltage VDH and the ground voltage VSH are supplied to the sub-control unit 310, and the remaining ink level is determined (calculation processing). More specifically, the main control unit 300 includes a control circuit 302 and a drive signal generation circuit 304.

制御回路302は、バスBSを介して通信処理部312にコマンドやデータを送信し、通信処理部312と記憶装置20との間の通信処理を制御する。具体的には、通信処理部312によりインクカートリッジ200の接続が検出された場合に、記憶装置20に記憶されたインク残量等のデータを読み出し、そのデータに基づいて新たに算出したインク残量等のデータを記憶装置20に書き込む。また、制御回路302は、駆動信号生成回路304を制御してセンサー駆動信号DSをセンサー210に供給する。そして、制御回路302は、センサー処理部314からのインク残量の判定結果や、印刷によるインク消費推定量に基づいて、インク残量を判断する。インク切れと判断した場合には、図示しない表示部にインク切れの情報を表示してもよい。   The control circuit 302 transmits commands and data to the communication processing unit 312 via the bus BS, and controls communication processing between the communication processing unit 312 and the storage device 20. Specifically, when the connection of the ink cartridge 200 is detected by the communication processing unit 312, data such as the remaining amount of ink stored in the storage device 20 is read, and the ink remaining amount newly calculated based on the data is read. Are written in the storage device 20. In addition, the control circuit 302 controls the drive signal generation circuit 304 and supplies the sensor drive signal DS to the sensor 210. Then, the control circuit 302 determines the remaining amount of ink based on the determination result of the remaining amount of ink from the sensor processing unit 314 and the estimated ink consumption amount due to printing. When it is determined that the ink has run out, the ink running information may be displayed on a display unit (not shown).

記憶装置20は、メモリー制御回路30(制御部)、強誘電体メモリーセルアレイ60(強誘電体メモリー)を含む。メモリー制御回路30は、検出回路32、マスク制御回路34、ID比較部40、コマンド解釈部42、アドレスカウンター44、リード/ライト制御部46、データ送受信部38(送受信部)、カウンター制御部48、複製データ生成部50、反転データ生成部52、データ判定部54(判定部)を含む。なお、図1等で前述した構成要素と同一の構成要素(例えば、検出回路)には同一の符号を付し、適宜説明を省略する。   The storage device 20 includes a memory control circuit 30 (control unit) and a ferroelectric memory cell array 60 (ferroelectric memory). The memory control circuit 30 includes a detection circuit 32, a mask control circuit 34, an ID comparison unit 40, a command interpretation unit 42, an address counter 44, a read / write control unit 46, a data transmission / reception unit 38 (transmission / reception unit), a counter control unit 48, A duplicate data generation unit 50, an inverted data generation unit 52, and a data determination unit 54 (determination unit) are included. Note that the same components (for example, the detection circuit) as those described above with reference to FIG.

ID比較部40は、サブ制御部310から受信したIDデータ(識別データ)と、記憶装置20に割り当てられているID番号(例えば、インクの色に応じた番号)とを比較して、自身がアクセスの対象であるか否かを判定する。   The ID comparison unit 40 compares the ID data (identification data) received from the sub-control unit 310 with the ID number assigned to the storage device 20 (for example, a number corresponding to the color of the ink). It is determined whether or not it is an access target.

コマンド解釈部42は、サブ制御部310から受信したSOF(通信開始データ)、コマンドデータ、EOF(通信終了データ)を解釈して、アクセス開始、リードやライト等のアクセスの種類、アクセス終了を判断する。アドレスカウンター44は、システムクロックSCKをカウントして、強誘電体メモリーセルアレイ60のアドレス(例えば、ワード線)を指定するためのカウント値を出力する。リード/ライト制御部46は、コマンド解釈部42により解釈されたアクセスの種類や、アドレスカウンター44のカウント値に基づいて、強誘電体メモリーセルアレイ60に対するリード/ライトの制御を行う。カウンター制御部48(シーケンサー)は、システムクロックSCKをカウントし、そのカウント値とコマンド解釈部42によるコマンド解釈に基づいて、メモリーアクセスを制御する。   The command interpretation unit 42 interprets SOF (communication start data), command data, and EOF (communication end data) received from the sub-control unit 310, and determines the type of access such as access start, read and write, and access end. To do. The address counter 44 counts the system clock SCK and outputs a count value for designating an address (for example, a word line) of the ferroelectric memory cell array 60. The read / write control unit 46 performs read / write control with respect to the ferroelectric memory cell array 60 based on the access type interpreted by the command interpretation unit 42 and the count value of the address counter 44. The counter control unit 48 (sequencer) counts the system clock SCK and controls memory access based on the count value and command interpretation by the command interpretation unit 42.

複製データ生成部50は、強誘電体メモリーセルアレイ60から読み出した原データをコピーして、ミラーデータ(複製データ)を生成する。反転データ生成部52は、強誘電体メモリーセルアレイ60から読み出した原データの各ビット値を反転(例えば、0を1に、1を0に反転)して、反転データを生成する。データ判定部54は、原データ及びミラーデータのパリティーチェックや、原データと反転データの排他的論理和の演算を行って、データの整合性を判定する。   The duplicate data generating unit 50 copies the original data read from the ferroelectric memory cell array 60 and generates mirror data (replicated data). The inverted data generation unit 52 inverts each bit value of the original data read from the ferroelectric memory cell array 60 (for example, inverts 0 to 1 and 1 to 0) to generate inverted data. The data determination unit 54 determines the data consistency by performing a parity check of the original data and the mirror data and an exclusive OR operation of the original data and the inverted data.

強誘電体メモリーセルアレイ60は、ワード線及びビット線に沿って配列された複数の強誘電体メモリーセルにより構成される。強誘電体メモリーセルアレイ60は、図示しないローアドレスデコーダー、カラムアドレスデコーダー、センスアンプ等を含むことができる。   The ferroelectric memory cell array 60 includes a plurality of ferroelectric memory cells arranged along word lines and bit lines. The ferroelectric memory cell array 60 can include a row address decoder, a column address decoder, a sense amplifier, etc. (not shown).

11.通信処理(リード制御)
上述のように、本実施形態の記憶装置は、電源電圧低下等の電源異常状態を検出すると、強誘電体メモリーに対するアクセス制御を停止する。このとき、プリンターは、電源異常状態が検出されたことを直接には認識できないため、記憶装置との通信処理を通じて認識する必要がある。
11. Communication processing (read control)
As described above, the storage device of this embodiment stops access control to the ferroelectric memory when detecting a power supply abnormal state such as a power supply voltage drop. At this time, since the printer cannot directly recognize that the power supply abnormal state has been detected, it needs to be recognized through communication processing with the storage device.

以下に、プリンター10と記憶装置20の通信処理について、図21〜図26を用いて詳細に説明する。図21には、記憶装置20からデータを読み出す場合の信号波形例を模式的に示す。なお、図21では、データ送受信の方向を矢印で示す。すなわち、HからCに向かう矢印は、サブ制御部310が送信側で記憶装置20が受信側であることを示し、CからHに向かう矢印は、記憶装置20が送信側でサブ制御部310が受信側であることを示す。   Hereinafter, communication processing between the printer 10 and the storage device 20 will be described in detail with reference to FIGS. FIG. 21 schematically shows an example of a signal waveform when data is read from the storage device 20. In FIG. 21, the direction of data transmission / reception is indicated by arrows. That is, an arrow from H to C indicates that the sub-control unit 310 is the transmission side and the storage device 20 is the reception side, and an arrow from C to H indicates that the storage device 20 is the transmission side and the sub-control unit 310 is the transmission side. Indicates the receiving side.

図21のA1に示すように、通信処理が開始されると、リセット信号がローレベルからハイレベルにされる。A2に示すように、システムクロックSCKが記憶装置20に供給される。そして、A3に示すように、データ信号SDAとして最初にSOF(Start Of Frame)データが記憶装置20に送信される。A4に示すように、オペレーションコードとして、IDデータとリードコマンドデータが記憶装置20に送信される。記憶装置20には、IDデータとして、原IDデータIDと、原IDデータの各ビット値を反転した反転IDデータ/ID(以下、反転データをスラッシュ記号/で示す)が送信される。コマンドデータとして、原コマンドデータCMと反転コマンドデータ/CMが送信される。   As shown in A1 of FIG. 21, when the communication process is started, the reset signal is changed from the low level to the high level. As shown in A2, the system clock SCK is supplied to the storage device 20. As indicated by A3, first, SOF (Start Of Frame) data is transmitted to the storage device 20 as the data signal SDA. As indicated by A4, ID data and read command data are transmitted to the storage device 20 as operation codes. As the ID data, original ID data ID and inverted ID data / ID obtained by inverting each bit value of the original ID data (hereinafter, the inverted data is indicated by a slash symbol /) are transmitted to the storage device 20. Original command data CM and inverted command data / CM are transmitted as command data.

A5に示すように、記憶装置20からのリードデータ(読み出しデータ)がサブ制御部310に送信される。リードデータとして、16ビットの原データの上位8ビットUD1、その反転データ/UD1、原データの下位8ビットLD1、その反転データ/LD1が送信される。また、UD1のミラーデータUd1、その反転ミラーデータ/Ud1、LD1のミラーデータLd1、その反転ミラーデータ/Ld1が送信される。UD1、LD1、Ud1、Ld1は、記憶装置20から読み出されたデータである。一方、これらの反転データである/UD1、/LD1、/Ud1、/Ld1は、反転データ生成部52により生成されたデータである。A6に示すように、上述のリードデータ(単位リードデータ)の読み出しと送信が繰り返される。A8に示すように、リードデータの送信が終了すると、リセット信号がローレベルにされる。   As indicated by A5, read data (read data) from the storage device 20 is transmitted to the sub-control unit 310. As read data, upper 8 bits UD1 of 16-bit original data, its inverted data / UD1, lower 8 bits LD1 of original data, and its inverted data / LD1 are transmitted. Also, mirror data Ud1 of UD1, its inverted mirror data / Ud1, mirror data Ld1 of LD1, and its inverted mirror data / Ld1 are transmitted. UD1, LD1, Ud1, and Ld1 are data read from the storage device 20. On the other hand, the inverted data / UD1, / LD1, / Ud1, and / Ld1 are data generated by the inverted data generation unit 52. As indicated by A6, reading and transmission of the above-described read data (unit read data) are repeated. As shown in A8, when the transmission of the read data is completed, the reset signal is set to the low level.

上述のように、原データと反転データによりデータを多重化することで、記憶装置20が誤って動作することを抑制できる。例えば、通信障害によって誤ったコマンドを受信し、不揮発性メモリーに対して誤った書き込みや読み出しが行われることで、不揮発性メモリーのデータが破壊されることを防止できる。   As described above, it is possible to suppress erroneous operation of the storage device 20 by multiplexing the data with the original data and the inverted data. For example, it is possible to prevent destruction of data in the nonvolatile memory by receiving an erroneous command due to a communication failure and performing erroneous writing or reading on the nonvolatile memory.

ここで、図1等で説明したように、電源電圧低下等の電源異常状態が検出された場合、システムクロックSCKがマスクされ、リード/ライト制御やデータ送受信が行われなくなる。このとき、プリンター10に送信されるリードデータとして、例えばローレベルが出力される。これにより、プリンター10は、電源異常状態を、通信処理のエラーとして検出することができる。   Here, as described with reference to FIG. 1 and the like, when a power supply abnormal state such as a power supply voltage drop is detected, the system clock SCK is masked, and read / write control and data transmission / reception are not performed. At this time, for example, a low level is output as read data transmitted to the printer 10. Thereby, the printer 10 can detect the power supply abnormal state as an error in the communication process.

図22に、プリンターのリード処理のフローチャート例を示す。図22に示すように、プリンター10は、読み出し処理を開始すると、SOFデータを送信し(S2)、IDデータを送信し(S4)、リードコマンドを送信し(S6)、単位リードデータを受信する(S8)。単位リードデータを受信すると、その単位リードデータのデータ判定処理を行う(S10)。データ判定の結果がエラー(N)の場合には、エラー処理を行い(S12)、通信処理を終了する。データ判定の結果が正常(Y)の場合には、リードデータが全て受信されたかを確認する(S14)。リードデータが全て受信されている場合には(Y)、通信処理を終了し、受信されていない場合には(N)、単位リードデータを受信する(S8)。   FIG. 22 shows a flowchart example of printer read processing. As shown in FIG. 22, when the reading process is started, the printer 10 transmits SOF data (S2), transmits ID data (S4), transmits a read command (S6), and receives unit read data. (S8). When the unit read data is received, the data determination process for the unit read data is performed (S10). If the result of data determination is an error (N), error processing is performed (S12), and the communication processing is terminated. If the result of the data determination is normal (Y), it is confirmed whether all the read data has been received (S14). If all the read data has been received (Y), the communication process is terminated, and if it has not been received (N), the unit read data is received (S8).

なお、データ判定処理(S10)では、例えば原データと反転データの排他的論理和や、ミラーデータと反転ミラーデータの排他的論理和、原データと反転ミラーデータの排他的論理和が演算される。読み出しまたはデータ送受信が正常に行われた場合、これらの排他的論理和の各ビットは1となる。データ判定処理では、この演算結果に基づいて、通信エラーやメモリーセルエラーを判断する。また、エラー処理(S12)では、例えば通信エラーの場合、インクカートリッジ200がプリンター10に正しく装着されていない旨をプリンター10の表示部等に表示する。   In the data determination process (S10), for example, exclusive OR of original data and inverted data, exclusive OR of mirror data and inverted mirror data, and exclusive OR of original data and inverted mirror data are calculated. . When reading or data transmission / reception is performed normally, each bit of these exclusive ORs is 1. In the data determination process, a communication error or a memory cell error is determined based on the calculation result. In error processing (S12), for example, in the case of a communication error, a message indicating that the ink cartridge 200 is not correctly attached to the printer 10 is displayed on the display unit of the printer 10.

図23には、記憶装置のリード処理のフローチャート例を示す。図23に示すように、記憶装置20は、通信処理が開始されるとSOFデータを受信し(S102)、IDデータを受信し(S104)、受信したIDデータが正常か否かを判定(S106)する。IDデータが異常の場合には(N)通信処理を終了し、IDデータが正常の場合には(Y)IDデータの一致、不一致を判定する(S108)。IDデータと記憶装置20のID番号が不一致の場合には(N)通信処理を終了し、一致の場合には(Y)コマンドデータを受信する(S110)。そして、受信したコマンドデータが正常か否かを判定(S112)する。コマンドデータが異常の場合には(N)通信処理を終了し、正常の場合には(Y)コマンドの種別を判定する(S114)。コマンドがリードコマンドである場合には、リード処理を行い(S120)、通信処理を終了する。リード処理では、原データ等の読み出しと送信や、反転データの生成と送信を行う。   FIG. 23 shows a flowchart example of read processing of the storage device. As shown in FIG. 23, when the communication process is started, the storage device 20 receives SOF data (S102), receives ID data (S104), and determines whether the received ID data is normal (S106). ) If the ID data is abnormal (N), the communication process is terminated, and if the ID data is normal (Y), whether the ID data matches or not is determined (S108). If the ID data and the ID number of the storage device 20 do not match (N), the communication process is terminated, and if the ID data matches, (Y) command data is received (S110). Then, it is determined whether the received command data is normal (S112). If the command data is abnormal (N), the communication process is terminated, and if it is normal (Y), the command type is determined (S114). If the command is a read command, a read process is performed (S120), and the communication process is terminated. In the read process, reading and transmission of original data and the like, and generation and transmission of inverted data are performed.

なお、記憶装置20は、コマンドがライトコマンドである場合には、図26等で後述するライト処理を行う(S116)。また、コマンドがライトロックコマンドである場合には、ライトロック処理を行う(S118)。ライトロック処理では、強誘電体メモリー60の書き換え可能領域のうちの一部(または全部)の領域を書き込み不可能な領域に設定する処理を行う。具体的には、ライトロックコマンドに続いてアドレスデータを受信する。そして、受信したアドレスデータにより指定された領域をライトロック領域に設定する。例えば、ライトロック領域は、制御レジスターにライトフラグを設定することで強誘電体メモリー60の行単位で設定される。   If the command is a write command, the storage device 20 performs a write process, which will be described later with reference to FIG. 26 and the like (S116). If the command is a write lock command, write lock processing is performed (S118). In the write lock process, a process of setting a part (or all) of the rewritable area of the ferroelectric memory 60 as a non-writable area is performed. Specifically, address data is received following the write lock command. Then, the area designated by the received address data is set as the write lock area. For example, the write lock area is set for each row of the ferroelectric memory 60 by setting a write flag in the control register.

12.通信処理(ライト制御)
図24には、記憶装置20に対してデータを書き込む場合の信号波形例を模式的に示す。図24のB1に示すように、SOFデータ、IDデータID、反転IDデータ/ID、ライトコマンドデータCM、反転ライトコマンドデータ/CMが記憶装置20に送信される。そして、B2に示すように、ライトデータとして、16ビットの原データの上位8ビットUD1、その反転データ/UD1、原データの下位8ビットLD1、その反転データ/LD1が送信される。また、UD1のミラーデータUd1、その反転ミラーデータ/Ud1、LD1のミラーデータLd1、その反転ミラーデータ/Ld1が記憶装置20に送信される。
12 Communication processing (write control)
FIG. 24 schematically illustrates an example of a signal waveform when data is written to the storage device 20. 24, SOF data, ID data ID, inverted ID data / ID, write command data CM, and inverted write command data / CM are transmitted to the storage device 20. Then, as shown in B2, the upper 8 bits UD1 of the 16-bit original data, its inverted data / UD1, the lower 8 bits LD1 of the original data, and its inverted data / LD1 are transmitted as write data. Further, the mirror data Ud1 of UD1, its inverted mirror data / Ud1, the mirror data Ld1 of LD1, and its inverted mirror data / Ld1 are transmitted to the storage device 20.

B3に示すように、送信されたデータが正常であるか否かが記憶装置20により判定され、その判定結果に基づいてOK/NGフラグがプリンター10に送信される。例えば、データが正常であると判定された場合には、ハイレベルのOKフラグが送信され、データが異常であると判定された場合には、ローレベルのNGフラグが送信される。そして、B4に示すように、上述のライトデータ(単位ライトデータ)の送信と、OK/NGフラグの送信が繰り返される。B5に示すように、ライトデータの送信が終了すると、EOF(End Of Frame)データが記憶装置20に送信される。   As shown in B3, the storage device 20 determines whether or not the transmitted data is normal, and an OK / NG flag is transmitted to the printer 10 based on the determination result. For example, when it is determined that the data is normal, a high-level OK flag is transmitted, and when it is determined that the data is abnormal, a low-level NG flag is transmitted. Then, as shown in B4, the transmission of the write data (unit write data) and the transmission of the OK / NG flag are repeated. As shown in B5, when the transmission of the write data is completed, EOF (End Of Frame) data is transmitted to the storage device 20.

ここで、電源電圧低下等の電源異常状態が検出された場合、記憶装置20は、データ信号SDAとして例えばローレベルを出力(判定結果の情報の送信を停止)する。これにより、プリンター10は、OK/NGフラグとしてローレベル(NG)を受信することになり、通信エラーと判断することができる。このようにして、プリンター10は、電源異常状態を、通信処理のエラーとして検出することができる。   Here, when a power supply abnormal state such as a power supply voltage drop is detected, the storage device 20 outputs, for example, a low level as the data signal SDA (stops transmission of determination result information). As a result, the printer 10 receives the low level (NG) as the OK / NG flag, and can determine that it is a communication error. In this way, the printer 10 can detect a power supply abnormality state as an error in communication processing.

図25には、プリンターのライト処理のフローチャート例を示す。図25に示すように、プリンター10は、書き込み処理を開始すると、SOFデータを送信し(S202)、IDデータを送信し(S204)、ライトコマンドデータを送信する(S206)。そして、単位ライトデータを送信する処理を行い(S208)、OK/NGフラグを受信し(S210)、受信したOK/NGフラグがOKフラグであるかNGフラグであるかを判定する(S212)。OK/NGフラグがNGフラグの場合には(N)、エラー処理を行って(S214)通信処理を終了する。OK/NGフラグがOKフラグの場合には(Y)、ライトデータを全て送信したか否かを判定する(S216)。ライトデータを全て送信した場合には(Y)、EOFデータを送信して(S218)通信処理を終了する。ライトデータを全て送信していない場合には(N)、単位ライトデータを送信する処理を行う(S208)。   FIG. 25 shows a flowchart example of printer write processing. As shown in FIG. 25, when the writing process is started, the printer 10 transmits SOF data (S202), transmits ID data (S204), and transmits write command data (S206). Then, processing for transmitting unit write data is performed (S208), an OK / NG flag is received (S210), and it is determined whether the received OK / NG flag is an OK flag or an NG flag (S212). If the OK / NG flag is an NG flag (N), an error process is performed (S214) and the communication process is terminated. If the OK / NG flag is an OK flag (Y), it is determined whether all the write data has been transmitted (S216). When all the write data is transmitted (Y), the EOF data is transmitted (S218), and the communication process is terminated. If all the write data has not been transmitted (N), a process of transmitting unit write data is performed (S208).

図26には、記憶装置のライト処理のフローチャート例を示す。図23等で上述のように、記憶装置20は、ライトコマンドデータを受信すると、ライト処理を行う。図26に示すように、ライト処理では、単位ライトデータを受信する処理を行い(S302)、受信したライトデータが正常か否かを判定する(S304)。ライトデータが異常の場合には(N)、NGフラグを送信し(S306)、通信処理を終了する。ライトデータが正常の場合には(Y)、OKフラグを送信し(S308)、不揮発性メモリーの対象領域にライトデータを書き込む(S310)。EOFデータを受信したか否かを判定し(S312)、受信した場合には(Y)通信処理を終了し、受信していない場合には(N)単位ライトデータを受信する処理を行う(S302)。   FIG. 26 shows a flowchart example of the write processing of the storage device. As described above with reference to FIG. 23 and the like, the storage device 20 performs a write process when it receives the write command data. As shown in FIG. 26, in the write process, a process of receiving unit write data is performed (S302), and it is determined whether or not the received write data is normal (S304). If the write data is abnormal (N), an NG flag is transmitted (S306), and the communication process is terminated. If the write data is normal (Y), an OK flag is transmitted (S308), and the write data is written in the target area of the nonvolatile memory (S310). It is determined whether or not EOF data has been received (S312). If it has been received (Y), the communication process is terminated, and if it has not been received (N), a process for receiving unit write data is performed (S302). ).

なお、上記のように本実施形態について詳細に説明したが、本発明の新規事項および効果から実体的に逸脱しない多くの変形が可能であることは当業者には容易に理解できるであろう。従って、このような変形例はすべて本発明の範囲に含まれるものとする。例えば、明細書又は図面において、少なくとも一度、より広義又は同義な異なる用語(不揮発性の記憶部、フローティング状態、基板、液体容器、ホスト装置等)と共に記載された用語(不揮発性メモリー、オープン状態、回路基板、インクカートリッジ、プリンター等)は、明細書又は図面のいかなる箇所においても、その異なる用語に置き換えることができる。また制御部、不揮発性の記憶部、記憶装置、基板、液体容器、ホスト装置等の構成、動作も本実施形態で説明したものに限定に限定されず、種々の変形実施が可能である。   Although the present embodiment has been described in detail as described above, it will be easily understood by those skilled in the art that many modifications can be made without departing from the novel matters and effects of the present invention. Accordingly, all such modifications are intended to be included in the scope of the present invention. For example, in the specification or drawings, at least once, terms (nonvolatile memory, open state, etc.) described together with different terms (nonvolatile storage, floating state, substrate, liquid container, host device, etc.) in a broader sense or the same meaning (Circuit board, ink cartridge, printer, etc.) may be replaced with the different terms anywhere in the specification or drawings. Further, the configurations and operations of the control unit, the nonvolatile storage unit, the storage device, the substrate, the liquid container, the host device, and the like are not limited to those described in this embodiment, and various modifications can be made.

10 ホスト装置、20 記憶装置、30 制御部、32 検出回路、
34 マスク処理部、36 アクセス制御部、38 送受信部、40 ID比較部、
42 コマンド解釈部、44 アドレスカウンター、46 リード/ライト制御部、
48 カウンター制御部、50 複製データ生成部、52 反転データ生成部、
54 データ判定部、60 不揮発性の記憶部、100 保持部、
110 パワーオンリセット回路、120 電源監視回路、
130 フローティング検出回路、200 液体容器、210 センサー、
220 基板、240 インク供給口、300 主制御部、310 サブ制御部、
TV 電源端子、TVH ホスト装置側の電源端子、TG グランド端子、
TGH ホスト装置側のグランド端子、TR リセット端子、
TRH ホスト装置側のリセット端子、VDD 電源電圧、VSS グランド電圧、
SCK システムクロック、Ta アクセスサイクル、LowVdd 閾値電圧、
VT 動作下限電圧
10 host device, 20 storage device, 30 control unit, 32 detection circuit,
34 mask processing unit, 36 access control unit, 38 transmission / reception unit, 40 ID comparison unit,
42 command interpreter, 44 address counter, 46 read / write controller,
48 counter control unit, 50 duplicate data generation unit, 52 inverted data generation unit,
54 data determination unit, 60 nonvolatile storage unit, 100 holding unit,
110 power-on reset circuit, 120 power supply monitoring circuit,
130 floating detection circuit, 200 liquid container, 210 sensor,
220 substrate, 240 ink supply port, 300 main control unit, 310 sub-control unit,
TV power supply terminal, TVH power supply terminal on the host device side, TG ground terminal,
TGH Host device side ground terminal, TR reset terminal,
TRH Host device side reset terminal, VDD power supply voltage, VSS ground voltage,
SCK system clock, Ta access cycle, LowVdd threshold voltage,
VT operation lower limit voltage

Claims (11)

不揮発性の記憶部と、
前記不揮発性の記憶部を制御する制御部と、
キャパシターと、
を含み、
前記制御部は、
ホスト装置から供給される電源電圧の電源異常状態を検出する検出回路と、
前記不揮発性の記憶部に対する読み出し又は書き込みのアクセス制御を行い、前記検出回路により電源異常状態が検出された場合に、前記不揮発性の記憶部に対する読み出し又は書き込みのアクセス制御を停止するアクセス制御部と、
を有し、
前記キャパシターは、
前記検出回路により電源異常状態が検出された場合に、少なくとも1回の読み出し又は書き込みのアクセス制御を完了させるために、前記ホスト装置から供給される電源電圧を保持することを特徴とする記憶装置。
A non-volatile storage unit;
A control unit for controlling the nonvolatile storage unit;
Capacitors,
Including
The controller is
A detection circuit for detecting a power supply abnormal state of the power supply voltage supplied from the host device;
An access control unit that performs read or write access control on the non-volatile storage unit and stops read or write access control on the non-volatile storage unit when a power supply abnormal state is detected by the detection circuit; ,
Have
The capacitor is
A storage device that holds a power supply voltage supplied from the host device in order to complete at least one read or write access control when a power supply abnormal state is detected by the detection circuit.
請求項1において、
前記検出回路は、
前記ホスト装置から供給される電源電圧が閾値電圧以下となった場合に、電源異常状態として電源電圧低下を検出し、
前記キャパシターの容量値は、
前記少なくとも1回の読み出し又は書き込みのアクセス制御を行う期間において、前記ホスト装置から供給される電源電圧が、前記閾値電圧から低下して前記不揮発性の記憶部の動作下限電圧以下にならない容量値に設定されることを特徴とする記憶装置。
In claim 1,
The detection circuit includes:
When the power supply voltage supplied from the host device is equal to or lower than the threshold voltage, a power supply voltage drop is detected as a power supply abnormal state,
The capacitance value of the capacitor is
In the period of performing at least one read or write access control, the power supply voltage supplied from the host device has a capacitance value that does not drop below the threshold voltage and does not fall below the operation lower limit voltage of the nonvolatile storage unit. A storage device that is set.
請求項2において、
前記不揮発性の記憶部は、強誘電体メモリーであり、
前記少なくとも1回の読み出し又は書き込みのアクセス制御を行う期間は、前記強誘電体メモリーに対する読み出しのアクセス制御における再書き込み動作を完了するまでの期間であることを特徴とする記憶装置。
In claim 2,
The nonvolatile storage unit is a ferroelectric memory,
The storage device characterized in that the period for performing at least one read or write access control is a period until the rewrite operation in the read access control for the ferroelectric memory is completed.
請求項1または2において、
前記不揮発性の記憶部は、強誘電体メモリーであり、
前記キャパシターは、
前記強誘電体メモリーの強誘電体層で絶縁体が形成されるキャパシターであることを特徴とする記憶装置。
In claim 1 or 2,
The nonvolatile storage unit is a ferroelectric memory,
The capacitor is
A storage device comprising a capacitor in which an insulator is formed by a ferroelectric layer of the ferroelectric memory.
請求項1乃至4のいずれかにおいて、
前記制御部は、
前記アクセス制御部に供給されるシステムクロックのマスク処理を行うマスク処理部を含み、
前記マスク処理部は、
前記検出回路により電源異常状態が検出された場合に、前記システムクロックをマスクすることを特徴とする記憶装置。
In any one of Claims 1 thru | or 4,
The controller is
A mask processing unit for performing mask processing of a system clock supplied to the access control unit;
The mask processing unit
The storage device, wherein the system clock is masked when a power supply abnormal state is detected by the detection circuit.
請求項1において、
前記アクセス制御部は、
アクセスサイクルの開始後に前記検出回路により電源異常状態が検出された場合には、前記アクセスサイクルにおける読み出し又は書き込みのアクセス制御については、停止せずに完了し、
前記検出回路は、
前記ホスト装置から供給される電源電圧が閾値電圧以下となった場合に、電源異常状態として電源電圧低下を検出し、
前記キャパシターの容量値は、
前記アクセスサイクルにおける読み出し又は書き込みのアクセス制御を行う期間において、前記ホスト装置から供給される電源電圧が、前記閾値電圧から低下して前記不揮発性の記憶部の動作下限電圧以下にならない容量値に設定されることを特徴とする記憶装置。
In claim 1,
The access control unit
When a power supply abnormal state is detected by the detection circuit after the start of the access cycle, the read or write access control in the access cycle is completed without stopping,
The detection circuit includes:
When the power supply voltage supplied from the host device is equal to or lower than the threshold voltage, a power supply voltage drop is detected as a power supply abnormal state,
The capacitance value of the capacitor is
In a period of performing read or write access control in the access cycle, the power supply voltage supplied from the host device is set to a capacitance value that does not drop below the threshold voltage and does not fall below the operation lower limit voltage of the nonvolatile storage unit. A storage device.
請求項6において、
前記アクセスサイクルは、読み出し又は書き込みのアクセス制御をイネーブルにするイネーブル信号の論理レベルの変化により開始し、読み出し動作又は書き込み動作は、読み出し又は書き込みのアクセス制御を行うためのクロックをアクティブにすることで開始し、
前記アクセス制御部は、
前記アクセスサイクルの開始後に前記検出回路により電源異常状態が検出された場合に、読み出し又は書き込みのアクセス制御を行うための前記クロックをアクティブにして、前記アクセスサイクルにおける読み出し又は書き込みのアクセス制御を完了することを特徴とする記憶装置。
In claim 6,
The access cycle is started by a change in the logic level of an enable signal for enabling read or write access control. The read operation or write operation is performed by activating a clock for performing read or write access control. Start,
The access control unit
When a power supply abnormal state is detected by the detection circuit after the start of the access cycle, the clock for performing the read or write access control is activated to complete the read or write access control in the access cycle. A storage device.
請求項1乃至7のいずれかに記載の記憶装置を含むことを特徴とする基板。   A substrate comprising the storage device according to claim 1. 請求項1乃至7のいずれかに記載の記憶装置を含むことを特徴とする液体容器。   A liquid container comprising the storage device according to claim 1. 請求項1乃至7のいずれかに記載の記憶装置と、
前記ホスト装置と、
を含むことを特徴とするシステム。
A storage device according to any one of claims 1 to 7,
The host device;
A system characterized by including.
不揮発性の記憶部を制御し、
ホスト装置から供給される電源電圧の電源異常状態を検出し、
前記不揮発性の記憶部に対する読み出し又は書き込みのアクセス制御を行い、
前記電源異常状態が検出された場合に、前記不揮発性の記憶部に対する読み出し又は書き込みのアクセス制御を停止し、
前記電源異常状態が検出された場合に、少なくとも1回の読み出し又は書き込みのアクセス制御を完了させるために、前記ホスト装置から供給される電源電圧を保持することを特徴とする記憶装置の制御方法。
Control the non-volatile storage,
Detects the power supply abnormal state of the power supply voltage supplied from the host device,
Performs read or write access control to the nonvolatile storage unit,
When the power supply abnormal state is detected, the read or write access control to the nonvolatile storage unit is stopped,
A method for controlling a storage device, comprising: holding a power supply voltage supplied from the host device in order to complete at least one read or write access control when the power supply abnormal state is detected.
JP2009234384A 2009-10-08 2009-10-08 Storage device, substrate, liquid container, system, and control method for storage device Pending JP2011081660A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009234384A JP2011081660A (en) 2009-10-08 2009-10-08 Storage device, substrate, liquid container, system, and control method for storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009234384A JP2011081660A (en) 2009-10-08 2009-10-08 Storage device, substrate, liquid container, system, and control method for storage device

Publications (1)

Publication Number Publication Date
JP2011081660A true JP2011081660A (en) 2011-04-21

Family

ID=44075640

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009234384A Pending JP2011081660A (en) 2009-10-08 2009-10-08 Storage device, substrate, liquid container, system, and control method for storage device

Country Status (1)

Country Link
JP (1) JP2011081660A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011059849A (en) * 2009-09-08 2011-03-24 Seiko Epson Corp Storage apparatus, substrate, liquid container, system, and storage apparatus control method
US9742506B2 (en) 2012-02-28 2017-08-22 Panasonic Intellectual Property Corporation Of America Terminal device, control device, fault diagnosis system, and fault diagnosis method
US10284192B2 (en) 2016-06-03 2019-05-07 Fuji Electric Co., Ltd. Semiconductor device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011059849A (en) * 2009-09-08 2011-03-24 Seiko Epson Corp Storage apparatus, substrate, liquid container, system, and storage apparatus control method
US9742506B2 (en) 2012-02-28 2017-08-22 Panasonic Intellectual Property Corporation Of America Terminal device, control device, fault diagnosis system, and fault diagnosis method
US10284192B2 (en) 2016-06-03 2019-05-07 Fuji Electric Co., Ltd. Semiconductor device

Similar Documents

Publication Publication Date Title
JP5568928B2 (en) Storage device, substrate, liquid container and system
EP1497730B1 (en) Methods for storing data in non-volatile memories
JP2011081659A (en) Storage device, substrate, liquid container, system, and control method for storage device
JP2003263886A (en) Ferroelectric memory in which bit line capacity can be optimized
CN109313921A (en) The mark of memory cell avoids
JP5621496B2 (en) Storage device, circuit board, liquid container and system
US6522570B1 (en) System and method for inhibiting imprinting of capacitor structures of a memory
TW202113649A (en) Physical unclonable function code generation appratus and method thereof
TW492005B (en) Nonvolatile ferroelectric memory device and method for driving same
JP2011081660A (en) Storage device, substrate, liquid container, system, and control method for storage device
EP1168357A1 (en) Circuit and method for substantially preventing imprint effects in a ferroelectric memory device
JP2009163843A (en) Semiconductor memory device and its manufacturing method
JP5446707B2 (en) Storage device, substrate, liquid container and system
JP2010192055A (en) Ferroelectric memory device, method for driving ferroelectric memory device, electronic apparatus and method for driving electronic apparatus
JP2012185724A (en) System, host device, and error detecting method
JP6679971B2 (en) Storage device, liquid container and host device
JP2004178644A (en) Ferroelectric memory and method for reading data therefrom
JP2003100088A (en) Semiconductor integrated circuit
JP2004342170A (en) Ferroelectric storage device and data initialization method for ferroelectric storage device
US8593851B2 (en) Verification system
JP2004139655A (en) Semiconductor storage device and electronic equipment provided with the same
CN117153212A (en) Memory device and method of operating the same
CN117500277A (en) Memory device and method for manufacturing the same
JP2013186931A (en) Storage device, printing material accommodating body and printer
JP2003179209A (en) Semiconductor device