JP2013196239A - Power supply device and electronic equipment - Google Patents

Power supply device and electronic equipment Download PDF

Info

Publication number
JP2013196239A
JP2013196239A JP2012061402A JP2012061402A JP2013196239A JP 2013196239 A JP2013196239 A JP 2013196239A JP 2012061402 A JP2012061402 A JP 2012061402A JP 2012061402 A JP2012061402 A JP 2012061402A JP 2013196239 A JP2013196239 A JP 2013196239A
Authority
JP
Japan
Prior art keywords
power supply
state
supply
external
power
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
JP2012061402A
Other languages
Japanese (ja)
Inventor
Tomoki Suruga
智紀 駿河
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.)
Murata Machinery Ltd
Original Assignee
Murata Machinery Ltd
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 Murata Machinery Ltd filed Critical Murata Machinery Ltd
Priority to JP2012061402A priority Critical patent/JP2013196239A/en
Publication of JP2013196239A publication Critical patent/JP2013196239A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Power Sources (AREA)
  • Facsimiles In General (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a power supply device for, when the supply of an external AC power source is temporarily stopped and then resumed, automatically restoring a state before the stop of the supply of the power source.SOLUTION: A power supply device 1 includes: a control part 60 for, when an internal power source is supplied, setting the state of a flip flop 50 to "1", and for, when the supply of an external AC power source is interrupted during the supply of the internal power source, storing abnormal end information in a storage part 40; and an OR gate 70 and a first switching element 81 for, when the state of the flip flop 50 is set to "0", and when an ON signal is output from the control part 60, or when a momentary switch 30 is turned on, supplying the internal power source to the control part 60. When the supply of the external AC power source is started, and the internal power source is supplied by the first switching element 81, the control part 60 outputs the ON signal to the OR gate 70 when the abnormal end information is stored, and does not output the ON signal to the OR gate 70 when the abnormal end information is not stored.

Description

本発明は、電源スイッチに自動復帰型のモーメンタリスイッチを用いた電源装置、及び、該電源装置を備えた電子機器に関する。   The present invention relates to a power supply device using an automatic return type momentary switch as a power switch, and an electronic device including the power supply device.

従来から、自動復帰型のモーメンタリスイッチを電源スイッチとして用いたファクシミリ装置等の電子機器が知られている。ここで、モーメンタリスイッチは、押下されているときだけオン状態となるスイッチであり、スイッチ自体の物理的状態によって回路の導通状態又は非導通状態が保持されるものではない。そのため、例えば、電子機器の稼働中に、停電又は電源コンセントからプラグが引き抜かれたような場合には、その後、停電が復旧又は電源コンセントにプラグが差し込まれ、電子機器に交流電源が再び供給されたとしても、モーメンタリスイッチが押下されるまで電子機器は動作停止状態となり、自動的に稼働状態に復帰することができない。よって、例えば、この電子機器がファクシミリ機能を有している場合には、ユーザが再びモーメンタリスイッチを押下しない限り、FAX受信ができなくなるという問題があった。   2. Description of the Related Art Conventionally, an electronic apparatus such as a facsimile machine using an automatic return type momentary switch as a power switch is known. Here, the momentary switch is a switch that is turned on only when it is pressed, and does not hold the conductive state or non-conductive state of the circuit depending on the physical state of the switch itself. Therefore, for example, when a plug is pulled out of a power failure or power outlet while the electronic device is in operation, the power failure is restored or the plug is inserted into the power outlet, and AC power is supplied to the electronic device again. Even so, the electronic device is stopped until the momentary switch is pressed, and cannot automatically return to the operating state. Therefore, for example, when the electronic apparatus has a facsimile function, there is a problem that FAX reception cannot be performed unless the user presses the momentary switch again.

このような問題を解決するために、特許文献1には、主電源スイッチの押下に従った状態、すなわち「電源の供給中」であるか、又は「電源供給停止中」の状態であるかを記憶しておくEEPROMを有し、プリンタ外部からの商用交流電源が通電状態となったときに、EEPROMに記憶されている状態に応じて、プリントエンジン及びエンジン制御回路への電源供給及び供給停止の切り替えを行なう電源制御装置を備えたプリンタが開示されている。   In order to solve such a problem, Patent Document 1 describes whether the main power switch is being pressed, that is, whether the power supply is being supplied or the power supply is being stopped. When the commercial AC power supply from the outside of the printer is energized, the power supply to the print engine and the engine control circuit is stopped and the supply is stopped according to the state stored in the EEPROM. A printer including a power supply control device that performs switching is disclosed.

特開平11−301064号公報Japanese Patent Laid-Open No. 11-301064

ところで、近年、電子機器に対する低消費電力化の要請から、一定時間以上継続して使用されないときに、例えば、上述したプリントエンジン、エンジン制御回路に加えて電源制御装置自体への通電も停止することが求められている。すなわち、電源制御装置自体も低消費電力状態を取り得ることが求められている。   By the way, in recent years, when the electronic device is not used continuously for a certain period of time due to the demand for low power consumption, for example, in addition to the above-described print engine and engine control circuit, the power supply control device itself is also de-energized. Is required. That is, the power supply control device itself is required to be in a low power consumption state.

しかしながら、特許文献1に記載の電源制御装置は、商用交流電源が通電状態にある間中、常時稼働され、電源制御装置自体が低消費電力状態を取り得る構成にはなっていない。そのため、電源装置自体が低消費電力状態を取り得る電源装置(電源装置自体に対する給電を部分的に停止し得る電源装置)において、商用の外部交流電源が供給されたときに、自動的に、供給停止前の状態に復帰することのできる技術が望まれていた。   However, the power supply control device described in Patent Document 1 is always operated while the commercial AC power supply is in an energized state, and the power supply control device itself is not configured to be in a low power consumption state. Therefore, in a power supply device that can take a low power consumption state (a power supply device that can partially stop power supply to the power supply device itself), it is automatically supplied when commercial external AC power is supplied. A technique capable of returning to the state before the stop has been desired.

本発明は、上記問題点を解消する為になされたものであり、自動復帰型のモーメンタリスイッチを用い、自ら低消費電力状態を取り得る電源装置において、外部交流電源の供給が一旦停止された後に再開された場合に、自動的に、供給停止前の状態に復帰することが可能な電源装置、及び、該電源装置を備えた電子機器を提供することを目的とする。   The present invention has been made in order to solve the above-described problems, and after the supply of external AC power is temporarily stopped in a power supply device that can automatically take a low power consumption state by using an automatic return type momentary switch. It is an object of the present invention to provide a power supply device that can automatically return to a state before the supply stop when restarted, and an electronic device including the power supply device.

本発明に係る電源装置は、交流の外部電源を変換して直流の内部電源を生成する変換手段と、操作者の操作に応じて、変換手段により生成された内部電源の供給及び供給停止を行う操作信号を出力する自動復帰型のモーメンタリスイッチと、第1の状態及び第2の状態を取ることができ、外部電源の供給が停止されているときには第1の状態にリセットされ、外部電源が供給されているときには、直近にセットされた状態を保持する状態保持手段と、外部電源の供給が停止しているときにも格納された情報を記憶している、不揮発性の又は常時バックアップされている記憶手段と、内部電源の供給停止中にモーメンタリスイッチがオンされたときには内部電源を供給するオン信号を出力し、内部電源の供給中にモーメンタリスイッチがオンされたときにはオン信号の出力を停止し、内部電源が供給された場合には、状態保持手段の状態を第2の状態にセットし、内部電源の供給時に外部電源の供給が停止した場合には、異常終了したことを示す異常終了情報を記憶手段に格納する制御手段と、外部電源が供給されている状態において、状態保持手段が第1の状態のとき、制御手段からオン信号が出力されているとき、又は、モーメンタリスイッチがオンされているときに制御手段に内部電源を供給し、状態保持手段が第2の状態にあり、制御手段からオン信号が出力されておらず、かつ、モーメンタリスイッチがオフされているときに制御手段に対する内部電源の供給を遮断する第1給電断続手段とを備え、上記制御手段が、外部電源の供給が開始され、状態保持手段の状態に応じて第1給電断続手段により内部電源が供給されたときに、記憶手段に異常終了情報が記憶されている場合には、第1給電断続手段にオン信号を出力し、記憶手段に異常終了情報が記憶されていない場合には、第1給電断続手段に対するオン信号の出力を行わないことを特徴とする。   The power supply device according to the present invention converts the AC external power supply to generate a DC internal power supply, and supplies and stops the supply of the internal power generated by the conversion means according to the operation of the operator. An automatic return type momentary switch that outputs an operation signal, and can take the first state and the second state. When the external power supply is stopped, it is reset to the first state and the external power is supplied. The state holding means for holding the most recently set state and the stored information even when the external power supply is stopped are stored in a non-volatile or constantly backed up state. When the momentary switch is turned on while the storage means and the internal power supply are stopped, an on signal is supplied to supply the internal power, and the momentary switch is turned on while the internal power is being supplied. When the internal power is supplied, the output of the ON signal is stopped and the state holding means is set to the second state. When the supply of the external power is stopped when the internal power is supplied, An ON signal is output from the control means when the state holding means is in the first state when the control means for storing abnormal termination information indicating abnormal termination in the storage means and the external power supply is supplied. Or when the momentary switch is on, the internal power is supplied to the control means, the state holding means is in the second state, no ON signal is output from the control means, and the momentary switch is A first power supply interrupting means for interrupting the supply of internal power to the control means when it is turned off, and the control means starts supplying external power according to the state of the state holding means. When internal power is supplied from the first power supply interrupting means, if abnormal end information is stored in the storage means, an ON signal is output to the first power supply interrupting means, and the abnormal end information is stored in the storage means. If not, no ON signal is output to the first power supply interrupting means.

本発明に係る電源装置によれば、状態保持手段が、外部電源の供給が停止されているときには第1の状態を取り、外部電源から生成される内部電源が供給された場合に第2の状態を取り、外部電源が供給されている間、この状態(第2の状態)が保持される。ここで、外部電源の供給が開始された場合には、状態保持手段の状態が第1の状態にあるため、第1給電断続部により、制御手段に対して内部電源の供給が行なわれる。そして、記憶手段に異常終了情報が記憶されている場合には、制御手段から第1給電断続手段にオン信号が出力され、内部電源の継続的な(すなわちモーメンタリスイッチがオフされた後も)供給が許可される。一方、記憶手段に異常終了情報が記憶されていない場合には、第1給電断続手段に対するオン信号の出力が行われることなく、内部電源の供給が停止される。   According to the power supply device of the present invention, the state holding means takes the first state when the supply of the external power supply is stopped, and the second state when the internal power supply generated from the external power supply is supplied. This state (second state) is maintained while external power is being supplied. Here, when the supply of the external power supply is started, since the state holding means is in the first state, the internal power supply is supplied to the control means by the first power supply interrupting section. When the abnormal end information is stored in the storage means, an ON signal is output from the control means to the first power supply interrupting means, and the internal power supply is continuously supplied (that is, even after the momentary switch is turned off). Is allowed. On the other hand, when the abnormal end information is not stored in the storage unit, the supply of internal power is stopped without outputting the ON signal to the first power supply interrupting unit.

また、上述したように、状態保持手段は、内部電源が供給された場合に第2の状態にセットされ、外部電源が供給されている間、この状態(第2の状態)が保持される。よって、モーメンタリスイッチによって内部電源がオン/オフされる。すなわち、モーメンタリスイッチがオンされた場合には、第1給電断続手段により制御手段に内部電源が供給され、起動された制御手段からオン信号が第1給電断続手段に出力されることにより、内部電源が継続して供給される。また、その後、モーメンタリスイッチがオフされた場合には、再びモーメンタリスイッチがオンされるまで、制御手段に対する内部電源の供給が停止される。以上の結果、自動復帰型のモーメンタリスイッチを用い、自ら低消費電力状態を取り得る電源装置において、外部交流電源の供給停止後に、再び供給が開始されたときに、自動的に、供給停止前の状態に復帰することが可能となる。   Further, as described above, the state holding means is set to the second state when the internal power is supplied, and this state (second state) is held while the external power is supplied. Therefore, the internal power supply is turned on / off by the momentary switch. That is, when the momentary switch is turned on, the internal power supply is supplied to the control means by the first power supply interrupting means, and the on signal is output from the activated control means to the first power supply interrupting means. Is continuously supplied. Thereafter, when the momentary switch is turned off, the supply of internal power to the control means is stopped until the momentary switch is turned on again. As a result of the above, in a power supply device that can automatically take a low power consumption state using an automatic return type momentary switch, when the supply is started again after the supply of external AC power is stopped, It becomes possible to return to the state.

本発明に係る電源装置では、上記制御手段が、外部電源の供給停止によって内部電源の出力電圧が低下した際に発生する割り込み処理において、異常終了情報を記憶手段に格納することが好ましい。   In the power supply device according to the present invention, it is preferable that the control means stores abnormal end information in the storage means in an interrupt process that occurs when the output voltage of the internal power supply decreases due to the stop of the supply of external power.

このようにすれば、例えば、停電や電源プラグの引き抜き等により、内部電源供給中(すなわち稼働中)に外部電源の供給が停止された場合、割り込み処理が発生するため、該割り込み処理において、異常終了したことを示す異常終了情報を保存することが可能となる。   In this manner, for example, when the supply of external power is stopped during internal power supply (ie, during operation) due to a power failure, power plug removal, or the like, an interrupt process occurs. It is possible to store abnormal end information indicating the end.

本発明に係る電源装置では、上記状態保持手段が、フリップフロップであることが好ましい。   In the power supply device according to the present invention, the state holding means is preferably a flip-flop.

このようにすれば、当該フリップフロップを用いて、第1の状態、及び第2の状態を保持することができる。   In this manner, the first state and the second state can be maintained using the flip-flop.

本発明に係る電子機器は、上記いずれかの電源装置を備えた電子機器であって、上記制御手段によって出力されるオン信号に基づいて、電子機器に内部電源を供給する第2給電断続手段を備えることを特徴とする。   An electronic device according to the present invention is an electronic device including any one of the power supply devices described above, and includes a second power supply interrupting unit that supplies an internal power to the electronic device based on an ON signal output by the control unit. It is characterized by providing.

本発明に係る電子機器によれば、外部電源の供給が一旦停止(例えば停電等)した後に復帰した場合に、自動的に、供給停止前(停電発生前等)の状態に復帰することが可能となる。   According to the electronic device of the present invention, when the supply of external power is temporarily stopped (for example, after a power failure), it can be automatically restored to the state before the supply is stopped (before a power failure occurs). It becomes.

また、本発明に係る電子機器は、ファクシミリ機能を備えていることが好ましい。   Moreover, it is preferable that the electronic device according to the present invention has a facsimile function.

本発明に係る電子機器によれば、上述したように、外部電源の供給が一旦停止した後に復帰した場合に、自動的に、供給停止前の状態に復帰することができる。そのため、外部電源復帰後にモーメンタリスイッチが押下されるまでFAX受信ができなくなることを防止することが可能となる。   According to the electronic device of the present invention, as described above, when the supply of external power is temporarily stopped and then returned, the state before the supply stop can be automatically restored. Therefore, it is possible to prevent the FAX reception from being disabled until the momentary switch is pressed after the external power supply is restored.

本発明によれば、自動復帰型のモーメンタリスイッチを用い、自ら低消費電力状態を取り得る電源装置において、外部交流電源の供給が一旦停止された後に再開された場合に、自動的に、供給停止前の状態に復帰することが可能となる。   According to the present invention, in a power supply device that can automatically take a low power consumption state using an automatic return type momentary switch, the supply is automatically stopped when the supply of the external AC power supply is once stopped and then restarted. It becomes possible to return to the previous state.

実施形態に係る電源装置、及び該電源装置が搭載されたファクシミリ装置の構成を示すブロック図である。1 is a block diagram illustrating a configuration of a power supply device according to an embodiment and a facsimile machine in which the power supply device is mounted. 実施形態に係る電源装置、及び該電源装置が搭載されたファクシミリ装置の構成(外部交流電源投入時の状態)を示すブロック図である。1 is a block diagram illustrating a configuration of a power supply apparatus according to an embodiment and a facsimile apparatus in which the power supply apparatus is mounted (a state when an external AC power supply is turned on). 実施形態に係る電源装置、及び該電源装置が搭載されたファクシミリ装置の構成(初期化終了時の状態)を示すブロック図である。1 is a block diagram showing a configuration (state at the end of initialization) of a power supply device according to an embodiment and a facsimile machine in which the power supply device is mounted. 実施形態に係る電源装置による電源制御処理の処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of the power supply control process by the power supply device which concerns on embodiment. 図4のフローチャートにおいて、主として、機器設置から最初の外部交流電源投入までの処理手順を実線で示したフローチャートである。In the flowchart of FIG. 4, the processing procedure from the installation of the device to the first external AC power supply is mainly shown by a solid line. 図4のフローチャートにおいて、主として、外部交流電源投入後、モーメンタリスイッチにより内部電源がオンされ、その後オフされるまでの処理手順を実線で示したフローチャートである。In the flowchart of FIG. 4, the processing procedure from the turning on of the external AC power source until the internal power source is turned on by the momentary switch and then turned off is shown by a solid line. 図4のフローチャートにおいて、主として、モーメンタリスイッチで内部電源がオフされた後、外部交流電源がオフされ、その後、外部交流電源がオンされたときの処理手順を実線で示したフローチャートである。In the flowchart of FIG. 4, the solid line shows the processing procedure when the external power supply is turned off after the internal power supply is turned off mainly by the momentary switch and then the external AC power supply is turned on. 図4のフローチャートにおいて、主として、機器稼働状態で外部交流電源がオフされた後、外部交流電源がオンされたときの処理手順を実線で示したフローチャートである。In the flowchart of FIG. 4, the processing procedure when the external AC power source is turned on mainly after the external AC power source is turned off in the device operating state is a flowchart showing a solid line.

以下、図面を参照して本発明の好適な実施形態について詳細に説明する。なお、各図において、同一要素には同一符号を付して重複する説明を省略する。なお、ここでは、実施形態に係る電源装置1をファクシミリ装置(特許請求の範囲に記載の電子機器に相当)2に搭載した場合を例にして説明する。まず、図1を用いて、電源装置1、及び、該電源装置1から電源が供給されるファクシミリユニット100を備えたファクシミリ装置2の構成について説明する。図1は、電源装置1、及び該電源装置1が搭載されたファクシミリ装置2の構成を示すブロック図である。   DESCRIPTION OF EMBODIMENTS Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the drawings. In addition, in each figure, the same code | symbol is attached | subjected to the same element and the overlapping description is abbreviate | omitted. Here, a case where the power supply apparatus 1 according to the embodiment is mounted on a facsimile apparatus (corresponding to an electronic apparatus described in claims) 2 will be described as an example. First, the configuration of a facsimile apparatus 2 including a power supply apparatus 1 and a facsimile unit 100 to which power is supplied from the power supply apparatus 1 will be described with reference to FIG. FIG. 1 is a block diagram illustrating a configuration of a power supply device 1 and a facsimile machine 2 in which the power supply device 1 is mounted.

電源装置1は、電源スイッチとして自動復帰型のモーメンタリスイッチ30を用い、自ら低消費電力状態を取り得る(すなわち、後述する制御部60に対する給電を停止し得る)電源装置である。また、電源装置1は、例えば停電等により、商用の外部交流電源の供給が一旦停止した後に復帰した場合に、自動的に、ファクシミリ装置2(電源装置1及びファクシミリユニット100)を供給停止前の状態に復帰することができる電源装置である。   The power supply device 1 is a power supply device that uses an automatic return type momentary switch 30 as a power switch and can take a low power consumption state by itself (that is, can stop power supply to a control unit 60 described later). Further, when the supply of commercial external AC power is temporarily stopped due to, for example, a power failure, the power supply 1 automatically returns the facsimile machine 2 (the power supply 1 and the facsimile unit 100) before the supply is stopped. This is a power supply device capable of returning to a state.

電源装置1は、商用の外部交流(AC)電源を変換して直流(DC)の内部電源を生成するAC−DCコンバータ20を備えている。AC−DCコンバータ20は、特許請求の範囲に記載の変換手段として機能する。AC−DCコンバータ20の外部交流電源の入力端子には、外部電源スイッチ12を介して、電源プラグ11が接続されている。外部電源スイッチ12は、商用の外部交流電源の供給(オン)又は供給停止(オフ)を行うスイッチである。外部電源スイッチ12には、ユーザがスイッチ操作を行って手を離した後でもオン/オフ状態を保持するロックスイッチが用いられる。なお、外部交流電源は、例えば、停電、電源プラグ11が引き抜かれること、及び、外部電源スイッチ12のオフ操作等により供給が遮断される。   The power supply device 1 includes an AC-DC converter 20 that converts a commercial external alternating current (AC) power source to generate a direct current (DC) internal power source. The AC-DC converter 20 functions as conversion means described in the claims. A power plug 11 is connected to the input terminal of the external AC power source of the AC-DC converter 20 via the external power switch 12. The external power switch 12 is a switch that performs supply (on) or supply stop (off) of commercial external AC power. The external power switch 12 is a lock switch that maintains an on / off state even after the user performs a switch operation and releases his / her hand. Note that the supply of external AC power is interrupted by, for example, a power failure, the power plug 11 being pulled out, and the external power switch 12 being turned off.

AC/DCコンバータ20は、電源プラグ11及び外部電源スイッチ12を介して、外部交流電源から電力が供給されると、所定電圧(例えば3.3V及び24V等)の直流電圧を生成して出力する。AC/DCコンバータ20は2つの内部電源出力端子を持ち、各出力端子には、第1内部電源ライン21、及び第2内部電源ライン22がそれぞれ接続されている。なお、第1内部電源ライン21及び第2内部電源ライン22それぞれの電圧は同一でもよいし、異なっていてもよい。   The AC / DC converter 20 generates and outputs a DC voltage of a predetermined voltage (for example, 3.3 V and 24 V) when electric power is supplied from the external AC power supply via the power plug 11 and the external power switch 12. . The AC / DC converter 20 has two internal power supply output terminals, and a first internal power supply line 21 and a second internal power supply line 22 are connected to each output terminal. Note that the voltages of the first internal power supply line 21 and the second internal power supply line 22 may be the same or different.

第1内部電源ライン21には、モーメンタリスイッチ30、記憶部40、フリップフロップ50、第1スイッチング素子81、及び制御部60が接続されている。第1内部電源ライン21は、モーメンタリスイッチ30、記憶部40、フリップフロック50に内部電源を供給するとともに、第1スイッチング素子81を介して制御部60に内部電源を供給するラインである。また、第2内部電源ライン22には、第2スイッチング素子82、及びファクシミリユニット100が接続されている。第2内部電源ライン22は、第2スイッチング素子82を介してファクシミリユニット100に内部電源を供給するラインである。続いて、第1内部電源ライン21及び第2内部電源ライン22それぞれに接続されている各構成要素について説明する。   The momentary switch 30, the storage unit 40, the flip-flop 50, the first switching element 81, and the control unit 60 are connected to the first internal power supply line 21. The first internal power supply line 21 is a line that supplies internal power to the momentary switch 30, the storage unit 40, and the flip-flop 50 and supplies internal power to the control unit 60 via the first switching element 81. Further, the second switching element 82 and the facsimile unit 100 are connected to the second internal power supply line 22. The second internal power supply line 22 is a line for supplying internal power to the facsimile unit 100 via the second switching element 82. Next, each component connected to each of the first internal power supply line 21 and the second internal power supply line 22 will be described.

モーメンタリスイッチ30は、指等で押下されている間だけオン状態となり、指等が離されるとオフ状態に戻る自動復帰型のスイッチである。モーメンタリスイッチ30は、ユーザの操作に応じて、AC−DCコンバータ20により生成された内部電源の供給(オン)及び供給停止(オフ)を行う操作信号(オン/オフ信号)を出力する。ユーザは、外部交流電源が供給されている状態で、モーメンタリスイッチ30を押下することにより、ファクシミリ装置2(電源装置1及びファクシミリユニット100)を稼働又は停止することができる。   The momentary switch 30 is an automatic return type switch that is turned on only while being pressed with a finger or the like and returns to an off state when the finger or the like is released. The momentary switch 30 outputs an operation signal (ON / OFF signal) for supplying (ON) and stopping (OFF) the internal power generated by the AC-DC converter 20 in accordance with a user operation. The user can operate or stop the facsimile apparatus 2 (the power supply apparatus 1 and the facsimile unit 100) by pressing the momentary switch 30 while the external AC power is supplied.

フリップフロップ50は、1ビットの情報を、「0」(特許請求の範囲に記載の第1の状態)又は「1」(特許請求の範囲に記載の第2の状態)として保持することができる論理回路である。フリップフロップ50は、特許請求の範囲に記載の状態保持手段として機能する。フリップフロップ50は、AC−DCコンバータ20に外部交流電源が供給されているとき、すなわち、第1内部電源ライン21から内部電源が供給されているときには、直近にセットされた状態を保持する。一方、フリップフロップ50は、AC−DCコンバータ20に対する外部交流電源の供給が停止されたとき、すなわち、第1内部電源ライン21による内部電源の供給が停止されたときには、保持していた情報を失い、内部電源の供給が再開されたときにはリセットされた状態(「0」の状態)となる。なお、フリップフロップ50としては、例えば、RS型、JL型、D型、又はT型のフリップフロップを用いることができる。   The flip-flop 50 can hold 1-bit information as “0” (first state described in claims) or “1” (second state described in claims). It is a logic circuit. The flip-flop 50 functions as a state holding unit described in the claims. The flip-flop 50 holds the most recently set state when external AC power is supplied to the AC-DC converter 20, that is, when internal power is supplied from the first internal power supply line 21. On the other hand, when the supply of the external AC power to the AC-DC converter 20 is stopped, that is, when the supply of the internal power by the first internal power supply line 21 is stopped, the flip-flop 50 loses the retained information. When the supply of internal power is resumed, it is reset (“0” state). As the flip-flop 50, for example, an RS type, JL type, D type, or T type flip-flop can be used.

記憶部40は、外部交流電源の供給が遮断され、内部電源の供給が停止されているときにも格納された情報(例えば、後述する異常終了情報等)を記憶可能なメモリである。すなわち、記憶部40は、特許請求の範囲に記載の記憶手段として機能する。記憶部40としては、例えば、不揮発性のフラッシュメモリ(CF)、EEPROM、又はハードディスク(HD)等が好適に用いられる。なお、記憶部40として、常時バックアップされている揮発性のSRAM等を用いることもできる。   The storage unit 40 is a memory capable of storing stored information (for example, abnormal termination information described later) even when the supply of the external AC power supply is shut off and the supply of the internal power supply is stopped. That is, the storage unit 40 functions as a storage unit described in the claims. As the storage unit 40, for example, a non-volatile flash memory (CF), an EEPROM, a hard disk (HD), or the like is preferably used. The storage unit 40 may be a volatile SRAM that is always backed up.

制御部60は、演算を行うマイクロプロセッサ、該マイクロプロセッサに各処理を実行させるためのプログラム等を記憶するROM、演算結果などの各種データを一時的に記憶するRAM等により構成されている。制御部60は、ROM等に記憶されているプログラムを実行することにより、電源装置1及び後述するファクシミリユニット100を総合的に制御する。制御部60は、特許請求の範囲に記載の制御手段として機能する。なお、マイクロプロセッサ、ROM、RAMなどはそれぞれ独立したチップから構成されていてもよいし、これらが1つのチップに収められたマイクロコンピュータ(マイコン)により構成されていてもよい。   The control unit 60 includes a microprocessor that performs calculations, a ROM that stores programs for causing the microprocessor to execute each process, a RAM that temporarily stores various data such as calculation results, and the like. The control unit 60 comprehensively controls the power supply device 1 and a facsimile unit 100 described later by executing a program stored in a ROM or the like. The control unit 60 functions as control means described in the claims. Note that the microprocessor, the ROM, the RAM, and the like may be configured by independent chips, or may be configured by a microcomputer (microcomputer) housed in one chip.

制御部60は、内部電源の供給停止中にモーメンタリスイッチ30がオンされたときには、内部電源を供給するオン信号を後述するORゲート70及び/又は第2スイッチング素子82に出力する。また、制御部60は、内部電源の供給中にモーメンタリスイッチ30がオンされたときにはORゲート70及び/又は第2スイッチング素子82に対するオン信号の出力を停止する。また、制御部60は、内部電源が供給された場合に、フリップフロップ50の状態を「1」にセットする。   When the momentary switch 30 is turned on while the supply of internal power is stopped, the control unit 60 outputs an ON signal for supplying internal power to the OR gate 70 and / or the second switching element 82 described later. Further, the control unit 60 stops the output of the ON signal to the OR gate 70 and / or the second switching element 82 when the momentary switch 30 is turned on while the internal power supply is being supplied. In addition, the control unit 60 sets the state of the flip-flop 50 to “1” when the internal power is supplied.

さらに、制御部60は、内部電源が供給されているときに、例えば停電、電源プラグ11の引き抜き、又は外部電源スイッチ12のオフ操作により外部交流電源の供給が停止した場合(すなわち異常終了時)に機器が異常終了したことを示す異常終了情報を記憶部40に書込み保存する。より具体的には、制御部60を構成するマイクロプロセッサは、外部交流電源の供給停止によって内部電源の出力電圧が低下した際に割り込み処理(NMI:Non Maskable Interrupt)が発生するように設定されており、当該割り込み処理において、異常終了情報を記憶部40に書込む。なお、記憶部40に対する異常終了情報の書込みが終了するまでは、例えばコンデンサ等に蓄積されている電荷によって制御部60及び記憶部40が稼働される。   Furthermore, when the internal power is supplied, the control unit 60 stops supplying external AC power due to, for example, a power failure, pulling out the power plug 11 or turning off the external power switch 12 (that is, at the time of abnormal termination). The abnormal end information indicating that the device has ended abnormally is written and stored in the storage unit 40. More specifically, the microprocessor constituting the control unit 60 is set to generate an interrupt process (NMI: Non Maskable Interrupt) when the output voltage of the internal power supply decreases due to the stop of the supply of the external AC power supply. In the interrupt process, abnormal end information is written in the storage unit 40. Note that, until the writing of the abnormal end information to the storage unit 40 is completed, for example, the control unit 60 and the storage unit 40 are operated by charges accumulated in a capacitor or the like.

ここで、外部交流電源の供給が開始された場合には、フリップフロップ50が「0」にリセットされているため、後述する第1スイッチング素子81によって、制御部60に内部電源が供給され、制御部60が起動される。その後、制御部60は、記憶部40に異常終了情報が記憶されている場合には、ORゲート70及び第2スイッチング素子82に対してオン信号を出力する。一方、制御部60は、記憶部40に異常終了情報が記憶されていない場合には、ORゲート70及び第2スイッチング素子82に対するオン信号の出力を行わない。   Here, when the supply of the external AC power supply is started, since the flip-flop 50 is reset to “0”, the internal power is supplied to the control unit 60 by the first switching element 81 described later, and the control is performed. The unit 60 is activated. Thereafter, when the abnormal end information is stored in the storage unit 40, the control unit 60 outputs an ON signal to the OR gate 70 and the second switching element 82. On the other hand, the control unit 60 does not output an ON signal to the OR gate 70 and the second switching element 82 when the abnormal end information is not stored in the storage unit 40.

ORゲート70には、フリップフロップ50、制御部60の第1の出力ポート、及びモーメンタリスイッチ30が接続されている。ORゲート70は、3つの入力、すなわち、フリップフロップ70からの入力(状態信号)、制御部60からの入力(オン/オフ制御信号)、及び、モーメンタリスイッチ30からの入力(オン/オフ信号)のうち、少なくとも1つの入力がハイレベルのとき(すなわち、フリップフロップ50が「0」の状態にあるとき、制御部60からオン信号が出力されているとき、又は、モーメンタリスイッチ30がオンされているとき)に、ハイレベルを出力する論理回路である。なお、図1に示されているように、フリップフロップ50からの信号は反転して入力されるため、ローレベル(「0」の状態)のときにORゲート70からハイレベルが出力される。一方、3つの入力すべてがローレベルのとき(すなわち、フリップフロップ50が「1」の状態にあり、制御部60からオン信号が出力されておらず、かつ、モーメンタリスイッチ30がオフされているとき)に、ORゲート70は、ローレベルを出力する。ORゲート70の出力端子は、第1スイッチング素子81の入力端子に接続されており、ORゲート70の出力は、第1スイッチング素子81に入力される。   The OR gate 70 is connected to the flip-flop 50, the first output port of the control unit 60, and the momentary switch 30. The OR gate 70 has three inputs, that is, an input from the flip-flop 70 (state signal), an input from the control unit 60 (on / off control signal), and an input from the momentary switch 30 (on / off signal). Among them, when at least one input is at a high level (that is, when the flip-flop 50 is in the “0” state, when the ON signal is output from the control unit 60, or when the momentary switch 30 is turned ON. A logic circuit that outputs a high level. As shown in FIG. 1, since the signal from the flip-flop 50 is inverted and inputted, a high level is outputted from the OR gate 70 at the low level (“0” state). On the other hand, when all three inputs are at a low level (that is, when the flip-flop 50 is in the “1” state, no ON signal is output from the control unit 60, and the momentary switch 30 is OFF). ), The OR gate 70 outputs a low level. The output terminal of the OR gate 70 is connected to the input terminal of the first switching element 81, and the output of the OR gate 70 is input to the first switching element 81.

第1スイッチング素子81は、ORゲート70からの出力に基づいて、制御部60に対する内部電源の供給/供給停止の切替えを行う。より具体的には、ORゲート70の出力がハイレベルのときには、第1スイッチング素子81がオンされ、制御部60に対して内部電源が供給される。一方、ORゲート70の出力がローレベルのときには、第1スイッチング素子81がオフされ、制御部60に対する電源供給が停止される。すなわち制御部60(電源装置1)が低消費電力状態になる。ORゲート70及び第1スイッチング素子81は、特許請求の範囲に記載の第1給電断続手段として機能する。なお、第1スイッチング素子81としては、例えばトランジスタ又はMOS FET等が好適に用いられる。   The first switching element 81 performs switching between supply / stop of supply of internal power to the control unit 60 based on the output from the OR gate 70. More specifically, when the output of the OR gate 70 is at a high level, the first switching element 81 is turned on and internal power is supplied to the control unit 60. On the other hand, when the output of the OR gate 70 is at a low level, the first switching element 81 is turned off and the power supply to the control unit 60 is stopped. That is, the control unit 60 (power supply device 1) is in a low power consumption state. The OR gate 70 and the first switching element 81 function as first power supply interrupting means described in the claims. As the first switching element 81, for example, a transistor or a MOS FET is preferably used.

第2スイッチング素子82は、制御部60の第2の出力ポートと接続されており、モーメンタリスイッチ30のオン/オフ操作に応じた制御部60からの出力に基づいて、ファクシミリユニット100に対する内部電源の供給/供給停止の切替えを行う。より詳細には、制御部60の出力がハイレベルのときには、第2スイッチング素子82がオンされ、ファクシミリユニット100に対して内部電源が供給される。一方、制御部60の出力がローレベルのときには、第2スイッチング素子82がオフされ、ファクシミリユニット100に対する電源供給が停止される。第2スイッチング素子82は、特許請求の範囲に記載の第2給電断続手段として機能する。なお、第2スイッチング素子82にも、第1スイッチング素子81と同様に、トランジスタ又はMOS FET等が用いられる。   The second switching element 82 is connected to the second output port of the control unit 60, and based on the output from the control unit 60 according to the ON / OFF operation of the momentary switch 30, the internal power supply for the facsimile unit 100 is supplied. Switch between supply and supply stop. More specifically, when the output of the control unit 60 is at a high level, the second switching element 82 is turned on and internal power is supplied to the facsimile unit 100. On the other hand, when the output of the control unit 60 is at a low level, the second switching element 82 is turned off and the power supply to the facsimile unit 100 is stopped. The 2nd switching element 82 functions as the 2nd electric power feeding intermittent means as described in a claim. As with the first switching element 81, a transistor, a MOS FET, or the like is also used for the second switching element 82.

ファクシミリユニット100は、画像データをファクシミリ送信するFAX送信機能、及び、受信した画像データを用紙に記録するFAX受信機能を備えている。そのため、ファクシミリユニット100は、ディジタル信号とアナログ信号との間の変復調を行なうとともにディジタル命令信号(DCS)等の各種機能情報の発生及び検出を行なうモデム(変復調器)を備えている。また、ファクシミリユニット100は、モデムと公衆交換電話網(PSTN)との接続を制御するとともに、送信先のファクシミリ番号に対応した呼出信号の送出、並びにその着信を検出するNCU(Network Control Unit)等を備えている。また、ファクシミリユニット100は、紙文書等の原稿を読み取り画像データを生成するスキャナ部、及び、スキャナ部で読み取られた画像データ及びFAX受信された画像データを用紙にプリントアウトするプリンタ部を備えている。   The facsimile unit 100 has a FAX transmission function for facsimile transmission of image data and a FAX reception function for recording received image data on paper. Therefore, the facsimile unit 100 includes a modem (modem / demodulator) that performs modulation / demodulation between a digital signal and an analog signal and generates and detects various functional information such as a digital command signal (DCS). The facsimile unit 100 controls connection between a modem and a public switched telephone network (PSTN), transmits a call signal corresponding to a destination facsimile number, and detects an incoming call such as an NCU (Network Control Unit). It has. Further, the facsimile unit 100 includes a scanner unit that reads a document such as a paper document and generates image data, and a printer unit that prints out image data read by the scanner unit and image data received by FAX on paper. Yes.

上述したように、ファクシミリユニット100に対する電源供給は、制御部60によって制御される。ここで、制御部60は、例えば、所定時間継続して入力がない場合に、第2スイッチング素子82をオフして、ファクシミリユニット100の受信部以外への給電を停止し、ファクシミリユニット100を低消費電力状態(省エネモード)に移行させる。さらに、制御部60は、所定の条件が満足された場合に、第1スイッチング素子81をオフして、自身への給電を停止し、電源装置1を低消費電力状態(省エネモード)に移行させる。   As described above, the power supply to the facsimile unit 100 is controlled by the control unit 60. Here, for example, when there is no input continuously for a predetermined time, the control unit 60 turns off the second switching element 82 to stop the power supply to other than the receiving unit of the facsimile unit 100, and lowers the facsimile unit 100. Shift to the power consumption state (energy saving mode). Furthermore, when a predetermined condition is satisfied, the control unit 60 turns off the first switching element 81, stops power supply to itself, and shifts the power supply device 1 to the low power consumption state (energy saving mode). .

次に、図4〜8を併せて用いて、電源装置1による電源制御処理について説明する。ここで、図4は、電源装置1による電源制御処理の処理手順を示すフローチャートである。また、図5〜図8は、図4と同一のフローチャートであるが、主な説明箇所を実線で示し、それ以外の箇所を破線で示したものである。より具体的には、図5は、電源装置1による電源制御処理のうち、機器設置から最初の外部交流電源投入までの処理手順を実線で示したフローチャートである。図6は、電源装置1による電源制御処理のうち、外部交流電源投入後、モーメンタリスイッチ30により内部電源がオンされ、その後オフされるまでの処理手順を実線で示したフローチャートである。図7は、電源装置1による電源制御処理のうち、モーメンタリスイッチ30で内部電源がオフされた後、外部交流電源がオフされ、その後、外部交流電源がオンされたときの処理手順を実線で示したフローチャートである。また、図8は、電源装置1による電源制御処理のうち、機器稼働状態で外部交流電源がオフされた後、外部交流電源がオンされたときの処理手順を実線で示したフローチャートである。   Next, the power supply control process by the power supply device 1 will be described with reference to FIGS. Here, FIG. 4 is a flowchart showing a processing procedure of power control processing by the power supply device 1. 5 to 8 are the same flowcharts as those in FIG. 4, but the main explanation points are indicated by solid lines and the other points are indicated by broken lines. More specifically, FIG. 5 is a flowchart showing, in a solid line, a processing procedure from power installation to the first external AC power-on in the power control process by the power supply device 1. FIG. 6 is a flowchart showing, by a solid line, a processing procedure in the power supply control process performed by the power supply device 1 until the internal power is turned on by the momentary switch 30 after the external AC power is turned on and then turned off. FIG. 7 shows, in a solid line, the processing procedure when the external power supply is turned off after the internal power supply is turned off by the momentary switch 30 and the external alternating current power supply is turned on after the internal power supply is turned off by the power supply device 1. It is a flowchart. FIG. 8 is a flowchart showing, in a solid line, a processing procedure when the external AC power supply is turned on after the external AC power supply is turned off in the device operating state in the power supply control processing by the power supply device 1.

まず、図5を参照しつつ、電源装置1による電源制御処理のうち、機器設置後の最初の外部交流電源投入までの処理手順について説明する。   First, with reference to FIG. 5, a processing procedure from power supply control processing by the power supply device 1 until the first external AC power supply after installation of the device will be described.

出荷されたファクシミリ装置2が例えばオフィス等に設置され、電源プラグ11が部屋のコンセントに差し込まれる。そして、ユーザによって外部電源スイッチ12がオンされることにより、外部交流電源の供給が開始される。そこで、ステップS100では、外部電源スイッチ12がオンされ、外部交流電源の供給が開始されたか否かの判断が行われる。ここで、外部電源スイッチ12がオフ状態で、まだ外部交流電源の供給か開始されていない場合には、外部交流電源の供給が開始されるまで、本ステップが繰り返して実行される。一方、外部電源スイッチ12がオンされ、外部交流電源の供給が開始された場合には、ステップS102に処理が移行する。   The shipped facsimile apparatus 2 is installed in an office, for example, and the power plug 11 is inserted into the outlet of the room. Then, when the external power switch 12 is turned on by the user, supply of external AC power is started. Therefore, in step S100, it is determined whether or not the external power switch 12 is turned on and the supply of the external AC power supply is started. Here, when the external power switch 12 is in the OFF state and the supply of the external AC power has not been started yet, this step is repeatedly executed until the supply of the external AC power is started. On the other hand, when the external power switch 12 is turned on and the supply of external AC power is started, the process proceeds to step S102.

外部電源スイッチ12がオンされ、外部交流電源の供給が開始された場合、AC−DCコンバータ20によって内部電源が生成され、第1内部電源ライン21及び第2内部電源ライン22に内部電源が出力される。そこで、ステップS102では、フリップフロップ50の状態が「1」であるか否かについての判断が行われる。ここで、フリップフロップ50の状態が「1」の場合には、ステップS108に処理が移行する。一方、フリップフロップ50の状態が「1」ではないとき、すなわち、「0」のときには、ステップS104に処理が移行する。なお、初めて外部交流電源が投入されたときには、フリップフロップ50はリセットされている、すなわち「0」の状態であるので、ステップS104に処理が移行する。   When the external power switch 12 is turned on and the supply of external AC power is started, the internal power is generated by the AC-DC converter 20 and the internal power is output to the first internal power line 21 and the second internal power line 22. The Therefore, in step S102, a determination is made as to whether or not the state of the flip-flop 50 is “1”. If the state of the flip-flop 50 is “1”, the process proceeds to step S108. On the other hand, when the state of the flip-flop 50 is not “1”, that is, when it is “0”, the process proceeds to step S104. When the external AC power supply is turned on for the first time, the flip-flop 50 is reset, that is, in the “0” state, and thus the process proceeds to step S104.

ステップS104では、フリップフロップ50の状態出力が反転されて入力されることにより、ORゲート70からオン信号が出力される。そして、ORゲート70からのオン信号によって第1スイッチング素子81がオンされ、制御部60に内部電源が供給されて、該制御部60が起動される(図2参照)。   In step S <b> 104, an ON signal is output from the OR gate 70 when the state output of the flip-flop 50 is inverted and input. Then, the first switching element 81 is turned on by the ON signal from the OR gate 70, the internal power is supplied to the control unit 60, and the control unit 60 is activated (see FIG. 2).

次に、ステップS106では、起動された制御部60により、記憶部40に異常終了情報が記憶されているか否かについての判断が行われる。ここで、記憶部40に異常終了情報が記憶されている場合には、ステップS116に処理が移行する。一方、異常終了情報が記憶されていないときには、ステップS120に処理が移行する。なお、出荷時には、異常終了情報は記憶されていないため、ステップS120に処理が移行する。   Next, in step S <b> 106, the activated control unit 60 determines whether or not the abnormal end information is stored in the storage unit 40. If abnormal end information is stored in the storage unit 40, the process proceeds to step S116. On the other hand, when the abnormal end information is not stored, the process proceeds to step S120. Since the abnormal end information is not stored at the time of shipment, the process proceeds to step S120.

ステップS120では、制御部60により、フリップフロップ50の状態が「1」にセットされる。また制御部60により、異常終了情報がクリア(消去)される。その後、制御部60からORゲート70に対してオフ信号(ローレベル)が出力され、第1スイッチング素子81がオフされる。   In step S120, the state of the flip-flop 50 is set to “1” by the control unit 60. Further, the abnormal end information is cleared (erased) by the control unit 60. Thereafter, an off signal (low level) is output from the control unit 60 to the OR gate 70, and the first switching element 81 is turned off.

そして、第1スイッチング素子81がオフされることにより、制御部60に供給されていた内部電源の供給が停止され、制御部60がオフ状態(低消費電力状態)になる(ステップS122)。その後、ステップS102に処理が移行する。   Then, when the first switching element 81 is turned off, the supply of the internal power supplied to the control unit 60 is stopped, and the control unit 60 is turned off (low power consumption state) (step S122). Thereafter, the process proceeds to step S102.

ステップS102では、上述したように、フリップフロップ50の状態が「1」であるか否かについての判断が行われる。ここで、フリップフロップ50の状態が「1」の場合には、ステップS108に処理が移行する。一方、フリップフロップ50の状態が「1」ではないとき、すなわち、「0」のときには、ステップS104に処理が移行する。なお、上述したステップS120においてフリップフロップ50には「1」がセットされている(すなわち「1」の状態である)ので、今回は、ステップS108に処理が移行する。   In step S102, as described above, it is determined whether or not the state of the flip-flop 50 is “1”. If the state of the flip-flop 50 is “1”, the process proceeds to step S108. On the other hand, when the state of the flip-flop 50 is not “1”, that is, when it is “0”, the process proceeds to step S104. Since “1” is set in the flip-flop 50 in step S120 described above (that is, the state is “1”), the process proceeds to step S108 this time.

ステップS108では、モーメンタリスイッチ30が押下されたか(内部電源のオン操作がされたか)否かについての判断が行われる。ここで、モーメンタリスイッチ30が押下された場合には、ステップS114に処理が移行する。一方、モーメンタリスイッチ30が押下されていないときには、ステップS110に処理が移行する。   In step S108, a determination is made as to whether or not the momentary switch 30 has been pressed (the internal power supply has been turned on). Here, if the momentary switch 30 is pressed, the process proceeds to step S114. On the other hand, when the momentary switch 30 is not pressed, the process proceeds to step S110.

ステップS110では、例えば停電、電源プラグ11の引き抜き、又は外部電源スイッチ12のオフ操作により、外部交流電源の供給が停止(オフ)されたか否かについての判断が行われる。ここで、外部交流電源の供給が停止された場合には、ステップS112に処理が移行する。一方、外部交流電源の供給が停止されていないときには、上述したステップS108に処理が移行し、モーメンタリスイッチ30が押下されるか、又は外部交流電源の供給が停止されるまで、ステップS108及びステップS110が繰り返して実行される。   In step S110, a determination is made as to whether or not the supply of external AC power has been stopped (turned off) by, for example, a power failure, pulling out the power plug 11, or turning off the external power switch 12. Here, when the supply of the external AC power supply is stopped, the process proceeds to step S112. On the other hand, when the supply of external AC power is not stopped, the process proceeds to step S108 described above, and steps S108 and S110 are continued until the momentary switch 30 is pressed or the supply of external AC power is stopped. Is executed repeatedly.

以上のように、最初の電源投入時は、外部電源スイッチ12のオン操作により、制御部60が一度起動される。その後、記憶部40に異常終了情報が無いと判断されると、フリップフロップ50に「1」がセットされ、モーメンタリスイッチ30のオン操作待ちの状態(図3参照)に移行する。   As described above, when the power is turned on for the first time, the controller 60 is activated once by turning on the external power switch 12. Thereafter, when it is determined that there is no abnormal end information in the storage unit 40, “1” is set in the flip-flop 50, and a transition is made to a state waiting for an ON operation of the momentary switch 30 (see FIG. 3).

続いて、図6を参照しつつ、上述したステップS108において、モーメンタリスイッチ30が押下された(オンされた)場合の処理について説明する。   Next, a process when the momentary switch 30 is pressed (turned on) in step S108 described above will be described with reference to FIG.

上述したように、ステップS108では、モーメンタリスイッチ30が押下されたか(オンされたか)否かについての判断が行われる。ここで、モーメンタリスイッチ30が押下された場合には、ステップS114に処理が移行する。   As described above, in step S108, it is determined whether or not the momentary switch 30 has been pressed (turned on). Here, if the momentary switch 30 is pressed, the process proceeds to step S114.

ステップS114では、モーメンタリスイッチ30の押下により、第1スイッチング素子81がオンされて制御部60が起動される。そして、起動された制御部60からORゲート70及び第2スイッチング素子82に対してオン信号が出力され、第1スイッチング素子81に加えて、第2スイッチング素子82がオンされる。その結果、ファクシミリユニット100に対する内部電源の供給が開始されて、ファクシミリユニット100が起動される。ファクシミリ装置は、初期化処理の後、動作状態に移行する。そして、ファクシミリ装置2が稼働状態(ステップS116)となる。   In step S114, when the momentary switch 30 is pressed, the first switching element 81 is turned on and the control unit 60 is activated. Then, an ON signal is output from the activated control unit 60 to the OR gate 70 and the second switching element 82, and the second switching element 82 is turned on in addition to the first switching element 81. As a result, supply of internal power to the facsimile unit 100 is started and the facsimile unit 100 is activated. The facsimile apparatus shifts to an operating state after the initialization process. Then, the facsimile machine 2 enters an operating state (step S116).

続いて、ステップS118では、モーメンタリスイッチ30が押下されたか(内部電源のオフ操作がされたか)否かについての判断が行われる。ここで、モーメンタリスイッチ30が押下された場合には、ステップS120に処理が移行する。一方、モーメンタリスイッチ30が押下されていないときには、ステップS124に処理が移行する。   Subsequently, in step S118, a determination is made as to whether or not the momentary switch 30 has been pressed (the internal power supply has been turned off). Here, if the momentary switch 30 is pressed, the process proceeds to step S120. On the other hand, when the momentary switch 30 is not pressed, the process proceeds to step S124.

ステップS124では、外部交流電源の供給が停止(オフ)されたか否かについての判断が行われる。ここで、外部交流電源の供給が停止された場合には、ステップS126に処理が移行する。一方、外部交流電源の供給が停止されていないときには、上述したステップS116に処理が移行し、モーメンタリスイッチ30が押下されるか、又は外部交流電源の供給が停止されるまで、ステップS116及びステップS118が繰り返して実行される(すなわちファクシミリ装置2の稼働状態が継続される)。   In step S124, a determination is made as to whether or not the supply of external AC power has been stopped (turned off). Here, when the supply of the external AC power supply is stopped, the process proceeds to step S126. On the other hand, when the supply of external AC power is not stopped, the process proceeds to step S116 described above, and steps S116 and S118 are performed until the momentary switch 30 is pressed or the supply of external AC power is stopped. Are repeatedly executed (that is, the operating state of the facsimile machine 2 is continued).

上述したステップS118でモーメンタリスイッチ30が押下されたと判断された場合には、ステップS120において、ファクシミリユニット100のシャットダウンシーケンス(例えば、データの保存や機械的な離間動作等)が実行される。シャットダウンシーケンスが終了すると、制御部60から第2スイッチング素子82にローレベル信号(オフ信号)が出力されて、第2スイッチング素子82がオフされる。また、フリップフロップ50の状態が「1」にセットされる。さらに、異常終了情報がクリア(消去)される。その後、ORゲート70にローレベル信号(オフ信号)が出力されて、第1スイッチング素子81がオフされる。   If it is determined in step S118 described above that the momentary switch 30 has been pressed, a shutdown sequence of the facsimile unit 100 (eg, data storage, mechanical separation operation, etc.) is executed in step S120. When the shutdown sequence ends, the control unit 60 outputs a low level signal (off signal) to the second switching element 82, and the second switching element 82 is turned off. Further, the state of the flip-flop 50 is set to “1”. Further, the abnormal end information is cleared (erased). Thereafter, a low level signal (off signal) is output to the OR gate 70, and the first switching element 81 is turned off.

そして、第1スイッチング素子81、及び第2スイッチング素子82がオフされることにより、制御部60及びファクシミリユニット100に供給されていた内部電源が停止され、ファクシミリ装置2がオフ状態となる(ステップS122)。その後、ステップS102に処理が移行する。   When the first switching element 81 and the second switching element 82 are turned off, the internal power supplied to the control unit 60 and the facsimile unit 100 is stopped, and the facsimile apparatus 2 is turned off (step S122). ). Thereafter, the process proceeds to step S102.

