JP2009251632A - Printing device, and data writing method for printing device - Google Patents

Printing device, and data writing method for printing device Download PDF

Info

Publication number
JP2009251632A
JP2009251632A JP2008094732A JP2008094732A JP2009251632A JP 2009251632 A JP2009251632 A JP 2009251632A JP 2008094732 A JP2008094732 A JP 2008094732A JP 2008094732 A JP2008094732 A JP 2008094732A JP 2009251632 A JP2009251632 A JP 2009251632A
Authority
JP
Japan
Prior art keywords
data
power supply
writing
storage unit
image buffer
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.)
Withdrawn
Application number
JP2008094732A
Other languages
Japanese (ja)
Inventor
Isao Akima
勇夫 秋間
Hiroyuki Kuramoto
博幸 倉本
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 JP2008094732A priority Critical patent/JP2009251632A/en
Publication of JP2009251632A publication Critical patent/JP2009251632A/en
Withdrawn legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a printing device for writing many data in an image buffer, and for completing the writing of data to be printed with high probability when a supply power source is disconnected during data writing when writing data to be printed in an image buffer and the data writing method of a printing device. <P>SOLUTION: An image buffer 14 for storing image data to be printed is configured of an FeRAM. Since the FeRAM has high speed writing characteristics, even when the power supply of a printer 1 is disconnected during the writing of data to the image buffer 14, large amounts of data are written in an image buffer 14 in the fall period of a power supply voltage from a power supply device 30. Thus, it is possible to increase probability that the writing of the image data can be completed before the image buffer 14 becomes inoperable. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、入力されたデータを不揮発性メモリに書き込み、不揮発性メモリに書き込ま
れたデータに従って印刷処理を実行する印刷装置、および印刷装置のデータ書込方法に関
する。
The present invention relates to a printing apparatus that writes input data into a nonvolatile memory and executes a printing process according to the data written into the nonvolatile memory, and a data writing method for the printing apparatus.

従来、受信した印刷データをフラッシュメモリに格納する構成としたプリンタが知られ
ている(例えば、特許文献1参照)。特許文献1に記載のプリンタは、2次電池に蓄積さ
れた電力により動作する構成であり、2次電池に充分な電力が蓄積されていない場合には
、受信した印刷データをフラッシュメモリに格納することにより、電力不足による電源の
切断が生じても、受信した印刷データが消失してしまうことを防いでいる。これにより、
再起動時に印刷データの再送信などの無用な負担が使用者にかからないようにしている。
Conventionally, a printer configured to store received print data in a flash memory is known (for example, see Patent Document 1). The printer described in Patent Document 1 is configured to operate with the power stored in the secondary battery, and stores the received print data in the flash memory when sufficient power is not stored in the secondary battery. This prevents the received print data from being lost even if the power is cut off due to power shortage. This
The user is not burdened with unnecessary burdens such as re-sending print data at the time of restart.

特開2007−261200号公報JP 2007-261200 A

しかしながら、一般に、フラッシュメモリの書き込み時間は比較的長いために、特許文
献1に記載のプリンタでは、受信した印刷データをフラッシュメモリに書き込む処理中に
、2次電池に蓄積された電力が不足してしまって、受信した印刷データのうち一部のデー
タが、フラッシュメモリに未書き込みとなって失われてしまう可能性がある。すなわち、
フラッシュメモリを受信バッファに用いた場合であっても、印刷データの書き込みを完了
できずに、再起動時に印刷データの再送信が必要になってしまう可能性があった。
However, since the writing time of the flash memory is generally relatively long, the printer described in Patent Document 1 has insufficient power accumulated in the secondary battery during the process of writing the received print data to the flash memory. In other words, some of the received print data may be lost because it has not been written to the flash memory. That is,
Even when the flash memory is used as a reception buffer, writing of print data may not be completed, and it may be necessary to retransmit the print data when restarting.

本発明は、上述の課題の少なくとも一部を解決するためになされたものであり、以下の
形態または適用例として実現することが可能である。
SUMMARY An advantage of some aspects of the invention is to solve at least a part of the problems described above, and the invention can be implemented as the following forms or application examples.

[適用例1]印刷対象とするデータを記憶部に書き込み、前記記憶部に記憶されたデー
タに基づき印刷処理を実行する印刷装置であって、前記記憶部へのデータの書き込みを制
御する制御部と、前記記憶部および前記制御部に駆動用の電源を供給し、且つ、電源の供
給を切断する場合には、供給する電源電圧が漸減する特性を有する電源供給部と、を備え
、前記記憶部は、強誘電体メモリであり、前記制御部は、前記記憶部へのデータの書き込
み中に前記電源供給部による電源の供給が切断された場合に、漸減する電源電圧により駆
動する前記記憶部に対してデータの書き込みを継続して行うことを特徴とする印刷装置。
Application Example 1 A printing apparatus that writes data to be printed to a storage unit and executes a printing process based on the data stored in the storage unit, and controls the writing of data to the storage unit And a power supply unit having a characteristic that a power supply voltage to be supplied gradually decreases when power is supplied to the storage unit and the control unit and the supply of power is cut off. The storage unit is a ferroelectric memory, and the control unit is driven by a power supply voltage that gradually decreases when power supply by the power supply unit is cut off during writing of data to the storage unit A printing apparatus characterized in that data is continuously written to the printer.

