JP2016036117A - Communication apparatus, control method of the same, and program - Google Patents

Communication apparatus, control method of the same, and program Download PDF

Info

Publication number
JP2016036117A
JP2016036117A JP2014158988A JP2014158988A JP2016036117A JP 2016036117 A JP2016036117 A JP 2016036117A JP 2014158988 A JP2014158988 A JP 2014158988A JP 2014158988 A JP2014158988 A JP 2014158988A JP 2016036117 A JP2016036117 A JP 2016036117A
Authority
JP
Japan
Prior art keywords
line
power
sleep mode
mode
time
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
JP2014158988A
Other languages
Japanese (ja)
Inventor
須賀 大介
Daisuke Suga
大介 須賀
大原 栄治
Eiji Ohara
栄治 大原
福島 道雄
Michio Fukushima
道雄 福島
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2014158988A priority Critical patent/JP2016036117A/en
Priority to US14/805,692 priority patent/US20160036596A1/en
Priority to EP15177817.2A priority patent/EP2983349B1/en
Priority to KR1020150109311A priority patent/KR101907420B1/en
Priority to CN201510482853.8A priority patent/CN105338468B/en
Publication of JP2016036117A publication Critical patent/JP2016036117A/en
Pending legal-status Critical Current

Links

Images

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To make it possible to determine that the state of connection with a telephone line changes from connection to un-connection during a sleep mode and that the state changes from un-connection to connection because the telephone line is connected during the sleep mode.SOLUTION: In a communication apparatus and a control method of the same, when variation in line voltage is detected during a sleep mode, the apparatus is restored to a stand-by mode and the state of connection with the line is detected. When the state of the connection with the line is changed from un-connection to connection, measuring a period to shift to a power off mode is stopped and the apparatus is shifted to a sleep mode. When the detected state of the connection is changed from connection to un-connection, measuring the period to shift to the power off mode is started and the apparatus is shifted to a sleep mode.SELECTED DRAWING: Figure 1

Description

本発明は、通信装置とその制御方法、及びプログラムに関するものである。   The present invention relates to a communication apparatus, a control method therefor, and a program.

近年、通信装置において、益々消費電力を低減させることが要求されている。このためには、単に待機電力を削減するだけではなく、ネットワーク回線や電話回線等と未接続であり、しかも一定時間、通信装置を使用していない場合は、消費電力を大幅に削減するという電力管理の必要性までも考えられる。現に、ヨーロッパにおける環境指令(Lot26)は、近い将来、このような電力管理を行うことが必須であると議論され法規制化される予定である。このLot26によれば現時点では、全ての無線ネットワークポートが停止し、かつ、全ての有線ネットワークポートとの接続が絶たれた場合(機器がいかなるネットワークに物理的、論理的に接続されていない状態)は消費電力を0.5Wにしている。即ち、有線ネットワークポートには電話回線も含まれるため、ネットワークと未接続で電話回線にも未接続の場合は、0.5W以下の電力管理を行うことを意味している。   In recent years, communication devices have been required to reduce power consumption more and more. For this purpose, not only simply reducing standby power, but also not connecting to network lines, telephone lines, etc., and if the communication device is not used for a certain period of time The necessity of management is also considered. In fact, the environmental directive (Lot26) in Europe is scheduled to be regulated in the near future, considering that it is essential to conduct such power management. According to this Lot 26, when all the wireless network ports are stopped at this time and the connection with all the wired network ports is disconnected (a state where the device is not physically and logically connected to any network) Has a power consumption of 0.5W. That is, since the wired network port includes a telephone line, if the telephone network is not connected and is not connected to the telephone line, it means that power management of 0.5 W or less is performed.

このような背景から、従来、ネットワークや電話回線等と接続されているか否かを検知し、接続されていない場合に電力管理を行う装置が存在している。例えば、このLot26で規定された目標値0.5Wの電力管理を達成するために、装置全体の電源をオフすることで対応しようと考えられている。   From such a background, there has conventionally been an apparatus that detects whether or not a network or a telephone line is connected, and performs power management when it is not connected. For example, in order to achieve the power management of the target value 0.5 W defined by this Lot 26, it is considered to respond by turning off the power supply of the entire apparatus.

特許文献1は、電話回線に接続されていない場合に電力管理を行うディジタル複合機において、電話回線と接続されていないときに復帰要因を検知する回路に供給する電力を遮断することにより、更なる省電力を達成することを記載している。   Japanese Patent Application Laid-Open No. 2004-228867 further discloses that in a digital multi-function peripheral that performs power management when not connected to a telephone line, the power supplied to a circuit that detects a return factor when not connected to the telephone line is cut off. It describes the achievement of power saving.

特開2006−254384号公報JP 2006-254384 A

上述の目標値0.5Wの電力管理を達成するため、ディジタル複合機の電源をオフする電力管理を行った場合に考えられる電力推移の一例を図2に示す。図2は、ディジタル複合機における、電話回線との接続を検出した結果に応じた電力管理の時間推移の一例を説明する図である。   FIG. 2 shows an example of power transition that can be considered when power management is performed to turn off the power of the digital multi-function peripheral in order to achieve power management with the target value of 0.5 W. FIG. 2 is a diagram for explaining an example of a time transition of power management according to a result of detecting a connection with a telephone line in a digital multi-function peripheral.

ディジタル複合機が使用可能状態であるスタンバイモードで電話回線と接続されているかどうかを検出し、時間t1で電話回線と接続されていないことを検出する。そして、電話回線と接続されていない状態で、一定時間(t4−t1)、未使用状態が継続すると、時間t4でディジタル複合機の電源をオフする電源オフモードへ移行する。このとき省エネの観点から、時間t2でスリープモードに移行することが考えられる。上記特許文献1に開示される制御方法をこのスリープモードで実施すると、スリープモードでは、スリープモードから復帰する要因等を監視するファクシミリの受信検知部やネットワークからプリント要求検知部に電源を供給しない。この場合、スリープモードのときに、例えば時間t3で通信回線を公衆回線に再度接続しても、ディジタル複合機のCPUは、その接続を検出できない。従って、公衆回線と接続されているにも拘らず、時間t4で電源オフモードへ移行することになる。これは例えば、時間t1で電話回線と接続されていないことを検出し、時間t2でスリープモードに移行した後、時間t2からt4の間の時間t3で電話回線に接続された場合である。尚、例えばスタンバイモードは数十ワット、スリープモードは数ワット、電源オフモードは、ほぼ0ワットの値が目安となっている。   It is detected whether the digital multi-function peripheral is connected to the telephone line in the standby mode in which it can be used, and it is detected that it is not connected to the telephone line at time t1. If the unused state continues for a certain time (t4-t1) without being connected to the telephone line, the digital multifunction peripheral is shifted to the power-off mode at time t4. At this time, from the viewpoint of energy saving, it can be considered to shift to the sleep mode at time t2. When the control method disclosed in Patent Document 1 is implemented in the sleep mode, power is not supplied to the print request detection unit from the facsimile reception detection unit or the network that monitors factors for returning from the sleep mode in the sleep mode. In this case, even when the communication line is reconnected to the public line at time t3 in the sleep mode, for example, the CPU of the digital multi-function peripheral cannot detect the connection. Therefore, although it is connected to the public line, it shifts to the power-off mode at time t4. This is the case, for example, when it is detected that it is not connected to the telephone line at time t1, and after entering the sleep mode at time t2, it is connected to the telephone line at time t3 between times t2 and t4. For example, the standby mode is several tens of watts, the sleep mode is several watts, and the power-off mode is a value of approximately 0 watts.

上記問題を解決するために、例えばスリープモードでは、スリープモードからの復帰の要因を監視する回路、例えばネットワークからのプリント要求を検知する回路やファクシミリの着信を検知する回路に通電することが考えられる。具体的には、ファクシミリ装置の着信を検出するモデムとSDAAなどに電源を供給する。SDAAは、Silicon Data Access Arrangementの略であり、電話回線とモデムの間に配置され、半導体で構成される網制御装置(NCU)である。その際にファクシミリ装置のCPUに電源を供給するが、低消費電力化のためCPUの動作を停止させる。これによりCPUの動作が停止しているため、スリープモードの間に電話回線との接続が、接続から未接続に変化したことを判定できなかった。また、スリープモードの間に電話回線が接続されて未接続から接続へ変化した場合も判定できなかった。   In order to solve the above problem, for example, in the sleep mode, it is conceivable to energize a circuit that monitors the cause of return from the sleep mode, for example, a circuit that detects a print request from the network or a circuit that detects the arrival of a facsimile. . Specifically, power is supplied to a modem, SDAA, and the like that detect the incoming call of the facsimile apparatus. SDAA is an abbreviation for Silicon Data Access Arrangement, and is a network control unit (NCU) that is arranged between a telephone line and a modem and is made of a semiconductor. At that time, power is supplied to the CPU of the facsimile apparatus, but the operation of the CPU is stopped to reduce power consumption. As a result, the operation of the CPU is stopped, and it has not been possible to determine that the connection with the telephone line has changed from connected to unconnected during the sleep mode. Also, it was not possible to determine when the telephone line was connected during the sleep mode and the connection was changed from unconnected to connected.

本発明の目的は、上記従来技術の問題点を解決することにある。   An object of the present invention is to solve the above-mentioned problems of the prior art.

本発明の特徴は、スリープモードの間に回線との接続状態が変化したことを検知して、電源オフモードへの移行を制御する技術を提供することにある。   A feature of the present invention is to provide a technique for detecting a change in the connection state with a line during the sleep mode and controlling the transition to the power-off mode.

上記目的を達成するために本発明の一態様に係る通信装置は以下のような構成を備える。即ち、
回線電圧の変化を検知する検知手段と、
時間を計時する計時手段と、
回線との接続状態を検出する検出手段と、
スリープモードへの移行条件を満足するとスリープモードに移行させる移行手段と、
前記スリープモードで前記検知手段が前記回線電圧の変化を検知すると、スタンバイモードに復帰させて前記検出手段により回線との接続状態を検出させ、前記検出手段により検出された前記接続状態が未接続から接続に変更したときは、前記計時手段による電源オフモードに移行する時間の計時を停止させて前記スリープモードに移行させ、前記検出手段により検出された前記接続状態が接続から未接続に変更したときは、前記計時手段による電源オフモードに移行する時間の計時を開始させて前記スリープモードに移行させるように制御する制御手段と、を有することを特徴とする。
In order to achieve the above object, a communication apparatus according to an aspect of the present invention has the following arrangement. That is,
Detection means for detecting changes in the line voltage;
A time measuring means for measuring time;
Detecting means for detecting a connection state with the line;
A transition means for transitioning to the sleep mode when the transition condition to the sleep mode is satisfied;
When the detection means detects a change in the line voltage in the sleep mode, the detection means returns to the standby mode and the connection state with the line is detected by the detection means, and the connection state detected by the detection means is not connected. When the connection is changed, when the time to shift to the power-off mode by the timing unit is stopped and the mode is shifted to the sleep mode, and the connection state detected by the detection unit is changed from connected to unconnected Comprises control means for starting time measurement by the time measuring means to shift to the power-off mode and controlling to shift to the sleep mode.

本発明によれば、スリープモードの間に回線との接続状態が変化したことを検知して、その状態に応じて電源オフモードへの移行を制御できる。   According to the present invention, it is possible to detect that the connection state with the line has changed during the sleep mode, and to control the transition to the power-off mode according to the state.

本発明のその他の特徴及び利点は、添付図面を参照とした以下の説明により明らかになるであろう。なお、添付図面においては、同じ若しくは同様の構成には、同じ参照番号を付す。   Other features and advantages of the present invention will become apparent from the following description with reference to the accompanying drawings. In the accompanying drawings, the same or similar components are denoted by the same reference numerals.

添付図面は明細書に含まれ、その一部を構成し、本発明の実施の形態を示し、その記述と共に本発明の原理を説明するために用いられる。
本発明の実施形態1に係るファクシミリ装置の構成を説明するブロック図。 ディジタル複合機において電話回線との接続を検出した結果に応じた電力管理の時間推移の一例を説明する図。 実施形態1に係るファクシミリ装置が回線を捕捉したときの通信回線の回線電圧の変化例を示す図。 実施形態1に係るファクシミリ装置の直流捕捉の動作を説明する簡易ブロック図。 実施形態1に係るファクシミリ装置における電源供給を説明するブロック図。 実施形態1に係るファクシミリ装置の状態に対応した、電源回路からの電源出力の状態の遷移を説明する図。 実施形態1に係るファクシミリ装置における動作状態の遷移を説明するフローチャート。 図8のS816でファクシミリ装置がスリープモードに移行するときの処理を説明するフローチャート。 実施形態1に係るファクシミリ装置における電力推移の一例を示す図。 実施形態1に係るファクシミリ装置の電力推移の他の一例を示す図。
The accompanying drawings are included in the specification, constitute a part thereof, show an embodiment of the present invention, and are used to explain the principle of the present invention together with the description.
1 is a block diagram illustrating a configuration of a facsimile apparatus according to Embodiment 1 of the present invention. The figure explaining an example of the time transition of the power management according to the result of having detected the connection with a telephone line in a digital multifunctional device. FIG. 3 is a diagram illustrating an example of a change in line voltage of a communication line when the facsimile apparatus according to the first embodiment captures the line. FIG. 3 is a simplified block diagram for explaining a direct current capture operation of the facsimile apparatus according to the first embodiment. FIG. 3 is a block diagram for explaining power supply in the facsimile apparatus according to the first embodiment. FIG. 5 is a diagram for explaining a transition of a power output state from a power circuit corresponding to the state of the facsimile apparatus according to the first embodiment. , 6 is a flowchart for explaining transition of an operation state in the facsimile apparatus according to the first embodiment. 9 is a flowchart for describing processing when the facsimile apparatus shifts to a sleep mode in S816 of FIG. FIG. 3 is a diagram illustrating an example of power transition in the facsimile apparatus according to the first embodiment. FIG. 5 is a diagram illustrating another example of power transition of the facsimile apparatus according to the first embodiment.

以下、添付図面を参照して本発明の実施形態を詳しく説明する。尚、以下の実施形態は特許請求の範囲に係る本発明を限定するものでなく、また本実施形態で説明されている特徴の組み合わせの全てが本発明の解決手段に必須のものとは限らない。   Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings. The following embodiments do not limit the present invention according to the claims, and all combinations of features described in the embodiments are not necessarily essential to the solution means of the present invention. .