ステップS102では、上述したように、フリップフロップ50の状態が「1」であるか否かについての判断が行われる。なお、今回は、上述したステップS120においてフリップフロップ50には「1」がセットされている(すなわち「1」の状態である)ので、ステップS108に処理が移行する。   In step S102, as described above, it is determined whether or not the state of the flip-flop 50 is “1”. Note that this time, since “1” is set in the flip-flop 50 in step S120 described above (that is, in the state of “1”), the process proceeds to step S108.

ステップS108では、モーメンタリスイッチ30が押下されたか(内部電源のオン操作がされたか)否かについての判断が行われる。ここで、モーメンタリスイッチ30が押下された場合には、ステップS114に処理が移行する。一方、モーメンタリスイッチ30が押下されていないときには、ステップS110に処理が移行する。   In step S108, a determination is made as to whether or not the momentary switch 30 has been pressed (the internal power supply has been turned on). Here, if the momentary switch 30 is pressed, the process proceeds to step S114. On the other hand, when the momentary switch 30 is not pressed, the process proceeds to step S110.

ステップS110では、例えば停電、電源プラグ11の引き抜き、又は外部電源スイッチ12のオフ操作により、外部交流電源の供給が停止(オフ)されたか否かについての判断が行われる。ここで、外部交流電源の供給が停止された場合には、ステップS112に処理が移行する。一方、外部交流電源の供給が停止されていないときには、上述したステップS108に処理が移行し、モーメンタリスイッチ30が押下されるか、又は外部交流電源の供給が停止されるまで、ステップS108及びステップS110が繰り返して実行される。   In step S110, a determination is made as to whether or not the supply of external AC power has been stopped (turned off) by, for example, a power failure, pulling out the power plug 11, or turning off the external power switch 12. Here, when the supply of the external AC power supply is stopped, the process proceeds to step S112. On the other hand, when the supply of external AC power is not stopped, the process proceeds to step S108 described above, and steps S108 and S110 are continued until the momentary switch 30 is pressed or the supply of external AC power is stopped. Is executed repeatedly.