[適用例2]印刷対象とするデータを記憶部に書き込み、前記記憶部に記憶されたデー
タに基づき印刷処理を実行する印刷装置のデータ書込方法であって、前記記憶部は、強誘
電体メモリであり、前記記憶部へのデータの書き込み中に電源の供給が切断された場合に
、漸減する電源電圧により駆動する前記記憶部に対してデータの書き込みを継続して行う
ことを特徴とする印刷装置のデータ書込方法。
Application Example 2 A data writing method of a printing apparatus that writes data to be printed in a storage unit and executes a printing process based on the data stored in the storage unit, wherein the storage unit is a ferroelectric material The memory is characterized in that when the supply of power is cut off during the writing of data to the storage unit, the data is continuously written to the storage unit driven by a gradually decreasing power supply voltage. Data writing method for printing apparatus.

これらの構成によれば、印刷対象とするデータを書き込む記憶部が、フラッシュメモリ
に比べて、書き込み時間がはるかに短い強誘電体メモリであるので、データの書き込み中
に電源供給部から供給される電源が切断された場合にも、漸減する電源電圧により記憶部
が駆動している間に、大量のデータを記憶部に書き込むことができる。したがって、記憶
部へのデータの書き込み中に電源の供給が切断された場合に、未書き込みのデータを残し
てしまう可能性が大幅に低減し、データの書き込みを完了できる可能性が著しく高まる。
According to these configurations, the storage unit to which data to be printed is written is a ferroelectric memory whose writing time is much shorter than that of the flash memory, and thus is supplied from the power supply unit during data writing. Even when the power is turned off, a large amount of data can be written to the storage unit while the storage unit is driven by the gradually decreasing power supply voltage. Therefore, when the supply of power is cut off during the writing of data to the storage unit, the possibility of leaving unwritten data is greatly reduced, and the possibility of completing the writing of data is significantly increased.

以下、本発明の実施の形態について、実施例に基づいて説明する。   Hereinafter, embodiments of the present invention will be described based on examples.

図1は、本実施例に係るプリンタの構成を示した図である。図1に示すように、印刷装
置の一例であるプリンタ1は、コントローラ10と、プリントエンジン20と、コントロ
ーラ10およびプリントエンジン20に電源を供給する電源装置(電源供給部)30と、
LCD(Liquid Crystal Display)などの表示部および操作ボタンを含む操作パネル40
と、を備えている。なお、本プリンタ1は、外部からの電源供給を受けていない状態で、
プリンタ1内部の電源装置30からの電源供給によって動作可能なものであり、例えば、
モバイル用途等での使用を可能とするポータブル型のプリンタである。以下、本プリンタ
1の各構成について説明する。
FIG. 1 is a diagram illustrating the configuration of the printer according to the present embodiment. As shown in FIG. 1, a printer 1 as an example of a printing apparatus includes a controller 10, a print engine 20, a power supply device (power supply unit) 30 that supplies power to the controller 10 and the print engine 20,
An operation panel 40 including a display unit such as an LCD (Liquid Crystal Display) and operation buttons.
And. Note that the printer 1 is not receiving power from the outside,
It is operable by power supply from the power supply device 30 inside the printer 1, for example,
This is a portable printer that can be used in mobile applications. Hereinafter, each configuration of the printer 1 will be described.

コントローラ10は、プリントエンジン20による印刷を制御する部分であり、CPU
11と、ROM12と、RAM13と、画像バッファ(記憶部)14と、DMAコントロ
ーラ(制御部)15と、メモリI/F16と、パネルI/F17と、画像処理部18と、
を有している。CPU11はコントローラ10の主制御装置であり、RAM13を用いて
、ROM12に予め記憶された制御プログラムを実行することにより各種の制御を行う。
The controller 10 is a part that controls printing by the print engine 20, and includes a CPU.
11, ROM 12, RAM 13, image buffer (storage unit) 14, DMA controller (control unit) 15, memory I / F 16, panel I / F 17, image processing unit 18,
have. The CPU 11 is a main control device of the controller 10, and performs various controls by executing a control program stored in advance in the ROM 12 using the RAM 13.