[実施形態1]
図1は、本発明の実施形態1に係るファクシミリ装置100の構成を説明するブロック図である。ここでは本発明に係る通信装置を、実施形態に係るファクシミリ装置を例に説明する。この通信装置は、ファクシミリ装置に限定されるものでなく、例えば複合機やPC等の情報処理装置であっても良い。
[Embodiment 1]
FIG. 1 is a block diagram illustrating a configuration of a facsimile machine 100 according to the first embodiment of the present invention. Here, the communication apparatus according to the present invention will be described by taking the facsimile apparatus according to the embodiment as an example. This communication apparatus is not limited to a facsimile apparatus, and may be an information processing apparatus such as a multifunction machine or a PC.

システム・オン・チップ(SOC)101はCPU200を含み、このファクシミリ装置100全体の動作を制御している。メモリ140はSOC101に接続され、CPU200がアクセスできる主記憶装置及び補助記憶装置として機能しており、CPU200のワークメモリや制御プログラムを格納するメモリとして使用される。またメモリ140は、ファクシミリ送信又はファクシミリ受信等の際に、画像データや各種情報を一時的に記憶するためのメモリとしても使用され、また不揮発性記憶装置が含まれておりユーザが設定した情報を格納するためにも使用される。SDAAプログラム202はモデム102のDSP205で実行されるプログラムで、モデム102に転送されてRAM204に展開された後に、DSP205で実行される。メモリ140には、RAMやハードディスクやフラッシュメモリを使用することができる。   A system-on-chip (SOC) 101 includes a CPU 200 and controls the operation of the facsimile apparatus 100 as a whole. The memory 140 is connected to the SOC 101 and functions as a main storage device and an auxiliary storage device that can be accessed by the CPU 200, and is used as a work memory for the CPU 200 and a memory for storing a control program. The memory 140 is also used as a memory for temporarily storing image data and various types of information during facsimile transmission or reception, and includes a non-volatile storage device that stores information set by the user. Also used to store. The SDAA program 202 is a program executed by the DSP 205 of the modem 102, transferred to the modem 102, expanded in the RAM 204, and then executed by the DSP 205. As the memory 140, a RAM, a hard disk, or a flash memory can be used.

SOC101には、操作パネル118、読取部121、記録部122、IF部123が接続されている。操作パネル118は表示器119及びキーボード類120を備え、これらはユーザ・インタフェースとして機能する。表示器119は、装置の状態やメニュー等の表示を行う。またキーボード類120は、ユーザからの各種の指示の入力を受け付けるボタンやテンキー等を含み、ユーザがこのキーボードを用いて、ユーザ設定情報を入力することができる。読取部121は、原稿の画像を読み取って画像データを生成する。生成された画像データは、通信回線130と公衆回線210を介して相手側装置に対してファクシミリ送信されてもよく、或いは記録部122で印刷されても良い。IF部123は、各種の情報機器を接続するインタフェースとして機能する。IF部123には、例えばネットワークIF127が含まれ、LAN(Local Area Network)240と接続される。ネットワークIF127との接続確認は、ネットワークの基本プロトコルのデータリンク層において、伝送路と接続先の状態を確認しデータの送受信が可能かどうかにより判断する。ここでネットワークIF127はLANコントローラとして機能し、例えば外部ゲートウェイとの間でCSMA/CD(Carrier Sense Multiple Access/Collision Detection)通信方式により、データの送受信を行なう。   An operation panel 118, a reading unit 121, a recording unit 122, and an IF unit 123 are connected to the SOC 101. The operation panel 118 includes a display 119 and a keyboard 120, which function as a user interface. A display 119 displays the state of the apparatus and menus. The keyboard 120 includes buttons and numeric keys for receiving input of various instructions from the user, and the user can input user setting information using the keyboard. The reading unit 121 reads an image of a document and generates image data. The generated image data may be facsimile-transmitted to the counterpart device via the communication line 130 and the public line 210, or may be printed by the recording unit 122. The IF unit 123 functions as an interface for connecting various information devices. The IF unit 123 includes, for example, a network IF 127 and is connected to a LAN (Local Area Network) 240. The connection confirmation with the network IF 127 is determined by checking the state of the transmission path and the connection destination in the data link layer of the basic protocol of the network and determining whether data can be transmitted and received. Here, the network IF 127 functions as a LAN controller, and performs data transmission / reception with an external gateway, for example, by a CSMA / CD (Carrier Sense Multiple Access / Collision Detection) communication method.

モデム102はROM203,RAM204,DSP205、レジスタ206を含み、SOC101の制御に基づいて動作する変復調器である。モデム102は、ファクシミリ送信の対象となる、読取部121で読み取られた画像データを用いた変調処理と、通信回線130、公衆回線210を介して受信した信号の復調処理を行う。モデム102は、絶縁素子103を介してSDAA(即ちシリコン・データ・アクセス・アレンジメント)104と接続されている。ROM203は、DSP205により実行されるプログラムを格納している。RAM204には、ホストから転送されるSDAAプログラム202や、ROM203に記憶されているプログラムが展開され、DSP205は、その展開されたプログラムを実行する。DSP205はRAM204に展開されたプログラムを実行して、モデム102の動作を制御する。レジスタ206はSDAA104の状態を格納し、或いは、SOC101からの指示を格納する。   The modem 102 includes a ROM 203, a RAM 204, a DSP 205, and a register 206, and is a modem that operates based on the control of the SOC 101. The modem 102 performs modulation processing using the image data read by the reading unit 121 that is a target of facsimile transmission, and demodulation processing of signals received via the communication line 130 and the public line 210. The modem 102 is connected to the SDAA (ie, silicon data access arrangement) 104 through the isolation element 103. The ROM 203 stores a program executed by the DSP 205. The RAM 204 expands the SDAA program 202 transferred from the host and the program stored in the ROM 203, and the DSP 205 executes the expanded program. The DSP 205 executes the program expanded in the RAM 204 and controls the operation of the modem 102. The register 206 stores the state of the SDAA 104 or stores an instruction from the SOC 101.

SDAA104は網制御を実行する回路の一例である半導体NCU(ネットワーク制御ユニット)で、回線捕捉回路105、電圧検知回路150、電流検知回路151、ACフィルタ回路201を有している。SDAA104は通信回線130と接続されており、画像形成装置100と外部の通信回線130とのインタフェースとして機能する網制御部である。またSDAA104は通信回線130を介して相手側装置との間で通信を行う際に、回線の接続(捕捉)状態を制御する。通信回線130には、画像形成装置100に外付けされた電話機128も接続される。電話機128は、Hリレー110を介して通信回線130に接続されており、SDAA104は、鳴動着信待機時に、電話機128と並列に通信回線130に接続されている。SDAA104は、ファクシミリ送受信を行う場合に、回線を捕捉してその通信を制御するだけでなく、電話機128が通信回線130を介して相手側装置との間で音声通信を行う場合にも、回線の捕捉状態を制御する。SDAA104は、これらの制御をSOC101の制御に基づいて実行する。   The SDAA 104 is a semiconductor NCU (network control unit) that is an example of a circuit that performs network control, and includes a line capture circuit 105, a voltage detection circuit 150, a current detection circuit 151, and an AC filter circuit 201. The SDAA 104 is a network control unit that is connected to the communication line 130 and functions as an interface between the image forming apparatus 100 and the external communication line 130. Also, the SDAA 104 controls the connection (capture) state of the line when communicating with the counterpart device via the communication line 130. A telephone 128 externally attached to the image forming apparatus 100 is also connected to the communication line 130. The telephone 128 is connected to the communication line 130 via the H relay 110, and the SDAA 104 is connected to the communication line 130 in parallel with the telephone 128 when waiting for a ringing incoming call. The SDAA 104 not only captures the line and controls the communication when performing facsimile transmission / reception, but also when the telephone 128 performs voice communication with the other apparatus via the communication line 130. Control the capture state. The SDAA 104 executes these controls based on the control of the SOC 101.

SDAA104は、回線捕捉回路105を使用して回線の直流捕捉状態を制御する。この回線捕捉回路105により直流捕捉される場合の直流インピーダンスは可変である。このインピーダンスは、予め設定された、直流的な電圧に対する電流特性(以下、DC−VI特性)で得られる。電圧検知回路150は、通信回線130の電圧をモニタする回路である。電流検知回路151は、通信回線130上の電流をモニタする回路である。ACフィルタ回路201は、電圧検知回路150或いは電流検知回路151の前段に接続され、DC電圧或いは電流を検知する場合に、AC成分を除去して誤検知を防止する役割を果たしている。   The SDAA 104 uses the line acquisition circuit 105 to control the DC acquisition state of the line. The direct current impedance when the direct current is captured by the line capture circuit 105 is variable. This impedance is obtained by a preset current characteristic with respect to a DC voltage (hereinafter referred to as DC-VI characteristic). The voltage detection circuit 150 is a circuit that monitors the voltage of the communication line 130. The current detection circuit 151 is a circuit that monitors the current on the communication line 130. The AC filter circuit 201 is connected to the preceding stage of the voltage detection circuit 150 or the current detection circuit 151, and plays a role of preventing erroneous detection by removing the AC component when detecting a DC voltage or current.

直流捕捉回路152はSDAA104の周辺回路で、電流源の電流を調整することにより、直流捕捉を行いながら、SDAA104の制御の下で、直流インピーダンスの調整を行う。直流捕捉回路152は、回線開放状態を作り出したり回線に対する選択信号の一種であるダイヤルパルスを送出する際にも使用される。整流回路155はダイオードブリッジ等を含み、通信回線130からの信号を整流してSDAA104へ伝える。受信IF回路153は、通信回線130を介して受信されるファクシミリの受信信号などを受信するためのインターフェース回路である。交流インピーダンス整合回路154は、例えば、日本の場合は、交流インピーダンスを600Ωに合わせるための回路である。ノイズ除去回路156は、通信回線130からの雷サージ、電磁ノイズなどを抑制し、逆に通信回線130を介して、画像形成装置100のノイズが送出されるのを防止する。   The DC capture circuit 152 is a peripheral circuit of the SDAA 104, and adjusts the DC impedance under the control of the SDAA 104 while performing DC capture by adjusting the current of the current source. The DC capturing circuit 152 is also used when creating a line open state or sending a dial pulse which is a kind of selection signal for the line. The rectifier circuit 155 includes a diode bridge or the like, and rectifies a signal from the communication line 130 and transmits it to the SDAA 104. The reception IF circuit 153 is an interface circuit for receiving a facsimile reception signal received via the communication line 130. For example, in the case of Japan, the AC impedance matching circuit 154 is a circuit for matching the AC impedance to 600Ω. The noise removal circuit 156 suppresses lightning surge, electromagnetic noise, and the like from the communication line 130, and conversely prevents noise from the image forming apparatus 100 from being sent via the communication line 130.

実施形態1に係るファクシミリ装置はCI検知回路は具備してないため、通信回線130から受信した呼び出し信号(CI信号)を回線電圧入力回路157経由でSDAA104へ入力し、SDAA104内の電圧検知回路150で検知する。その回線電圧値を利用してモデム102でCI信号の検知を行う。日本のPSTN交換機はDC約48Vに重畳したAC75VrmsをCI信号としてファクシミリ装置100へ送出する。これによりSDAA104内の電圧検知回路150で検知した回線電圧値を利用してモデム102でCIシーンを受信したかどうかを判定する。   Since the facsimile apparatus according to the first embodiment does not include the CI detection circuit, the call signal (CI signal) received from the communication line 130 is input to the SDAA 104 via the line voltage input circuit 157, and the voltage detection circuit 150 in the SDAA 104 is input. Detect with. The modem 102 detects a CI signal using the line voltage value. The Japanese PSTN switch sends AC75Vrms superimposed on about 48V DC to the facsimile machine 100 as a CI signal. Thus, it is determined whether the CI scene is received by the modem 102 using the line voltage value detected by the voltage detection circuit 150 in the SDAA 104.

Hリレー110は、外付け電話機128を通信回線130へ接続した接続状態と、外付け電話機128を通信回線130から切断した状態の切り替えを行う。またHリレー110は、Hリレー駆動信号111を用いて、SOC101によって制御される。尚、Hリレー110で電話機128が通信回線130から切り離されている場合、CI信号を着信しても電話機128は鳴動しない、所謂、画像形成装置100の無鳴動着信状態となる。図1に示すファクシミリ装置にはフォトカプラ等を用いるフック検知回路は具備されていない。フック検知電圧に通信回線130から給電されるDC約48Vを利用し、外付け電話機128がオフフックして直流捕捉すると回線電圧は線路抵抗によりドロップし48Vから8V程度に変化する。また外付け電話機128がオンフックして回線を解放すると回線電圧は48Vに戻る。回線電圧入力回路157経由でSDAA104へ回線電圧を入力しており、SDAA104の電圧検知回路150で検知した回線電圧値を利用してモデム102で外付け電話機128がオンフック、或いはオフフックであるかを検知する。こうして検知された外付け電話機128のオフフック又はオンフックの検知結果は、モデム102からSOC101へ伝達される。もちろんHリレー110の片側からフック検知用直流電圧送出回路や疑似CI送出回路を接続してフック検知回路を具備する構成であってもかまわない。   The H relay 110 switches between a connection state in which the external telephone 128 is connected to the communication line 130 and a state in which the external telephone 128 is disconnected from the communication line 130. The H relay 110 is controlled by the SOC 101 using the H relay drive signal 111. When the telephone 128 is disconnected from the communication line 130 by the H relay 110, the telephone 128 does not ring even when a CI signal is received. The facsimile apparatus shown in FIG. 1 does not include a hook detection circuit using a photocoupler or the like. When about 48V DC fed from the communication line 130 is used for the hook detection voltage and the external telephone 128 is off-hooked and DC is captured, the line voltage drops due to the line resistance and changes from 48V to about 8V. When the external telephone 128 is on-hooked and the line is released, the line voltage returns to 48V. The line voltage is input to the SDAA 104 via the line voltage input circuit 157, and the modem 102 detects whether the external telephone 128 is on-hook or off-hook using the line voltage value detected by the voltage detection circuit 150 of the SDAA 104. To do. An off-hook or on-hook detection result of the external telephone 128 detected in this way is transmitted from the modem 102 to the SOC 101. Of course, the hook detection DC voltage transmission circuit or the pseudo CI transmission circuit may be connected from one side of the H relay 110 to provide a hook detection circuit.