一方、ステップS108において、モーメンタリスイッチ30が押下されたと判断された場合には、ステップS114に処理が移行する。なお、ステップS114以降の処理は上述した通りであるので、ここでは詳細な説明を省略する。   On the other hand, if it is determined in step S108 that the momentary switch 30 has been pressed, the process proceeds to step S114. In addition, since the process after step S114 is as above-mentioned, detailed description is abbreviate | omitted here.

以上のように、モーメンタリスイッチ30が押下されてファクシミリ装置2(ファクシミリユニット100)が正常にオフされた場合、フリップフロップ50は「1」の状態を保持するため、再度モーメンタリスイッチ30が押下されることでファクシミリ装置2(ファクシミリユニット100)が再び起動される。   As described above, when the momentary switch 30 is pressed and the facsimile apparatus 2 (facsimile unit 100) is normally turned off, the flip-flop 50 maintains the state “1”, so the momentary switch 30 is pressed again. As a result, the facsimile apparatus 2 (facsimile unit 100) is activated again.

続いて、図7を参照しつつ、上述したステップS110において、例えば停電、電源プラグ11の引き抜き、又は外部電源スイッチ12のオフ操作により、外部交流電源の供給が停止(オフ)された場合について説明する。   Next, with reference to FIG. 7, a description will be given of the case where the supply of the external AC power supply is stopped (turned off) in the above-described step S110 due to, for example, a power failure, the power plug 11 being pulled out, or the external power switch 12 being turned off. To do.