画像バッファ14は、印刷対象とする画象データを格納するためのバッファであり、そ
の記憶素子としては、強誘電体メモリであるFeRAM(Ferroelectric Random Access
Memory)を用いている。FeRAMは、強誘電体材料がもつヒステリシス特性をデータ記
憶に利用することにより、データの読み書きが可能であると共に不揮発性を有したメモリ
であり、読み書き可能な不揮発性メモリとして広く用いられるフラッシュメモリに比べて
、著しく高速な動作が実現されている。具体的には、フラッシュメモリでは64バイトの
ブロック単位の書き込み時間が10ms程度であるのに対して、FeRAMでは、同じデ
ータ量の書き込み時間に換算すると、50〜100μsの書き込み速度が実現されており
、フラッシュメモリに比べて、単位時間あたりにFeRAMに書き込むことが可能なデー
タ量がはるかに多い。また、FeRAMは原理的に低電圧駆動が可能であり、例えば、2
.4V未満で駆動するものが実用化されている。このため、3V程度の駆動電圧を要する
フラッシュメモリに比べて、FeRAMはより低電圧で動作するという低電圧動作特性を
有する。
The image buffer 14 is a buffer for storing image data to be printed, and its storage element is a FeRAM (Ferroelectric Random Access) which is a ferroelectric memory.
Memory) is used. FeRAM is a non-volatile memory that can read and write data by utilizing the hysteresis characteristics of ferroelectric materials for data storage, and is a flash memory that is widely used as a readable and writable non-volatile memory. Compared to this, a remarkably high speed operation is realized. Specifically, the writing time of a block unit of 64 bytes is about 10 ms in the flash memory, whereas the writing speed of 50 to 100 μs is realized in the FeRAM when converted to the writing time of the same amount of data. Compared with flash memory, the amount of data that can be written to FeRAM per unit time is much larger. In addition, FeRAM can be driven at a low voltage in principle.
. Those that are driven at less than 4 V have been put into practical use. For this reason, FeRAM has a low voltage operation characteristic of operating at a lower voltage than a flash memory requiring a driving voltage of about 3V.

DMAコントローラ15は、CPU11からの命令に従って、画像バッファ14などへ
のデータ転送を実行する部分である。なお、本実施例においては、DMAコントローラ1
5の動作電圧はFeRAMより低いものとする。
The DMA controller 15 is a part that executes data transfer to the image buffer 14 or the like in accordance with a command from the CPU 11. In this embodiment, the DMA controller 1
The operating voltage of 5 is assumed to be lower than that of FeRAM.

メモリI/F16は、フラッシュメモリFLを備えたメモリカードMCが着脱可能に装
着されるインターフェイス部分であり、このメモリI/F16を介してフラッシュメモリ
FLに対するデータの読み書きが行われる。パネルI/F17は、操作パネル40に接続
するインターフェイス部分であり、コントローラ10からLCDへの表示信号の出力や、
操作スイッチに加えられた操作に応じた操作信号はパネルI/F17を介してコントロー
ラ10に入力される。
The memory I / F 16 is an interface portion to which a memory card MC including the flash memory FL is detachably attached, and data is read from and written to the flash memory FL via the memory I / F 16. The panel I / F 17 is an interface part connected to the operation panel 40, and outputs a display signal from the controller 10 to the LCD,
An operation signal corresponding to the operation applied to the operation switch is input to the controller 10 via the panel I / F 17.

画像処理部18は、画像データをCMYKデータに変換する色変換処理、CMYKデー
タをドットのデータに変換するハーフトーン処理などの画像処理などを実行する部分であ
り、画像処理部18が画像処理後のデータをプリントエンジン20に出力することにより
、プリントエンジン20による印刷が実行される。
The image processing unit 18 performs image processing such as color conversion processing for converting image data into CMYK data and halftone processing for converting CMYK data into dot data. The image processing unit 18 performs post-image processing. Is output to the print engine 20 to execute printing by the print engine 20.

電源装置30は、電力が充電された2次電池31、および2次電池31に蓄積された電
力をコントローラ10やプリントエンジン20等に供給する電源供給回路32とを有して
いる。すなわち、本プリンタ1は、外部電源からの電源供給を受けることなく、内蔵され
た2次電池31の電力による動作が可能である。もっとも、充電する際などには、専用の
ケーブルを介して外部の電源装置と接続されて、2次電池31に電力が充電されると共に
、外部の電源装置からの電源がプリンタの各部に供給される。
The power supply device 30 includes a secondary battery 31 that is charged with power, and a power supply circuit 32 that supplies the power stored in the secondary battery 31 to the controller 10, the print engine 20, and the like. That is, the printer 1 can be operated by the power of the built-in secondary battery 31 without receiving power supply from an external power source. However, when charging or the like, the battery is connected to an external power supply device via a dedicated cable so that the secondary battery 31 is charged with power, and power from the external power supply device is supplied to each part of the printer. The

ここで、2次電池31に蓄積される電力量は有限であるため、外部電源の供給を受けな
い状態でプリンタ1を使用し続けると2次電池31に残された電力量が少なくなり、さら
に使用を続けると電力不足となってコントローラ10およびプリントエンジン20に供給
される電源が切断されてしまうこととなる。すなわち、2次電池31の電力によるプリン
タ1の使用を続けると、ある時点でコントローラ10およびプリントエンジン20の動作
に必要な電力を供給できなくなり、プリンタ1内部で行われている処理を実行できなくな
ってしまう。このため、例えば、メモリカードMCのフラッシュメモリFLに書き込まれ
た画像データの印刷を行うために、フラッシュメモリFLから画像バッファ14に画像デ
ータを転送している最中に、電源装置30からの電源の供給が切断されてしまう事態が生
じうる。
Here, since the amount of power stored in the secondary battery 31 is finite, if the printer 1 is continuously used without being supplied with external power, the amount of power remaining in the secondary battery 31 is reduced. If it continues to be used, power will be insufficient and the power supplied to the controller 10 and the print engine 20 will be cut off. That is, if the use of the printer 1 with the power of the secondary battery 31 is continued, the power necessary for the operation of the controller 10 and the print engine 20 cannot be supplied at a certain point, and the processing performed in the printer 1 cannot be executed. End up. Therefore, for example, in order to print the image data written in the flash memory FL of the memory card MC, while the image data is being transferred from the flash memory FL to the image buffer 14, There is a possibility that the supply will be cut off.