210はPSTN(公衆回線)、220は公衆回線210を介して接続された相手ファクシミリ装置である。タイマ回路124はSOC101と接続され、SOC101から設定された時間を計測するとCPU200に、割り込みなどで通知する。SOC101は、タイマ回路124の起動設定及びタイマクリアの制御を行う。電源回路125は、ファクシミリ装置100内部の回路ブロックに供給する電源を生成する回路である。商用電源250から日本ではAC100Vが供給され、例えば複数系統の電源出力165,166を生成する。尚、SOC101内の電源制御部207から電源回路125へ供給される電源出力制御信号164により電源出力165,166が制御される。   210 is a PSTN (public line), and 220 is a counterpart facsimile machine connected via the public line 210. The timer circuit 124 is connected to the SOC 101, and when the time set from the SOC 101 is measured, the timer circuit 124 notifies the CPU 200 by an interrupt or the like. The SOC 101 controls activation setting and timer clearing of the timer circuit 124. The power supply circuit 125 is a circuit that generates power to be supplied to a circuit block inside the facsimile apparatus 100. In Japan, AC 100 V is supplied from the commercial power source 250, and for example, a plurality of power source outputs 165 and 166 are generated. The power output 165 and 166 are controlled by a power output control signal 164 supplied from the power controller 207 in the SOC 101 to the power circuit 125.

またモデム102、ネットワークIF127、タイマ回路124、キーボード類120より発生する各々の割り込み信号(d1,d2,d3,d4)が電源制御部207へ供給されている。これにより電源制御部207は、これら割り込み信号のいずれかが入力されるとスリープモードからの復帰要因が発生したとしてCPU200へ通知する。CPU200は、その復帰要因が発生したことに応じて、動作を停止している停止状態から復帰してプログラムの実行を再開する。そしてCPU200が電源制御部207を制御し、電源出力制御信号164により電源回路125の電源出力166を出力させる。こうしてCPU200は停止状態から復帰した後、電源制御部207へアクセスして、どの回路からの復帰要因であるかを判定すると、その割込み要因をクリアする。   Further, interrupt signals (d1, d2, d3, d4) generated from the modem 102, the network IF 127, the timer circuit 124, and the keyboards 120 are supplied to the power control unit 207. As a result, when any one of these interrupt signals is input, the power supply control unit 207 notifies the CPU 200 that a factor for returning from the sleep mode has occurred. In response to the occurrence of the return factor, the CPU 200 returns from the stopped state where the operation is stopped and resumes the execution of the program. Then, the CPU 200 controls the power supply control unit 207 and causes the power supply output 166 of the power supply circuit 125 to be output by the power supply output control signal 164. After the CPU 200 returns from the stopped state in this way, the power supply control unit 207 is accessed, and when it is determined from which circuit the return factor is, the interrupt factor is cleared.

割り込み信号d1は、モデム102が回線電圧の変化を検出することにより出力する割り込み信号である。割り込み信号d2は、ネットワークIF127が、このファクシミリ装置100宛てのプリントジョブを検知した場合に発生する割り込み信号である。割り込み信号d3は、タイマ回路124が所定時間が経過したときに出力する割り込み信号である。割り込み信号d4は、キーボード類120のキーボードが押下されたことを示す割り込み信号である。また割り込み信号d1,d2,d3,d4のいくつか、或いは全部の論理和をとった割り込み信号dとしてSOC101の電源制御部207へ供給してもよい。その場合、CPU200が割り込み信号dにより停止状態から復帰した後、その割り込み信号を発生したのが、モデム102、ネットワークIF127、タイマ回路124、キーボード類120のいずれかであるかを判定する。   The interrupt signal d1 is an interrupt signal output when the modem 102 detects a change in line voltage. The interrupt signal d2 is an interrupt signal generated when the network IF 127 detects a print job addressed to the facsimile apparatus 100. The interrupt signal d3 is an interrupt signal output when the timer circuit 124 has passed a predetermined time. The interrupt signal d4 is an interrupt signal indicating that the keyboard of the keyboard 120 has been pressed. Alternatively, some or all of the interrupt signals d1, d2, d3, and d4 may be supplied to the power supply control unit 207 of the SOC 101 as an interrupt signal d obtained by ORing all the signals. In this case, after the CPU 200 returns from the stopped state by the interrupt signal d, it is determined whether the modem 102, the network IF 127, the timer circuit 124, or the keyboard 120 generates the interrupt signal.

図3は、実施形態1に係るファクシミリ装置100が回線を捕捉したときの通信回線130の回線電圧の変化例を示す図である。   FIG. 3 is a diagram illustrating a change example of the line voltage of the communication line 130 when the facsimile apparatus 100 according to the first embodiment captures the line.

通信回線130が公衆回線210と接続された直流捕捉の回線電圧と、通信回線130が公衆回線210と未接続時の回線電圧は以下に説明する関係になっている。   The line voltage for DC capture when the communication line 130 is connected to the public line 210 and the line voltage when the communication line 130 is not connected to the public line 210 have the relationship described below.

まず、図3において、301では、直流捕捉回路152は直流捕捉状態になっておらず(オンフック)、このときの電圧値は約48Vである。このとき公衆回線210から見た直流抵抗値は1Mオーム以上になっている。302では、オフフック動作が開始され、直流捕捉回路152は電流を調整することにより、直流捕捉を行いながら、SDAA104の制御で直流インピーダンスを調整する。この際、公衆回線210の線路抵抗により発生する電圧降下により、回線電流の増加に伴って徐々に回線電圧が降下し始める。303は、直流インピーダンスの調整が終了し公衆回線210から見た直流抵抗値が一定値となった状態である。この状態303では、ファクシミリ装置100から見た回線電圧値は、線路抵抗の電圧降下により低下する。例えば、直流インピーダンスが約266Ωで、回線電流が30mA流れた場合、線路抵抗と交換機の内部抵抗が約1333Ωであれば30[mA]×1333[Ω]≒40[V]の電圧降下が発生する。ここで公衆回線210が定電圧制御とすると、約48Vから約40Vへの電圧降下が発生し、ファクシミリ装置100から見た回線電圧は約8Vになる。またSDAA104が回線捕捉せずに外付け電話機128がオフフックした時でも同様である。   First, in FIG. 3, at 301, the DC capturing circuit 152 is not in the DC capturing state (on-hook), and the voltage value at this time is about 48V. At this time, the DC resistance value viewed from the public line 210 is 1 M ohm or more. In 302, an off-hook operation is started, and the DC capture circuit 152 adjusts the DC impedance by controlling the SDAA 104 while performing DC capture by adjusting the current. At this time, due to the voltage drop caused by the line resistance of the public line 210, the line voltage gradually begins to drop as the line current increases. Reference numeral 303 denotes a state where the adjustment of the DC impedance is completed and the DC resistance value viewed from the public line 210 becomes a constant value. In this state 303, the line voltage value viewed from the facsimile machine 100 is lowered due to the voltage drop of the line resistance. For example, when the DC impedance is about 266Ω and the line current flows 30 mA, a voltage drop of 30 [mA] × 1333 [Ω] ≈40 [V] occurs if the line resistance and the internal resistance of the switch are about 1333Ω. . Here, when the public line 210 is controlled at a constant voltage, a voltage drop from about 48V to about 40V occurs, and the line voltage viewed from the facsimile apparatus 100 becomes about 8V. The same applies when the SDAA 104 does not capture the line and the external telephone 128 goes off-hook.

図4は、実施形態1に係るファクシミリ装置100の直流捕捉の動作を説明する簡易ブロック図である。未記載の整流回路155等については説明を省略する。   FIG. 4 is a simplified block diagram for explaining the DC capturing operation of the facsimile apparatus 100 according to the first embodiment. Description of the rectifier circuit 155 and the like not described is omitted.

公衆回線210の局側交換機からファクシミリ装置100へ48V程度の直流電圧が供給されている。通信回線130に接続された直流捕捉回路152に対して、48Vの直流電圧が局側交換機の内部抵抗Z0(4003)と線路抵抗Z1,Z2(4004,4005)を介して供給される。直流捕捉回路152は、内部の直流インピーダンスが可変できるトランジスタや抵抗等の回路を有し、SDAA104の制御により公衆回線210より供給される電流値Iを調整する。SDAA104の制御により直流捕捉回路152の直流インピーダンスZ(ZはV/Iで表される)を高くすると回線電流が少なくなり、直流インピーダンスZを低くすると回線電流が大きくなる。   A DC voltage of about 48 V is supplied to the facsimile apparatus 100 from the exchange on the public line 210. A DC voltage of 48V is supplied to the DC capturing circuit 152 connected to the communication line 130 via the internal resistance Z0 (4003) and the line resistances Z1 and Z2 (4004 and 4005) of the local exchange. The DC capture circuit 152 includes a circuit such as a transistor or a resistor that can change the internal DC impedance, and adjusts the current value I supplied from the public line 210 under the control of the SDAA 104. When the DC impedance Z (Z is expressed by V / I) of the DC capture circuit 152 is increased by controlling the SDAA 104, the line current decreases, and when the DC impedance Z is decreased, the line current increases.

SDAA104は直流捕捉回路152の端子間の電圧や電流を監視して、規定された直流的な電圧Vと電流Iの特性(DC−VI特性)に適合するよう、直流捕捉回路152の直流インピーダンスZを調整することができる。公衆回線210の局側交換機は、電圧源或いは電流源を有する。局側交換機が内部抵抗Z0(4003)を制御することで電流源を構成する。   The SDAA 104 monitors the voltage and current between the terminals of the DC capture circuit 152 and adapts the DC impedance Z of the DC capture circuit 152 so as to conform to the specified DC voltage V and current I characteristics (DC-VI characteristics). Can be adjusted. The exchange on the public line 210 has a voltage source or a current source. The local exchange controls the internal resistance Z0 (4003) to constitute a current source.

ファクシミリ装置100の直流捕捉を開始した時、ファクシミリ装置100のL1〜L2間の回線間電圧は、線路抵抗Z1,Z2(4004、4005)(数百〜数キロΩ)で大幅に電圧降下する。このように電圧が降下することを前提にして、規定のDC−VI特性を満足するよう直流インピーダンスZが制御される。例えば、ファクシミリ装置100のL1〜L2間の回線間電圧は、直流捕捉前にDC48Vでも、直流捕捉後に電圧降下で約8Vに低下したとする。その時、例えばファクシミリ装置100の直流捕捉回路152を含めた直流インピーダンスZは、直流捕捉前に1MΩ以上でも、直流捕捉後に数十Ωから数百Ωに低下するようSDAA104が制御する。   When the direct current capture of the facsimile apparatus 100 is started, the line-to-line voltage between the L1 and L2 of the facsimile apparatus 100 drops significantly due to the line resistances Z1 and Z2 (4004, 4005) (several hundred to several kiloΩ). On the assumption that the voltage drops in this way, the direct current impedance Z is controlled so as to satisfy the prescribed DC-VI characteristics. For example, it is assumed that the line-to-line voltage between L1 and L2 of the facsimile apparatus 100 decreases to about 8V due to a voltage drop after DC capture even if it is DC 48V before DC capture. At this time, for example, even if the DC impedance Z including the DC capturing circuit 152 of the facsimile apparatus 100 is 1 MΩ or more before DC capturing, the SDAA 104 controls to decrease from several tens of Ω to several hundred Ω after DC capturing.

次にファクシミリ装置100が、通信回線130を介して公衆回線210と接続されているか、未接続であるかを判定する手法について説明する。   Next, a method for determining whether the facsimile apparatus 100 is connected to the public line 210 via the communication line 130 or not connected will be described.

通信回線130と公衆回線210とが未接続の場合は公衆回線210と切り離されるため、公衆回線210より48Vが供給されない。これにより、通信回線130の回線電圧はほぼ0Vになる。一方、通信回線130と公衆回線210とが接続されてSDAA104により直流捕捉が行われた場合は、上述したように回線電圧は降下するが、0Vにならず、所定の一定電圧に保持されている。従って、例えば、図3の閾値電圧304の設定値A1を3V程度に設定する。SDAA104が直流捕捉を行っていない時に、回線電圧が閾値電圧(3V)未満の場合であれば、通信回線130が公衆回線210に接続されていないと判定できる。   When the communication line 130 and the public line 210 are not connected, the communication line 130 is disconnected from the public line 210, so that 48V is not supplied from the public line 210. As a result, the line voltage of the communication line 130 becomes approximately 0V. On the other hand, when the communication line 130 and the public line 210 are connected and DC capture is performed by the SDAA 104, the line voltage drops as described above, but does not become 0V but is maintained at a predetermined constant voltage. . Therefore, for example, the set value A1 of the threshold voltage 304 in FIG. 3 is set to about 3V. When the SDAA 104 is not capturing DC, if the line voltage is less than the threshold voltage (3 V), it can be determined that the communication line 130 is not connected to the public line 210.

また通信回線130が公衆回線210と接続されてSDAA104が直流捕捉を行っていない場合でも、外付け電話機128がオフフックしていると回線電圧は降下し所定の一定電圧に保持されている。従って、例えば閾値電圧304の設定値A1を3V程度に設定し、異なる閾値電圧305の設定値A2を20V程度に設定し、閾値電圧A1以上で、かつ閾値電圧A2以下の場合は、外付け電話機128が回線捕捉していると判定できる。   Even when the communication line 130 is connected to the public line 210 and the SDAA 104 is not capturing DC, the line voltage drops and is held at a predetermined constant voltage when the external telephone 128 is off-hook. Therefore, for example, when the set value A1 of the threshold voltage 304 is set to about 3 V, the set value A2 of the different threshold voltage 305 is set to about 20 V, and the external telephone is set when the threshold voltage A1 is equal to or higher than the threshold voltage A2 It can be determined that 128 has acquired the line.