ステップS110で外部交流電源の供給が停止された場合には、ステップS112において、フリップフロップ50の状態が「0」にリセットされる。その後、ステップS100に処理が移行する。ステップS100では、外部電源スイッチ12がオンされ、外部交流電源の供給が開始されたか否かの判断が行われる。ここで、外部電源スイッチ12がオフ状態で、まだ外部交流電源の供給か開始されていない場合には、外部交流電源の供給が開始されるまで、本ステップが繰り返して実行される。一方、外部電源スイッチ12がオンされ、外部交流電源の供給が開始された場合には、ステップS102に処理が移行する。   If the supply of external AC power is stopped in step S110, the state of the flip-flop 50 is reset to “0” in step S112. Thereafter, the process proceeds to step S100. In step S100, it is determined whether or not the external power switch 12 is turned on and the supply of external AC power is started. Here, when the external power switch 12 is in the OFF state and the supply of the external AC power has not been started yet, this step is repeatedly executed until the supply of the external AC power is started. On the other hand, when the external power switch 12 is turned on and the supply of external AC power is started, the process proceeds to step S102.

外部電源スイッチ12がオンされ、外部交流電源の供給が開始された場合、AC−DCコンバータ20によって内部電源が生成され、第1内部電源ライン21及び第2内部電源ライン22に対して内部電源が出力される。ステップS102では、フリップフロップ50の状態が「1」であるか否かについての判断が行われる。なお、今回は、フリップフロップ50はリセットされている、すなわち「0」の状態であるので、ステップS104に処理が移行する。   When the external power switch 12 is turned on and supply of external AC power is started, internal power is generated by the AC-DC converter 20, and internal power is supplied to the first internal power line 21 and the second internal power line 22. Is output. In step S102, it is determined whether or not the state of the flip-flop 50 is “1”. Note that this time, since the flip-flop 50 is reset, that is, in a state of “0”, the process proceeds to step S104.