そこで、本実施例のプリンタ1は、電源装置30からの電源供給が切断された場合のた
めに、FeRAMである画像バッファ14にデータを格納し、電源供給が切断された場合
には電源電圧の立ち下り時間中に、FeRAMが有する高速な書き込み特性を活かして、
多量のデータを画像バッファ14に書き込むようにする。具体的には、電力残量の不足に
より電源供給が切断された場合、電源装置30から供給される電源電圧は、図2に示すよ
うに、電源装置30からの電源供給が切断された時点(時刻T0)以降において、通常動
作時の電源電圧VDから電圧降下が始まって電源電圧が漸減し、時刻T0より後の時刻T
1において電源電圧がほぼ0(V)となる。すなわち、電源装置30から供給される電源
電圧は、時刻T0〜T1の立ち下り期間ΔTの間に、通常時の電源電圧VD(V)から0
(V)に電圧が漸減する電圧降下特性Cの電圧変化を生じる。
Therefore, the printer 1 according to the present embodiment stores data in the image buffer 14 that is FeRAM when the power supply from the power supply device 30 is cut off, and the power supply voltage is reduced when the power supply is cut off. Taking advantage of the high-speed write characteristics of FeRAM during the fall time,
A large amount of data is written into the image buffer 14. Specifically, when power supply is cut off due to a shortage of remaining power, the power supply voltage supplied from the power supply device 30 is the same as that shown in FIG. 2 when the power supply from the power supply device 30 is cut off ( After time T0), a voltage drop starts from the power supply voltage VD during normal operation, and the power supply voltage gradually decreases.
In 1, the power supply voltage is almost 0 (V). That is, the power supply voltage supplied from the power supply device 30 is 0 from the normal power supply voltage VD (V) during the falling period ΔT of the times T0 to T1.
A voltage change of the voltage drop characteristic C in which the voltage gradually decreases is generated in (V).

ここで、FeRAMの動作電圧VLは通常動作時の電源電圧VDより低く(VD>VL
>0)、立ち下り期間ΔTのうち動作電圧VLより高い電圧が供給される期間ΔDについ
てはFeRAMは正常に動作する。また、本プリンタ1では、DMAコントローラ15の
動作電圧がFeRAMの動作電圧より低いため、FeRAMの動作可能期間ΔDの間は、
画像バッファ14およびDMAコントローラ15が動作し、画像バッファ14にデータを
書き込み処理を行うことが可能である。このFeRAMの動作可能期間ΔDにおいてFe
RAMの高速書き込み特性を活かしたデータの書き込みを行う。
Here, the operating voltage VL of FeRAM is lower than the power supply voltage VD during normal operation (VD> VL).
> 0), the FeRAM operates normally during the period ΔD during which the voltage higher than the operating voltage VL is supplied during the falling period ΔT. In this printer 1, since the operating voltage of the DMA controller 15 is lower than the operating voltage of the FeRAM, during the FeRAM operable period ΔD,
The image buffer 14 and the DMA controller 15 operate and data can be written into the image buffer 14. In the FeRAM operable period ΔD, Fe
Data is written utilizing the high-speed writing characteristics of the RAM.

次に、本プリンタ1において、メモリカードMCに記憶された画像データに従う印刷を
行う際の動作について、画像バッファ14へのデータ転送の処理例を示す図3を用いて説
明する。
Next, an operation when printing according to the image data stored in the memory card MC in the printer 1 will be described with reference to FIG. 3 showing an example of data transfer processing to the image buffer 14.

例えば、ユーザーが、デジタルスチルカメラなどで撮影された画像データを格納したメ
モリカードMCをメモリI/F16にセットしてから、メモリカードMCに格納された画
像データの印刷を開始する旨の指示が操作パネル40に入力されると、印刷処理が開始さ
れる。処理が開始されると、CPU11は、印刷対象の画像データが格納されたフラッシ
ュメモリFLの先頭アドレスおよび終了アドレスを転送対象に指定して、対象のデータを
フラッシュメモリFLから画像バッファ14に転送する旨の命令を、DMAコントローラ
15に出す。これにより、図3(a)に示すように、DMAコントローラ15は、フラッ
シュメモリFLに格納された画像データD1〜D5を印刷対象としたデータ転送を開始し
て、まず、先頭アドレスに格納された画像データD1を読み出し、画像バッファ14に格
納する。そして、DMAコントローラ15は、フラッシュメモリFLに格納された画像デ
ータを次々に転送して画像バッファ14に格納する。
For example, after the user sets a memory card MC storing image data captured by a digital still camera or the like in the memory I / F 16, an instruction to start printing image data stored in the memory card MC is issued. When input is made to the operation panel 40, the printing process is started. When the processing is started, the CPU 11 designates the start address and end address of the flash memory FL in which the image data to be printed is stored as the transfer target, and transfers the target data from the flash memory FL to the image buffer 14. A command to that effect is issued to the DMA controller 15. As a result, as shown in FIG. 3A, the DMA controller 15 starts data transfer for printing the image data D1 to D5 stored in the flash memory FL, and is first stored at the head address. The image data D1 is read and stored in the image buffer 14. Then, the DMA controller 15 sequentially transfers the image data stored in the flash memory FL and stores it in the image buffer 14.