また、この回線電圧をモニタすることにより、通信回線130が公衆回線210と接続されているか、未接続であるかを判定する回線電圧検出は、SDAA104の電圧検知回路150により行うことができる。即ち、モデム102のレジスタ206には、閾値電圧304の設定値A1及びA2が予め保持されている。SDAA104において、電圧検知回路150で検知した回線電圧と、この閾値電圧値とが比較され、閾値電圧の設定値A1未満であった場合は、通信回線130が公衆回線210と未接続であることを示すフラグがレジスタ206に保持される。また閾値電圧の設定値A1以上で、A2以下であった場合は、通信回線130に接続された外付け電話機128が回線捕捉中であることを示すフラグがレジスタ206に保持される。よってCPU200は、このフラグを参照することにより、通信回線130と公衆回線210とが接続されているか、或いは外付け電話機218が回線捕捉中、或いは通信回線130と公衆回線210とが未接続であるかを判定できる。そして、その状況に応じてファクシミリ装置100の動作を制御することができる。   Further, by monitoring the line voltage, line voltage detection for determining whether the communication line 130 is connected to the public line 210 or not can be performed by the voltage detection circuit 150 of the SDAA 104. That is, the setting values A1 and A2 of the threshold voltage 304 are held in the register 206 of the modem 102 in advance. In the SDAA 104, the line voltage detected by the voltage detection circuit 150 is compared with this threshold voltage value. If the threshold voltage value is less than the set value A1, the communication line 130 is not connected to the public line 210. The indicated flag is held in the register 206. If the threshold voltage setting value A1 is not less than A2 and not more than A2, a flag indicating that the external telephone 128 connected to the communication line 130 is capturing the line is held in the register 206. Therefore, the CPU 200 refers to this flag so that the communication line 130 and the public line 210 are connected, or the external telephone 218 is capturing the line, or the communication line 130 and the public line 210 are not connected. Can be determined. The operation of the facsimile machine 100 can be controlled according to the situation.

図5は、実施形態1に係るファクシミリ装置100における電源供給を説明するブロック図である。   FIG. 5 is a block diagram illustrating power supply in the facsimile apparatus 100 according to the first embodiment.

電源回路125にはコンセント250を介して商用電源のAC100Vが供給され、電源回路125は、そのAC100Vを基に複数系統の電源電圧を生成して、ファクシミリ装置100内部の回路ブロックに供給する。電源回路125で生成された電源出力165は第1電源系回路5001に供給される。また電源回路125で生成された電源出力166は第2電源系回路5002に供給される。ここで第1電源系回路5001は、スリープモードでも電力を供給し続ける必要がある回路である。これには図1に示す、モデム102、タイマ回路124、ネットワークIF127、キーボード類120、メモリ140、SOC101が含まれる。尚、SDAA104には、絶縁素子103を介してモデム102から電力が供給される。そしてスリープモード時、ファクシミリ装置100では、モデム102とSDAA104に電力を供給するが、モデム102を最小限の処理しか行えない低消費電力モードに移行させる。このときモデム102の動作クロックの周波数を低下させたり、モデム102の内部の動作しない部分への電力供給を遮断する。そしてHリレー110の消費電力を削減するため、Hリレー駆動信号111を制御して、外付け電話機128と通信回線130とが接続される鳴動着信状態に移行させる。もしHリレー110の片側からフック検知用の直流電圧送出回路や疑似CI送出回路を接続してフック検知回路を具備する構成であれば、無鳴動着信状態のままで、外付け電話機128でのオフフックをフック検知回路で検知してもかまわない。   The power supply circuit 125 is supplied with commercial power AC100V via the outlet 250, and the power supply circuit 125 generates a plurality of power supply voltages based on the AC100V and supplies them to the circuit block inside the facsimile apparatus 100. The power output 165 generated by the power circuit 125 is supplied to the first power system circuit 5001. The power output 166 generated by the power circuit 125 is supplied to the second power system circuit 5002. Here, the first power supply system circuit 5001 is a circuit that needs to continue to supply power even in the sleep mode. This includes the modem 102, timer circuit 124, network IF 127, keyboards 120, memory 140, and SOC 101 shown in FIG. The SDAA 104 is supplied with power from the modem 102 via the insulating element 103. In the sleep mode, the facsimile apparatus 100 supplies power to the modem 102 and the SDAA 104, but shifts the modem 102 to a low power consumption mode in which only minimal processing can be performed. At this time, the frequency of the operating clock of the modem 102 is lowered, or the power supply to the non-operating part inside the modem 102 is cut off. In order to reduce the power consumption of the H relay 110, the H relay drive signal 111 is controlled to shift to a ringing incoming state where the external telephone 128 and the communication line 130 are connected. If a hook detection DC voltage transmission circuit or a pseudo CI transmission circuit is connected from one side of the H relay 110 and the hook detection circuit is provided, an off-hook at the external telephone 128 is maintained in the state of no ringing incoming call. May be detected by the hook detection circuit.

そして、スリープモードで通信回線130から呼び出し信号(CI信号)の着信があった場合、通信回線130から受信したCI信号を回線電圧入力回路157経由でSDAA104へ入力し、SDAA104の電圧検知回路150で検知する。上述したようにスリープモードでは、モデム102は最小限の処理しか行えない低消費電力モードに移行しているため、回線電圧を利用してモデム102でCI信号の着信判断は行えない。従って、電圧検知回路150で電圧が変化したことを検知してCI信号を検知すると、SOC101に割り込み信号d1を供給し、スリープモードよりスタンバイモードに復帰させる。   When a call signal (CI signal) is received from the communication line 130 in the sleep mode, the CI signal received from the communication line 130 is input to the SDAA 104 via the line voltage input circuit 157, and the voltage detection circuit 150 of the SDAA 104 Detect. As described above, in the sleep mode, the modem 102 shifts to the low power consumption mode in which only minimal processing can be performed. Therefore, the modem 102 cannot determine the arrival of the CI signal using the line voltage. Therefore, when the voltage detection circuit 150 detects that the voltage has changed and detects the CI signal, the interrupt signal d1 is supplied to the SOC 101 to return from the sleep mode to the standby mode.

またタイマ回路124は、タイマ回路124に設定された時間が経過すると、SOC101に割り込み信号d3を供給し、所定の動作モードに移行するタイミングを通知する。スタンバイモードよりスリープモードに移行できるタイミングを通知する場合は、タイマ回路124にタイマ値M1を設定してタイマ回路124を起動する。また通信回線130が公衆回線210と接続されていない時間を計時して、電源オフモードに移行できるタイミングを通知する場合は、タイマ値M2をタイマ回路124に設定してタイマ回路124を起動する。   When the time set in the timer circuit 124 elapses, the timer circuit 124 supplies an interrupt signal d3 to the SOC 101 to notify the timing for shifting to a predetermined operation mode. When notifying the timing at which the standby mode can be shifted to the sleep mode, the timer value 124 is set in the timer circuit 124 and the timer circuit 124 is started. When notifying the timing at which the communication line 130 is not connected to the public line 210 and notifying the timing at which the communication line 130 can shift to the power-off mode, the timer circuit 124 is started by setting the timer value M2 in the timer circuit 124.

ネットワークIF127は、スリープモード時、LAN240を介して、ファクシミリ装置100宛てのプリントジョブを受信すると、SOC101に割り込み信号d2を供給して、スリープモードからスタンバイモードに復帰させる。   When the network IF 127 receives a print job addressed to the facsimile apparatus 100 via the LAN 240 in the sleep mode, the network IF 127 supplies an interrupt signal d2 to the SOC 101 to return from the sleep mode to the standby mode.

又、キーボード類120は、ユーザーからの各種の指示の入力を受け付けるとSOC101に割り込み信号d4を供給して、スリープモードからスタンバイモードに復帰させる。   When the keyboard 120 receives input of various instructions from the user, the keyboard 120 supplies an interrupt signal d4 to the SOC 101 to return from the sleep mode to the standby mode.

このように、第1電源系回路5001は、スリープモード時の復帰要因を発生する回路で、スリープモードでも電力が供給されている回路である。   Thus, the first power supply system circuit 5001 is a circuit that generates a return factor in the sleep mode, and is a circuit to which power is supplied even in the sleep mode.

一方、第2電源系回路5002は、第1電源系回路5001以外の回路を示し、スリープモードでは電力供給が停止される。例えば、ファクシミリ装置100の読取部121と記録部122は、この第2電源系回路5002に含まれるので、スリープモードでは電力供給が停止される。   On the other hand, the second power supply system circuit 5002 indicates a circuit other than the first power supply system circuit 5001, and power supply is stopped in the sleep mode. For example, since the reading unit 121 and the recording unit 122 of the facsimile apparatus 100 are included in the second power supply system circuit 5002, the power supply is stopped in the sleep mode.

実施形態1に係るファクシミリ装置100をスタンバイモードからスリープモードへ移行させる場合、SOC101が、電源回路125に電源出力制御信号164を供給し、電源回路125から出力される電源出力166の出力を停止させる。これによりファクシミリ装置100の第2電源系回路5002への電力供給が停止されてスリープモードへ移行する。   When the facsimile apparatus 100 according to the first embodiment is shifted from the standby mode to the sleep mode, the SOC 101 supplies the power output control signal 164 to the power circuit 125 and stops the output of the power output 166 output from the power circuit 125. . As a result, the power supply to the second power supply system circuit 5002 of the facsimile apparatus 100 is stopped, and the mode shifts to the sleep mode.

又、ファクシミリ装置100をスタンバイモードから電源オフモードへ移行させる場合は、第1電源系回路5001に属しているSOC101が、電源回路125に電源出力制御信号164を供給する。これにより電源回路125からの電源出力165及び166を停止させて電源オフモードへ移行させる。またファクシミリ装置100をスリープモードから電源オフモードへ移行させる場合は、SOC101が、電源回路125に電源出力制御信号164を供給して電源回路125からの電源出力165を停止する。このとき電源出力166は既に停止されているため、ファクシミリ装置100は電源オフモードへ移行する。   When the facsimile apparatus 100 is shifted from the standby mode to the power-off mode, the SOC 101 belonging to the first power system circuit 5001 supplies the power output control signal 164 to the power circuit 125. As a result, the power outputs 165 and 166 from the power circuit 125 are stopped, and the mode is shifted to the power off mode. When the facsimile apparatus 100 is shifted from the sleep mode to the power-off mode, the SOC 101 supplies the power output control signal 164 to the power circuit 125 and stops the power output 165 from the power circuit 125. At this time, since the power output 166 is already stopped, the facsimile apparatus 100 shifts to the power-off mode.

図6は、実施形態1に係るファクシミリ装置100の状態に対応した、電源回路125からの電源出力の状態の遷移を説明する図である。図6は、ファクシミリ装置100の動作モードに対応した電源回路125からの電源出力状態を表している。   FIG. 6 is a diagram for explaining the transition of the state of the power output from the power circuit 125 corresponding to the state of the facsimile apparatus 100 according to the first embodiment. FIG. 6 shows a power output state from the power circuit 125 corresponding to the operation mode of the facsimile machine 100.

スタンバイモードでは、電源出力165及び166はともにオンであり、スリープモードでは第1電源系回路5001への電源出力165のみがオンである。また電源オフモードでは、電源出力165及び166はともにオフであり、電源オフモードからスタンバイモードに移行するには、オペレータがファクシミリ装置100の電源スイッチの再投入を行う必要がある。   In the standby mode, the power outputs 165 and 166 are both on, and in the sleep mode, only the power output 165 to the first power system circuit 5001 is on. In the power-off mode, the power outputs 165 and 166 are both off. In order to shift from the power-off mode to the standby mode, the operator needs to turn on the power switch of the facsimile machine 100 again.

図7及び図8は、実施形態1に係るファクシミリ装置100における動作状態の遷移を説明するフローチャートである。尚、この処理を実行するプログラムはメモリ140に記憶されており、そのプログラムをCPU200が実行することにより、このフローチャートで示す処理が達成される。この処理は、ファクシミリ装置100の電源がオンされることにより開始され、CPU200は、プログラムやメモリ140内の不揮発性メモリから展開した設定に従ってモデム102やSDAA104のリセット及び初期設定を行う。ここでモデム102やSDAA104のリセットを行うと、モデム102のレジスタ206はデフォルト値に戻る。   7 and 8 are flowcharts for explaining the transition of the operation state in the facsimile apparatus 100 according to the first embodiment. A program for executing this process is stored in the memory 140, and the CPU 200 executes the program to achieve the process shown in this flowchart. This process is started when the power of the facsimile apparatus 100 is turned on, and the CPU 200 resets and initializes the modem 102 and the SDAA 104 according to settings developed from the program and the nonvolatile memory in the memory 140. If the modem 102 or SDAA 104 is reset here, the register 206 of the modem 102 returns to the default value.

まずS701でCPU200は、SDAA104が直流捕捉を行っていない状態で、通信回線130が公衆回線210と接続されている否かを検出し、その結果をモデム102のレジスタ206のフラグとメモリ140に保持する。   First, in step S <b> 701, the CPU 200 detects whether the communication line 130 is connected to the public line 210 in a state where the SDAA 104 is not capturing DC, and stores the result in the flag of the register 206 of the modem 102 and the memory 140. To do.

次にS702に進みCPU200は、通信回線130が公衆回線210と接続されているかどうかを判定する。ここで、通信回線130と公衆回線210とが接続されていないと判定するとS703に進み、CPU200はタイマ回路124にタイマ値M2をセットしてS705に進む。ここでタイマ値M2をセットするのは、通信回線130が公衆回線210と接続されていない時間を計時して電源オフモードに移行するためである。即ち、タイマ値M2が経過するまで、通信回線130と公衆回線210とが接続されていない状態が継続して、かつファクシミリ装置100が動作しない時間が継続すると、ファクシミリ装置100を電源オフモードへ移行する。   In step S <b> 702, the CPU 200 determines whether the communication line 130 is connected to the public line 210. If it is determined that the communication line 130 and the public line 210 are not connected, the process advances to step S703, and the CPU 200 sets the timer value M2 in the timer circuit 124 and advances to step S705. Here, the timer value M2 is set in order to measure the time during which the communication line 130 is not connected to the public line 210 and shift to the power-off mode. That is, until the timer value M2 elapses, the state in which the communication line 130 and the public line 210 are not connected continues, and when the time when the facsimile apparatus 100 does not operate continues, the facsimile apparatus 100 shifts to the power-off mode. To do.

一方、S702で通信回線130と公衆回線210とが接続していると判定するとS704に進み、タイマ回路124にセットされていたタイマ値M2をクリアする。これは公衆回線210と接続している場合は、ファクシミリ装置100が動作しない時間が継続しても電源オフモードに移行させないためである。これはタイマ回路124にタイマ値M2がセットされて、その計時を行っていない場合でも、このクリア処理を実行する。   On the other hand, if it is determined in S702 that the communication line 130 and the public line 210 are connected, the process proceeds to S704 and the timer value M2 set in the timer circuit 124 is cleared. This is because, when connected to the public line 210, the power-off mode is not shifted even if the facsimile apparatus 100 does not operate. This clear process is executed even when the timer value M2 is set in the timer circuit 124 and the timer circuit 124 is not counting the time.