ステップS104では、フリップフロップ50の状態出力が反転されて入力されることにより、ORゲート70からオン信号が出力される。そして、ORゲート70からのオン信号によって第1スイッチング素子81がオンされ、制御部60に内部電源が供給されて、該制御部60が起動される。   In step S <b> 104, an ON signal is output from the OR gate 70 when the state output of the flip-flop 50 is inverted and input. Then, the first switching element 81 is turned on by the ON signal from the OR gate 70, the internal power is supplied to the control unit 60, and the control unit 60 is activated.

次に、ステップS106では、起動された制御部60により、記憶部40に異常終了情報が記憶されているか否かについての判断が行われる。なお、今回は異常終了情報が記憶されていないため、ステップS120に処理が移行する。   Next, in step S <b> 106, the activated control unit 60 determines whether or not the abnormal end information is stored in the storage unit 40. In addition, since abnormal end information is not memorize | stored this time, a process transfers to step S120.

ステップS120では、制御部60により、フリップフロップ50の状態が「1」にセットされる。また制御部60により、異常終了情報がクリア(消去)される。その後、制御部60からORゲート70に対してオフ信号(ローレベル)が出力され、第1スイッチング素子81がオフされる。   In step S120, the state of the flip-flop 50 is set to “1” by the control unit 60. Further, the abnormal end information is cleared (erased) by the control unit 60. Thereafter, an off signal (low level) is output from the control unit 60 to the OR gate 70, and the first switching element 81 is turned off.