ここで、図3(b)に示すように、画像データD4の転送が開始される前のタイミング
で、2次電池31が電力不足の状態に陥って、電源装置30からコントローラ10への電
源供給が切断されたものとする。しかしながら、図2に示したように、電源供給が切断さ
れた時刻T0から時刻T2間の動作可能期間ΔDの間については、画像バッファ(FeR
AM)14およびDMAコントローラ15は動作していてデータを書き込むことが可能で
あり、またFeRAMの高速な書き込み特性により、図3(c)に示すように、電源供給
が切断された後であっても、電源供給が切断された時点で未転送であった画像データD4
〜D5が転送され、画像バッファ14に書き込まれる。これにより、印刷対象とされた画
像データD1〜D5のデータ転送が完了する。そして、データ転送が完了した後、動作電
圧VL未満となると画像バッファ14の動作が停止して、データを書き込むことができな
い状態となる。
Here, as shown in FIG. 3B, at the timing before the transfer of the image data D4 is started, the secondary battery 31 falls into a power shortage state, and power is supplied from the power supply device 30 to the controller 10. Shall be disconnected. However, as shown in FIG. 2, during the operable period ΔD between time T0 and time T2 when the power supply is cut off, the image buffer (FeR
AM) 14 and DMA controller 15 are operating and capable of writing data, and due to the high-speed writing characteristics of FeRAM, as shown in FIG. Also, the image data D4 that has not been transferred when the power supply is cut off.
˜D5 are transferred and written to the image buffer 14. Thereby, the data transfer of the image data D1 to D5 to be printed is completed. Then, after the data transfer is completed, when the voltage becomes lower than the operating voltage VL, the operation of the image buffer 14 is stopped and data cannot be written.

このように、データ転送中に電源供給が切断されたにも関わらずにデータ転送を完了す
ることができるので、例えば、2次電池31の充電や、プリンタ1が外部電源の供給を受
けることによってプリンタ1が再起動されたとき、ユーザーからの指示を受けることなく
、画像バッファ14に記憶された画像データを用いて印刷処理を実行することができる。
すなわち、CPU11は、画像バッファ14から画像データを読み出し、画像処理部18
と協働して、画像データを印刷解像度に合わせたビットマップデータに変換する処理、C
MYKデータに変換する色変換処理、ドットのデータに変換するハーフトーン処理を行い
、処理後のデータをプリントエンジン20に出力する印刷処理を行うことにより、画像バ
ッファ14に蓄積された画像データの印刷を実行させることができる。
As described above, the data transfer can be completed despite the power supply being cut off during the data transfer. For example, when the secondary battery 31 is charged or the printer 1 is supplied with the external power supply. When the printer 1 is restarted, print processing can be executed using the image data stored in the image buffer 14 without receiving an instruction from the user.
That is, the CPU 11 reads out image data from the image buffer 14, and the image processing unit 18.
A process of converting image data into bitmap data in accordance with the print resolution in cooperation with C,
Printing of image data stored in the image buffer 14 is performed by performing color conversion processing for converting to MYK data and halftone processing for converting to dot data, and performing print processing for outputting the processed data to the print engine 20. Can be executed.

なお、電源供給の切断時に、未転送の画像データが大量に残っている場合、FeRAM
の書き込み特性をもってしても動作可能期間ΔDの間に全データの転送を完了できない可
能性もある。この場合は、例えば、2次電池31の充電や、プリンタ1が外部電源の供給
を受けることによって、プリンタ1が再起動したときに、起動したCPU11がDMAコ
ントローラ15に指示を出して、未転送分の画像データについてメモリカードMCから画
像バッファ14へのデータ転送を再開させる。
If a large amount of untransferred image data remains when the power supply is cut off, the FeRAM
Even with this write characteristic, it is possible that the transfer of all data cannot be completed during the operable period ΔD. In this case, for example, when the printer 1 is restarted by charging the secondary battery 31 or the printer 1 is supplied with external power, the started CPU 11 issues an instruction to the DMA controller 15 and the data is not transferred. Data transfer from the memory card MC to the image buffer 14 is resumed for the image data for the remaining minutes.