次にS705に進みCPU200はスタンバイモードに移行し、各種ジョブの待ち受け処理を行う。そしてユーザによる操作パネル118を介した操作や、ネットワークI/F127からのジョブの受信や公衆回線210からの着信や外付け電話機128のオフフックを監視している。そして各種ジョブの投入などが無い状態が継続する時間も、タイマ回路124とメモリ140を用いて監視している。例えばジョブの投入が無くなった状態でタイマ回路124にアクセスして、計時された時間を取得してメモリ140に保持する。そしてジョブが無い状態が継続している状態で、一定時間後に再度タイマ回路124にアクセスして、その経過時間を取得することができる。   In step S705, the CPU 200 shifts to a standby mode, and performs standby processing for various jobs. It monitors the operation by the user via the operation panel 118, the reception of a job from the network I / F 127, the incoming call from the public line 210, and the off-hook of the external telephone 128. The timer circuit 124 and the memory 140 are also used to monitor the time during which no job is input. For example, the timer circuit 124 is accessed in a state where the job has not been submitted, and the measured time is acquired and stored in the memory 140. Then, in a state where there is no job, the timer circuit 124 can be accessed again after a certain time, and the elapsed time can be acquired.

次にS706に進みCPU200は、タイマ回路124にアクセスし、スリープモードに移行するタイマ値M1の計時が開始されているか否かを判定する。このタイマ値M1は、ジョブ無しが継続する時間を計時するタイマ値である。また或いはCPU200は、タイマ回路124にアクセスした後に、タイマ値M1の起動状態をメモリ140に保存しておき、タイマ回路124からの割り込みが入るまではタイマ回路124の動作に変化がないと判定しても良い。ファクシミリ装置100は、ユーザによる操作、各種ジョブの投入、公衆回線210からの着信や外付け電話機128のオフフックが一定時間無い場合に、タイマ値M1の計時を開始する。S706でタイマ値M1の計時が開始されていると判定するとS707へ進むが、タイマ値M1での計時が開始されていなければS709へ処理を進める。S709でCPU200は、ジョブ無し状態が継続しているかを判定し、ジョブ無し状態が継続していればS710に進み、タイマ回路124によりタイマ値M1の計時を開始させてS801(図8)に進む。一方、S709で、ファクシミリ装置100へのユーザの操作、各種ジョブの投入、公衆回線210からの着信、外付け電話機128のオフフック等で、ジョブ有り状態になったと判定するとS801へ処理を進める。   Next, proceeding to S706, the CPU 200 accesses the timer circuit 124, and determines whether or not the timer value M1 for shifting to the sleep mode has been started. This timer value M1 is a timer value for measuring the time during which no job continues. Alternatively, the CPU 200 stores the activation state of the timer value M1 in the memory 140 after accessing the timer circuit 124, and determines that there is no change in the operation of the timer circuit 124 until an interrupt from the timer circuit 124 is received. May be. The facsimile apparatus 100 starts measuring the timer value M1 when there is no user operation, input of various jobs, incoming call from the public line 210, or off-hook of the external telephone 128 for a predetermined time. If it is determined in S706 that the timer value M1 has been started, the process proceeds to S707, but if the timer value M1 has not been started, the process proceeds to S709. In step S709, the CPU 200 determines whether the no-job state continues. If the no-job state continues, the process proceeds to step S710, and the timer circuit 124 starts measuring the timer value M1, and then proceeds to step S801 (FIG. 8). . On the other hand, if it is determined in S709 that the user has entered the facsimile apparatus 100, input of various jobs, incoming call from the public line 210, off-hook of the external telephone 128, etc., the process proceeds to S801.

またS707でCPU200は、ジョブ無し状態が継続していると判定するとS801へ処理を進める。一方、S707でCPU200は、ファクシミリ装置100へのユーザの操作、各種ジョブの投入、公衆回線210からの着信、外付け電話機128のオフフックのいずれかによりジョブ有り状態になったと判定するとS708へ処理を進める。S708でCPU200は、タイマ回路124によるタイマ値M1の計時を停止してクリアする。そしてS801に進み、ユーザの操作や、各種ジョブの受付に対応する処理を実施する。また公衆回線210からの着信や、外付け電話機128のオフフックかの判定処理は後述するS807で実施する。   If the CPU 200 determines in step S707 that the no-job state continues, the process advances to step S801. On the other hand, if the CPU 200 determines in step S707 that the job is present due to user operation on the facsimile apparatus 100, input of various jobs, incoming call from the public line 210, or off-hook of the external telephone 128, the process proceeds to step S708. Proceed. In S708, the CPU 200 stops and clears the timer value M1 by the timer circuit 124. In step S801, processing corresponding to user operations and reception of various jobs is performed. In addition, the process for determining whether the incoming call is from the public line 210 or the external telephone 128 is off-hook is performed in S807 described later.

次に図8のフローチャートを説明する。   Next, the flowchart of FIG. 8 will be described.

S801でCPU200は、通信回線130の回線電圧に変化があるか否かを判定する。回線電圧に変化があれば、モデム102よりSOC101へ割り込み信号d1が入力されるため、この割り込み信号d1により回線電圧に変化があるか否かを判定できる。回線電圧に変化がなければS814へ処理を進めるが、回線電圧に変化があればS802へ処理を進める。S802でCPU200は、モデム102にアクセスして通信回線130と公衆回線210との接続状態を検出する。このときモデム102にアクセスして、通信回線130と公衆回線210とが未接続か、外付け電話機128がオフフックされたことを示すフラグ以外に、回線電圧値を取得することもできる。   In step S <b> 801, the CPU 200 determines whether there is a change in the line voltage of the communication line 130. If there is a change in the line voltage, the interrupt signal d1 is input from the modem 102 to the SOC 101, so it can be determined whether or not there is a change in the line voltage by the interrupt signal d1. If there is no change in the line voltage, the process proceeds to S814. If there is a change in the line voltage, the process proceeds to S802. In step S <b> 802, the CPU 200 accesses the modem 102 and detects the connection state between the communication line 130 and the public line 210. At this time, the modem 102 can be accessed to obtain a line voltage value other than a flag indicating that the communication line 130 and the public line 210 are not connected or the external telephone 128 is off-hooked.

次にS803へ進みCPU200は、通信回線130が公衆回線210と接続された状態から、未接続の状態に変化したかどうかを判定する。これは以前に通信回線130が公衆回線210と接続されているか、そうでないかをメモリ140に保持しているので、それにアクセスして、現在の接続状態と比較することで判定できる。S803で公衆回線210と接続された状態から未接続の状態に変化したと判定するとS804へ進み、そうでなければS805へ進む。S804でCPU200は、タイマ回路124にタイマ値M2をセットして計時を開始すする。これは通信回線130が公衆回線210と接続されていない時間を計時して電源オフモードに移行できるようにするためである。またこのとき、通信回線130が公衆回線210と未接続であることをメモリ140に保持する。そしてS705(図7)へ進む。   Next, proceeding to S803, the CPU 200 determines whether or not the communication line 130 has changed from being connected to the public line 210 to being not connected. This can be determined by accessing the memory line 140 and comparing it with the current connection state since the communication line 130 has previously been connected to the public line 210 or not in the memory 140. If it is determined in S803 that the state is changed from the state connected to the public line 210 to the unconnected state, the process proceeds to S804, and if not, the process proceeds to S805. In S804, the CPU 200 sets the timer value M2 in the timer circuit 124 and starts measuring time. This is because the time when the communication line 130 is not connected to the public line 210 is counted so that the mode can be shifted to the power-off mode. At this time, the memory 140 holds that the communication line 130 is not connected to the public line 210. Then, the process proceeds to S705 (FIG. 7).

S805でCPU200は、通信回線130が公衆回線210と未接続の状態から接続した状態に変化したかを判定する。そうであればS806に進み、そうでなければS807へ処理を進める。S806でCPU200は、タイマ回路124にセットされたタイマ値M2をクリアする。これは通信回線130と公衆回線210とが接続されたため、電源オフモードへ移行する必要が無くなったためである。またこのとき、通信回線130と公衆回線210とが接続されていることをメモリ140に保持する。そしてS705(図7)に進む。   In step S <b> 805, the CPU 200 determines whether the communication line 130 has changed from an unconnected state to the public line 210 to a connected state. If so, the process proceeds to S806, and if not, the process proceeds to S807. In S806, the CPU 200 clears the timer value M2 set in the timer circuit 124. This is because the communication line 130 and the public line 210 are connected, so that it is not necessary to shift to the power-off mode. At this time, the memory 140 holds that the communication line 130 and the public line 210 are connected. Then, the process proceeds to S705 (FIG. 7).

S807では、通信回線130が公衆回線210との接続状態が変化した場合ではないためCPU200は、モデム102を制御して通信回線130の電圧変化がCI信号の着信、或いは外付け電話機128のオフフックによるかを判定する。通信回線130の電圧変化がCI信号の着信によるものであれば、モデム102はCI信号検出のフラグを立てる。或いはSDAA104が直流捕捉していないのに通信回線130の電圧が閾値電圧の設定値A1以上でA2以下であった場合は、外付け電話機128が回線捕捉中であることを示すフラグをモデム102のレジスタ206に立てる。またモデム102にアクセスして回線電圧値を取得して判定に用いることも可能である。   In S807, since the connection state of the communication line 130 with the public line 210 has not changed, the CPU 200 controls the modem 102 so that the voltage change of the communication line 130 is caused by the arrival of the CI signal or the off-hook of the external telephone 128. Determine whether. If the voltage change of the communication line 130 is due to the arrival of a CI signal, the modem 102 sets a CI signal detection flag. Alternatively, when the SDAA 104 is not capturing DC, but the voltage of the communication line 130 is not less than the threshold voltage setting value A1 and not more than A2, a flag indicating that the external telephone 128 is capturing the line is displayed on the modem 102. Set in the register 206. It is also possible to access the modem 102 to acquire the line voltage value and use it for the determination.

そしてS808の処理に進みCPU200は、CI信号を検出したかどうかを判定する。S807において、モデム102にCI信号検出のフラグが立っていればCI信号の着信であるためS811へ進み、CPU200はファクシミリの受信処理を実施する。この処理は通常の処理であるので、その詳細な説明を省略する。そして受信処理を終了するとCPU200の処理はS705に進む。   In step S808, the CPU 200 determines whether a CI signal is detected. In S807, if the CI signal detection flag is set in the modem 102, it means that the CI signal is received, the process proceeds to S811, and the CPU 200 performs facsimile reception processing. Since this process is a normal process, its detailed description is omitted. When the reception process ends, the process of the CPU 200 proceeds to S705.

一方、S808でCI信号の着信でないときはS809に進みCPU200は、外付け電話機128のオフフックを検出したかどうかを判定する。S807の処理で、モデム102にオフフック検出のフラグが立っていれば外付け電話機128のオフフックによるものであるためS812へ処理を進める。またモデム102にアクセスして、回線電圧値を取得してオフフックの判定に用いることも可能である。S812でCPU200は、ファクシミリの外付け電話128による通話処理を実施する。これは通常の処理であるので、その詳細は省略する。そして通話処理が終了するとCPU200の処理をS705に進める。またS809でCPU200は、外付け電話機128のオフフックでないと判定するとS810に処理を進める。S810は、上記S803,S805,S808,S809のいずれにもあてはまらないと判定した場合である。このときCPU200は通信回線130の電圧変化がノイズであり、通信回線130の状態に変化がないと判定して、タイマ回路124によるタイマ値M2の計時を継続させてスタンバイモードに移行しS705に進む。   On the other hand, when the CI signal is not received in S808, the process proceeds to S809 and the CPU 200 determines whether or not the off-hook of the external telephone 128 is detected. If it is determined in step S807 that the off-hook detection flag is set in the modem 102, the process proceeds to step S812 because the external telephone 128 is off-hook. It is also possible to access the modem 102 to acquire the line voltage value and use it for off-hook determination. In step S812, the CPU 200 performs call processing using the facsimile external telephone 128. Since this is a normal process, its details are omitted. When the call process ends, the process of the CPU 200 advances to S705. If the CPU 200 determines in step S809 that the external telephone 128 is not off-hook, the process advances to step S810. S810 is a case where it is determined that none of the above S803, S805, S808, and S809 is applicable. At this time, the CPU 200 determines that the voltage change of the communication line 130 is noise and that the state of the communication line 130 does not change, continues the timer value M2 by the timer circuit 124, shifts to the standby mode, and proceeds to S705. .

S814でCPU200は、タイマ値M1及びタイマ値M2の計時が完了したかを判定する。ここでCPU200はタイマ回路128にアクセスして判定しても良く、或いはタイマ回路124からの割り込み信号d3がSOC101に入力された時点でタイマ回路128にアクセスして判定してもよい。またS815で後述するが、タイマ値M1の計時が完了したかどうかをメモリ140に保持しておき、メモリ140にアクセスした結果で判定してもよい。そしてタイマ値M1及びタイマM2の計時が完了したと判定するとS817へ処理を進める。S817の処理は、ファクシミリ装置100が一定時間操作されずジョブ投入も無く、かつ通信回線1300と公衆回線210とが未接続と判定した場合に実行される。従ってS817でCPU200は、各種の終了処理を実施した後、電源回路125に接続される電源出力制御信号164を変化させ、電源回路125からの電源出力165及び166を停止させて電源オフモードへ移行させる。こうして電源がオフされるとCPU200はリセットされるので動作停止して、この処理を終了する。この後、人手によりファクシミリ装置100の電源スイッチがオンされるまで復帰しない。   In S814, the CPU 200 determines whether the timer values M1 and M2 have been timed. Here, the CPU 200 may determine by accessing the timer circuit 128, or may determine by accessing the timer circuit 128 when the interrupt signal d3 from the timer circuit 124 is input to the SOC 101. Further, as will be described later in S815, whether or not the timer value M1 has been measured may be stored in the memory 140 and determined based on the result of accessing the memory 140. If it is determined that the timers M1 and M2 have been timed, the process proceeds to S817. The process of S817 is executed when it is determined that the facsimile apparatus 100 has not been operated for a certain period of time, no job is input, and the communication line 1300 and the public line 210 are not connected. Therefore, in step S817, the CPU 200 performs various end processes, changes the power output control signal 164 connected to the power circuit 125, stops the power outputs 165 and 166 from the power circuit 125, and shifts to the power off mode. Let When the power is turned off in this way, the CPU 200 is reset, so the operation is stopped and this process is terminated. Thereafter, it does not return until the power switch of the facsimile apparatus 100 is turned on manually.

