JP2008140234A - Electronic device, control method therefor and program therefor - Google Patents

Electronic device, control method therefor and program therefor Download PDF

Info

Publication number
JP2008140234A
JP2008140234A JP2006326907A JP2006326907A JP2008140234A JP 2008140234 A JP2008140234 A JP 2008140234A JP 2006326907 A JP2006326907 A JP 2006326907A JP 2006326907 A JP2006326907 A JP 2006326907A JP 2008140234 A JP2008140234 A JP 2008140234A
Authority
JP
Japan
Prior art keywords
voltage
power
power supply
predetermined
capacitor
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
JP2006326907A
Other languages
Japanese (ja)
Inventor
Yasunori Fukumitsu
康則 福光
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 JP2006326907A priority Critical patent/JP2008140234A/en
Publication of JP2008140234A publication Critical patent/JP2008140234A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Power Sources (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To store data to be backed up when a power source fails regardless of power consumed by a power consumption device connected to the own device while suppressing increase of cost or scale of a device. <P>SOLUTION: In a printer 10, a switch 35 is provided in electric wiring 34 supplying power supplied from the commercial AC power source 13 to a built-in CD/DVD drive device 32 or a print mechanism 50 through a power supply line 16 or the like, and a capacitor 17 is connected to the power supply line 16. In the printer 10, when a power failure occurrence signal is outputted from a power failure detection sensor 28 by a stop of the supply of the power from the commercial AC power source 13, a main controller 20 uses electronic energy stored in the capacitor 17 through a DC/DC converter 37, controls the switch 35 to cut off the electric wiring 34, and stores the data to be backed up in EEPROMs 36, 58. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、電子機器、その制御方法及びそのプログラムに関する。   The present invention relates to an electronic device, a control method thereof, and a program thereof.

従来より、休止処理を行うコンピュータが知られている。例えば、特許文献1に記載のコンピュータは、停電時に用いられる簡易バックアップ電源及び補助電源を備え、停電が発生すると、簡易バックアップ電源からの電源供給によりプログラムの終了処理と主記憶部のデータを高速バッファに書き込む処理とを実行する一方、補助電源からの電源供給により高速バッファに書き込まれたデータを不揮発性記憶装置に書き込む処理を実行する。そして、プログラムの終了処理や高速バッファに書き込む処理が終了したときに簡易バックアップ電源からの電源供給を停止し、また、不揮発性記憶装置に書き込む処理が終了したときに、補助電源からの電源供給を停止する。なお、電源バックアップ時間及び消費電流が少なければ、簡易バックアップ電源や補助電源として大容量のコンデンサが使用されることもある。
特開2004−348641号公報
Conventionally, computers that perform pause processing are known. For example, the computer described in Patent Document 1 includes a simple backup power source and an auxiliary power source that are used in the event of a power failure. When a power failure occurs, the computer ends processing of the program and data in the main storage unit by a power supply from the simple backup power source. And a process for writing the data written in the high-speed buffer to the nonvolatile memory device by the power supply from the auxiliary power supply. The power supply from the simple backup power supply is stopped when the program termination process or the process of writing to the high-speed buffer is completed, and the power supply from the auxiliary power supply is stopped when the process of writing to the nonvolatile storage device is completed. Stop. If the power backup time and current consumption are short, a large-capacity capacitor may be used as a simple backup power supply or auxiliary power supply.
JP 2004-348641 A

ところで、このようなコンピュータにCD−Rドライブ等の電力消費装置を接続することが考えられる。   By the way, it is conceivable to connect a power consuming device such as a CD-R drive to such a computer.

しかしながら、簡易バックアップ電源として、例えば大容量のコンデンサを用いているとき、電力消費装置を接続しこの電力消費装置が停電時にコンデンサに蓄えられたエネルギを消費する場合には、コンデンサに蓄えられているエネルギのみでは不足する場合が生じる。この場合、主記憶部のデータを高速バッファに書き込む処理等を正常に実行することができないこととなる。また、接続される電力消費装置のために無停電電源装置のような十分な容量の電源装置やより大容量のコンデンサを使用するとなれば、装置の大型化やコストの上昇等を招くこととなる。   However, as a simple backup power source, for example, when a large-capacity capacitor is used, when a power consuming device is connected and the power consuming device consumes energy stored in the capacitor at the time of a power failure, it is stored in the capacitor In some cases, energy alone is insufficient. In this case, the process of writing the data in the main storage unit into the high-speed buffer cannot be executed normally. Further, if a power supply device having a sufficient capacity such as an uninterruptible power supply device or a capacitor with a larger capacity is used for the connected power consuming device, the size of the device and the cost increase will be caused. .

本発明は、上述した課題に鑑みなされたものであり、装置の大型化やコストの上昇を抑えつつ、自らに接続される電力消費装置が消費する電力にかかわらず、電源の異常が発生したときにはバックアップすべきデータを保存することが可能な電子機器、その制御方法及びそのプログラムを提供することを目的とする。   The present invention has been made in view of the above-described problems, and when a power supply abnormality occurs regardless of the power consumed by the power consuming device connected to itself while suppressing the increase in size and cost of the device. An object is to provide an electronic device capable of storing data to be backed up, a control method thereof, and a program thereof.

本発明の電子機器、その制御方法及びそのプログラムは、上述の目的の少なくとも一部を達成するために以下の手段を採った。   The electronic device, the control method thereof, and the program thereof of the present invention employ the following means in order to achieve at least a part of the above-described object.

本発明の電子機器は、
データを保存可能な不揮発性メモリと、
電源から直接又は間接的に所定の直流電圧を入力して第1の直流電圧に変換して出力する第1直流電圧生成手段と、
該第1直流電圧生成手段から出力された前記第1の直流電圧により駆動される制御手段と、
前記電源と前記第1直流電圧生成手段との間に接続され、前記所定の直流電圧が印加されることにより蓄電されるコンデンサと、
前記電源と前記第1直流電圧生成手段との間に前記コンデンサに対して並列に接続され、電力消費装置へ電力を供給可能な接続手段と、
前記電源と前記第1直流電圧生成手段との間から前記接続手段までの電気配線を接続・切断可能なスイッチング手段と、
を備え、
前記電源に異常が発生したときには、前記制御手段は、前記コンデンサに蓄えられた電気エネルギを前記第1直流電圧生成手段を介して使用して、前記電気配線が切断されるよう前記スイッチング手段を制御すると共にバックアップすべきデータを前記不揮発性メモリに記憶するものである。
The electronic device of the present invention is
Non-volatile memory that can store data,
First DC voltage generating means for inputting a predetermined DC voltage directly or indirectly from a power supply, converting it to a first DC voltage, and outputting the first DC voltage;
Control means driven by the first DC voltage output from the first DC voltage generating means;
A capacitor connected between the power source and the first DC voltage generating means and charged by applying the predetermined DC voltage;
Connecting means connected in parallel to the capacitor between the power source and the first DC voltage generating means, and capable of supplying power to a power consuming device;
Switching means capable of connecting / disconnecting electrical wiring between the power source and the first DC voltage generating means to the connecting means;
With
When an abnormality occurs in the power source, the control means uses the electric energy stored in the capacitor via the first DC voltage generating means to control the switching means so that the electric wiring is disconnected. In addition, data to be backed up is stored in the nonvolatile memory.

この電子機器では、電源に異常が発生したときには、制御手段は、コンデンサに蓄えられた電気エネルギを第1直流電圧生成手段を介して使用して、電気配線が切断されるようスイッチング手段を制御すると共にバックアップすべきデータを不揮発性メモリに記憶する。このように、電気配線が切断された後は接続手段に接続された電力消費装置が電力を消費することはない。このため、コンデンサは、バックアップすべきデータを不揮発性メモリに記憶することが可能な電気エネルギを蓄積していれば足りる。したがって、装置の大型化やコストの上昇を抑えつつ、自らに接続される電力消費装置が消費する電力にかかわらず、電源の異常が発生したときにはバックアップすべきデータを保存することができる。   In this electronic apparatus, when an abnormality occurs in the power supply, the control means uses the electrical energy stored in the capacitor via the first DC voltage generating means to control the switching means so that the electric wiring is disconnected. At the same time, data to be backed up is stored in a nonvolatile memory. Thus, after the electrical wiring is cut, the power consuming device connected to the connection means does not consume power. For this reason, the capacitor only needs to store electrical energy that can store data to be backed up in the nonvolatile memory. Therefore, it is possible to save data to be backed up when a power supply abnormality occurs regardless of the power consumed by the power consuming device connected to the device while suppressing the increase in size and cost of the device.

本発明の電子機器において、前記制御手段は、前記所定の直流電圧が所定の第1下限値を下回ったとき前記電源に異常が発生したとしてもよい。こうすれば、電源に異常が発生したことを確実に検出することができる。なお、所定の第1下限値は、例えば電源からの電力供給が継続しているときには取り得ない値に設定してもよい。   In the electronic apparatus of the present invention, the control means may be configured such that an abnormality has occurred in the power supply when the predetermined DC voltage falls below a predetermined first lower limit value. In this way, it is possible to reliably detect that an abnormality has occurred in the power supply. The predetermined first lower limit value may be set to a value that cannot be taken when the power supply from the power source is continued, for example.

本発明の電子機器は、前記電源と前記第1直流電圧生成手段との間に設けられ、前記電源から前記所定の直流電圧より低い第2の直流電圧を入力し前記所定の直流電圧に昇圧して前記第1直流電圧生成手段へ出力する所定電圧生成手段を備え、前記制御手段は、前記第2の直流電圧が所定の第2下限値を下回ったとき前記電源に異常が発生したとしてもよい。電源に異常が発生して第2の直流電圧が変化する場合、所定の直流電圧も変化するが、所定電圧生成手段の出力側には異常発生まで所定の直流電圧が印加され電荷を蓄えていたコンデンサが接続されているため、所定の直流電圧の変化の速度は第2の直流電圧の変化の速度よりも遅い。したがって、所定の直流電圧に基づいて電源の異常を検出する場合に比べて、電源に異常が発生したことを早く確実に検出することができる。なお、所定の第2下限値は、例えば電源からの電力供給が継続しているときには取り得ない値に設定してもよい。   The electronic device of the present invention is provided between the power source and the first DC voltage generating means, and receives a second DC voltage lower than the predetermined DC voltage from the power source and boosts the predetermined DC voltage to the predetermined DC voltage. Predetermined voltage generating means for outputting to the first DC voltage generating means, and the control means may have an abnormality in the power supply when the second DC voltage falls below a predetermined second lower limit value. . When an abnormality occurs in the power supply and the second DC voltage changes, the predetermined DC voltage also changes, but the predetermined DC voltage is applied to the output side of the predetermined voltage generating means until the abnormality occurs, and charges are stored. Since the capacitor is connected, the rate of change of the predetermined DC voltage is slower than the rate of change of the second DC voltage. Therefore, it is possible to quickly and surely detect that an abnormality has occurred in the power supply, as compared with the case where an abnormality in the power supply is detected based on a predetermined DC voltage. The predetermined second lower limit value may be set to a value that cannot be taken when the power supply from the power source is continued, for example.

本発明の電子機器において、前記スイッチング手段はトランジスタを用いたスイッチであるとしてもよい。こうすれば、機械的なリレーを用いる場合に比べて電源の異常発生時に早く電気配線を切断することができる。   In the electronic apparatus of the present invention, the switching means may be a switch using a transistor. In this way, the electrical wiring can be disconnected earlier when a power supply abnormality occurs than when a mechanical relay is used.

本発明の電子機器は、印刷を行う印刷手段を備え、前記印刷手段は、該印刷手段の電力ラインが前記スイッチング手段と前記電力消費装置との間に前記電力消費装置に対して並列に接続されている手段であるとしてもよい。こうすれば、電源の異常発生時において、スイッチング手段により電気配線を切断するときに併せて印刷手段への電力供給も停止することができる。   The electronic apparatus of the present invention includes a printing unit that performs printing, and the printing unit includes a power line of the printing unit that is connected in parallel to the power consuming device between the switching unit and the power consuming device. It may be a means. In this way, when an abnormality occurs in the power source, the power supply to the printing unit can be stopped when the electrical wiring is cut by the switching unit.

本発明の制御方法は、電源から直接又は間接的に印加される所定の直流電圧により蓄電されるコンデンサを備えた電子機器のコンピュータソフトウェアによる制御方法であって、
(a)電源に異常が発生したか否かを判定するステップと、
(b)前記ステップ(a)で、前記電源の異常が発生したと判定したときには、前記コンデンサに蓄えられている電気エネルギを前記所定の直流電圧より低い第1の直流電圧に変換された状態で使用しつつ、前記電子機器に接続された電力消費装置へ電力を供給する電気的な接続を切断すると共にバックアップすべきデータを不揮発的に記憶するステップと、
を含むものである。
The control method of the present invention is a control method by computer software of an electronic device including a capacitor that is charged by a predetermined DC voltage applied directly or indirectly from a power source,
(A) determining whether an abnormality has occurred in the power source;
(B) When it is determined in step (a) that an abnormality has occurred in the power source, the electrical energy stored in the capacitor is converted into a first DC voltage lower than the predetermined DC voltage. Disconnecting the electrical connection for supplying power to the power consuming device connected to the electronic device while using it and storing the data to be backed up in a nonvolatile manner;
Is included.

この電子機器の制御方法では、電源に異常が発生したか否かを判定し、電源の異常が発生したと判定したときには、コンデンサに蓄えられている電気エネルギを所定の直流電圧より低い第1の直流電圧に変換された状態で使用しつつ、電子機器に接続された電力消費装置へ電力を供給する電気的な接続を切断すると共にバックアップすべきデータを不揮発的に記憶する。このように、電気的な接続が切断された後は電子機器に接続された電力消費装置が電力を消費することはない。このため、コンデンサは、バックアップすべきデータを不揮発的に記憶することが可能な電気エネルギを蓄積していれば足りる。したがって、装置の大型化やコストの上昇を抑えつつ、電子機器に接続される電力消費装置が消費する電力にかかわらず、電源の異常が発生したときにはバックアップすべきデータを保存することができる。なお、上述した本発明の電子機器が備える各種の構成によって奏される作用・機能を実現するためのステップを追加してもよい。   In this electronic device control method, it is determined whether or not an abnormality has occurred in the power source. When it is determined that an abnormality in the power source has occurred, the electric energy stored in the capacitor is a first voltage lower than a predetermined DC voltage. While being used in the state of being converted into a DC voltage, the electrical connection for supplying power to the power consuming device connected to the electronic device is disconnected and the data to be backed up is stored in a nonvolatile manner. Thus, after the electrical connection is cut, the power consuming device connected to the electronic device does not consume power. For this reason, the capacitor only needs to store electrical energy that can store data to be backed up in a nonvolatile manner. Therefore, it is possible to save data to be backed up when a power supply abnormality occurs regardless of the power consumed by the power consuming device connected to the electronic device, while suppressing the increase in size and cost of the device. In addition, you may add the step for implement | achieving the effect | action and function show | played by the various structures with which the electronic device of this invention mentioned above is equipped.

本発明のプログラムは、上述した制御方法の各ステップを1又は複数のコンピュータに実行させるためのものである。このプログラムは、コンピュータが読み取り可能な記録媒体(例えばハードディスク、ROM、FD、CD、DVDなど)に記録されていてもよいし、伝送媒体(インターネットやLANなどの通信網)を介してあるコンピュータから別のコンピュータへ配信されてもよいし、その他どのような形で授受されてもよい。このプログラムを一つのコンピュータに実行させるか複数のコンピュータに分散して実行させれば、上述した制御方法の各ステップが実行されるため、上述した制御方法と同様の作用効果が得られる。   The program of the present invention is for causing one or more computers to execute each step of the control method described above. This program may be recorded on a computer-readable recording medium (for example, hard disk, ROM, FD, CD, DVD, etc.), or from a computer via a transmission medium (communication network such as the Internet or LAN). It may be distributed to another computer, or may be exchanged in any other form. If this program is executed by one computer or distributed to a plurality of computers, each step of the above-described control method is executed, so that the same effect as that of the above-described control method can be obtained.

次に、本発明の実施の形態を図面に基づいて説明する。図1は、本発明の電子機器の一実施形態であるプリンタ10の構成の概略を示す構成図である。   Next, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a configuration diagram showing an outline of a configuration of a printer 10 which is an embodiment of an electronic apparatus of the present invention.

本実施形態のプリンタ10は、図1に示すように、商用交流電源13に接続される電源ユニット12とプリント機構50を内蔵するプリンタ本体18とを備えている。   As shown in FIG. 1, the printer 10 of the present embodiment includes a power supply unit 12 connected to a commercial AC power supply 13 and a printer main body 18 incorporating a print mechanism 50.

電源ユニット12は、商用交流電源13からの交流電圧をAC/DCコンバータ14により20Vの直流電圧に変換し、更にDC/DCコンバータ15により42Vの直流電圧へと昇圧し、その42Vの直流電圧を電源供給線16を介してプリンタ本体18に供給するものである。この電源ユニット12の内部には、電圧波形の余計な振動を除去して滑らかな波形にするためのコンデンサ17が電源供給線16に接続されている。このコンデンサ17は、商用交流電源13から電力が供給されているときは電源供給線16に印加される電圧により蓄電される。そして、例えば商用交流電源13からの電力供給が停止したときはこのコンデンサ17に蓄えられている電気エネルギが電源供給線16を介してプリンタ本体18へ供給されることによりコンデンサ17は放電し、その両極間の電圧は時間と共に低下する。このコンデンサ17の容量は、後述するメインコントローラ20がEEPROM36,58にバックアップすべきデータを書き込むのに要する時間やその時の消費電流を考慮して決定されている。ここでは、例えば、300msの間メインコントローラ20やEEPROM36,58が動作可能な程度の容量に決定されている。なお、商用交流電源13の交流電圧は100Vや200Vである。   The power supply unit 12 converts the AC voltage from the commercial AC power supply 13 into a DC voltage of 20 V by the AC / DC converter 14, and further boosts the DC voltage to 42 V by the DC / DC converter 15. The power is supplied to the printer main body 18 through the power supply line 16. Inside the power supply unit 12, a capacitor 17 is connected to the power supply line 16 for removing unnecessary vibration of the voltage waveform to make a smooth waveform. The capacitor 17 is charged by a voltage applied to the power supply line 16 when power is supplied from the commercial AC power supply 13. For example, when the power supply from the commercial AC power supply 13 is stopped, the electric energy stored in the capacitor 17 is supplied to the printer main body 18 via the power supply line 16, so that the capacitor 17 is discharged. The voltage between the two electrodes decreases with time. The capacity of the capacitor 17 is determined in consideration of the time required for the main controller 20 to be described later to write data to be backed up in the EEPROMs 36 and 58 and the current consumption at that time. Here, for example, the capacity is determined so that the main controller 20 and the EEPROMs 36 and 58 can operate for 300 ms. The AC voltage of the commercial AC power supply 13 is 100V or 200V.

プリンタ本体18は、電源供給線16を介して42Vの直流電圧が供給されて駆動するプリント機構50と、5Vの直流電圧が供給されて駆動する内蔵CD/DVDドライブ装置32へ42Vの直流電圧を5Vの直流電圧へ変換して供給するDC/DCコンバータ33と、電源供給線16の分岐点Aから分岐しDC/DCコンバータ33及びプリント機構50へ直流電圧を送電する電気配線34と、この電気配線34を接続・切断可能なスイッチ35と、不揮発性メモリであるEEPROM36,58へのデータ書き込みやスイッチ35のオン・オフ等を3.3Vの直流電圧が供給されて行うメインコントローラ20と、このメインコントローラ20やEEPROM36,58等へ42Vの直流電圧を3.3Vの直流電圧へ変換して供給するDC/DCコンバータ37とを備えている。   The printer main body 18 supplies a DC voltage of 42 V to the print mechanism 50 that is driven by being supplied with a DC voltage of 42 V via the power supply line 16 and the built-in CD / DVD drive device 32 that is driven by being supplied with a DC voltage of 5 V. A DC / DC converter 33 that converts and supplies a DC voltage of 5V, an electric wiring 34 that branches from the branch point A of the power supply line 16 and transmits the DC voltage to the DC / DC converter 33 and the printing mechanism 50, A switch 35 capable of connecting / disconnecting the wiring 34, a main controller 20 for performing data writing to the EEPROMs 36, 58, which are nonvolatile memories, and turning on / off of the switch 35 with a 3.3 V DC voltage supplied thereto, 42V DC voltage is converted to 3.3V DC voltage and supplied to main controller 20, EEPROM 36, 58, etc. And a C / DC converter 37.

プリント機構50は、プリンタ本体18の内部に配置され、左右方向にループ状に架け渡されたタイミングベルト51により駆動されガイド52に沿って左右に往復動するキャリッジ53と、このキャリッジ53に搭載されシアン・マゼンタ・イエロー・ブラック等の各色のインクを個別に収容したインクカートリッジ54と、各インクカートリッジ54から供給された各インクに圧力をかけてノズルから用紙Pに向かってインクを吐出する印刷ヘッド55と、給紙された用紙Pを手前側の排紙トレイ(図示せず)へ送り出す搬送ローラ56とを備えている。印刷ヘッド55は、ここでは圧電素子に電圧をかけることによりこの圧電素子を変形させてインクを加圧する方式を採用しているが、発熱抵抗体(例えばヒータなど)に電圧をかけインクを加熱して発生した気泡によりインクを加圧する方式を採用してもよい。このプリント機構50のうち、搬送ローラ56を回転させるモータやタイミングベルト51を回転させるモータ、印刷ヘッド55を駆動する駆動回路などには、電気配線34からの42Vの直流電圧が供給される。   The print mechanism 50 is disposed inside the printer main body 18, is driven by a timing belt 51 that is looped in the left-right direction, and is reciprocated left and right along a guide 52. The print mechanism 50 is mounted on the carriage 53. An ink cartridge 54 that individually stores ink of each color such as cyan, magenta, yellow, and black, and a print head that discharges ink from the nozzle toward the paper P by applying pressure to each ink supplied from each ink cartridge 54 55 and a transport roller 56 for feeding the fed paper P to a front discharge tray (not shown). Here, the print head 55 employs a method in which a voltage is applied to the piezoelectric element to deform the piezoelectric element and pressurize the ink. However, a voltage is applied to a heating resistor (for example, a heater) to heat the ink. A method of pressurizing the ink with the generated bubbles may be employed. In the print mechanism 50, a 42 V DC voltage from the electrical wiring 34 is supplied to a motor that rotates the conveyance roller 56, a motor that rotates the timing belt 51, a drive circuit that drives the print head 55, and the like.

DC/DCコンバータ33は、電気配線34から42Vの直流電圧を入力し5Vの直流電圧に降圧して内蔵CD/DVDドライブ装置32へ出力する。内蔵CD/DVDドライブ装置32は、この内蔵CD/DVDドライブ装置に挿入された例えばCD−RやDVD−R等の書き込み可能な媒体へデータを書き込むことが可能なものである。この内蔵CD/DVDドライブ装置32は、例えばプリンタ10に搭載された図示しないメモリカードリーダライタに挿入したメモリカードに保存されているファイルを、内蔵CD/DVDドライブ装置32に挿入されたCD−RやDVD−R等の記録媒体にバックアップするときなどに利用される。   The DC / DC converter 33 inputs a direct current voltage of 42 V from the electrical wiring 34, steps down to a direct current voltage of 5 V, and outputs it to the built-in CD / DVD drive device 32. The built-in CD / DVD drive device 32 can write data to a writable medium such as a CD-R or a DVD-R inserted in the built-in CD / DVD drive device. The built-in CD / DVD drive device 32, for example, stores a file stored in a memory card inserted in a memory card reader / writer (not shown) mounted on the printer 10 into a CD-R inserted in the built-in CD / DVD drive device 32. Or when backing up to a recording medium such as DVD-R.

スイッチ35は、電気配線34の配線上に設けられ、そのオン・オフがメインコントローラ20によって制御されている。このスイッチ35は、例えばFETを使用したものであり、そのゲート電極にメインコントローラからの制御信号の電圧が印加されるとスイッチがオフとなって電流が流れず、DC/DCコンバータ33やプリント機構50への直流電圧の供給が停止される。なお、スイッチ35は、機械的なリレーを用いる時よりも早くオフにすることができ、その時間はおおよそ40μsから50μs程度である。   The switch 35 is provided on the wiring of the electrical wiring 34, and its on / off is controlled by the main controller 20. The switch 35 uses, for example, an FET. When the voltage of the control signal from the main controller is applied to the gate electrode, the switch is turned off and no current flows, and the DC / DC converter 33 or the printing mechanism is used. The supply of DC voltage to 50 is stopped. The switch 35 can be turned off earlier than when a mechanical relay is used, and the time is approximately 40 μs to 50 μs.

DC/DCコンバータ37は、電源供給線16の分岐点Aで分岐した電気配線から42Vの直流電圧を入力し3.3Vの直流電圧に降圧してメインコントローラ20やEEPROM36,58へ出力するものである。EEPROM36は、プリンタ本体18の内部に搭載された不揮発性メモリであり、また、EEPROM58は、プリンタ機構50のインクカートリッジ54のICチップ57に搭載された不揮発性メモリであり、それぞれバックアップすべきデータが書き込まれる。   The DC / DC converter 37 receives a 42V DC voltage from the electrical wiring branched at the branch point A of the power supply line 16, steps down to a 3.3V DC voltage, and outputs it to the main controller 20 and the EEPROMs 36 and 58. is there. The EEPROM 36 is a non-volatile memory mounted inside the printer main body 18, and the EEPROM 58 is a non-volatile memory mounted on the IC chip 57 of the ink cartridge 54 of the printer mechanism 50. Written.

メインコントローラ20は、CPU22を中心とするマイクロプロセッサとして構成されており、各種処理プログラムや各種データなどを記憶したROM24と、一時的にデータを記憶するRAM26と、電源供給線16の電圧低下時に停電発生信号を出力する電源異常検出センサ28とを備えている。この電源異常検出センサ28は、電源供給線16の直流電圧を図示しないA/D変換回路を介して入力し所定の下限電圧Vrefと比較する。そして、電源供給線16の直流電圧が下限電圧Vrefを下回ったのをトリガとして割込信号(NMI(Non Maskable Interrupt))である停電発生信号を出力する。メインコントローラ20は、プリンタ本体18に搭載されたEEPROM36にバックアップすべきデータを書き込んだり、インクカートリッジ54のICチップ57に搭載されたEEPROM58にそのデータの一部であるインク残量を書き込んだり、スイッチ35を制御して電気配線34を接続・切断したりする。なお、このメインコントローラ20は、CPU22等を1つのチップに混載することによりSOC(システム・オン・ア・チップ)としてもよい。また、下限電圧Vrefは、電源ユニット12が正常なときには取り得ない値に設定してもよく、例えば37Vや38Vとしてもよい。   The main controller 20 is configured as a microprocessor centered on the CPU 22. A ROM 24 that stores various processing programs and various data, a RAM 26 that temporarily stores data, and a power failure when the voltage of the power supply line 16 decreases. And a power supply abnormality detection sensor 28 that outputs a generation signal. The power supply abnormality detection sensor 28 inputs a DC voltage of the power supply line 16 through an A / D conversion circuit (not shown) and compares it with a predetermined lower limit voltage Vref. Then, a power failure occurrence signal, which is an interrupt signal (NMI (Non Maskable Interrupt)), is output when the DC voltage of the power supply line 16 falls below the lower limit voltage Vref as a trigger. The main controller 20 writes data to be backed up in the EEPROM 36 mounted on the printer main body 18, writes the remaining ink amount as a part of the data in the EEPROM 58 mounted on the IC chip 57 of the ink cartridge 54, and the switch 35 is controlled to connect / disconnect the electric wiring 34. The main controller 20 may be an SOC (system on a chip) by mounting the CPU 22 and the like on one chip. The lower limit voltage Vref may be set to a value that cannot be obtained when the power supply unit 12 is normal, and may be set to 37V or 38V, for example.

次に、こうして構成された本実施形態のプリンタ10の動作について説明する。   Next, the operation of the printer 10 of this embodiment configured as described above will be described.

図2は、プリンタ10のCPU22により実行される電源管理処理ルーチンの一例を示すフローチャートである。このルーチンは、プリンタ10のROM24に記憶されている。また、このルーチンは、プリンタ10の電源が投入された時に実行される。このルーチンが実行されると、プリンタ10のCPU22は、まず、電源異常検出センサ28から停電発生信号が出力されたか否かを判定する(ステップS100)。停電発生信号が出力されていないときは、商用交流電源13から電力が正常に供給されているため、再びステップS100の処理を実行する。   FIG. 2 is a flowchart illustrating an example of a power management process routine executed by the CPU 22 of the printer 10. This routine is stored in the ROM 24 of the printer 10. This routine is executed when the printer 10 is powered on. When this routine is executed, the CPU 22 of the printer 10 first determines whether or not a power failure occurrence signal is output from the power supply abnormality detection sensor 28 (step S100). When the power failure occurrence signal is not output, since the power is normally supplied from the commercial AC power supply 13, the process of step S100 is executed again.

一方、ステップS100で停電発生信号が出力されたと判定されたときは、電気配線34が切断されるようスイッチ35を制御し(ステップS110)、バックアップすべきデータをRAM26から読み出してEEPROM36,58に書き込む(ステップS120)。RAM26からEEPROM36,58へのデータ転送は、例えば、バースト転送などのデータ転送に時間のかからない方法によって行うものとする。その後、本ルーチンを終了する。実際は、割込信号NMIとは、トリガがかかると必ず発生する割込信号なので、停電を検出した直後にCPU22は、ステップS100で肯定判定しステップS110の処理を実行する。ここで、電気配線34が切断されるようスイッチ35を制御するのは、電気配線34が接続されたままだと、コンデンサ17に蓄えられた電気エネルギがDC/DCコンバータ33を介して内蔵CD/DVDドライブ装置32によって消費されてしまうからである。このように電気配線34を切断することで、コンデンサ17に蓄えられた電気エネルギは、DC/DCコンバータ37を介してメインコントローラ20及びEEPROM36,58によってのみ消費されることとなり、バックアップすべきデータをEEPROM36,58に書き込むのに必要な電気エネルギーが不足するという事態を回避することができる。ここで、バックアップすべきデータとは、RAM26に一時的に記憶されているためにメインコントローラ20への電力供給が停止すると失われてしまうデータをいう。また、EEPROM36に書き込まれるデータとしては、例えば、プリント機構50の各部における発熱状況、プリンタ10の通電時間、プリント機構50のメカの固有情報、印刷ヘッド55の固有情報、エラーコードなどが挙げられ、EEPROM58に書き込まれるデータとしては、インクカートリッジ54のインク残量などが挙げられる。なお、CPU22は、図2に示す電源管理処理ルーチンを実行しステップS100の処理を繰り返し実行しているときであっても、印刷を実行する処理など他の処理を実行することが可能である。   On the other hand, when it is determined in step S100 that a power failure occurrence signal has been output, the switch 35 is controlled so that the electrical wiring 34 is disconnected (step S110), and the data to be backed up is read from the RAM 26 and written to the EEPROMs 36 and 58. (Step S120). Data transfer from the RAM 26 to the EEPROMs 36 and 58 is performed by a method that does not require time for data transfer such as burst transfer, for example. Thereafter, this routine is terminated. Actually, the interrupt signal NMI is an interrupt signal that is always generated when a trigger is applied. Therefore, immediately after detecting a power failure, the CPU 22 makes an affirmative determination in step S100 and executes the process of step S110. Here, the switch 35 is controlled so that the electrical wiring 34 is disconnected. The electrical energy stored in the capacitor 17 is stored in the built-in CD / DVD via the DC / DC converter 33 when the electrical wiring 34 remains connected. This is because it is consumed by the drive device 32. By cutting the electrical wiring 34 in this way, the electrical energy stored in the capacitor 17 is consumed only by the main controller 20 and the EEPROMs 36 and 58 via the DC / DC converter 37, and data to be backed up is stored. It is possible to avoid a situation where the electric energy necessary for writing to the EEPROMs 36 and 58 is insufficient. Here, the data to be backed up is data that is temporarily stored in the RAM 26 and is lost when the power supply to the main controller 20 is stopped. The data written in the EEPROM 36 includes, for example, the heat generation status of each part of the print mechanism 50, the energization time of the printer 10, the unique information of the mechanism of the print mechanism 50, the unique information of the print head 55, the error code, and the like. Examples of data written to the EEPROM 58 include the remaining ink amount of the ink cartridge 54. Note that the CPU 22 can execute other processes such as a process of executing printing even when the power management process routine shown in FIG. 2 is executed and the process of step S100 is repeatedly executed.

図2の電源管理処理ルーチの実行中に、商用交流電源13からの電力供給が停止した場合について図3を用いて説明する。図3は、電源供給線16の直流電圧の時間変化の一例を表すグラフである。商用交流電源13からの電力供給が停止つまり停電が発生すると、コンデンサ17に蓄えられた電気エネルギがプリンタ本体18で消費されることにより、電源供給線16の直流電圧がコンデンサ17の放電に伴って減少する。そして、所定の下限電圧Vrefを下回ったときに停電の発生が電源異常検出センサ28によって検出される。すると、割込み信号である停電発生信号が電源異常検出センサ28から出力され、CPU22は、電気配線34が切断されるようスイッチ35を制御する。こうすると、プリント機構50や内蔵CD/DVDドライブ装置32などで電力を消費されなくなるため、電源供給線16の直流電圧の減少の時定数が変わり(図3の点B参照)、電源供給線16の直流電圧がより緩やかに減少するようになる。そのため、メインコントローラ20等の動作可能な時間が延びる。そして、CPU22は、この間に保存すべきデータをバックアップする。   A case where the power supply from the commercial AC power supply 13 is stopped during the execution of the power management process routine of FIG. 2 will be described with reference to FIG. FIG. 3 is a graph showing an example of the time change of the DC voltage of the power supply line 16. When the power supply from the commercial AC power supply 13 is stopped, that is, when a power failure occurs, the electric energy stored in the capacitor 17 is consumed by the printer main body 18, so that the DC voltage of the power supply line 16 is accompanied by the discharge of the capacitor 17. Decrease. Then, the occurrence of a power failure is detected by the power supply abnormality detection sensor 28 when it falls below a predetermined lower limit voltage Vref. Then, a power failure occurrence signal that is an interrupt signal is output from the power supply abnormality detection sensor 28, and the CPU 22 controls the switch 35 so that the electrical wiring 34 is disconnected. As a result, power is not consumed by the print mechanism 50, the built-in CD / DVD drive device 32, etc., and the time constant of the decrease of the DC voltage of the power supply line 16 changes (see point B in FIG. 3). The DC voltage of the current decreases more slowly. Therefore, the time during which the main controller 20 and the like can operate is extended. And CPU22 backs up the data which should be preserve | saved in the meantime.

ここで、本実施形態の構成要素と本発明の構成要素との対応関係を明らかにする。本実施形態のEEPROM36,58が本発明の不揮発性メモリに相当し、DC/DCコンバータ37が第1直流電圧生成手段に相当し、メインコントローラ20が制御手段に相当し、コンデンサ17がコンデンサに相当し、電気配線34が接続手段に相当し、スイッチ35がスイッチング手段に相当する。また、DC/DCコンバータ15が所定直流電圧生成手段に相当し、プリント機構50が印刷手段に相当する。更に、商用交流電源13が電源に相当し、42Vの直流電圧が所定電圧に相当し、3.3Vの直流電圧が第1の直流電圧に相当し、20Vの直流電圧が第2の直流電圧に相当する。なお、本実施形態では、プリンタ10の動作を説明することにより本発明の電子機器の制御方法の一例も明らかにしている。   Here, the correspondence between the components of the present embodiment and the components of the present invention will be clarified. The EEPROMs 36 and 58 of the present embodiment correspond to the nonvolatile memory of the present invention, the DC / DC converter 37 corresponds to the first DC voltage generation means, the main controller 20 corresponds to the control means, and the capacitor 17 corresponds to the capacitor. The electrical wiring 34 corresponds to connection means, and the switch 35 corresponds to switching means. Further, the DC / DC converter 15 corresponds to a predetermined DC voltage generating unit, and the printing mechanism 50 corresponds to a printing unit. Further, the commercial AC power supply 13 corresponds to the power supply, the DC voltage of 42V corresponds to the predetermined voltage, the DC voltage of 3.3V corresponds to the first DC voltage, and the DC voltage of 20V becomes the second DC voltage. Equivalent to. In the present embodiment, an example of the electronic device control method of the present invention is also clarified by describing the operation of the printer 10.

以上詳述した本実施形態のプリンタ10によれば、商用交流電源13からの電力の供給が停止して電源異常検出センサ28から停電発生信号が出力されたときには、メインコントローラ20は、コンデンサ17に蓄えられた電気エネルギをDC/DCコンバータ37を介して使用して、電気配線34が切断されるようスイッチ35を制御すると共にバックアップすべきデータをEEPROM36,58に保存する。このように、電気配線34が切断された後は電気配線34を介して接続された内蔵CD/DVDドライブ装置32やプリント機構50が電力を消費することはない。このため、コンデンサ17は、バックアップすべきデータをEEPROM36,58に保存することが可能な電気エネルギを蓄積していれば足りる。したがって、プリンタ10の大型化やコストの上昇を抑えつつ、プリンタ10に接続される内蔵CD/DVDドライブ装置32やプリント機構50が消費する電力にかかわらず、商用交流電源13の異常が発生したときにはバックアップすべきデータをEEPROM36,58に保存することができる。   According to the printer 10 of the present embodiment described in detail above, when the supply of power from the commercial AC power supply 13 is stopped and a power failure occurrence signal is output from the power supply abnormality detection sensor 28, the main controller 20 is connected to the capacitor 17. The stored electrical energy is used through the DC / DC converter 37 to control the switch 35 so that the electrical wiring 34 is disconnected and to store data to be backed up in the EEPROMs 36 and 58. Thus, after the electrical wiring 34 is cut, the built-in CD / DVD drive device 32 and the print mechanism 50 connected via the electrical wiring 34 do not consume power. For this reason, the capacitor 17 only needs to store electrical energy that can store data to be backed up in the EEPROMs 36 and 58. Therefore, when an abnormality occurs in the commercial AC power supply 13 regardless of the power consumed by the built-in CD / DVD drive device 32 and the print mechanism 50 connected to the printer 10 while suppressing the increase in size and cost of the printer 10. Data to be backed up can be stored in the EEPROMs 36 and 58.

また、メインコントローラ20は、電源供給線16の直流電圧が所定の下限値を下回ったとき商用交流電源13からの電力供給が停止したと判定するため、商用交流電源13に異常が発生したことを確実に検出することができる。更に、スイッチ35は、FETを用いたスイッチであるため、機械的なリレーを用いる場合に比べて商用交流電源13の異常発生時に早く電気配線34を切断することができる。   Further, since the main controller 20 determines that the power supply from the commercial AC power supply 13 has stopped when the DC voltage of the power supply line 16 falls below a predetermined lower limit value, it indicates that an abnormality has occurred in the commercial AC power supply 13. It can be detected reliably. Furthermore, since the switch 35 is a switch using an FET, the electrical wiring 34 can be disconnected earlier when an abnormality occurs in the commercial AC power supply 13 than when a mechanical relay is used.

なお、本発明は上述した実施形態に何ら限定されることはなく、本発明の技術的範囲に属する限り種々の態様で実施し得ることはいうまでもない。   It should be noted that the present invention is not limited to the above-described embodiment, and it goes without saying that the present invention can be implemented in various modes as long as it belongs to the technical scope of the present invention.

例えば、上述した実施形態では、メインコントローラ20は、電源供給線16の直流電圧が所定の下限値を下回ったとき電力供給が停止したと判定するものとしたが、それに代えて又は加えてDC/DCコンバータ15の入力側の直流電圧が所定の閾値を下回ったとき電力供給が停止したと判定するものとしてもよい。商用交流電源13の電力供給が停止してDC/DCコンバータ15の入力側の電圧が低下する場合、電源供給線16の電圧も低下するが、DC/DCコンバータ15の出力側には電力供給停止まで直流電圧が印加され電荷を蓄えていたコンデンサ17が接続されているため、電源供給線16の直流電圧の低下の速度はDC/DCコンバータ15の入力側の直流電圧の低下の速度よりも遅い。したがって、電源供給線16の電圧に基づいて商用交流電源13の電力供給停止を検出する場合に比べて、商用交流電源13の電力供給が停止したことを早く確実に検出することができる。なお、所定の閾値は、例えば商用交流電源13からの電力供給が継続しているときには取り得ない値(例えば17Vや18Vなど)に設定してもよい。ここで、所定の閾値は本発明の第2下限値に相当する。   For example, in the above-described embodiment, the main controller 20 determines that the power supply is stopped when the DC voltage of the power supply line 16 falls below a predetermined lower limit value, but instead of or in addition to the DC / It may be determined that the power supply is stopped when the DC voltage on the input side of the DC converter 15 falls below a predetermined threshold. When the power supply of the commercial AC power supply 13 stops and the voltage on the input side of the DC / DC converter 15 decreases, the voltage of the power supply line 16 also decreases, but the power supply is stopped on the output side of the DC / DC converter 15. Since the capacitor 17 that has been charged with the DC voltage and stores the charge is connected, the rate of decrease of the DC voltage of the power supply line 16 is slower than the rate of decrease of the DC voltage on the input side of the DC / DC converter 15. . Therefore, compared with the case where the power supply stop of the commercial AC power supply 13 is detected based on the voltage of the power supply line 16, it can be detected quickly and reliably that the power supply of the commercial AC power supply 13 is stopped. The predetermined threshold value may be set to a value (for example, 17V, 18V, etc.) that cannot be taken when the power supply from the commercial AC power supply 13 is continued. Here, the predetermined threshold corresponds to the second lower limit value of the present invention.

上述した実施形態では、スイッチ35の下流に内蔵CD/DVDドライブ装置32やプリンタ機構50が接続されているものとしたが、それらに加えて又はそれらの代わりにそれら以外の機器が接続されているものとしてもよい。例えば、電気配線34のうちスイッチ35とDC/DCコンバータ33との間から分岐された電気配線から適切なDC/DCコンバータにより降圧された直流電圧を用いて接続されるUSB機器が電力を消費するものとしてもよい。こうした場合でも、メインコントローラ20により電気配線34の電気的な接続が切断されたときには、このUSB機器が電力を消費しないため、このUSB機器が消費する電力にかかわらず、メインコントローラ20はバックアップすべきデータをEEPROM36,58に書き込むことができる。この場合USB機器を接続するUSBポートやUSBコントローラ等を備えることとなる。   In the above-described embodiment, the built-in CD / DVD drive device 32 and the printer mechanism 50 are connected downstream of the switch 35, but other devices are connected in addition to or instead of them. It may be a thing. For example, a USB device connected using a DC voltage stepped down by an appropriate DC / DC converter from an electrical wiring branched from between the switch 35 and the DC / DC converter 33 in the electrical wiring 34 consumes power. It may be a thing. Even in such a case, when the electrical connection of the electrical wiring 34 is disconnected by the main controller 20, the USB device does not consume power, so the main controller 20 should back up regardless of the power consumed by the USB device. Data can be written to the EEPROM 36,58. In this case, a USB port for connecting a USB device, a USB controller, and the like are provided.

上述した実施形態では、商用交流電源13から電力が供給されるものとしたが、電力を供給するものは商用交流電源13に限られない。例えば、20Vの直流電圧を出力可能な1又は複数のバッテリであってもよい。この場合、AC/DCコンバータ14は必要がない。   In the above-described embodiment, power is supplied from the commercial AC power supply 13, but the power supply is not limited to the commercial AC power supply 13. For example, it may be one or a plurality of batteries capable of outputting a DC voltage of 20V. In this case, the AC / DC converter 14 is not necessary.

上述した実施形態では、FETを用いたスイッチを用いるものとしたが、電気配線34を接続・切断可能なものであれば、如何なるものを用いてもよい。例えば、FET以外のトランジスタを用いてもよい。   In the above-described embodiment, the switch using the FET is used. However, any switch may be used as long as the electrical wiring 34 can be connected / disconnected. For example, a transistor other than the FET may be used.

上述した実施形態では、インクジェット方式を採用し着色剤としてインクを利用するフルカラーのプリンタ10としたが、電子写真方式を採用し着色剤としてトナーを利用しトナーカートリッジに備えた記憶素子にデータを書き込むカラーレーザプリンタや、熱転写方式を採用し着色剤としてインクリボンを利用し同様に記憶素子を備えたカラープリンタとしてもよい。また、FAX機やコピー機などの印刷装置としてもよい。   In the above-described embodiment, the full-color printer 10 using the ink jet method and using the ink as the colorant is used. However, the electrophotographic method is used and the toner is used as the colorant and data is written to the storage element provided in the toner cartridge. A color laser printer or a color printer that employs a thermal transfer system and uses an ink ribbon as a colorant and similarly includes a storage element may be used. Also, a printing apparatus such as a FAX machine or a copier may be used.

プリンタ10の概略構成図。1 is a schematic configuration diagram of a printer 10. FIG. 電源管理処理ルーチンの一例を示すフローチャート。The flowchart which shows an example of a power management process routine. 電源供給線16の直流電圧の時間変化の一例を表すグラフ。6 is a graph showing an example of a time change of a DC voltage of the power supply line 16.

符号の説明Explanation of symbols

10 マルチファンクションプリンタ、12 電源ユニット、13 商用交流電源、14 AC/DCコンバータ、15 DC/DCコンバータ、16 電源供給線、17 コンデンサ、18 プリンタ本体、20 メインコントローラ、22 CPU、24 ROM、26 RAM、28 電源異常検出センサ、32 内蔵CD/DVDドライブ装置、33 DC/DCコンバータ、34 電気配線、35 スイッチ、36 EEPROM、37 DC/DCコンバータ、50 プリント機構、51 タイミングベルト、52 ガイド、53 キャリッジ、54 インクカートリッジ、55 印刷ヘッド、56 搬送ローラ、57 ICチップ、58 EEPROM、P 用紙。   10 Multifunction Printer, 12 Power Supply Unit, 13 Commercial AC Power Supply, 14 AC / DC Converter, 15 DC / DC Converter, 16 Power Supply Line, 17 Capacitor, 18 Printer Main Body, 20 Main Controller, 22 CPU, 24 ROM, 26 RAM 28, power supply abnormality detection sensor, 32 built-in CD / DVD drive device, 33 DC / DC converter, 34 electrical wiring, 35 switch, 36 EEPROM, 37 DC / DC converter, 50 printing mechanism, 51 timing belt, 52 guide, 53 carriage , 54 ink cartridge, 55 print head, 56 transport roller, 57 IC chip, 58 EEPROM, P paper.

Claims (7)

データを保存可能な不揮発性メモリと、
電源から直接又は間接的に所定の直流電圧を入力して第1の直流電圧に変換して出力する第1直流電圧生成手段と、
該第1直流電圧生成手段から出力された前記第1の直流電圧により駆動される制御手段と、
前記電源と前記第1直流電圧生成手段との間に接続され、前記所定の直流電圧が印加されることにより蓄電されるコンデンサと、
前記電源と前記第1直流電圧生成手段との間に前記コンデンサに対して並列に接続され、電力消費装置へ電力を供給可能な接続手段と、
前記電源と前記第1直流電圧生成手段との間から前記接続手段までの電気配線を接続・切断可能なスイッチング手段と、
を備え、
前記電源に異常が発生したときには、前記制御手段は、前記コンデンサに蓄えられた電気エネルギを前記第1直流電圧生成手段を介して使用して、前記電気配線が切断されるよう前記スイッチング手段を制御すると共にバックアップすべきデータを前記不揮発性メモリに記憶する、
電子機器。
Non-volatile memory that can store data,
First DC voltage generating means for inputting a predetermined DC voltage directly or indirectly from a power supply, converting it to a first DC voltage, and outputting the first DC voltage;
Control means driven by the first DC voltage output from the first DC voltage generating means;
A capacitor connected between the power source and the first DC voltage generating means and charged by applying the predetermined DC voltage;
Connecting means connected in parallel to the capacitor between the power source and the first DC voltage generating means, and capable of supplying power to a power consuming device;
Switching means capable of connecting / disconnecting electrical wiring between the power source and the first DC voltage generating means to the connecting means;
With
When an abnormality occurs in the power source, the control means uses the electric energy stored in the capacitor via the first DC voltage generating means to control the switching means so that the electric wiring is disconnected. And storing data to be backed up in the nonvolatile memory,
Electronics.
前記制御手段は、前記所定の直流電圧が所定の第1下限値を下回ったとき前記電源に異常が発生したとする、
請求項1に記載の電子機器。
When the predetermined DC voltage falls below a predetermined first lower limit value, the control means has an abnormality in the power supply.
The electronic device according to claim 1.
請求項1に記載の電子機器であって、
前記電源と前記第1直流電圧生成手段との間に設けられ、前記電源から前記所定の直流電圧より低い第2の直流電圧を入力し前記所定の直流電圧に昇圧して前記第1直流電圧生成手段へ出力する所定電圧生成手段を備え、
前記制御手段は、前記第2の直流電圧が所定の第2下限値を下回ったとき前記電源に異常が発生したとする、
電子機器。
The electronic device according to claim 1,
Provided between the power supply and the first DC voltage generation means, and inputs a second DC voltage lower than the predetermined DC voltage from the power supply and boosts the DC voltage to the predetermined DC voltage to generate the first DC voltage A predetermined voltage generating means for outputting to the means,
The control means has an abnormality in the power supply when the second DC voltage falls below a predetermined second lower limit value.
Electronics.
前記スイッチング手段はトランジスタを用いたスイッチである、
請求項1〜3のいずれかに記載の電子機器。
The switching means is a switch using a transistor,
The electronic device in any one of Claims 1-3.
請求項1〜4に記載の電子機器であって、
印刷を行う印刷手段を備え、
前記印刷手段は、該印刷手段の電力ラインが前記スイッチング手段と前記電力消費装置との間に前記電力消費装置に対して並列に接続されている手段である、
電子機器。
The electronic device according to claim 1,
Printing means for performing printing,
The printing unit is a unit in which a power line of the printing unit is connected in parallel to the power consuming device between the switching unit and the power consuming device.
Electronics.
電源から直接又は間接的に印加される所定の直流電圧により蓄電されるコンデンサを備えた電子機器のコンピュータソフトウェアによる制御方法であって、
(a)電源に異常が発生したか否かを判定するステップと、
(b)前記ステップ(a)で、前記電源の異常が発生したと判定したときには、前記コンデンサに蓄えられている電気エネルギを前記所定の直流電圧より低い第1の直流電圧に変換された状態で使用しつつ、前記電子機器に接続された電力消費装置へ電力を供給する電気的な接続を切断すると共にバックアップすべきデータを不揮発的に記憶するステップと、
を含む制御方法。
A control method by computer software of an electronic device including a capacitor that is charged by a predetermined DC voltage applied directly or indirectly from a power source,
(A) determining whether an abnormality has occurred in the power source;
(B) When it is determined in step (a) that an abnormality has occurred in the power source, the electrical energy stored in the capacitor is converted into a first DC voltage lower than the predetermined DC voltage. Disconnecting the electrical connection for supplying power to the power consuming device connected to the electronic device while using it and storing the data to be backed up in a nonvolatile manner;
Control method.
請求項6に記載の制御方法の各ステップを1又は複数のコンピュータに実現させるためのプログラム。   A program for causing each step of the control method according to claim 6 to be realized by one or more computers.
JP2006326907A 2006-12-04 2006-12-04 Electronic device, control method therefor and program therefor Pending JP2008140234A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006326907A JP2008140234A (en) 2006-12-04 2006-12-04 Electronic device, control method therefor and program therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006326907A JP2008140234A (en) 2006-12-04 2006-12-04 Electronic device, control method therefor and program therefor

Publications (1)

Publication Number Publication Date
JP2008140234A true JP2008140234A (en) 2008-06-19

Family

ID=39601600

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006326907A Pending JP2008140234A (en) 2006-12-04 2006-12-04 Electronic device, control method therefor and program therefor

Country Status (1)

Country Link
JP (1) JP2008140234A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017126130A1 (en) * 2016-01-22 2017-07-27 株式会社日立製作所 Computer device and computer-readable storage medium
CN109367249A (en) * 2018-09-18 2019-02-22 深圳市思乐数据技术有限公司 Lottery ticket printing terminal

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017126130A1 (en) * 2016-01-22 2017-07-27 株式会社日立製作所 Computer device and computer-readable storage medium
US10514740B2 (en) 2016-01-22 2019-12-24 Hitachi, Ltd. Computer device and computer-readable storage medium
CN109367249A (en) * 2018-09-18 2019-02-22 深圳市思乐数据技术有限公司 Lottery ticket printing terminal

Similar Documents

Publication Publication Date Title
WO2006025575A1 (en) Printer
US9186889B2 (en) Image forming apparatus
US20150195417A1 (en) Information processing apparatus and control method
JP3652274B2 (en) Ink jet recording apparatus and recording apparatus control method
US7557463B2 (en) Image forming apparatus having power supply apparatus
US7052105B2 (en) Battery residual capacity detection method and printing apparatus using the method
US6412900B2 (en) Recording apparatus having a charging function, and charging method
JP2008140234A (en) Electronic device, control method therefor and program therefor
JP4612867B2 (en) Power supply circuit, motor driver circuit, electronic device, and recording apparatus
CN112824105B (en) Data processing method of consumable chip, consumable and imaging equipment
JP2008046857A (en) Information processor, information processing method, and its program
JP4835323B2 (en) Information processing apparatus, printing apparatus, information processing method, and program
JP2009213042A (en) Image processing apparatus, method of controlling the same, and its program
US8664799B2 (en) Apparatus including power supply circuit
JP2004358963A (en) Power management controlling method and recording apparatus
JP2005250739A (en) Electronic device
JP2008140233A (en) Electronic equipment
JP6070129B2 (en) Printer and printer control method
JP2006018466A (en) Electronic apparatus and power supply control method therefor
JP4759869B2 (en) Printing apparatus, voltage management apparatus, and voltage management method
JP4018514B2 (en) Recording apparatus, power supply control method, storage medium storing computer-readable program, and program
JP2006352978A (en) Motor driver circuit, control method of circuit, electronic apparatus, and motor lock detection method of electronic apparatus
JP2005074945A (en) Recording device and method
JP2006184715A (en) Image forming apparatus
US20190047303A1 (en) Printer apparatus and printing method