以上に説明したように、本プリンタ1では、画像バッファ14の記憶素子を、データの
書き込み速度が高速なFeRAMとしたことにより、メモリカードMCに記憶された画像
データの印刷を行う際、メモリカードMCのフラッシュメモリFLから画像バッファ14
へのデータ転送中に電源供給が切断された場合であっても、FeRAMの動作可能期間Δ
D内に、多くのデータを画像バッファ14に書き込むことができる。これにより、画像バ
ッファ14が動作不能となる前に、高い確率でデータの書き込みを完了できる。特に、読
み書き可能な不揮発性メモリとして広く用いられるフラッシュメモリを画像バッファ14
に用いた場合に比べると、データ書き込みを完了できる可能性を著しく高めることが可能
である。また、プリンタ1の再起動時に、ユーザーが、メモリカードMCに記憶された画
像データの印刷を指示し直す必要がなくなる。
As described above, in the printer 1, the memory element of the image buffer 14 is an FeRAM having a high data writing speed, so that when the image data stored in the memory card MC is printed, the memory card Image buffer 14 from flash memory FL of MC
FeRAM operable period Δ even when the power supply is cut off during data transfer to
A lot of data can be written into the image buffer 14 in D. As a result, data writing can be completed with high probability before the image buffer 14 becomes inoperable. In particular, a flash memory widely used as a readable / writable nonvolatile memory is used as the image buffer 14.
Compared with the case of using for the above, it is possible to remarkably increase the possibility that data writing can be completed. Further, when the printer 1 is restarted, the user does not need to reinstruct the printing of the image data stored in the memory card MC.

もっとも、図3に例として説明したように、データ転送中に電源供給が断たれる場合に
限られることなく、電源供給が切断された後のFeRAMの動作可能期間ΔD内にデータ
転送を開始した場合についても同様に、データの書き込みを高い確率で完了することがで
きる。
However, as described in FIG. 3 as an example, the data transfer is started within the FeRAM operable period ΔD after the power supply is cut off, without being limited to the case where the power supply is cut off during the data transfer. Similarly, data writing can be completed with high probability.

また、FeRAMはフラッシュメモリに比べて低電圧で動作するという特性を有してい
るので、電圧降下特性Cが一定の下では、FeRAMの動作可能期間ΔDはフラッシュメ
モリの動作可能期間より長くなる。したがって、高速書き込み特性に加えて、低電圧動作
特性によってさらに多くのデータを書き込むことができるようになり、これらの2つの特
性を兼ね備えたFeRAMを画像バッファ14に用いることによってさらに高い確率でデ
ータの書き込みを完了することができるようになる。
Further, since FeRAM has a characteristic that it operates at a lower voltage than a flash memory, the FeRAM operable period ΔD is longer than the flash memory operable period under a constant voltage drop characteristic C. Therefore, more data can be written by the low-voltage operation characteristic in addition to the high-speed writing characteristic. By using the FeRAM having these two characteristics for the image buffer 14, the data can be written with higher probability. The writing can be completed.

さらに、再起動時には画像バッファ14への新たなデータの書き込みを行うことなく、
画像バッファ14に書き込み済みのデータに従って印刷を行うことができる可能性が高く
なるので、再起動時に再印刷を指示する手間をユーザーにかけることが少なくなり、ユー
ザーにとっての利便性が高まる。
Furthermore, at the time of restart, without writing new data to the image buffer 14,
Since there is a high possibility that printing can be performed in accordance with the data already written in the image buffer 14, it is less necessary for the user to instruct reprinting at the time of restart, and convenience for the user is improved.

なお、転送対象のデータ量が特に大きい場合については、FeRAMの動作可能期間Δ
D内に全データを書き込むことができない可能性はあるが、大量の画像データを書き込む
ことができるため、再起動後に画像バッファ14に書き込みが必要となるデータ量が少な
くなり、再起動時に行われるデータ書き込みに要する時間を短縮することができる。
When the amount of data to be transferred is particularly large, the FeRAM operable period Δ
Although there is a possibility that all data cannot be written in D, since a large amount of image data can be written, the amount of data that needs to be written to the image buffer 14 after the restart is reduced, and this is performed at the time of restart. The time required for data writing can be shortened.

以上、実施の形態の一実施例について説明したが、以下の変形例としてもよい。   Although one example of the embodiment has been described above, the following modifications may be made.

(変形例1)上記実施例では、電源装置30がプリンタ1に内蔵されたポータブル型の
プリンタを例として説明したが、外部から電源の供給を受けて動作する据え置き型のプリ
ンタであってもよい。この場合、データの書き込み中に停電が生じたり、電源ケーブルが
不意に抜かれしまうことによって、電源の供給が突然切断された場合であっても、画像バ
ッファ14をFeRAMとすることにより、画像バッファ14へのデータの書き込みを高
い確率で完了することができる。
(Modification 1) In the above-described embodiment, the portable printer in which the power supply device 30 is built in the printer 1 has been described as an example. However, a stationary printer that operates by receiving power supply from the outside may be used. . In this case, even if a power failure occurs during data writing or the power cable is unexpectedly disconnected, the power supply is suddenly cut off, so that the image buffer 14 is replaced with an FeRAM. It is possible to complete the writing of data to the server with a high probability.