一方、S814でタイマ値M1及びタイマ値M2の計時が完了していないときはS815へ進みCPU200は、タイマ値M1の計時が終了したかを判定する。このときCPU200はタイマ回路128にアクセスして判定してよく、或いは割り込み信号d3がSOC101に入力された時点でタイマ回路128にアクセスして判定してもよい。また割り込み信号d3がSOC101に入力された時点でタイマ回路128にアクセスして、タイマ値M1の計時が完了したか否かをメモリ140に保持しておき、メモリ140にアクセスした結果で判定してもよい。こうしてタイマ値M1の計時が完了していればS816へ処理を進めるが、そうでなければ図7のS705へ処理を進める。   On the other hand, if the timer values M1 and M2 have not been timed in S814, the process proceeds to S815, and the CPU 200 determines whether the timer value M1 has been timed. At this time, the CPU 200 may determine by accessing the timer circuit 128, or may determine by accessing the timer circuit 128 when the interrupt signal d3 is input to the SOC 101. Further, when the interrupt signal d3 is input to the SOC 101, the timer circuit 128 is accessed, and whether or not the timer value M1 has been measured is held in the memory 140, and it is determined based on the result of accessing the memory 140. Also good. If the timer value M1 has been timed in this way, the process proceeds to S816; otherwise, the process proceeds to S705 in FIG.

S816は、ファクシミリ装置100がスリープモードへの移行条件を満たした時に実行される。S816でCPU200は、スリープモードへ移行するため、各種処理の終了処理を実施する。スリープモード時は、モデム102とSDAA104に電力が供給されるが、モデム102とSDAA104を最小限の処理しか行えない低消費電力のモードに移行させる。そしてHリレー110の消費電力を抑えるために、Hリレー駆動信号111を制御して、外付け電話機128と通信回線130とが接続される鳴動着信状態に移行させる。そしてCPU200は、電源制御部207から電源回路125に接続される電源出力制御信号164を変化させ、電源回路125からの電源出力166を停止させる。そして低消費電力化するためCPU200自身を電源制御部207からの信号入力があるまで停止する状態に移行してスリープモードへ移行する。これにより、電源制御部207へ割り込み信号が入力されるまでCPU200はプログラムの実行を停止した状態となる。   Step S816 is executed when the facsimile apparatus 100 satisfies the condition for shifting to the sleep mode. In S <b> 816, the CPU 200 performs various processing end processing in order to shift to the sleep mode. In the sleep mode, power is supplied to the modem 102 and the SDAA 104, but the modem 102 and the SDAA 104 are shifted to a low power consumption mode in which only minimal processing can be performed. In order to suppress the power consumption of the H relay 110, the H relay driving signal 111 is controlled to shift to a ringing incoming state in which the external telephone 128 and the communication line 130 are connected. Then, the CPU 200 changes the power output control signal 164 connected from the power controller 207 to the power circuit 125 to stop the power output 166 from the power circuit 125. In order to reduce power consumption, the CPU 200 itself shifts to a state where it is stopped until a signal is input from the power supply control unit 207 and shifts to the sleep mode. As a result, the CPU 200 stops executing the program until an interrupt signal is input to the power control unit 207.

図9は、図8のS816でファクシミリ装置100がスリープモードに移行するときの処理を説明するフローチャートである。   FIG. 9 is a flowchart illustrating processing when the facsimile apparatus 100 shifts to the sleep mode in S816 of FIG.

スリープモードでCPU200を停止させており、CPU200が判定できない場合、S902、S903、S904の判定は電源制御部207で行われる。電源制御部207は、入力される割り込み信号の有無によってスリープモードから復帰するかどうかを判定する。また電源制御部207は、割り込み信号d1,d2,d3,d4のいずれが入力されたかにより、処理を変更する構成でも良い。   When the CPU 200 is stopped in the sleep mode and cannot be determined, the determination in S902, S903, and S904 is performed by the power supply control unit 207. The power supply control unit 207 determines whether to return from the sleep mode based on the presence or absence of an input interrupt signal. The power supply control unit 207 may be configured to change processing depending on which of the interrupt signals d1, d2, d3, and d4 is input.

S901でCPU200及び電源制御部207は、スリープモードをスタートさせる。そしてCPU200及び電源制御部207の処理はS902へ移行する。S902でCPU200及び電源制御部207は、キーボード類120、或いはネットワークI/F127から、スリープモードからの復帰要因があるかを判定する。ここで、ファクシミリ装置100へのユーザの操作、或いはネットワークI/F127からの各種ジョブの投入があれば、CPU200及び電源制御部207の処理はS918へ進んで、スリープモードから復帰する処理を行う。S918でCPU200及び電源制御部207は、ユーザの操作、或いはネットワークI/F127からの各種ジョブの投入に対応するために、スリープモードからの復帰の処理を実施する。このとき電源制御部207は、割り込み信号が発生したことをCPU200へ通知し、CPU200は、割り込みが発生したことを検知すると、停止状態から復帰してプログラムの実行を再開する。こうしてCPU200が停止状態から復帰した後、電源制御部207へアクセスして割込み要因を確認した後、その要因をクリアする。そしてどの回路が起動要因を発生させたかを確認し、モデム102を通常状態に戻すなどの各種の初期化処理を実施する。その後、CPU200は、電源制御部207を制御し、電源出力制御信号164を変化させて電源回路125から電源出力166を出力(オン)させてスタンバイモードへ移行させる。   In step S901, the CPU 200 and the power supply control unit 207 start the sleep mode. Then, the processing of the CPU 200 and the power supply control unit 207 proceeds to S902. In step S <b> 902, the CPU 200 and the power supply control unit 207 determine whether there is a cause for returning from the sleep mode from the keyboards 120 or the network I / F 127. Here, if a user operation on the facsimile apparatus 100 or various jobs are input from the network I / F 127, the processing of the CPU 200 and the power supply control unit 207 proceeds to S918 and performs processing of returning from the sleep mode. In step S <b> 918, the CPU 200 and the power supply control unit 207 perform processing for returning from the sleep mode in order to respond to user operations or input of various jobs from the network I / F 127. At this time, the power supply control unit 207 notifies the CPU 200 that an interrupt signal has been generated. When the CPU 200 detects that an interrupt has occurred, the CPU 200 returns from the stopped state and resumes execution of the program. After the CPU 200 returns from the stopped state in this way, the power source control unit 207 is accessed to check the interrupt factor, and then the factor is cleared. Then, it is confirmed which circuit has caused the activation factor, and various initialization processes such as returning the modem 102 to the normal state are performed. Thereafter, the CPU 200 controls the power supply control unit 207, changes the power supply output control signal 164, outputs (turns on) the power supply output 166 from the power supply circuit 125, and shifts to the standby mode.

一方、S902でスリープモードからの復帰要因がないときはS903に進みCPU200及び電源制御部207は、モデム102から回線電圧の変化によるスリープモードからの復帰要因があるか判定する。ここで公衆回線210からのCI信号の着信や、外付け電話機128のオフフックがあると回線電圧が変化し、モデム102から電源制御部207へ割り込み信号d1が発生して、回線電圧に変化があったと判定する。このときモデム102は低消費電力の状態にあり、CI信号の着信か、オフフックか、公衆回線210との接続の変化があったかの判定はできないが、スリープモードの間の回線電圧の変化をリアルタイムに検出できる。こうして回線電圧に変化があると判定するとCPU200及び電源制御部207の処理はS906へ移行してスリープモードからスタンバイモードへ復帰させる。   On the other hand, if there is no cause for returning from the sleep mode in S902, the process proceeds to S903, and the CPU 200 and the power supply control unit 207 determine whether there is a cause for returning from the sleep mode due to a change in line voltage from the modem 102. Here, when a CI signal is received from the public line 210 or when the external telephone 128 is off-hook, the line voltage changes, an interrupt signal d1 is generated from the modem 102 to the power control unit 207, and the line voltage is changed. It is determined that At this time, the modem 102 is in a low power consumption state, and it cannot be determined whether a CI signal is received, is off-hook, or there is a change in connection with the public line 210. However, the change in line voltage during the sleep mode is detected in real time. It can be detected. When it is determined that the line voltage has changed in this way, the processing of the CPU 200 and the power supply control unit 207 shifts to S906 and returns from the sleep mode to the standby mode.

一方、S903で回線電圧に変化がないと判定するとCPU200及び電源制御部207の処理はS904へ移行する。S904でCPU200及び電源制御部207は、タイマ値M1及びタイマ値M2の計時が完了したかを判定する。ここでタイマ回路124からの割り込み信号d3が発生して電源制御部207に入力されると、タイマ値M2の計時が終了したと電源制御部207が判定する。そして電源制御部207は、割り込み信号が発生したことをCPU200へ通知するとCPU200は割り込みが発生したことを検知し、停止状態から復帰してプログラムの実行を再開する。こうしてCPU200が停止状態から復帰した後、電源制御部207へアクセスして割込み要因を確認した後、その割り込み要因をクリアする。そしてどの回路が起動要因を発生させたかを確認する。CPU200はタイマ回路128にアクセスしてタイマ値M2の計時が終了したかを判定する。このときスリープモードに移行しているので、タイマ値M1の計時は完了している。またタイマ値M1及びタイマ値M2の計時が完了したか否かをメモリ140に保持しておき、メモリ140にアクセスして判定してもよい。そしてタイマ値M1及びタイマ値M2の計時が完了がしていればCPU200及び電源制御部207の処理はS905へ移行する。S905の処理は、ファクシミリ装置100が一定時間操作されずジョブ投入も無く、かつ通信回線130が公衆回線210と未接続と判定した場合に実行される。S905でCPU200は電源制御部207を制御し、電源出力制御信号164により電源回路125の電源出力166をオンにし、スタンバイモードへ移行させる。そしてCPU200は、各種の終了処理を実施した後、電源出力制御信号164を電源回路125に出力して、電源回路125からの電源出力165及び166を停止させて、電源オフモードへ移行させる。こうして電源がオフされるとCPU200はリセットされるのでその動作が停止され、フローチャートに沿った処理が終了する。この後は、人手でファクシミリ装置100の電源スイッチがオンされるまで復帰しない。またS904でタイマ回路124からの割り込み信号d3が変化していなければCPU200及び電源制御部207の処理はS902へ移行する。   On the other hand, if it is determined in S903 that there is no change in the line voltage, the processing of the CPU 200 and the power supply control unit 207 proceeds to S904. In step S904, the CPU 200 and the power supply control unit 207 determine whether the timer values M1 and M2 have been measured. Here, when the interrupt signal d3 from the timer circuit 124 is generated and input to the power supply control unit 207, the power supply control unit 207 determines that the timer value M2 has been counted. When the power supply control unit 207 notifies the CPU 200 that an interrupt signal has been generated, the CPU 200 detects that an interrupt has occurred, returns from the stopped state, and resumes execution of the program. After the CPU 200 returns from the stopped state in this way, the power source control unit 207 is accessed to check the interrupt factor, and then the interrupt factor is cleared. Then, it is confirmed which circuit has caused the activation factor. The CPU 200 accesses the timer circuit 128 to determine whether the timer value M2 has been counted. At this time, since the mode is shifted to the sleep mode, the timer value M1 has been measured. Further, whether or not the timer values M1 and M2 have been timed may be stored in the memory 140 and may be determined by accessing the memory 140. If the timer values M1 and M2 have been measured, the processing of the CPU 200 and the power supply control unit 207 proceeds to S905. The process of S905 is executed when the facsimile apparatus 100 has not been operated for a certain period of time, no job has been input, and the communication line 130 is determined not to be connected to the public line 210. In S905, the CPU 200 controls the power supply control unit 207, turns on the power supply output 166 of the power supply circuit 125 by the power supply output control signal 164, and shifts to the standby mode. Then, after executing various end processes, the CPU 200 outputs a power output control signal 164 to the power circuit 125, stops the power outputs 165 and 166 from the power circuit 125, and shifts to the power off mode. When the power is turned off in this way, the CPU 200 is reset, so that the operation is stopped and the processing according to the flowchart ends. Thereafter, it does not return until the power switch of the facsimile apparatus 100 is turned on manually. If the interrupt signal d3 from the timer circuit 124 has not changed in S904, the processing of the CPU 200 and the power supply control unit 207 proceeds to S902.

一方、S903で回線電圧に変化があったと判定したときはS906に進みCPU200及び電源制御部207は、ファクシミリ装置100が公衆回線210に接続されているかどうかを判定するため、一旦、スリープモードからスタンバイモードに復帰する。これにより電源制御部207は、割り込み信号でCPU200へ通知し、CPU200は割り込みにより停止状態から復帰してプログラムの実行を再開し、CPU200はモデム102を通常状態に戻すなどの各種の初期化処理を実施する。その後、CPU200は、電源回路125に電源出力制御信号164を供給し、電源回路125からの電源出力166をオンしてスタンバイ状態へ移行させる。そしてCPU200の処理はS907へ移行する。   On the other hand, when it is determined in S903 that the line voltage has changed, the process proceeds to S906, where the CPU 200 and the power supply control unit 207 determine whether the facsimile apparatus 100 is connected to the public line 210, and then temporarily enter the standby mode from the sleep mode. Return to mode. As a result, the power control unit 207 notifies the CPU 200 with an interrupt signal, the CPU 200 returns from the stopped state by the interrupt and resumes execution of the program, and the CPU 200 performs various initialization processes such as returning the modem 102 to the normal state. carry out. Thereafter, the CPU 200 supplies a power output control signal 164 to the power circuit 125, turns on the power output 166 from the power circuit 125, and shifts to the standby state. Then, the process of the CPU 200 moves to S907.