そして、第1スイッチング素子81がオフされることにより、制御部60に供給されていた内部電源が停止される(ステップS122)。その後、ステップS102に処理が移行する。   And the internal power supply supplied to the control part 60 is stopped by the 1st switching element 81 being turned off (step S122). Thereafter, the process proceeds to step S102.

ステップS102では、上述したように、フリップフロップ50の状態が「1」であるか否かについての判断が行われる。なお、上述したステップS120においてフリップフロップ50には「1」がセットされている(すなわち「1」の状態である)ので、今回は、ステップS108に処理が移行する。   In step S102, as described above, it is determined whether or not the state of the flip-flop 50 is “1”. Since “1” is set in the flip-flop 50 in step S120 described above (that is, the state is “1”), the process proceeds to step S108 this time.

ステップS108では、モーメンタリスイッチ30が押下されたか(内部電源のオン操作がされたか)否かについての判断が行われる。ここで、モーメンタリスイッチ30が押下された場合には、ステップS114に処理が移行する。一方、モーメンタリスイッチ30が押下されていないときには、ステップS110に処理が移行する。なお、ステップS110以降の処理は上述した通りであるので、ここでは詳細な説明を省略する。   In step S108, a determination is made as to whether or not the momentary switch 30 has been pressed (the internal power supply has been turned on). Here, if the momentary switch 30 is pressed, the process proceeds to step S114. On the other hand, when the momentary switch 30 is not pressed, the process proceeds to step S110. In addition, since the process after step S110 is as above-mentioned, detailed description is abbreviate | omitted here.