(変形例2)上記実施例では、メモリカードMCを介して画像データの入力を受ける場
合を例にして説明したが、プリンタドライバを有するホスト装置が接続され、ホスト装置
のプリンタドライバから印刷用の画像データを受信する構成のプリンタとしてもよい。こ
の場合、プリンタドライバから受信した画像データを画像バッファ14に格納する処理中
に、電源が切断された場合であっても、FeRAMの高速な書き込み特性によって多くの
データを書き込むことができ、高い確率でデータの書き込みを完了することができる。
(Modification 2) In the above-described embodiment, the case where image data is input via the memory card MC has been described as an example. However, a host device having a printer driver is connected and printing is performed from the printer driver of the host device. A printer configured to receive image data may be used. In this case, even if the power is turned off during the process of storing the image data received from the printer driver in the image buffer 14, a large amount of data can be written by the high-speed writing characteristics of the FeRAM. Can complete the data writing.

(変形例3)上記実施例では、DMAコントローラ15によるDMA転送を行う場合を
例にしたが、CPU(制御部)11自身がデータを転送するPIO転送を行う構成として
もよい。
(Modification 3) In the above embodiment, the DMA transfer by the DMA controller 15 is taken as an example, but the CPU (control unit) 11 itself may perform PIO transfer for transferring data.

(変形例4)上記実施例では、DMAコントローラ15の動作電圧はFeRAMより低
電圧で駆動するものとして説明したが、これに限られない。DMAコントローラ15の動
作電圧がFeRAMより高い場合、データを書き込むことが可能な期間は、FeRAMの
動作可能期間ΔDより短い、DMAコントローラ15の動作可能期間に制限されることに
なるが、FeRAMの高速書き込み特性によって多くのデータを書き込み、データの書き
込みを高い確率で完了することができる。
(Modification 4) In the above embodiment, the operation voltage of the DMA controller 15 has been described as being driven at a voltage lower than that of FeRAM. However, the present invention is not limited to this. When the operating voltage of the DMA controller 15 is higher than that of the FeRAM, the period during which data can be written is limited to the operable period of the DMA controller 15 that is shorter than the operable period ΔD of the FeRAM. A lot of data can be written according to the writing characteristics, and the data writing can be completed with high probability.

(変形例5)コントローラ10またはCPU11に、電源電圧の電圧降下を検出する機
能部を設けて、電源装置30からの供給電源の電圧降下が検出された時に、CPU11は
自身の動作モードをスリープまたはスタンバイ状態に移行することにより、立ち下り期間
ΔTにおける消費電力を低減するようにしてもよい。このようにすれば、FeRAMの動
作可能期間ΔD中に供給される電力が、FeRAMおよびDMAコントローラに集中的に
供給されるようになるので、電源供給が切断された後におけるデータ転送について動作の
安定化を図ることができる。
(Modification 5) The controller 10 or the CPU 11 is provided with a function unit for detecting a voltage drop of the power supply voltage, and when the voltage drop of the power supply from the power supply device 30 is detected, the CPU 11 sets its operation mode to sleep or By shifting to the standby state, the power consumption in the falling period ΔT may be reduced. In this way, the power supplied during the FeRAM operable period ΔD is intensively supplied to the FeRAM and the DMA controller, so that the operation is stable for data transfer after the power supply is cut off. Can be achieved.

本実施例に係るプリンタの構成を示した図。1 is a diagram illustrating a configuration of a printer according to an embodiment. 電源が切断された場合におけるFeRAMの動作可能期間を説明する図。The figure explaining the operation possible period of FeRAM when a power supply is cut | disconnected. データ転送の処理例を示した図であり、(a)は転送開始時、(b)は電源が切断された時(時刻T0)、(c)は電源が切断された後(FeRAMの動作可能期間ΔD内)におけるデータ転送の状態を示した図。It is a figure which showed the example of a process of data transfer, (a) is at the time of a transfer start, (b) is when a power supply is cut off (time T0), (c) is after a power supply is cut off (operation of FeRAM is possible) The figure which showed the state of the data transfer in the period (DELTA) D).

符号の説明Explanation of symbols

1…印刷装置としてのプリンタ、10…コントローラ、11…CPU、12…ROM、
13…RAM、14…記憶部としての画像バッファ、15…制御部としてのDMAコント
ローラ、16…メモリI/F、17…パネルI/F、18…画像処理部、20…プリント
エンジン、30…電源供給部としての電源装置、31…2次電池、32…電源供給回路、
40…操作パネル、MC…メモリカード、FL…フラッシュメモリ、C…電源断時におけ
る電源電圧の電圧降下特性、VD…通常時の電源電圧、VL…FeRAMの動作電圧、Δ
T…立ち下り期間、ΔD…FeRAMの動作可能期間。
DESCRIPTION OF SYMBOLS 1 ... Printer as printing apparatus, 10 ... Controller, 11 ... CPU, 12 ... ROM,
DESCRIPTION OF SYMBOLS 13 ... RAM, 14 ... Image buffer as a memory | storage part, 15 ... DMA controller as a control part, 16 ... Memory I / F, 17 ... Panel I / F, 18 ... Image processing part, 20 ... Print engine, 30 ... Power supply Power supply device as supply unit, 31 ... secondary battery, 32 ... power supply circuit,
40: Operation panel, MC: Memory card, FL: Flash memory, C: Voltage drop characteristic of power supply voltage when power is cut off, VD: Power supply voltage at normal time, VL: Operating voltage of FeRAM, Δ
T: Falling period, ΔD: FeRAM operable period.