S907でCPU200は、モデム102にアクセスして通信回線130と公衆回線210との接続状態を検出する。このときモデム102へアクセスすると、公衆回線210と接続しているか、未接続であるか、又は外付け電話機128がオフフックしたことを示すフラグ以外に、モデム102を通常状態に戻しているので、通信回線130の電圧値を取得することもできる。そしてS908へ進みCPU200は、公衆回線210と接続した状態から未接続の状態に変化したかを判定する。これは以前に通信回線130が公衆回線210と接続されているか、未接続かをS701でメモリ140に保持しているので、そのデータにアクセスして、現状と比較することで判定できる。こうして公衆回線210と接続した状態から未接続に変化したと判定するとS909に進み、そうでなければS910へ移行する。S909でCPU200は、タイマ回路124にタイマ値M2をセットして計時を開始させる。これは通信回線130が公衆回線と未接続の時間を計時するためである。またこのとき、通信回線130と公衆回線210とが未接続であることをメモリ140に保持して、S919のスリープモードへの移行処理を実行する。このように公衆回線210との接続状態が未接続になると、電源オフモードに移行する時間(タイマ値M2)の計時を開始してスリープモードに移行する。   In S907, the CPU 200 accesses the modem 102 and detects the connection state between the communication line 130 and the public line 210. When the modem 102 is accessed at this time, the modem 102 is returned to the normal state in addition to the flag indicating that it is connected to the public line 210, is not connected, or the external telephone 128 is off-hook. The voltage value of the line 130 can also be acquired. The process advances to step S908, and the CPU 200 determines whether the state connected to the public line 210 has changed to the unconnected state. Whether the communication line 130 has been connected to the public line 210 or not has been previously stored in the memory 140 in S701. This can be determined by accessing the data and comparing it with the current state. If it is determined in this way that the state connected to the public line 210 has changed to unconnected, the process proceeds to S909, and if not, the process proceeds to S910. In step S909, the CPU 200 sets the timer value M2 in the timer circuit 124 to start timing. This is because the communication line 130 measures the time when it is not connected to the public line. At this time, it is held in the memory 140 that the communication line 130 and the public line 210 are not connected, and the process of shifting to the sleep mode in S919 is executed. As described above, when the connection state with the public line 210 becomes unconnected, the time for shifting to the power-off mode (timer value M2) is started and the mode shifts to the sleep mode.

S910でCPU200は、通信回線130が公衆回線と未接続から接続した状態に変化したかを判定する。そうであればCPU200の処理はS911へ移行し、そうでなければCPU200の処理はS912へ移行する。S911でCPU200は、タイマ回路124にセットされているタイマ値M2をクリアする。これは通信回線130と公衆回線210とが接続されたため、電源オフモードへ移行する必要が無くなったためである。またこのとき、通信回線130と公衆回線210とが接続されていることをメモリ140に保持して、S919へ移行する。S919でCPU200は、即座にスリープモードへ移行する。スリープモードへの移行にあたってCPU200は、S816で実施したのと同じ処理を行う。このように公衆回線210との接続状態が接続になると、電源オフモードに移行する時間(タイマ値M2)の計時を停止してスリープモードに移行する。   In S910, the CPU 200 determines whether or not the communication line 130 has changed from being not connected to the public line to being connected. If so, the process of the CPU 200 moves to S911, and if not, the process of the CPU 200 moves to S912. In S911, the CPU 200 clears the timer value M2 set in the timer circuit 124. This is because the communication line 130 and the public line 210 are connected, so that it is not necessary to shift to the power-off mode. At this time, the fact that the communication line 130 and the public line 210 are connected is held in the memory 140, and the process proceeds to S919. In S919, the CPU 200 immediately shifts to the sleep mode. In shifting to the sleep mode, the CPU 200 performs the same processing as that performed in S816. When the connection state with the public line 210 is thus connected, the time for shifting to the power-off mode (timer value M2) is stopped and the mode shifts to the sleep mode.

尚、ここで、S908でYesと判定された後、S909を経由してS919に進んだときは、スリープモードの間に、公衆回線210と未接続になったことを意味している。従って、この場合は、S906で一旦スタンバイ状態に戻っても、再度タイマ値M1の計時を待たずにS919に進んでスリープモードへ即座に移行する。これにより、電源オフモードへ移行するまでの時間を短縮して消費電力を抑えることができる。   Here, if it is determined Yes in S908 and then proceeds to S919 via S909, it means that the connection to the public line 210 is not established during the sleep mode. Therefore, in this case, even if it returns to the standby state once in S906, the process proceeds to S919 without waiting for the timer value M1 again to immediately shift to the sleep mode. As a result, it is possible to reduce power consumption by shortening the time required to shift to the power-off mode.

またS910でYesと判定された後、S911を経由してS919に処理が進んだときは、スリープモードの間に公衆回線と接続されたことを意味している。従って、S906で、一旦スタンバイ状態に戻っても、即座にスリープモードへ移行することで消費電力を抑えている。そしてS919を実行するとS902へ処理を進める。   Further, when the process proceeds to S919 via S911 after it is determined as Yes in S910, it means that the communication line is connected to the public line during the sleep mode. Therefore, in S906, even after returning to the standby state, the power consumption is suppressed by immediately shifting to the sleep mode. Then, when S919 is executed, the process proceeds to S902.

またS910で、通信回線130が公衆回線210と未接続から接続した状態に変化したものでないときはS912に処理を進める。このS912の処理は、通信回線130と公衆回線210との接続状態の変化以外に起因して回線電圧が変化した場合に実行される処理である。従って、S912でCPU200は、モデム102を制御して通信回線130の電圧変化が、CI信号の着信或いは外付け電話機128のオフフックであるかを判定する。通信回線130の電圧変化がCI信号の着信を示ときは、モデム102はCI信号検出のフラグを立てる。或いはSDAA104が直流捕捉していないのに通信回線130の電圧が閾値電圧の設定値A1以上(閾値以上)、A2以下(閾値以下)であった場合は、外付け電話機128が回線捕捉中であることを示すフラグをモデム102が立てる。またこのときは、モデム102を通常状態に戻しているので、モデム102にアクセスして回線電圧値を取得して判定することも可能である。そしてCPU200の処理はS913へ移行する。   If the communication line 130 is not changed from being not connected to the public line 210 in S910, the process proceeds to S912. The process of S912 is a process executed when the line voltage changes due to a change other than the change in the connection state between the communication line 130 and the public line 210. Accordingly, in S912, the CPU 200 controls the modem 102 to determine whether the voltage change of the communication line 130 is an incoming CI signal or an off-hook of the external telephone 128. When the voltage change of the communication line 130 indicates the arrival of the CI signal, the modem 102 sets a CI signal detection flag. Alternatively, if the SDAA 104 is not capturing DC, but the voltage of the communication line 130 is greater than or equal to the threshold voltage setting value A1 (threshold) or less than A2 (threshold), the external telephone 128 is capturing the line. The modem 102 sets a flag indicating this. At this time, since the modem 102 is returned to the normal state, it is also possible to access the modem 102 and acquire the line voltage value for determination. Then, the process of the CPU 200 moves to S913.

S913でCPU200は、CI信号の着信を検出したかどうかを判定する。S912の結果、モデム102にCI信号検出のフラグが立っていれば、CPU200の処理はS914へ進み、そうでなければCPU200の処理はS915へ移行する。S914でCPU200は、ファクシミリの受信処理を実施し、それが完了するとこの処理を終了する。これは通常の処理であるので詳細は記載しない。   In S913, the CPU 200 determines whether or not an incoming CI signal has been detected. As a result of S912, if the CI signal detection flag is set in the modem 102, the process of the CPU 200 proceeds to S914; otherwise, the process of the CPU 200 proceeds to S915. In step S <b> 914, the CPU 200 performs facsimile reception processing, and when this processing is completed, the processing ends. Since this is a normal process, details are not described.

S915でCPU200は、外付け電話機128のオフフックを検出したかどうかを判定する。S912の結果でモデム102にオフフック検出のフラグが立っていれば、CPU200の処理はS916へ移行する。このとき、モデム102にアクセスして回線電圧値を取得して判定に用いることも可能である。S916でCPU200は、ファクシミリの外付け電話機128による通話処理を実施し、それが終了すると、この処理を終了する。尚この処理は通常の処理であるので詳細は記載しない。   In S915, the CPU 200 determines whether or not the off-hook of the external telephone 128 has been detected. If the off-hook detection flag is set in the modem 102 as a result of S912, the process of the CPU 200 proceeds to S916. At this time, it is also possible to access the modem 102 to acquire the line voltage value and use it for the determination. In step S916, the CPU 200 performs a call process using the facsimile external telephone 128, and when the call process ends, the process ends. Since this process is a normal process, details are not described.

S915でオフフックを検出していなければCPU200の処理はS917へ移行する。S917の処理は、上記S908,S910,S913,S915のいずれにもあてはまらないと判定した場合に実行される。S917でCPU200は、通信回線130の電圧変化がノイズであり、通信回線130の状態に変化がないと判定して、タイマ値M2の計時はそのまま継続し、スタンバイ状態を維持したままスタンバイモードへ移行する。   If the off-hook is not detected in S915, the process of the CPU 200 moves to S917. The process of S917 is executed when it is determined that none of the above S908, S910, S913, or S915 applies. In S917, the CPU 200 determines that the voltage change of the communication line 130 is noise and that there is no change in the state of the communication line 130, continues to count the timer value M2, and shifts to the standby mode while maintaining the standby state. To do.

図10は、実施形態1に係るファクシミリ装置100における電力推移の一例を示す図である。   FIG. 10 is a diagram illustrating an example of power transition in the facsimile apparatus 100 according to the first embodiment.

図10では、スタンバイモードで公衆回線210と未接続だったが、スリープモード中に公衆回線210に接続された場合の電力推移を示しており、図7〜図9で説明した各ステップの主要な部分との対応を説明する。   FIG. 10 shows the transition of power when the standby line is not connected to the public line 210 but is connected to the public line 210 during the sleep mode, and shows the main steps of each step described in FIGS. The correspondence with the part will be described.

スタンバイモードの時間t10で回線電圧の変化を検出すると(図8のS801でYesに相当)、時間t11で公衆回線210との接続状態を検出する(S802)。そしてスタンバイモードで、以前の状態と比較して公衆回線210と未接続になったと判定する(S803のYesに相当)と、タイマ値M2でタイマ回路124を起動する(時間t11、S804)。   When a change in line voltage is detected at time t10 in the standby mode (corresponding to Yes in S801 in FIG. 8), a connection state with the public line 210 is detected at time t11 (S802). In the standby mode, when it is determined that the connection to the public line 210 is not established as compared with the previous state (corresponding to Yes in S803), the timer circuit 124 is activated with the timer value M2 (time t11, S804).

そして時間t2でスリープモードに移行する(S815のYesに相当)。そして時間t3で、スリープモードの状態で回線電圧の変化を検出すると(S903のYesに相当)、一旦、スリープモードからスタンバイモードに復帰する(S906)。そして、スタンバイモードの時間t31で公衆回線210との接続状態を検出する(S907)。そして、以前の状態と比較して公衆回線210と接続した状態に変化したと判定すると(S910のYes)、タイマ回路124によるタイマ値M2の計時を停止する(S911)。そして時間t32で、直ぐにスリープモードに移行する(S919)。   At time t2, the mode shifts to the sleep mode (corresponding to Yes in S815). At time t3, when a change in the line voltage is detected in the sleep mode (corresponding to Yes in S903), the device temporarily returns from the sleep mode to the standby mode (S906). Then, the connection state with the public line 210 is detected at time t31 in the standby mode (S907). If it is determined that the state has changed to the state connected to the public line 210 compared to the previous state (Yes in S910), the timer circuit 124 stops the timer value M2 from being timed (S911). At time t32, the mode immediately shifts to the sleep mode (S919).

このように実施形態1では、公衆回線210と接続した状態に変化すると、電源オフモードに移行する時間の計時を停止するので、スリープモードであっても、公衆回線と接続されると電源オフモードへ移行しないようにできる。   As described above, in the first embodiment, when the state is changed to the state connected to the public line 210, the time for shifting to the power-off mode is stopped. Can be prevented from moving to.

また時間t32で、タイマ値M1の計時を待たずに直ぐにスリープモードへ移行することにより、スタンバイモードの時間を短くできるので、消費電力をより削減することができる。   In addition, at the time t32, the standby mode time can be shortened by shifting to the sleep mode immediately without waiting for the timer value M1 to be measured, so that the power consumption can be further reduced.

図11は、実施形態1に係るファクシミリ装置100の電力推移の他の一例を示す図である。   FIG. 11 is a diagram illustrating another example of the power transition of the facsimile apparatus 100 according to the first embodiment.

図11では、スタンバイモードで公衆回線210と接続されていたが、スリープモード中に公衆回線210と未接続になった場合の電力推移を示しており、図7〜図9で説明した各ステップの主要な部分との対応を説明する。   FIG. 11 shows the power transition when connected to the public line 210 in the standby mode but is not connected to the public line 210 during the sleep mode, and shows the steps of the steps described in FIGS. The correspondence with main parts will be explained.

時間t2でスリープモードに移行する(S815のYesに相当)。スリープモードでの時間t3で通信回線130の回線電圧の変化を検出すると(S903のYesに相当)、一旦、スリープモードからスタンバイ状態に復帰する(S906)。そしてスタンバイモードの時間t31で公衆回線210との接続状態を検出する(S907)。そして時間t32で、スリープモードで以前の状態と比較して公衆回線210との接続が未接続に変化したと判定すると(S908のYesに相当)、タイマ回路124にタイマ値M2をセットして計時を開始する(S909)。そして即座にスリープモードに移行する(S919)。   Transition to sleep mode at time t2 (corresponding to Yes in S815). When a change in the line voltage of the communication line 130 is detected at time t3 in the sleep mode (corresponding to Yes in S903), the sleep mode is temporarily returned to the standby state (S906). Then, the connection state with the public line 210 is detected at time t31 in the standby mode (S907). If it is determined at time t32 that the connection with the public line 210 has changed to the unconnected state in the sleep mode compared to the previous state (corresponding to Yes in S908), the timer value M2 is set in the timer circuit 124 and the time is measured. Is started (S909). Then, it immediately shifts to the sleep mode (S919).

これにより、時間t32からタイマ値M2による計時を開始するので、スリープモード中に公衆回線210と未接続になったと判定した時点から計時し、時間t4で電源オフモードへ移行できる。また時間t32で、タイマ値M1による計時を待たずに、即座にスリープモードへ移行する。   As a result, the time measurement by the timer value M2 is started from the time t32, so that the time can be measured from the time when it is determined that the connection to the public line 210 is disconnected during the sleep mode, and the mode can be shifted to the power-off mode at the time t4. Also, at time t32, the mode immediately shifts to the sleep mode without waiting for the timer value M1.