続いて、図8を参照しつつ、上述したステップS124において、例えば停電、電源プラグ11の引き抜き、又は外部電源スイッチ12のオフ操作により、外部交流電源の供給が停止(オフ)された場合、すなわち、内部電源供給中(機器稼働中)に外部交流電源の供給が遮断された場合について説明する。   Subsequently, referring to FIG. 8, in step S124 described above, for example, when the supply of the external AC power supply is stopped (turned off) by a power failure, the power plug 11 being pulled out, or the external power switch 12 being turned off, that is, The case where the supply of the external AC power supply is interrupted during the internal power supply (when the device is operating) will be described.

上述したように、ステップS124では、外部交流電源の供給が停止(オフ)されたか否かについての判断が行われる。ここで、外部交流電源の供給が停止されていないときには、上述したステップS116に処理が移行し、モーメンタリスイッチ30が押下されるか、又は外部交流電源の供給が停止されるまで、ステップS116及びステップS118が繰り返して実行される(すなわちファクシミリ装置2の稼働状態が継続される)。一方、外部交流電源の供給が停止された場合には、ステップS126に処理が移行する。   As described above, in step S124, it is determined whether or not the supply of external AC power has been stopped (turned off). Here, when the supply of the external AC power supply is not stopped, the process proceeds to step S116 described above, and the process proceeds to step S116 and the steps until the momentary switch 30 is pressed or the supply of the external AC power supply is stopped. S118 is repeatedly executed (that is, the operation state of the facsimile machine 2 is continued). On the other hand, when the supply of the external AC power supply is stopped, the process proceeds to step S126.

ステップS126では、割り込み処理(NMI処理)が入り、記憶部40に、異常終了されたこと(すなわち、内部電源供給中(稼働中)に外部交流電源の供給が遮断されたこと)を示す異常終了情報が格納される。   In step S126, an interrupt process (NMI process) is entered, and the storage unit 40 is abnormally terminated indicating that it has been abnormally terminated (that is, the supply of external AC power has been cut off during internal power supply (operation)). Information is stored.

そして、ステップS112においてフリップフロップ50の状態が「0」にリセットされた後、ステップS100に処理が移行する。ステップS100では、外部電源スイッチ12がオンされ、外部交流電源の供給が開始されたか否かの判断が行われる。ここで、外部電源スイッチ12がオフ状態で、まだ外部交流電源の供給か開始されていない場合には、外部交流電源の供給が開始されるまで、本ステップが繰り返して実行される。一方、外部電源スイッチ12がオンされ、外部交流電源の供給が開始された場合には、ステップS102に処理が移行する。   Then, after the state of the flip-flop 50 is reset to “0” in step S112, the process proceeds to step S100. In step S100, it is determined whether or not the external power switch 12 is turned on and the supply of external AC power is started. Here, when the external power switch 12 is in the OFF state and the supply of the external AC power has not been started yet, this step is repeatedly executed until the supply of the external AC power is started. On the other hand, when the external power switch 12 is turned on and the supply of external AC power is started, the process proceeds to step S102.

ステップS102では、フリップフロップ50の状態が「1」であるか否かについての判断が行われる。なお、今回は、フリップフロップ50はリセットされている、すなわち「0」の状態であるので、ステップS104に処理が移行する。   In step S102, it is determined whether or not the state of the flip-flop 50 is “1”. Note that this time, since the flip-flop 50 is reset, that is, in a state of “0”, the process proceeds to step S104.

ステップS104では、フリップフロップ50の状態出力が反転されて入力されることにより、ORゲート70からオン信号が出力される。そして、ORゲート70からのオン信号によって第1スイッチング素子81がオンされ、制御部60に内部電源が供給されて、該制御部60が起動される。   In step S <b> 104, an ON signal is output from the OR gate 70 when the state output of the flip-flop 50 is inverted and input. Then, the first switching element 81 is turned on by the ON signal from the OR gate 70, the internal power is supplied to the control unit 60, and the control unit 60 is activated.

次に、ステップS106では、起動された制御部60により、記憶部40に異常終了情報が記憶されているか否かについての判断が行われる。なお、今回は、異常終了情報が記憶されているため、ステップS116に処理が移行する。   Next, in step S <b> 106, the activated control unit 60 determines whether or not the abnormal end information is stored in the storage unit 40. Since the abnormal end information is stored this time, the process proceeds to step S116.

ステップS116では、第2スイッチング素子82がオンされ、ファクシミリユニット100に対して内部電源が供給される。そして、ファクシミリユニット100が起動され、ファクシミリ装置2が稼働状態となる。   In step S 116, the second switching element 82 is turned on, and the internal power is supplied to the facsimile unit 100. Then, the facsimile unit 100 is activated and the facsimile apparatus 2 is in an operating state.

続いて、ステップS118では、モーメンタリスイッチ30が押下されたか(内部電源のオフ操作がされたか)否かについての判断が行われる。ここで、モーメンタリスイッチ30が押下された場合には、ステップS120に処理が移行する。一方、モーメンタリスイッチ30が押下されていないときには、ステップS124に処理が移行する。なお、以降の処理は上述した通りであるので、ここでは詳細な説明を省略する。   Subsequently, in step S118, a determination is made as to whether or not the momentary switch 30 has been pressed (the internal power supply has been turned off). Here, if the momentary switch 30 is pressed, the process proceeds to step S120. On the other hand, when the momentary switch 30 is not pressed, the process proceeds to step S124. Since the subsequent processing is as described above, detailed description is omitted here.

以上のように、ファクシミリ装置2の稼働中に外部交流電源の供給が停止された場合には、NMI処理で異常終了情報が保存される。そのため、その後、外部交流電源が復帰され、制御部60が起動されると、この異常終了情報に基づいて、ファクシミリ装置2が外部交流電源の供給停止前(稼働中)の状態に復帰される。   As described above, when the supply of the external AC power supply is stopped during the operation of the facsimile apparatus 2, the abnormal end information is stored by the NMI process. Therefore, after that, when the external AC power supply is restored and the control unit 60 is activated, the facsimile apparatus 2 is restored to the state before the external AC power supply is stopped (in operation) based on the abnormal end information.

以上、詳細に説明したように、本実施形態によれば、フリップフロップ50が、外部電源の供給が停止されている状態では「0」の状態を取り、外部電源から生成される内部電源が制御部60に供給された場合に「1」の状態を取る。そして、外部電源が供給されている間、この状態(「1」の状態)が保持される。ここで、外部電源の供給が開始された場合には、フリップフロップ50の状態が「0」の状態にあるため、ORゲート70の出力がハイレベルになり、第1スイッチング素子81がオンされ、制御部60に対して内部電源の供給が行なわれる。そして、記憶部40に異常終了情報が記憶されている場合には、制御部60からORゲート70にオン信号が出力され、内部電源の継続的な(すなわちモーメンタリスイッチ30がオフされた後も)供給が許可される。一方、記憶部40に異常終了情報が記憶されていない場合には、ORゲート70に対するオン信号の出力が行われることなく、制御部60に対する内部電源の供給が停止される。   As described above in detail, according to the present embodiment, the flip-flop 50 takes the state “0” when the supply of the external power supply is stopped, and the internal power supply generated from the external power supply is controlled. When it is supplied to the unit 60, it takes a state of “1”. This state (“1” state) is maintained while the external power supply is supplied. Here, when the supply of the external power supply is started, since the state of the flip-flop 50 is “0”, the output of the OR gate 70 becomes high level, the first switching element 81 is turned on, Internal power is supplied to the controller 60. When the abnormal end information is stored in the storage unit 40, an ON signal is output from the control unit 60 to the OR gate 70, and the internal power supply is continued (that is, even after the momentary switch 30 is turned off). Supply is allowed. On the other hand, when the abnormal end information is not stored in the storage unit 40, the supply of internal power to the control unit 60 is stopped without outputting the ON signal to the OR gate 70.

また、上述したように、フリップフロップ50は、内部電源が供給された場合に「1」の状態にセットされ、外部電源が供給されている間、この状態(「1」の状態)が保持される。すなわち、モーメンタリスイッチ30がオンされた場合には、ORゲート70及び第1スイッチング素子81により制御部60に内部電源が供給され、起動された制御部60からオン信号がORゲート70、及び第2スイッチング素子82に出力されることにより、制御部60及びファクシミリユニット100に対して内部電源が継続して供給される。また、その後、モーメンタリスイッチ30がオフされた場合には、再びモーメンタリスイッチ30がオンされるまで、制御部60及びファクシミリユニット100に対する内部電源の供給が停止される。以上の結果、自動復帰型のモーメンタリスイッチ30を用い、自ら低消費電力状態を取り得る電源装置1において、外部交流電源の供給が一旦停止後に再開された場合に、自動的に、供給停止前の状態に復帰することが可能となる。   Further, as described above, the flip-flop 50 is set to “1” when the internal power is supplied, and this state (“1”) is maintained while the external power is supplied. The That is, when the momentary switch 30 is turned on, the internal power is supplied to the control unit 60 by the OR gate 70 and the first switching element 81, and the ON signal is sent from the activated control unit 60 to the OR gate 70 and the second switching element 81. By outputting to the switching element 82, the internal power is continuously supplied to the control unit 60 and the facsimile unit 100. Thereafter, when the momentary switch 30 is turned off, the supply of internal power to the control unit 60 and the facsimile unit 100 is stopped until the momentary switch 30 is turned on again. As a result, when the supply of external AC power is resumed after being temporarily stopped in the power supply device 1 that can take a low power consumption state by itself using the automatic return type momentary switch 30, the power supply before the supply stop is automatically It becomes possible to return to the state.

また、本実施形態によれば、例えば、停電又は電源プラグ13の引き抜き等により、内部電源供給中(機器稼働中)に外部電源の供給が遮断された場合、割り込み処理(NMI)が発生するように設定されているため、該割り込み処理において、異常終了情報を記憶部40に保存することができる。   Further, according to the present embodiment, an interrupt process (NMI) is generated when the supply of external power is interrupted during internal power supply (equipment operation) due to, for example, a power failure or removal of the power plug 13. Therefore, the abnormal end information can be stored in the storage unit 40 in the interrupt process.

本実施形態によれば、フリップフロップ50を用いることにより、外部交流電源及び内部電源の供給状態に応じて、「0」の状態、及び「1」の状態を保持するとともに、これらの状態に応じて第1スイッチング素子81をオン・オフ制御することができる。   According to the present embodiment, by using the flip-flop 50, the “0” state and the “1” state are maintained according to the supply state of the external AC power source and the internal power source, and according to these states. Thus, the first switching element 81 can be turned on / off.