Claims (2)

印刷対象とするデータを記憶部に書き込み、前記記憶部に記憶されたデータに基づき印
刷処理を実行する印刷装置であって、
前記記憶部へのデータの書き込みを制御する制御部と、
前記記憶部および前記制御部に駆動用の電源を供給し、且つ、電源の供給を切断する場
合には、供給する電源電圧が漸減する特性を有する電源供給部と、を備え、
前記記憶部は、強誘電体メモリであり、
前記制御部は、前記記憶部へのデータの書き込み中に前記電源供給部による電源の供給
が切断された場合に、漸減する電源電圧により駆動する前記記憶部に対してデータの書き
込みを継続して行うことを特徴とする印刷装置。
A printing apparatus that writes data to be printed into a storage unit and executes a printing process based on the data stored in the storage unit,
A control unit that controls writing of data to the storage unit;
A power supply unit having a characteristic that a power supply voltage to be supplied gradually decreases when power for driving is supplied to the storage unit and the control unit and power supply is cut off;
The storage unit is a ferroelectric memory,
The control unit continues to write data to the storage unit that is driven by a gradually decreasing power supply voltage when power supply by the power supply unit is cut off during data writing to the storage unit. A printing apparatus characterized by performing.
印刷対象とするデータを記憶部に書き込み、前記記憶部に記憶されたデータに基づき印
刷処理を実行する印刷装置のデータ書込方法であって、
前記記憶部は、強誘電体メモリであり、
前記記憶部へのデータの書き込み中に電源の供給が切断された場合に、漸減する電源電
圧により駆動する前記記憶部に対してデータの書き込みを継続して行うことを特徴とする
印刷装置のデータ書込方法。
A data writing method for a printing apparatus that writes data to be printed in a storage unit and executes a printing process based on the data stored in the storage unit,
The storage unit is a ferroelectric memory,
Data of a printing apparatus, wherein data is continuously written to the storage unit that is driven by a gradually decreasing power supply voltage when power supply is cut off during the data writing to the storage unit Writing method.
JP2008094732A 2008-04-01 2008-04-01 Printing device, and data writing method for printing device Withdrawn JP2009251632A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008094732A JP2009251632A (en) 2008-04-01 2008-04-01 Printing device, and data writing method for printing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008094732A JP2009251632A (en) 2008-04-01 2008-04-01 Printing device, and data writing method for printing device

Publications (1)

Publication Number Publication Date
JP2009251632A true JP2009251632A (en) 2009-10-29

Family

ID=41312332

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008094732A Withdrawn JP2009251632A (en) 2008-04-01 2008-04-01 Printing device, and data writing method for printing device

Country Status (1)

Country Link
JP (1) JP2009251632A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112267972A (en) * 2020-10-22 2021-01-26 华能国际电力股份有限公司 Intelligent judgment method for abnormity of power curve of wind turbine generator

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112267972A (en) * 2020-10-22 2021-01-26 华能国际电力股份有限公司 Intelligent judgment method for abnormity of power curve of wind turbine generator
CN112267972B (en) * 2020-10-22 2023-05-05 华能国际电力股份有限公司 Intelligent judging method for abnormal power curve of wind turbine generator

Similar Documents

Publication Publication Date Title
JP4687399B2 (en) Multiprocessor system and data backup method
US8949641B2 (en) Information processing apparatus and method for controlling information processing apparatus restoration order of images that reduces the waiting time when restoration from a hibernation state
US9360912B2 (en) Shutdown processing mode with forcible power off
JP3360665B2 (en) Electronic printing apparatus having power saving mode and control method
US9513853B2 (en) Data processing apparatus capable of controlling power supply, control method therefor, and storage medium
US20110058217A1 (en) Electronic device
CN103917924B (en) Image forming apparatus and control method thereof
US20110099339A1 (en) Information processing apparatus, method for controlling information processing apparatus and storage medium
KR101596095B1 (en) Printing apparatus and recording medium
US8874278B2 (en) Power supply control device, image forming apparatus, and method of controlling power supply
JP2011221708A (en) Information processing devise and control method for information processing devise
US9547504B2 (en) Image forming apparatus, method of connecting with external device thereof, and computer-readable recording medium
JP2009251632A (en) Printing device, and data writing method for printing device
JP5701043B2 (en) Information processing apparatus, information processing apparatus control method, and program
JP4305423B2 (en) Power saving control method and electronic device having power saving function
JP2008067299A (en) Image forming apparatus
JP2018078485A (en) Information processing apparatus and starting method of information processing apparatus
JP2003076450A (en) Power supply device and electronic device
JP2013146934A (en) Information processing apparatus, control method of information processing apparatus, and program
JP2004074621A (en) Image formation apparatus
JP4736354B2 (en) Controller, image processing apparatus, and method for controlling execution of program
JP7313840B2 (en) Information processing device, control method for information processing device, and program
JP7379020B2 (en) information processing equipment
JP2011088292A (en) Image forming apparatus, control device, and program
US20120105885A1 (en) Image forming apparatus performing network communication

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20110607