このように実施形態1では、公衆回線210と未接続の状態に変化すると、直ぐに電源オフモードに移行する時間の計時を開始するので、スリープモードであっても、所定の時間を計時すると電源オフモードへ移行できる。   As described above, in the first embodiment, when the state is changed to the state of being not connected to the public line 210, the time for shifting to the power-off mode is started immediately. Therefore, even in the sleep mode, the power is turned off when the predetermined time is counted. You can enter mode.

また時間t32で、タイマ値M1の計時を待たずに直ぐにスリープモードへ移行することにより、スタンバイモードの時間を短くできるので、消費電力をより削減することができる。   In addition, at the time t32, the standby mode time can be shortened by shifting to the sleep mode immediately without waiting for the timer value M1 to be measured, so that the power consumption can be further reduced.

上記実施形態1では、通信回線130と公衆回線210との接続状態により、電力管理の制御を行うことを説明した。特にLAN240の接続の有無に関しては記述していないが、LAN240の接続の有無に応じても、回線との接続状態と同様に制御できる。これは、LAN240との接続、或いは未接続とは無関係で独立して、上述の実施形態1を適用することを意味している。   In the first embodiment, it has been described that the power management is controlled according to the connection state between the communication line 130 and the public line 210. Although there is no description regarding whether or not the LAN 240 is connected, control can be performed in the same manner as the connection state with the line depending on whether or not the LAN 240 is connected. This means that the above-described first embodiment is applied independently of the connection with the LAN 240 or not.

ところで、ネットワークIF127は、上述したように、第1電源系回路5001に属しているため、スリープモード中でも電力が供給されるため、スリープモードでLAN240からの受信パケットを受け付けることが可能である。従って、スリープモードでもLAN240とのリンクが成立しているかどうかを検知することで、LAN240との接続状態を検出できる。   Incidentally, since the network IF 127 belongs to the first power supply system circuit 5001 as described above, power is supplied even during the sleep mode, and therefore, it is possible to accept a received packet from the LAN 240 in the sleep mode. Therefore, the connection state with the LAN 240 can be detected by detecting whether the link with the LAN 240 is established even in the sleep mode.

[実施形態2]
次に本発明の実施形態2について説明する。LAN240との接続状態を検出することにより、LAN240と接続されている場合にファクシミリ装置100が電源オフモードに移行しないようにできる。尚、実施形態2に係るファクシミリ装置の構成は前述の実施形態1と同様であるため、その説明を省略する。
[Embodiment 2]
Next, a second embodiment of the present invention will be described. By detecting the connection state with the LAN 240, the facsimile apparatus 100 can be prevented from shifting to the power-off mode when connected to the LAN 240. Note that the configuration of the facsimile apparatus according to the second embodiment is the same as that of the first embodiment, and a description thereof will be omitted.

実施形態2では、LAN240と接続されていると判定するとタイマ値M2による計時をクリアし、それ以後は、LAN240と未接続の状態になるまでタイマ値M2による計時を開始しないようにする。具体的には、LAN240と接続されているときは、図7、8、9に示すフローチャート中のタイマ値M2を計時する起動設定処理を実行しないよう制限する。これにより、LAN240からのプリントジョブが投入される前に電源オフモードに移行したために、人手によるファクシミリ装置の電源スイッチのオンが必要になるといった事態が回避できる。   In the second embodiment, when it is determined that the LAN 240 is connected, the time count by the timer value M2 is cleared, and thereafter, the time count by the timer value M2 is not started until the LAN 240 is not connected. Specifically, when connected to the LAN 240, the start setting process for measuring the timer value M2 in the flowcharts shown in FIGS. As a result, it is possible to avoid a situation in which the power switch of the facsimile apparatus needs to be turned on manually because the power-off mode is entered before the print job from the LAN 240 is input.

(その他の実施形態)
また、本発明は、以下の処理を実行することによっても実現される。即ち、上述した実施形態の機能を実現するソフトウェア(プログラム)を、ネットワーク又は各種記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(又はCPUやMPU等)がプログラムを読み出して実行する処理である。
(Other embodiments)
The present invention can also be realized by executing the following processing. That is, software (program) that realizes the functions of the above-described embodiments is supplied to a system or apparatus via a network or various storage media, and a computer (or CPU, MPU, etc.) of the system or apparatus reads the program. It is a process to be executed.

本発明は上記実施の形態に制限されるものではなく、本発明の精神及び範囲から離脱することなく、様々な変更及び変形が可能である。従って、本発明の範囲を公にするために、以下の請求項を添付する。   The present invention is not limited to the above-described embodiment, and various changes and modifications can be made without departing from the spirit and scope of the present invention. Therefore, in order to make the scope of the present invention public, the following claims are attached.

101…SOC,102…モデム、104…SDAA,105…回線捕捉回路、120…キーボード類、124…タイマ回路、125…電源回路、127…ネットワークIF,128…外付け電話機、130…通信回線、152…直流捕捉回路,200…CPU、207…電源制御部、210…公衆回線(PSTN),206…レジスタ。   DESCRIPTION OF SYMBOLS 101 ... SOC, 102 ... Modem, 104 ... SDAA, 105 ... Line capture circuit, 120 ... Keyboards, 124 ... Timer circuit, 125 ... Power supply circuit, 127 ... Network IF, 128 ... External telephone, 130 ... Communication line, 152 ... DC capture circuit, 200... CPU, 207... Power supply control unit, 210... Public line (PSTN), 206.

Claims (9)

回線電圧の変化を検知する検知手段と、
時間を計時する計時手段と、
回線との接続状態を検出する検出手段と、
スリープモードへの移行条件を満足するとスリープモードに移行させる移行手段と、
前記スリープモードで前記検知手段が前記回線電圧の変化を検知すると、スタンバイモードに復帰させて前記検出手段により回線との接続状態を検出させ、前記検出手段により検出された前記接続状態が未接続から接続に変更したときは、前記計時手段による電源オフモードに移行する時間の計時を停止させて前記スリープモードに移行させ、前記検出手段により検出された前記接続状態が接続から未接続に変更したときは、前記計時手段による電源オフモードに移行する時間の計時を開始させて前記スリープモードに移行させるように制御する制御手段と、
を有することを特徴とする通信装置。
Detection means for detecting changes in the line voltage;
A time measuring means for measuring time;
Detecting means for detecting a connection state with the line;
A transition means for transitioning to the sleep mode when the transition condition to the sleep mode is satisfied;
When the detection means detects a change in the line voltage in the sleep mode, the detection means returns to the standby mode and the connection state with the line is detected by the detection means, and the connection state detected by the detection means is not connected. When the connection is changed, when the time to shift to the power-off mode by the timing unit is stopped and the mode is shifted to the sleep mode, and the connection state detected by the detection unit is changed from connected to unconnected Is a control means for controlling to start counting the time to shift to the power-off mode by the timing means to shift to the sleep mode;
A communication apparatus comprising:
前記検出手段は、回線と接続されているか、或いは電話機が回線捕捉中、或いは回線と未接続であるかを検出できることを特徴とする請求項1に記載の通信装置。   2. The communication apparatus according to claim 1, wherein the detection unit can detect whether the line is connected to the line, or whether the telephone is capturing the line or not connected to the line. 前記検出手段は、回線電圧が第1の閾値以下であれば前記回線と未接続、前記第1の閾値以上で、前記第1の閾値よりも大きい第2の閾値以下であれば電話機が回線捕捉中、前記第2の閾値以上であれば前記回線と接続されていると検出することを特徴とする請求項2に記載の通信装置。   The detecting means is not connected to the line if the line voltage is equal to or lower than a first threshold value, and if the line voltage is equal to or higher than the first threshold value and equal to or lower than a second threshold value that is greater than the first threshold value, the telephone The communication apparatus according to claim 2, wherein the communication device is detected as being connected to the line if it is equal to or greater than the second threshold value. 前記移行手段は、前記通信装置が継続して動作しない時間を前記計時手段により計時させ、当該計時した時間が第1の時間になると前記スリープモードに移行させることを特徴とする請求項1乃至3のいずれか1項に記載の通信装置。   4. The shift unit causes the time when the communication device does not operate continuously to be timed by the time measuring unit, and shifts to the sleep mode when the time measured reaches a first time. The communication device according to any one of the above. 前記計時手段による電源オフモードに移行する時間の計時が終了すると前記通信装置の電源をオフにする電源オフ手段を更に有することを特徴とする請求項1乃至4のいずれか1項に記載の通信装置。   5. The communication according to claim 1, further comprising: a power-off unit that turns off the power of the communication device when the time counting for shifting to the power-off mode by the time measuring unit is completed. apparatus. 前記スリープモードで電力を供給する第1の電源出力と、前記スタンバイモードで電力を供給する第2の電源出力とを有する電源手段を更に有し、
前記制御手段は、前記電源手段の前記第1及び第2の電源出力を制御して前記スタンバイモードへの復帰、及び前記スリープモードへの移行を制御することを特徴とする請求項1に記載の通信装置。
Power supply means further comprising a first power supply output for supplying power in the sleep mode and a second power supply output for supplying power in the standby mode;
2. The control unit according to claim 1, wherein the control unit controls the first and second power output of the power unit to return to the standby mode and to shift to the sleep mode. Communication device.
前記検知手段と前記計時手段は、前記スリープモードでも動作することを特徴とする請求項1乃至6のいずれか1項に記載の通信装置。   The communication device according to claim 1, wherein the detection unit and the time measuring unit operate even in the sleep mode. 通信装置を制御する制御方法であって、
回線電圧の変化を検知する検知工程と、
時間を計時する計時工程と、
回線との接続状態を検出する検出工程と、
スリープモードへの移行条件を満足するとスリープモードに移行させる移行工程と、
前記スリープモードで前記検知工程が前記回線電圧の変化を検知すると、スタンバイモードに復帰させて前記検出工程により回線との接続状態を検出させ、前記検出工程により検出された前記接続状態が未接続から接続に変更したときは、前記計時工程による電源オフモードに移行する時間の計時を停止させて前記スリープモードに移行させ、前記検出工程により検出された前記接続状態が接続から未接続に変更したときは、前記計時工程による電源オフモードに移行する時間の計時を開始させて前記スリープモードに移行させるように制御する制御工程と、
を有することを特徴とする通信装置の制御方法。
A control method for controlling a communication device, comprising:
A detection process for detecting changes in line voltage;
A time measuring process for measuring time;
A detection step for detecting a connection state with the line;
A transition process for shifting to the sleep mode when the transition condition to the sleep mode is satisfied,
When the detection step detects a change in the line voltage in the sleep mode, the state is returned to the standby mode, the connection state with the line is detected by the detection step, and the connection state detected by the detection step is determined as unconnected. When the connection is changed, when the time for shifting to the power-off mode by the timing step is stopped and the sleep mode is shifted, and the connection state detected by the detection step is changed from connected to unconnected Is a control step for controlling the start of the time to shift to the power-off mode by the time measuring step to shift to the sleep mode;
A method for controlling a communication apparatus, comprising:
コンピュータを、請求項1乃至7のいずれか1項に記載の通信装置として機能させるためのプログラム。   The program for functioning a computer as a communication apparatus of any one of Claims 1 thru | or 7.
JP2014158988A 2014-08-04 2014-08-04 Communication apparatus, control method of the same, and program Pending JP2016036117A (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
JP2014158988A JP2016036117A (en) 2014-08-04 2014-08-04 Communication apparatus, control method of the same, and program
US14/805,692 US20160036596A1 (en) 2014-08-04 2015-07-22 Communication apparatus and control method therefor
EP15177817.2A EP2983349B1 (en) 2014-08-04 2015-07-22 Communication apparatus and control method therefor
KR1020150109311A KR101907420B1 (en) 2014-08-04 2015-08-03 Communication apparatus and control method therefor
CN201510482853.8A CN105338468B (en) 2014-08-04 2015-08-03 Communication device and its control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014158988A JP2016036117A (en) 2014-08-04 2014-08-04 Communication apparatus, control method of the same, and program

Publications (1)

Publication Number Publication Date
JP2016036117A true JP2016036117A (en) 2016-03-17

Family

ID=55523744

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014158988A Pending JP2016036117A (en) 2014-08-04 2014-08-04 Communication apparatus, control method of the same, and program

Country Status (1)

Country Link
JP (1) JP2016036117A (en)

Similar Documents

Publication Publication Date Title
EP2983349B1 (en) Communication apparatus and control method therefor
US7565561B2 (en) System for controlling voltage supplied to communication interface between energy-saving mode and normal mode through the used of a resistor upon whether external device is connected
US9210284B2 (en) Image forming apparatus, information processing apparatus, control method for image forming apparatus, and storage medium
KR102026315B1 (en) Image forming apparatus, host apparatus, image forming system with them and method for controlling power source thereof
JP6178713B2 (en) Image forming apparatus
JP2015174375A (en) Image forming device and control method for the same, and program
US10194044B2 (en) System and method for shifting electric power modes in an image forming system
JP6727798B2 (en) Information processing apparatus, control method thereof, and program
JP2005132052A (en) Image forming apparatus
JP6381598B2 (en) Image communication apparatus and control method and program thereof
JP6291840B2 (en) Communication device
JP2016036117A (en) Communication apparatus, control method of the same, and program
US20130124893A1 (en) Image processing apparatus and image processing method
JP2016036116A (en) Communication apparatus, control method of the same, and program
US9544448B2 (en) Communication apparatus and method for determining connection
JP2016035712A (en) Communication device, control method thereof, and program
US10382639B2 (en) Information processing system acquire transition notification from host device to transit to energy saving mode
JP2017132167A (en) Processing unit, processing method, and program
JP2009147726A (en) Line control apparatus, line control method, program, and storage medium
US10498923B2 (en) Facsimile apparatus, method of controlling the same, and storage medium
JP6562686B2 (en) Facsimile apparatus, control method and program for facsimile apparatus
JP2016035712A5 (en) COMMUNICATION DEVICE AND ITS CONTROL METHOD
JP2017091505A (en) Apparatus, operation mode control method, and program
JP6569392B2 (en) Image processing device
US9946330B2 (en) Information processing apparatus, non-transitory computer readable medium, and information processing method