本実施形態に係るファクシミリ装置2によれば、外部電源の供給が一旦停止した後に復帰した場合に、自動的に、供給停止前の状態に復帰することができる。そのため、外部電源復帰後にモーメンタリスイッチ30を押下するまでFAX受信ができなくなることを防止することが可能となる。また、外部交流電源復帰後にファクシミリ装置2の電源が不必要に入りっぱなしとなることを防ぐことができるため、省エネルギー効果を高めることができる。   The facsimile apparatus 2 according to the present embodiment can automatically return to the state before the supply stop when the supply of external power is temporarily stopped and then returned. For this reason, it is possible to prevent the FAX reception from being disabled until the momentary switch 30 is pressed after the external power supply is restored. In addition, since it is possible to prevent the power supply of the facsimile apparatus 2 from being left unnecessarily after the external AC power supply is restored, the energy saving effect can be enhanced.

以上、本発明の実施の形態について説明したが、本発明は、上記実施形態に限定されるものではなく種々の変形が可能である。例えば、上記実施形態では、電源装置1をファクシミリ装置2に搭載した場合を例にして説明したが、電源装置1が搭載される電子機器はファクシミリ装置に限られることなく、例えばプリンタ又は複合機等の電子機器に電源装置1を搭載してもよい。   Although the embodiment of the present invention has been described above, the present invention is not limited to the above embodiment, and various modifications can be made. For example, in the above-described embodiment, the case where the power supply device 1 is mounted on the facsimile device 2 has been described as an example. However, the electronic device on which the power supply device 1 is mounted is not limited to the facsimile device. The power supply device 1 may be mounted on the electronic apparatus.

また、上記実施形態では、外部交流電源復帰時に異常終了情報の有無に基づいて異常終了したか否かが判断されたが、正常に終了した場合に、正常に終了したことを示す正常終了情報を記憶する構成としてもよい。   Further, in the above embodiment, it is determined whether or not abnormal termination has occurred based on the presence or absence of abnormal termination information when the external AC power supply is restored. It is good also as a structure to memorize | store.

上記実施形態では、状態を保持するために、フリップフロップ50を用いたが、フリップフロップに代えて、例えば、ラッチ、又はラッチングリレー等を用いてもよい。   In the above embodiment, the flip-flop 50 is used to hold the state. However, for example, a latch or a latching relay may be used instead of the flip-flop.

また、ORゲート70により駆動されるスイッチング素子を記憶部40の電源供給ラインに追加してもよい。このようにすれば、機器の消費電力をさらに下げることができる。さらに、外部電源スイッチ12は必ずしも必要ではなく、例えば、電源プラグ11の抜き差しにより、直接、外部交流電源を供給又は遮断する構成としてもよい。   A switching element driven by the OR gate 70 may be added to the power supply line of the storage unit 40. In this way, the power consumption of the device can be further reduced. Further, the external power switch 12 is not necessarily required. For example, the external AC power supply may be directly supplied or cut off by inserting / removing the power plug 11.

1 電源装置
2 ファクシミリ装置
11 電源プラグ
12 外部電源スイッチ
20 AC−DCコンバータ
21 第1内部電源ライン
22 第2内部電源ライン
30 モーメンタリスイッチ
40 記憶部
50 フリップフロップ
60 制御部
70 ORゲート
81 第1スイッチング素子
82 第2スイッチング素子
100 ファクシミリユニット
DESCRIPTION OF SYMBOLS 1 Power supply device 2 Fax machine 11 Power plug 12 External power switch 20 AC-DC converter 21 1st internal power supply line 22 2nd internal power supply line 30 Momentary switch 40 Memory | storage part 50 Flip-flop 60 Control part 70 OR gate 81 1st switching element 82 Second switching element 100 Facsimile unit

Claims (5)

交流の外部電源を変換して直流の内部電源を生成する変換手段と、
操作者の操作に応じて、前記変換手段により生成された内部電源の供給及び供給停止を行う操作信号を出力する自動復帰型のモーメンタリスイッチと、
第1の状態及び第2の状態を取ることができ、外部電源の供給が停止されているときには第1の状態にリセットされ、外部電源が供給されているときには、直近にセットされた状態を保持する状態保持手段と、
外部電源の供給が停止しているときにも格納された情報を記憶している、不揮発性の又は常時バックアップされている記憶手段と、
内部電源の供給停止中に前記モーメンタリスイッチがオンされたときには内部電源を供給するオン信号を出力し、内部電源の供給中に前記モーメンタリスイッチがオンされたときには前記オン信号の出力を停止し、内部電源が供給された場合には、前記状態保持手段の状態を第2の状態にセットし、内部電源の供給時に外部電源の供給が停止した場合には、異常終了したことを示す異常終了情報を前記記憶手段に格納する制御手段と、
外部電源が供給されている状態において、前記状態保持手段が第1の状態のとき、前記制御手段からオン信号が出力されているとき、又は、前記モーメンタリスイッチがオンされているときに前記制御手段に内部電源を供給し、前記状態保持手段が第2の状態にあり、前記制御手段からオン信号が出力されておらず、かつ、前記モーメンタリスイッチがオフされているときに前記制御手段に対する内部電源の供給を遮断する第1給電断続手段と、を備え、
前記制御手段は、外部電源の供給が開始され、前記状態保持手段の状態に応じて前記第1給電断続手段により内部電源が供給されたときに、前記記憶手段に前記異常終了情報が記憶されている場合には、前記第1給電断続手段にオン信号を出力し、前記記憶手段に前記異常終了情報が記憶されていない場合には、前記第1給電断続手段に対するオン信号の出力を行わないことを特徴とする電源装置。
Conversion means for converting an AC external power supply to generate a DC internal power supply;
An automatic return type momentary switch that outputs an operation signal for supplying and stopping the supply of internal power generated by the conversion means in response to an operation of the operator;
The first state and the second state can be taken. When the external power supply is stopped, the first state is reset, and when the external power supply is supplied, the most recently set state is maintained. State holding means to perform,
Storage means for storing stored information even when the supply of external power is stopped, non-volatile or always backed up;
When the momentary switch is turned on while the internal power supply is stopped, an on signal for supplying the internal power is output. When the momentary switch is turned on while the internal power is being supplied, the output of the on signal is stopped. When the power is supplied, the state holding means is set to the second state, and when the external power supply is stopped when the internal power supply is supplied, the abnormal end information indicating the abnormal end is displayed. Control means for storing in the storage means;
The control means when the state holding means is in the first state, an ON signal is output from the control means, or the momentary switch is turned on in a state where external power is supplied Internal power to the control means when the state holding means is in the second state, no ON signal is output from the control means, and the momentary switch is OFF. First power supply intermittent means for cutting off the supply of
When the external power supply is started and the internal power is supplied by the first power supply interrupting means according to the state of the state holding means, the control means stores the abnormal end information in the storage means. If ON, an ON signal is output to the first power supply interrupting means, and if the abnormal end information is not stored in the storage means, no ON signal is output to the first power supply interrupting means. A power supply characterized by.
前記制御手段は、外部電源の供給停止によって内部電源の出力電圧が低下した際に発生する割り込み処理において、前記異常終了情報を前記記憶手段に格納することを特徴とする請求項1に記載の電源装置。   2. The power supply according to claim 1, wherein the control unit stores the abnormal end information in the storage unit in an interrupt process that occurs when the output voltage of the internal power supply decreases due to the supply stop of the external power supply. apparatus. 前記状態保持手段は、フリップフロップであることを特徴とする請求項1又は2に記載の電源装置。   The power supply apparatus according to claim 1, wherein the state holding unit is a flip-flop. 請求項1〜3のいずれか1項に記載の電源装置を備えた電子機器であって、
前記制御手段によって出力されるオン信号に基づいて、前記電子機器に内部電源を供給する第2給電断続手段を備えることを特徴とする電子機器。
An electronic device comprising the power supply device according to any one of claims 1 to 3,
An electronic apparatus comprising: a second power supply intermittent means for supplying an internal power supply to the electronic apparatus based on an ON signal output by the control means.
前記電子機器は、ファクシミリ機能を備えていることを特徴とする請求項4に記載の電子機器。
The electronic device according to claim 4, wherein the electronic device has a facsimile function.
JP2012061402A 2012-03-19 2012-03-19 Power supply device and electronic equipment Pending JP2013196239A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012061402A JP2013196239A (en) 2012-03-19 2012-03-19 Power supply device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012061402A JP2013196239A (en) 2012-03-19 2012-03-19 Power supply device and electronic equipment

Publications (1)

Publication Number Publication Date
JP2013196239A true JP2013196239A (en) 2013-09-30

Family

ID=49395142

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012061402A Pending JP2013196239A (en) 2012-03-19 2012-03-19 Power supply device and electronic equipment

Country Status (1)

Country Link
JP (1) JP2013196239A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015126588A (en) * 2013-12-26 2015-07-06 日置電機株式会社 Electronic apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015126588A (en) * 2013-12-26 2015-07-06 日置電機株式会社 Electronic apparatus

Similar Documents

Publication Publication Date Title
JP6116163B2 (en) Image forming apparatus, image forming apparatus control method, and program
US9264574B2 (en) Image communication apparatus, control method, and storage medium
CN102547020A (en) Image forming apparatus and power control method thereof
JP2005132052A (en) Image forming apparatus
JP5850019B2 (en) Information processing apparatus and control method
US9654659B2 (en) Image forming apparatus, method for controlling the same, recording medium, and image forming system for changing a power state of at least one of an image forming apparatus and a post-processing apparatus
JP6213117B2 (en) Control device and image forming apparatus
US6396762B2 (en) Electronic apparatus storing data in a volatile memory and method for protecting data stored therein
JP2015103966A (en) Power supply control device and image processing apparatus
US20100213771A1 (en) Electronic Device and Printing Device
JP2003228444A (en) Power supply circuit and communication system
JP2013196239A (en) Power supply device and electronic equipment
JP2019043029A (en) Image processing system, and control method for image processing system
JP2010041307A (en) Image forming apparatus and method
JP2001257818A (en) Facsimile machine
US20130250333A1 (en) Image processing apparatus and communication control method
JP6201342B2 (en) Communication device
JP2014104654A (en) Image forming apparatus and control method of the same
US9720430B2 (en) Power control device
JP2016197324A (en) Information processing device, control method for information processing device, and program
JP4050203B2 (en) Power supply device and communication system
JP2007028062A (en) Image forming apparatus
JPH11289419A (en) Combined device
JP6442963B2 (en) Information processing device
JP2020075386A (en) Printer and control method for the same