JP2018020551A - Image formation apparatus achieving power saving and control method thereof - Google Patents

Image formation apparatus achieving power saving and control method thereof Download PDF

Info

Publication number
JP2018020551A
JP2018020551A JP2017120748A JP2017120748A JP2018020551A JP 2018020551 A JP2018020551 A JP 2018020551A JP 2017120748 A JP2017120748 A JP 2017120748A JP 2017120748 A JP2017120748 A JP 2017120748A JP 2018020551 A JP2018020551 A JP 2018020551A
Authority
JP
Japan
Prior art keywords
power
state
sata
control unit
power saving
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.)
Granted
Application number
JP2017120748A
Other languages
Japanese (ja)
Other versions
JP6949572B2 (en
JP2018020551A5 (en
Inventor
松本 昭浩
Akihiro Matsumoto
昭浩 松本
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 US15/648,153 priority Critical patent/US10564700B2/en
Priority to CN201710597418.9A priority patent/CN107645618B/en
Priority to EP17182564.9A priority patent/EP3273326B1/en
Priority to KR1020170092425A priority patent/KR102320386B1/en
Publication of JP2018020551A publication Critical patent/JP2018020551A/en
Publication of JP2018020551A5 publication Critical patent/JP2018020551A5/ja
Application granted granted Critical
Publication of JP6949572B2 publication Critical patent/JP6949572B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

PROBLEM TO BE SOLVED: To provide an image formation apparatus which can achieve finer power-saving control, and a control method thereof.SOLUTION: Stand-by power is efficiently reduced without impairing the convenience as much as possible by means of setting a plurality of SATA power saving levels corresponding to the host power state of a printer in the SATA bridge configuration of a host control unit and a bridge control unit and previously setting the power saving transition condition to two control units for each SATA power saving level, means of issuing a power saving transition request to the host control unit, means of notifying the bridge control unit of the host power state, and means of determining the power saving level to be transited by the bridge control unit from the condition of transition of the SATA-IF between bridges to the power-saving state and the notified host power state information and shifting to the power-saving state.SELECTED DRAWING: Figure 12

Description

本発明は、例えば、複合機、印刷装置を含む画像形成装置の省電力等に関する技術に属する。   The present invention belongs to a technique related to power saving of an image forming apparatus including a multifunction peripheral and a printing apparatus, for example.

近年、地球温暖化等の環境問題対応として各国の規制は年々厳しくなってきている。例えば画像形成装置においても例外ではなく、真摯に環境問題に取り組み、各種エネルギー関連規格への積極的な対応が求められている。   In recent years, regulations in various countries have become stricter year by year in response to environmental problems such as global warming. For example, image forming apparatuses are no exception, and environmental issues are seriously addressed and active responses to various energy-related standards are required.

また、ノートPCやタブレットPCなどモバイル系電子機器が普及している。そして、バッテリーによる駆動をより長時間可能とするために内部バスインターフェイス規格であるPCI Expressがある。また、ストレージデバイスとのインタフェース(IF)規格であるSATA(Serial ATA)がある。   Mobile electronic devices such as notebook PCs and tablet PCs have become widespread. In addition, there is PCI Express which is an internal bus interface standard in order to enable driving by a battery for a longer time. In addition, there is SATA (Serial ATA) which is an interface (IF) standard with storage devices.

規格レベルにおいて省電力状態が策定されている。例えば、SATAではホストとデバイス間IFでの省電力状態が追加された。前者としてはStandbyコマンドやSleepコマンドなどある。また、後者としてはPartial、Slumber及びDevice‐Sleep(以下、DevSleepと示す)が省電力状態として定義されている。ストレージデバイスの代表例としてハードディスク装置(以下、HDDと示す)やSSD(ソリッドステートドライブ)などが挙げられる。   A power saving state is formulated at the standard level. For example, in SATA, a power saving state between the host and the device IF is added. The former includes a Standby command and a Sleep command. As the latter, Partial, Slumber, and Device-Sleep (hereinafter referred to as DevSleep) are defined as power saving states. Typical examples of storage devices include a hard disk device (hereinafter referred to as HDD) and an SSD (solid state drive).

なお、前記DevSleepは特にSSDに対して設けられた省電力状態であり、SATA‐IF電力と本体電力の両方をRunTimeに削減することを可能とする。   The DevSleep is a power saving state provided especially for the SSD, and allows both SATA-IF power and main body power to be reduced to RunTime.

SATA‐IF及びそれに接続されるストレージデバイスは、アクセス期間以外のアイドル状態において比較的待機電力が大きな部分である。   The SATA-IF and the storage device connected to the SATA-IF have a relatively large standby power in an idle state other than the access period.

特にSATAブリッジ構成としてRAID(Redundant Arrays ofInexpensive Disk)制御やデータ暗号化処理を実施する場合がある。その際、ホスト側であるSATAメイン制御部及びデバイス側であるSATAブリッジ制御部のCPUシステムと複数のストレージデバイス及びそれらを接続する複数のSATA‐IF(例えば物理層)での待機電力は大きなものとなる。そこではRumTimeな省電力制御が求められる。   In particular, RAID (Redundant Arrays of Inexpensive Disk) control and data encryption processing may be performed as a SATA bridge configuration. At that time, the standby power in the CPU system of the SATA main control unit on the host side and the SATA bridge control unit on the device side, a plurality of storage devices, and a plurality of SATA-IFs (for example, physical layers) connecting them is large. It becomes. In this case, RumTime power saving control is required.

例えば、PATA(Parallel ATA)‐IFを有するHDDがある。このHDDとSATA‐IFを持つSATAホスト制御部をブリッジするSATAブリッジ構成がある。この構成において、上位メインCPUの手を煩わせることなく、SATAブリッジ制御部への前記省電力系コマンドを発行する技術がある。   For example, there is an HDD having a PATA (Parallel ATA) -IF. There is a SATA bridge configuration that bridges the SATA host control unit having the HDD and the SATA-IF. In this configuration, there is a technique for issuing the power-saving command to the SATA bridge control unit without bothering the host main CPU.

つまり、HDDへの省電力制御状況に応じて、SATAホスト制御部とデバイス側であるSATAブリッジ制御部間のSATA‐IFを前記PartialやSlumberの省電力状態に移行させる方法が提案されている(特開2005‐78514)。   That is, a method has been proposed in which the SATA-IF between the SATA host control unit and the SATA bridge control unit on the device side is shifted to the Partial or Slumber power saving state according to the power saving control status of the HDD ( JP 2005-78514).

特開2005‐78514JP-A-2005-78514

しかしながら、特開2005‐78514(特許文献1)の方法は、HDDへの省電力系コマンドを基点としたSATA系省電力移行処理である。すなわち、省電力移行条件は装置全体の電力状態とは連動せず、あくまでもSATA系部分のみでの省電力移行判定となる。また、きめ細かな省電力制御ができていなかった。   However, the method disclosed in Japanese Patent Laid-Open No. 2005-78514 (Patent Document 1) is a SATA power saving transition process based on a power saving command to the HDD. That is, the power saving transition condition is not linked to the power state of the entire apparatus, and is a power saving transition determination only in the SATA system portion. Also, detailed power saving control has not been achieved.

本発明は上述の課題の少なくとも一つを鑑みてなされたものであり、よりきめ細かい省電力制御を実現可能にする仕組みを提供することを一つの目的とする。   The present invention has been made in view of at least one of the above-described problems, and an object thereof is to provide a mechanism that can realize finer power saving control.

上述の目的を達成するため、上位システムと所定の規格に従う通信インターフェースを介して通信するデバイスの電力制御を行なう制御装置において、所定の電力状態へ前記上位システムが移行することを示す信号を受信する受信手段と、所定の電力状態に前記上位システムが移行することを示す信号を受信したことに従って、前記上位システムの電力状態と、前記デバイスの電力状態と、前記デバイスが有する通信インタフェースであって前記所定の規格に従う通信インタフェースの物理層の電力状態と、に基づき、前記デバイスおよび前記デバイスが用いる通信インタフェースの物理層の電力状態を複数の電力状態の中から決定する決定手段と、を備える制御装置が開示される。   To achieve the above object, a control device that performs power control of a device that communicates with a host system via a communication interface that conforms to a predetermined standard receives a signal indicating that the host system shifts to a predetermined power state. According to the reception means and the signal indicating that the higher system shifts to a predetermined power state, the power state of the higher system, the power state of the device, and the communication interface of the device, A control unit comprising: a power state of a physical layer of a communication interface according to a predetermined standard; and a determination unit that determines, from a plurality of power states, a power state of a physical layer of the communication interface used by the device and the device Is disclosed.

本実施形態の一つの側面によれば、上位システムの電力状態を考慮した省電力制御方法の枠組みを提供するので、よりきめ細かい省電力制御を実現可能にする仕組みを提供することができる。   According to one aspect of the present embodiment, since a framework of a power saving control method that takes into account the power state of the host system is provided, it is possible to provide a mechanism that enables more detailed power saving control.

メインコントローラのシステム構成例を示す図である。It is a figure which shows the system configuration example of a main controller. SATAブリッジ構成の接続例を示す図である。It is a figure which shows the example of a connection of a SATA bridge structure. SATAホスト制御部及びブリッジ制御部の内部構成例を示す図である。It is a figure which shows the internal structural example of a SATA host control part and a bridge control part. PS0〜PS2のSATA系省電力状態種類及び設定内容を示す図である。It is a figure which shows the SATA type power saving state kind and setting content of PS0-PS2. 省電力制御に関係する拡張コマンド例を示す図である。It is a figure which shows the example of an extended command relevant to power saving control. SATA系省電力設定への初期化フロー例を示す図である。It is a figure which shows the example of an initialization flow to a SATA type power saving setting. SATAホスト制御部の省電力移行処理フロー例を示す図である。It is a figure which shows the example of a power saving transfer process flow of a SATA host control part. SATAブリッジ制御部の省電力移行処理フロー例を示す図である。It is a figure which shows the example of a power saving transfer process flow of a SATA bridge control part. SATAホスト制御部の省電力状態からの復帰処理フロー例を示す図である。It is a figure which shows the example of a return processing flow from the power saving state of a SATA host control part. SATAブリッジ制御部の省電力状態からの復帰処理フロー例を示す図である。It is a figure which shows the example of a return processing flow from the power saving state of a SATA bridge control part. PS0〜PS2の省電力移行準備中での強制復帰処理フロー例を示す図である。It is a figure which shows the example of a forced return process flow in the power saving transition preparation of PS0-PS2. SATAブリッジ制御部と電源制御部の接続例を示す図である。It is a figure which shows the example of a connection of a SATA bridge control part and a power supply control part. HDDの電源制御タイミング例を示す図である。It is a figure which shows the example of a power supply control timing of HDD. 印刷装置1000の電力状態の例を示す図である。5 is a diagram illustrating an example of a power state of the printing apparatus 1000. FIG.

以下、本実施形態を実施するための形態について図面を用いて説明する。   Hereinafter, the form for implementing this embodiment is demonstrated using drawing.

図1は、印刷装置におけるメインコントローラ120のシステム構成例である。メインCPU(中央処理演算器)101は、システム制御や各種演算処理を行う。メモリ制御部102は、各種メモリデバイスへの入出力制御やDMA(ダイレクト・メモリ・アクセス)制御を行う。FLASHメモリ103は、書き換え可能な不揮発性メモリであり、システム全体の制御プログラムや制御パラメータ等が格納される。DRAM(ダイナミック・ランダム・アクセス・メモリ)104は、DDR(Double−Data−Rate)メモリに代表される揮発性の書き換え専用メモリである。プログラムの作業領域や印刷データの格納領域、各種テーブル情報格納領域等の用途に用いられる。ここで、前記メモリ制御部102と各種メモリデバイスとの関係は、簡略化して表現したものであって、一般的には独立に制御される。LAN−IF制御部105は、印刷装置に接続されるローカル・エリア・ネットワーク106との入出力制御を行う。一般的にはTCP/IP(Transmission Control Protocol/Internet Protocol)プロトコルに対応する。ネットワークケーブルを介して外部HOSTコンピュータ107などのネットワーク対応機器と接続され、ネットワーク経由でのプリントを行うことができる。Reader‐IF制御部108は、スキャナ装置109との通信制御を行う。前記スキャナ装置109によってスキャンした入力画像データを印字させることでコピー機能を実現する。画像処理部110は、前記LAN−IF制御部105、Reader‐IF制御部108を介して取り込んだ画像データに対して各種画像処理を行う。SATAホスト制御部111は、SATA(Serial Advanced Technology Attachment)規格に準拠したIFを有するデバイスとのデータ入出力制御を行う。SATAブリッジ制御部112は、上流側として前記SATAホスト制御部111にデバイスとして接続され、下流側としては複数のHost‐IFを有し、HDD又はSSD113、114と接続される。前記SATAブリッジ制御部112では、RAID制御やデータ暗号化など付加価値としての機能が搭載されている。本実施例では、前記SATAホスト制御部111とSATAブリッジ制御部112は、それぞれ独立したASIC(特定用途向け集積回路)としてメインコントローラ120に搭載されていることを前提として説明を行う。パネルIF制御部115は、パネル装置116との通信制御を行う。ここでは図示しないがUI(ユーザ・インターフェイス)として、パネル上の液晶画面表示やボタン等を操作することにより印刷装置の各種設定及び状態の確認ができる。ビデオ出力IF部117は、印字部5000とのコマンド/ステータスの通信制御や印刷データの転送を行う。印字部5000は、ここでは図示しないが印刷装置本体と給紙系及び排紙系から構成され、主に前記ビデオ出力IF部117からのコマンド情報に従い、印刷データを紙に印刷する。メインバス119はバスコントローラ含み、制御バス、データバス及び任意ブロック間のローカルバスを便宜的にまとめて表現したものである。代表例としてPCIe(PCI Express)やASICの内部バスなども含まれる。   FIG. 1 is a system configuration example of a main controller 120 in a printing apparatus. A main CPU (central processing arithmetic unit) 101 performs system control and various arithmetic processes. The memory control unit 102 performs input / output control and DMA (direct memory access) control to various memory devices. The FLASH memory 103 is a rewritable nonvolatile memory, and stores control programs, control parameters, and the like for the entire system. A DRAM (Dynamic Random Access Memory) 104 is a volatile rewrite-only memory represented by a DDR (Double-Data-Rate) memory. It is used for applications such as a program work area, a print data storage area, and various table information storage areas. Here, the relationship between the memory control unit 102 and various memory devices is expressed in a simplified manner, and is generally controlled independently. The LAN-IF control unit 105 performs input / output control with the local area network 106 connected to the printing apparatus. Generally, it corresponds to the TCP / IP (Transmission Control Protocol / Internet Protocol) protocol. A network compatible device such as an external HOST computer 107 is connected via a network cable, and printing via the network can be performed. The Reader-IF control unit 108 performs communication control with the scanner device 109. A copy function is realized by printing input image data scanned by the scanner device 109. The image processing unit 110 performs various types of image processing on the image data captured via the LAN-IF control unit 105 and the Reader-IF control unit 108. The SATA host control unit 111 performs data input / output control with a device having an IF that conforms to the SATA (Serial Advanced Technology Attachment) standard. The SATA bridge control unit 112 is connected as a device to the SATA host control unit 111 on the upstream side, and has a plurality of Host-IFs on the downstream side, and is connected to HDDs or SSDs 113 and 114. The SATA bridge control unit 112 is equipped with functions as added value such as RAID control and data encryption. In this embodiment, the description will be made on the assumption that the SATA host control unit 111 and the SATA bridge control unit 112 are mounted on the main controller 120 as independent ASICs (application-specific integrated circuits). The panel IF control unit 115 performs communication control with the panel device 116. Although not shown here, various settings and states of the printing apparatus can be confirmed by operating a liquid crystal screen display and buttons on the panel as a UI (user interface). The video output IF unit 117 performs command / status communication control with the printing unit 5000 and print data transfer. Although not shown here, the printing unit 5000 includes a printing apparatus main body, a paper feed system, and a paper discharge system, and prints print data on paper mainly according to command information from the video output IF unit 117. The main bus 119 includes a bus controller and expresses a control bus, a data bus, and a local bus between arbitrary blocks for convenience. Representative examples include PCIe (PCI Express) and ASIC internal buses.

図1の印刷装置1000がOFF状態とは、図14の1400が示すようにメインコントローラとプリンタエンジンコントローラ118に電源が入っていない状態である。図14は一例であり、本実施形態はこれに限られない。当業者であれば、図14の図面が削除された状態でも本実施形態が成立することは理解するであろう。図1の印刷装置はOFF状態で、パネル装置116からパネル装置116付近の電源スイッチがユーザの操作で押下されて電源制御部へ指示がいった場合、印刷装置1000は、STANDBY状態1402に遷移する。また、SLEEP状態1403、DEEP状態1404で、パネル装置116やNetwork106経由でジョブの実行要求を受け付けた場合にも、STANDBY状態1402に遷移する。DEEP状態は、DEEPSLEEP状態の略である。   1 is a state in which the main controller and the printer engine controller 118 are not turned on, as indicated by 1400 in FIG. FIG. 14 is an example, and the present embodiment is not limited to this. Those skilled in the art will understand that the present embodiment is established even when the drawing of FIG. 14 is deleted. When the printing apparatus of FIG. 1 is in the OFF state and the power switch near the panel apparatus 116 is pressed by the user operation from the panel apparatus 116 and an instruction is given to the power control unit, the printing apparatus 1000 transitions to the STANDBY state 1402. . In addition, when a job execution request is accepted via the panel device 116 or the network 106 in the SLEEP state 1403 and the DEEP state 1404, the state transits to the STANDBY state 1402. The DEEP state is an abbreviation for the DEEPSLEEP state.

STANDBY状態1402では、図1に示す印刷装置1000としては、ジョブの実行指示も印字部500やプリンタエンジンコントローラ118の情報に対する問合せも受付可能な状態である。そのため、メインコントローラ120もプリンタエンジンコントローラ118も、いつでもジョブの受付が可能であるように必要な所定の初期化動作を行っておく必要がある。以下、プリンタエンジンコントローラを単にエンジンコントローラともいう。OFF状態1401やDEEP状態1404からSTANDBY状態1402に遷移する場合、メインコントローラ120は、プリンタエンジンコントローラ118の電源を投入する。   In the STANDBY state 1402, the printing apparatus 1000 shown in FIG. 1 is in a state where it can accept job execution instructions and inquiries about information from the printing unit 500 and the printer engine controller 118. Therefore, both the main controller 120 and the printer engine controller 118 need to perform necessary initialization operations so that jobs can be accepted at any time. Hereinafter, the printer engine controller is also simply referred to as an engine controller. When transitioning from the OFF state 1401 or the DEEP state 1404 to the STANDBY state 1402, the main controller 120 turns on the printer engine controller 118.

この時、メインコントローラ120は、プリンタエンジンコントローラ118に対して、キャリブレーション等の初期化動作を伴う起動を要求する。このために、メインコントローラ120とプリンタエンジンコントローラ118間の物理的な特定の信号線を用いて指示を行う。このように起動制御情報を確定するための物理的な信号線を、以降LIVEWAKE信号線Lと呼ぶ。つまり、LIVEWAKE信号線Lは、起動制御情報が反映されると、オンまたはオフとなる信号線である。   At this time, the main controller 120 requests the printer engine controller 118 to start with an initialization operation such as calibration. For this purpose, an instruction is given using a specific physical signal line between the main controller 120 and the printer engine controller 118. The physical signal line for determining the activation control information in this way is hereinafter referred to as a LIVEWAKE signal line L. That is, the LIVEWAKE signal line L is a signal line that is turned on or off when the activation control information is reflected.

メインコントローラ120は、LIVEWAKE信号線Lを予めOFFに設定した上で、プリンタエンジンコントローラ118の電源をONにしてもよい。これにより、プリンタエンジンコントローラ118に対して、キャリブレーション等の初期化動作を伴う起動を要求することが可能となる。   The main controller 120 may turn on the printer engine controller 118 after setting the LIVEWAKE signal line L to OFF in advance. As a result, it is possible to request the printer engine controller 118 to start with an initialization operation such as calibration.

プリンタエンジンコントローラ118は、電源が投入された場合に、まずLIVEWAKE信号線Lの状態を確認し、OFFに設定されていた場合は、キャリブレーション等の初期化動作を伴う起動処理を実行する。   When the power is turned on, the printer engine controller 118 first checks the state of the LIVEWAKE signal line L. If the printer engine controller 118 is set to OFF, the printer engine controller 118 executes start-up processing with an initialization operation such as calibration.

印刷装置1000は、STANDBY状態1402で、パネル装置116が一定時間操作されなかった場合、SLEEP状態1403に遷移する。なお、DEEP状態1404でNetwork106を経由して印字部500やプリンタエンジンコントローラ118の情報に対する問合せが行われると、SLEEP状態1403に遷移する。   In the STANDBY state 1402, the printing apparatus 1000 transitions to the SLEEP state 1403 when the panel device 116 has not been operated for a certain period of time. When an inquiry about information of the printing unit 500 or the printer engine controller 118 is made via the network 106 in the DEEP state 1404, the state transits to the SLEEP state 1403.

SLEEP状態は、印刷装置1000としては、ジョブの実行指示は受付不可であり、プリンタエンジン10000の情報に対する問合せのみ受付可能な状態である。基本的には、画像処理部110、プリンタエンジンコントローラ118、印字部5000、スキャナ装置109、Reader IF部108、Flashメモリ103、メインCPU101、パネル装置116のバックライなどをOFFにする。また、メインコントローラ120もプリンタエンジンコントローラ118もSLEEP状態では、STANDBY状態1402と比較して必要な処理も限定される。このため、STANDBY状態1402よりも電力を落とした状態で起動している。ただし、LAN−IF部105と、DRAM104、パネル装置116のユーザからの入力を検知する部分は通電しておく。プリンタエンジンコントローラ118は、印字部5000に対して制御を行なうコントローラである。印字部5000は、トナー等を用紙に出力する機構である。プリンタエンジンコントローラー118は、印刷する画像イメージ等やフレームデータを作り、それを印字部5000へ送る。   The SLEEP state is a state in which the printing apparatus 1000 cannot accept job execution instructions and can accept only inquiries about information of the printer engine 10000. Basically, the image processing unit 110, the printer engine controller 118, the printing unit 5000, the scanner device 109, the reader IF unit 108, the flash memory 103, the main CPU 101, the backlight of the panel device 116, and the like are turned off. Further, in the SLEEP state of both the main controller 120 and the printer engine controller 118, the necessary processing is limited as compared with the STANDBY state 1402. For this reason, it is started in a state where the power is lower than in the STANDBY state 1402. However, the LAN-IF unit 105, the DRAM 104, and the panel device 116 that detect input from the user are energized. The printer engine controller 118 is a controller that controls the printing unit 5000. The printing unit 5000 is a mechanism that outputs toner or the like to a sheet. The printer engine controller 118 creates image images and frame data to be printed, and sends them to the printing unit 5000.

DEEP状態1404からSLEEP状態1402に遷移する場合、メインコントローラ120は、プリンタエンジンコントローラ118の電源を投入する。   When transitioning from the DEEP state 1404 to the SLEEP state 1402, the main controller 120 turns on the printer engine controller 118.

この場合、メインコントローラ120は、プリンタエンジンコントローラ118に対して、キャリブレーション等の初期化動作を伴わない起動を要求する。このために、LIVEWAKE信号線Lを予めONに設定した上で、プリンタエンジンコントローラ118の電源をONにする。プリンタエンジンコントローラ118は、電源が投入された場合に、まずLIVEWAKE信号線Lの状態を確認し、ON状態に設定されていた場合は、キャリブレーション等の初期化動作を伴わない起動処理を実行する。   In this case, the main controller 120 requests the printer engine controller 118 to start without an initialization operation such as calibration. For this purpose, the LIVEWAKE signal line L is set to ON in advance, and then the printer engine controller 118 is turned on. When the power is turned on, the printer engine controller 118 first checks the state of the LIVEWAKE signal line L. If the printer engine controller 118 is set to the ON state, the printer engine controller 118 executes start-up processing that does not involve an initialization operation such as calibration. .

このようにLIVEWAKE信号線Lを用いる。これにより、プリンタエンジンコントローラ118は、印刷装置1000がSTANDBY状態1402の場合に必要な初期化処理と、SLEEP状態1403の場合に必要な初期化処理とを区別して実行させることが可能となる。そこで、LAN−IF部105や、パネル装置部116の所定の入力部において入力を検出した場合、不図示の信号線を用いて、LAN−IF部105や、パネル装置部116から電源制御部209へ通知される。電源制御部は、必要に応じてメインCPU101へ電源供給を行ったり、必要なIF部へ電源を供給したりする。   In this way, the LIVEWAKE signal line L is used. As a result, the printer engine controller 118 can distinguish and execute an initialization process required when the printing apparatus 1000 is in the STANDBY state 1402 and an initialization process required when the printing apparatus 1000 is in the SLEEP state 1403. Therefore, when an input is detected in the LAN-IF unit 105 or a predetermined input unit of the panel device unit 116, the power control unit 209 is connected from the LAN-IF unit 105 or the panel device unit 116 using a signal line (not shown). To be notified. The power control unit supplies power to the main CPU 101 as necessary, or supplies power to necessary IF units.

印刷装置1000が、STANDBY状態1402やSLEEP状態1403で一定時間何も操作されなかった場合、印刷装置1000は、DEEPSLEEP状態1404に遷移する。DEEPSLEEP状態1404は、印刷装置1000自体の電力を可能な限り落した状態である。メインコントローラの主要部はもちろん、メインCPU101も、ジョブを検出可能な部分のみの通電を行い、装置全体の電力を非常に少ない電力状態にすることができる。例えば、パネル装置116におけるユーザ入力部分および、LAN−IF部106の所定の制御回路のみに通電してもよい。DEEP状態に入った印刷装置1000においては、LAN−IF部105で検知されたイベントや、パネル装置116から所定のユーザの入力があったことに応じて、SLEEP状態へ復帰することができる。   When the printing apparatus 1000 has not been operated for a certain period of time in the STANDBY state 1402 or the SLEEP state 1403, the printing apparatus 1000 transitions to the DEEPSLEEP state 1404. The DEEPSLEEP state 1404 is a state in which the power of the printing apparatus 1000 itself is reduced as much as possible. The main CPU 101 as well as the main part of the main controller can be energized only in the part where the job can be detected, and the power of the entire apparatus can be reduced to a very low power state. For example, only the user input portion of the panel device 116 and a predetermined control circuit of the LAN-IF unit 106 may be energized. The printing apparatus 1000 that has entered the DEEP state can return to the SLEEP state in response to an event detected by the LAN-IF unit 105 or a predetermined user input from the panel device 116.

具体的にはメインCPU101は印刷装置1000の状態をフラッシュメモリ103に保存し、メインコントローラ120と、プリンタエンジンコントローラ118の電源供給を停止して電力を可能な限り削減する。この時、メインCPU101自身も動作しなくなるが、スリープ時電力がハード的にONにされ、ジョブや問合せが来たことだけが所定の回路により検出できる省電力の状態となる。   Specifically, the main CPU 101 saves the state of the printing apparatus 1000 in the flash memory 103, stops power supply to the main controller 120 and the printer engine controller 118, and reduces power as much as possible. At this time, the main CPU 101 itself does not operate, but the sleep power is turned on in hardware, and only a job or an inquiry comes into a power saving state that can be detected by a predetermined circuit.

このようにして、ユーザの利用状況やデバイスの設定(SLEEP状態、DEEP状態への移行時間)に基づき、印刷装置1000の電力状態が遷移する。これに伴ってメインコントローラ120やプリンタエンジンコントローラ118の電力状態も変化している。このように、SATAホスト制御部から見て上位の印刷装置の省電力ステータスは、SLEEP、DEEP(DEEPSLEEP),STANBYなどと定義される。   In this way, the power state of the printing apparatus 1000 transitions based on the usage status of the user and device settings (the transition time to the SLEEP state and DEEP state). Along with this, the power states of the main controller 120 and the printer engine controller 118 have also changed. In this way, the power saving status of the upper printing apparatus as viewed from the SATA host control unit is defined as SLEEP, DEEP (DEEPSLEEP), STANBY, and the like.

図2は、SATAブリッジ構成としての接続例を示す図である。メインASIC201は、前記SATAホスト制御部111を含む前記メインコントローラ120のシステム全体を制御する中心的なASICである。前記SATAホスト制御部111は、1個のSATA‐IP(Intellectual Property)202をホストIFとして持つ。サブASICは、前記SATAブリッジ制御部112そのものであり、メインコントローラ120上に独立したIC(Integrated Circuit)として実装されている。前記SATAブリッジ制御部112は3個のSATA−IP203〜205を持つ。ブリッジ構成での上流側はSATA‐IP(Host)202がH‐Host‐IF206を介してSATA‐IP(Device)203と接続されている。下流側はSATA‐IP(Host1)204がB‐Host1‐IF207を介してHDD/SSD113と、SATA‐IP(Host2)205がB‐Host2‐IF208を介してHDD/SSD114と接続されている。ここで、前記SATA‐IP202〜205とは、SATAリンク層及び物理層から構成される。さらに、各種SATAレジスタの設定に応じてSATA−IF206〜208で接続されるSATAデバイスに対して物理的な(電気信号としての)SATA規格のコマンド発行(省電力に関するコマンドを含む)やステータス受信を行う。   FIG. 2 is a diagram illustrating a connection example as a SATA bridge configuration. The main ASIC 201 is a central ASIC that controls the entire system of the main controller 120 including the SATA host controller 111. The SATA host control unit 111 has one SATA-IP (Intellectual Property) 202 as a host IF. The sub-ASIC is the SATA bridge control unit 112 itself, and is mounted on the main controller 120 as an independent IC (Integrated Circuit). The SATA bridge control unit 112 has three SATA-IPs 203 to 205. On the upstream side in the bridge configuration, a SATA-IP (Host) 202 is connected to a SATA-IP (Device) 203 via an H-Host-IF 206. On the downstream side, the SATA-IP (Host 1) 204 is connected to the HDD / SSD 113 via the B-Host 1-IF 207, and the SATA-IP (Host 2) 205 is connected to the HDD / SSD 114 via the B-Host 2-IF 208. Here, the SATA-IPs 202 to 205 include a SATA link layer and a physical layer. Furthermore, SATA standard command issuance (including power saving commands) and status reception for SATA devices connected by SATA-IFs 206 to 208 according to various SATA register settings. Do.

また、前記SATAブリッジ制御部112は、電源制御部209と制御信号214で接続されている。なお、前記電源制御部209はメインボード上に搭載され、前記メインコントローラ120に含まれる各機能モジュールやそれに接続される各種装置への電力供給の有無を決定し、印刷装置システム全体としての電源制御を担っている。前記電源制御部209から出ている一点斜線210や213は、システム全体の部分であるSATAブリッジ部の各構成要素に対する電源ラインを示したものである。   The SATA bridge control unit 112 is connected to the power supply control unit 209 by a control signal 214. The power supply control unit 209 is mounted on the main board, determines whether or not to supply power to each functional module included in the main controller 120 and various devices connected thereto, and controls the power supply of the entire printing apparatus system. Is responsible. One-dotted diagonal lines 210 and 213 from the power supply control unit 209 indicate power supply lines for the respective components of the SATA bridge unit which is a part of the entire system.

なお、本実施例ではSATAホスト制御部111とブリッジ制御部112間のIFを1個、SATAブリッジ制御部112と双方向接続されたHDD/SSD113、114間のIFを2個として説明する。各IFの数は任意個数の接続形態であっても構わない。   In this embodiment, a description will be given assuming that one IF is provided between the SATA host control unit 111 and the bridge control unit 112, and two IFs are provided between the HDD / SSDs 113 and 114 that are bidirectionally connected to the SATA bridge control unit 112. The number of each IF may be an arbitrary number of connection forms.

図12は、図2で接続構成を説明した前記SATAブリッジ制御部112と電源制御部209間のHDD/SSD電源制御を行う前記制御信号214を分解して、より詳細に示した図である。制御信号IN1205は、前記SATAブリッジ制御部112への入力信号、OUTA1201及びOUTB1202は、前記電源制御部209への出力信号である。また、前記電源制御部209からはHDD/SSDへ電力を供給する電源回路1204への電力供給を許可するEN信号1203が出力されている。前記電源回路1204の例として、ここでは図示しないがDC−DC電源(直流入力直流出力電源)やFET(電界効果トランジスタ)などが挙げられる。前記EN信号1203は、IN1205と接続されていて、HDD/SSDへの電力供給状態、すなわち、電源OFFかONかの判定用モニタ信号としてSATAブリッジ制御部112に入力されている。前記OUTA1201及びOUTB1202は、HDD/SSD電源をOFF/ONするための電源制御部209への要求信号である。   FIG. 12 is a diagram showing the control signal 214 for performing HDD / SSD power control between the SATA bridge control unit 112 and the power control unit 209 described in FIG. A control signal IN1205 is an input signal to the SATA bridge control unit 112, and OUTA1201 and OUTB1202 are output signals to the power supply control unit 209. The power supply control unit 209 outputs an EN signal 1203 that permits power supply to the power supply circuit 1204 that supplies power to the HDD / SSD. Examples of the power supply circuit 1204 include a DC-DC power supply (DC input DC output power supply) and an FET (field effect transistor), which are not shown here. The EN signal 1203 is connected to the IN 1205, and is input to the SATA bridge control unit 112 as a monitor signal for determining whether the power is supplied to the HDD / SSD, that is, whether the power is OFF or ON. The OUTA 1201 and OUTB 1202 are request signals to the power control unit 209 for turning off / on the HDD / SSD power.

図13は、前記制御信号IN1205、OUTA1201及びOUTB1202のタイミングチャート例を示した図である。全ての信号は、(1)1304の開始点でLowレベル開始から処理されることを前提としている。前記IN1205は、HDD/SSD電源のOFF又はON状態を示すモニタ信号であり、起動後(2)1305の時点でHDD電源ONとなったことを表している。OUTA1201は、前記電源制御部209に対してHDD/SSD電源のOFF又はON要求を行う有効期間を示す信号である。本信号がHiの区間、すなわち、(3)1306〜(5)1308の区間が電源制御部209に対してHDD/SSD電源のOFF又はONを要求する期間である。OUTB1202は、HDD/SSD電源に対するON又はOFF要求を行う信号である。Hi区間でON要求、Low区間でOFF要求を示している。図13の例では、開始点(3)1306ではOUTA=Hi、OUTB=LowなのでHDD電源OFFされ、その期間はOUTB=Hiとなる(4)1307までの区間である。区間(3)1306〜(4)1307では、モニタ信号であるIN=Lowとなっていて、確かにHDD/SSD電源はOFFされているのが読み取れる。同様にOUTA=Hiの有効期間にOUTB1202をHi/Lowさせた結果に連動して、IN1205がHi/Lowしているのが分かる。なお、図12及び図13を用いて説明した例では、モニタ信号であるIN1205及び電源OFF/ON要求信号であるOUTB1202は1対1の関係であった。しかし、SATAブリッジ制御部112に接続される複数のストレージデバイスのそれぞれに対してモニタ信号(=電源EN信号):INnと電源OFF/ON要求信号:OUTBn(n≧2)として、同一番号nを対応させて個別に制御しても構わない。   FIG. 13 is a timing chart example of the control signals IN1205, OUTA1201, and OUTB1202. It is assumed that all signals are processed from the low level start at the start point of (1) 1304. The IN 1205 is a monitor signal indicating the OFF / ON state of the HDD / SSD power supply, and indicates that the HDD power supply is turned on at (2) 1305 after startup. The OUTA 1201 is a signal indicating a valid period during which the HDD / SSD power supply is turned OFF or ON to the power supply control unit 209. The period in which this signal is Hi, that is, the period from (3) 1306 to (5) 1308 is a period for requesting the power supply control unit 209 to turn the HDD / SSD power off or on. OUTB 1202 is a signal for making an ON / OFF request to the HDD / SSD power supply. An ON request is shown in the Hi section, and an OFF request is shown in the Low section. In the example of FIG. 13, at start point (3) 1306, OUTA = Hi and OUTB = Low, so the HDD power supply is turned off, and this period is the period from OUT4 = Hi to (4) 1307. In the section (3) 1306 to (4) 1307, the monitor signal IN = Low, and it can be seen that the HDD / SSD power supply is certainly turned off. Similarly, it can be seen that IN 1205 is Hi / Low in conjunction with the result of OUTB 1202 being Hi / Low during the effective period of OUTA = Hi. In the example described with reference to FIGS. 12 and 13, the monitor signal IN 1205 and the power OFF / ON request signal OUTB 1202 have a one-to-one relationship. However, for each of the plurality of storage devices connected to the SATA bridge control unit 112, the same number n is set as a monitor signal (= power supply EN signal): INn and a power supply OFF / ON request signal: OUTBn (n ≧ 2). You may make it correspond and control individually.

図3は、SATAホスト制御部111及びSATAブリッジ制御部112の内部構成例を示す図である。HCPU301は、SATAコマンド発行処理、送受信データの転送処理及びステータス受信処理等SATAコントローラとしての全般的な制御を行う。メモリ制御部302は、Flashメモリ303やSRAM(スタティック・ランダム・アクセス・メモリ)304との入出力制御を行う。Flashメモリ303には、ブートプログラムやSATAコントローラとしての制御プログラムが格納されている。SRAM304には前記HCPU301の作業領域、各種制御テーブルやパラメータ格納領域及びデータバッファなどに使用される。ここで、SRAM304は1ポートRAM、2ポートRAM、FIFO(First‐IN First‐OUT)メモリ等の制御を簡略化して記載しているのであって、それぞれ独立に制御され複数個所にSRAMが存在しても構わない。割り込み制御部305は、前記HCPU301に対する割り込み信号の入力や出力処理、前記割り込み信号に対するマスク処理などを行う。レジスタH306は、省電力関連の制御パラメータなどを一時的に記憶するためのレジスタである。DMAC(ダイレクト・メモリ・アクセス・コントローラ)307は、ここでは図示しないが前記HCPU301によって所定のレジスタに転送元及び転送先の先頭アドレス及びサイズが設定され、起動が掛けられると所定のメモリ間でデータ転送を行う。Hバス308はバスコントローラ含み、制御バス、データバス及び任意ブロック間のローカルバスを便宜的にまとめて表現したものである。バスブリッジ回路309は、前記メインバス119とHバス308間のバスプロトコルを相互に変換するバスブリッジ回路である。   FIG. 3 is a diagram illustrating an internal configuration example of the SATA host control unit 111 and the SATA bridge control unit 112. The HCPU 301 performs general control as a SATA controller such as SATA command issue processing, transmission / reception data transfer processing, and status reception processing. The memory control unit 302 performs input / output control with the flash memory 303 and the SRAM (static random access memory) 304. The flash memory 303 stores a boot program and a control program as a SATA controller. The SRAM 304 is used as a work area of the HCPU 301, various control tables, a parameter storage area, a data buffer, and the like. Here, the SRAM 304 is described by simplifying the control of a 1-port RAM, a 2-port RAM, a FIFO (First-IN First-OUT) memory, etc., and is controlled independently, and there are SRAMs at a plurality of locations. It doesn't matter. The interrupt control unit 305 performs input / output processing of interrupt signals to the HCPU 301, mask processing for the interrupt signals, and the like. The register H306 is a register for temporarily storing power saving related control parameters and the like. The DMAC (Direct Memory Access Controller) 307 is not shown here, but the HCPU 301 sets the start address and size of the transfer source and transfer destination in a predetermined register by the HCPU 301. Perform the transfer. The H bus 308 includes a bus controller, and represents a control bus, a data bus, and a local bus between arbitrary blocks for convenience. The bus bridge circuit 309 is a bus bridge circuit that mutually converts bus protocols between the main bus 119 and the H bus 308.

BCPU310は、SATAコマンド発行処理、送受信データの転送処理及びステータス受信処理等SATAコントローラとしての全般的な制御を行う。メモリ制御部311は、Flashメモリ312やSRAM313との入出力制御を行う。Flashメモリ312には、ブートプログラムやSATAコントローラとしての制御プログラムが格納されている。SRAM313には前記BCPU310の作業領域、各種制御テーブルやパラメータ格納領域及びデータバッファなどに使用される。ここで、SRAM313は1ポートRAM、2ポートRAM、FIFOメモリ等の制御を簡略化して記載しているのであって、それぞれ独立に制御され複数個所にSRAMが存在しても構わない。レジスタB314は、省電力関連の制御パラメータなどを一時的に記憶するためのレジスタである。電源IF部315は、前記電源制御部209と制御信号214で接続され、HDD/SSD113、114への電源OFF/ON要求信号の制御を行う。Others316は、SATAブリッジ制御部112としての他の機能ブロック、例えば前記RAID処理やデータ暗号化処理等をまとめて示したものである。Bバス317はバスコントローラ含み、制御バス、データバス及び任意ブロック間のローカルバスを便宜的にまとめて表現したものである。また、図2で説明したようにSATAホスト制御部111のSATA‐IP(Host)202とSATAブリッジ制御部112のSATA‐IP(Device)203とは、H‐Host‐IF206とで接続されている。さらにSATA‐IP(Host1/2)204及び205はB‐Host1/2‐IF207及び208を介して、HDD/SSD113及び114とに接続されている。   The BCPU 310 performs general control as a SATA controller such as SATA command issue processing, transmission / reception data transfer processing, and status reception processing. The memory control unit 311 performs input / output control with the flash memory 312 and the SRAM 313. The flash memory 312 stores a boot program and a control program as a SATA controller. The SRAM 313 is used as a work area of the BCPU 310, various control tables, a parameter storage area, a data buffer, and the like. Here, the SRAM 313 is described by simplifying the control of a 1-port RAM, a 2-port RAM, a FIFO memory, and the like. The SRAM 313 may be controlled independently and may have SRAMs at a plurality of locations. The register B 314 is a register for temporarily storing power saving related control parameters and the like. A power supply IF unit 315 is connected to the power supply control unit 209 by a control signal 214 and controls a power supply OFF / ON request signal to the HDD / SSD 113 and 114. Others 316 collectively shows other functional blocks as the SATA bridge control unit 112, such as the RAID processing and data encryption processing. The B bus 317 includes a bus controller and expresses a control bus, a data bus, and a local bus between arbitrary blocks collectively for convenience. Further, as described with reference to FIG. 2, the SATA-IP (Host) 202 of the SATA host control unit 111 and the SATA-IP (Device) 203 of the SATA bridge control unit 112 are connected by the H-Host-IF 206. . Further, the SATA-IP (Host 1/2) 204 and 205 are connected to the HDD / SSD 113 and 114 via B-Host 1 / 2-IFs 207 and 208, respectively.

図4は、PS0〜PS2のSATA系省電力状態種類及び設定内容を示す図である。図4では、前記メインコントローラ120での電力状態に関する情報の一例である電力ステートを横軸に、SATA系省電力状態に関する情報の一例として、と省電力移行条件を縦軸として図示したものである。これらの中の必要な情報が、メモリに記憶されるようにしてもよい。図4の第1行目は、印刷装置全体としての上位電力ステート401を示しており、消費電力が高い順にStandbyモード402、Sleepモード403、Deepモード404と定義する。前記Standbyモード402は、印刷装置が直ちにジョブを受け付け可能な状態である。前記Sleepモード403及びDeepモード404は、印刷装置の省電力状態であり、ジョブ実行をしていない期間の待機電力削減を目的とする。特にDeepモード404は、大半部分の電力供給をカットした状態であり、この状態ではSATA系は全て電源OFF状態であることを想定している。本実施形態では、「SATA系」とは、SATA規格に従うIPコア、インタフェース、デバイスを原則意味する。すなわち、例えば、図の202乃至208で示される、インタフェースおよびIPコアをいう。また、「SATA系」には、SATA対応デバイスの一例であるHDD/SSDを含む。HDD/SSDは、113および114で示される。SATA制御部は、前述の回路を包含するが、ひとつの回路からなる場合もあれば、複数の回路からなる。本実施形態では、図1、図2、図3、図12に記載されている各モジュールは、前述または後述する処理を実行するハードウェア回路により実装されている。ハードウェア回路の実装方法はさまざまである。本実施形態に開示される二つ以上の回路がひとまとめにされてもよい。また、本実施形態に開示される一つの回路が複数の回路により実現されることも考えうる。   FIG. 4 is a diagram showing the SATA power saving state types and setting contents of PS0 to PS2. In FIG. 4, the power state, which is an example of information on the power state in the main controller 120, is shown on the horizontal axis, the information on the SATA power saving state is shown on the horizontal axis, and the power saving transition condition is shown on the vertical axis. . Necessary information of these may be stored in the memory. The first line in FIG. 4 shows the upper power state 401 as the entire printing apparatus, and is defined as a standby mode 402, a sleep mode 403, and a deep mode 404 in descending order of power consumption. The Standby mode 402 is a state in which the printing apparatus can immediately accept a job. The sleep mode 403 and the deep mode 404 are power saving states of the printing apparatus, and are intended to reduce standby power during a period when no job is being executed. In particular, the deep mode 404 is a state in which most of the power supply is cut off. In this state, it is assumed that all SATA systems are in a power-off state. In this embodiment, “SATA system” means an IP core, an interface, and a device that conform to the SATA standard. That is, for example, the interface and IP core indicated by 202 to 208 in the figure. The “SATA system” includes an HDD / SSD which is an example of a SATA compatible device. HDD / SSD is indicated by 113 and 114. The SATA control unit includes the above-described circuit, but may include a single circuit or a plurality of circuits. In this embodiment, each module described in FIG. 1, FIG. 2, FIG. 3, and FIG. 12 is mounted by a hardware circuit that executes the processing described above or later. There are various ways to implement the hardware circuit. Two or more circuits disclosed in the present embodiment may be combined. It is also conceivable that one circuit disclosed in this embodiment is realized by a plurality of circuits.

さらに、前記上位電力ステート401に対応するSATA系省電力状態としてPowerSave0(PS0)407、PowerSave1(PS1)408及びPowerSave2(PS2)409を定義する。これにより、上位電力ステートに応じたきめ細かいSATA系省電力状態を実現することができる。   Further, Power Save 0 (PS 0) 407, Power Save 1 (PS 1) 408, and Power Save 2 (PS 2) 409 are defined as SATA power saving states corresponding to the higher power state 401. As a result, a fine SATA power saving state corresponding to the upper power state can be realized.

前記PS0(407)〜PS2(409)は、図4で示すように上位電力ステートに対応したものであり、電力削減効果としてはPS0<PS1<PS2(電源OFF)の関係となる。また、そのトレードオフとして復帰時間は不等号が逆転する関係となる。各SATA系省電力状態における前記H‐Host‐IF206の省電力移行条件を次のように定義する。つまり、411〜413、前記B‐Host1‐IF207及び前記B‐Host2‐IF208の省電力移行条件を415〜417、HDD/SSD本体の省電力移行条件を419〜421として定義する。各項目411〜421の設定値で、図に“/”で区切られた内容は、その中のいずれかひとつがメモリの中に設定されることを示している。但し、設定値の個数(すなわち、とり得る状態数)は任意で構わない。また、図4の省電力設定値としてのH‐Host‐IF状態410、B‐Host‐IF状態414、HDD/SSD本体状態418の対応個所を図2に示す。それぞれ、H‐Host‐IF206(202及び203含む)、B‐Host1/2‐IF207及び208(204及び205含む)、HDD/SSD113及び114に対応する。前記PS0(407)〜PS2(409)の状態遷移した場合に前記項目411〜421の設定値の状態に置かれることを意味する。ここで、省電力移行条件としてとり得る省電力状態について説明する。AI:Active‐Idle、LPI:Low‐Power‐Idleであり、アイドル状態におけるSATA‐IFと接続デバイス本体のATA規格で定義されている電力状態を示す。既に説明したように、前記Partial/SlumberはSATA‐IFとして、DevSleepはSATA‐IF及びデバイス本体の両方の省電力状態をSATA規格で下記のように定義されたものである。   The PS0 (407) to PS2 (409) correspond to the higher power state as shown in FIG. 4, and the power reduction effect is PS0 <PS1 <PS2 (power OFF). As a trade-off, the return time has a relationship that the inequality sign is reversed. The power saving transition condition of the H-Host-IF 206 in each SATA power saving state is defined as follows. That is, the power saving transition conditions of 411 to 413, the B-Host 1-IF 207 and the B-Host 2-IF 208 are defined as 415 to 417, and the power saving transition conditions of the HDD / SSD main body are defined as 419 to 421. In the setting values of the items 411 to 421, the contents delimited by “/” in the figure indicate that any one of them is set in the memory. However, the number of set values (that is, the number of possible states) may be arbitrary. Further, FIG. 2 shows corresponding portions of the H-Host-IF state 410, the B-Host-IF state 414, and the HDD / SSD main body state 418 as the power saving setting values in FIG. These correspond to H-Host-IF 206 (including 202 and 203), B-Host1 / 2-IF 207 and 208 (including 204 and 205), and HDD / SSD 113 and 114, respectively. This means that when the state transition from PS0 (407) to PS2 (409) is made, the setting values of the items 411 to 421 are set. Here, a power saving state that can be taken as a power saving transition condition will be described. AI: Active-Idle, LPI: Low-Power-Idle, indicating the power state defined by the ATA standard of the SATA-IF and the connected device body in the idle state. As described above, the Partial / Slumber is defined as SATA-IF, and DevSleep is defined as the power saving states of both the SATA-IF and the device body in the SATA standard as follows.

1.PHY Ready(PHYRDY)SATA規格で定められるPHY(物理層)がデータの送受信が可能な状態になっている。   1. The PHY (physical layer) defined by the PHY Ready (PHYRDY) SATA standard is in a state where data can be transmitted and received.

2.Partial−PHY(例えば、B−Host1−IFや、B−Host2−IFの物理層)は省電力状態(a reduced power mode)となっている。復帰時間は10マイクロ秒までであればゆるされる。   2. The Partial-PHY (for example, the physical layer of B-Host1-IF and B-Host2-IF) is in a power-saving state (a reduced power mode). The return time is relaxed if it is up to 10 microseconds.

3.Slumber−PHYはPartial Modeよりも電力の低い省電力状態である。復帰時間は最大10ミリ秒である。ホスト(例えば、SATAホスト制御部111)やデバイス(例えば、HDD/SSD113または114)からウェークアップシグナルシーケンスが送信される。それが受信されると、SATA PHY は起動した状態になり、または、PHYRDY モードになる。   3. Slumber-PHY is a power saving state in which power is lower than that of Partial Mode. The return time is a maximum of 10 milliseconds. A wake-up signal sequence is transmitted from a host (for example, SATA host control unit 111) or a device (for example, HDD / SSD 113 or 114). When it is received, the SATA PHY enters the activated state or enters the PHYRDY mode.

上記の復帰時間は、SATA準拠のデバイスが、a wake−up signalを受信してからPHYRDY modeへ復帰するまでの最大の時間である。   The return time is the maximum time from when a SATA-compliant device receives a wake-up signal until it returns to the PHYRDY mode.

4.DevSleepは、下記のように説明される。ホストとデバイスの間Dev Sleep用の信号線が用意される。ホストからDev Sleepに関する信号がデバイスに対して送信されると、ホストとデバイスの間のPHYの電源やその他の回路は電源をOFFにしてよい。Dev Sleepの解除信号(COMWAKE or COMRESET/COMINIT)がホストからデバイスに対して送信されると、ホストとデバイスの再ネゴシエーションが開始される。COMWAKEの適用例については、図9のS904などで詳しく説明する。   4). DevSleep is described as follows. A signal line for Dev Sleep is prepared between the host and the device. When a signal related to Dev Sleep is transmitted from the host to the device, the power supply of the PHY and other circuits between the host and the device may be turned off. When a Dev Sleep release signal (COMWAKE or COMRESET / COMINIT) is transmitted from the host to the device, renegotiation between the host and the device is started. An example of application of COMWAKE will be described in detail in S904 of FIG.

また、OffLineは、SATA‐IPとしての無効(停止)状態を示す。一般的にSATA‐IFの省電力として効果が高い順番に並べるとOffLine>DevSleep>Slumber>Partial>LPI>AI、同様にデバイス本体の省電力としては電源OFF>DevSleep>LPI>AIとなる。後述図を用いて説明するが、前記省電力移行条件は前記SATAホスト制御部111及びSATAブリッジ制御部112の起動時に予め設定されることになる。また、前記SATAホスト制御部111のHCPUシステム及びSATAブリッジ制御部112のBCPUシステム自身の各省電力効果は一般的には復帰時間とのトレードオフとなる。SATAホスト制御部111のHCPUシステム及びSATAブリッジ制御部112のBCPUシステム自身の省電力設定は、前記PS0<PS1<PS2(電源OFF)とするのが好適であるが、PS0≦PS1<PS2の関係でも構わない。前記HCPU301及びBCPU310自身の省電力手段として、ここでは図示しないがクロックゲートや電源分離による部分的な電源供給カットなどの方法がある。   OffLine indicates an invalid (stopped) state as SATA-IP. In general, when arranged in the order of high effect as power saving of the SATA-IF, OffLine> DevSleep> Slumber> Partial> LPI> AI, and similarly, the power saving of the device body is power off> DevSleep> LPI> AI. As will be described later with reference to the drawings, the power saving transition condition is set in advance when the SATA host control unit 111 and the SATA bridge control unit 112 are activated. In addition, each power saving effect of the HCPU system of the SATA host control unit 111 and the BCPU system itself of the SATA bridge control unit 112 is generally a trade-off with return time. The power saving settings of the HCPU system of the SATA host control unit 111 and the BCPU system itself of the SATA bridge control unit 112 are preferably PS0 <PS1 <PS2 (power OFF), but PS0 ≦ PS1 <PS2 It doesn't matter. As the power saving means of the HCPU 301 and BCPU 310 itself, there are methods such as partial power supply cut by clock gate or power source separation, although not shown here.

ここで、図4で説明した例では、印刷装置全体の電力ステート数を3段階、それに対応するSATA系省電力状態を3段階とした。ただし、前記電力ステート数やSATA系省電力状態数は任意であって構わない。さらに、前記B‐Host1/2‐IF207及び208の省電力移行条件を415〜417、HDD/SSD本体の省電力移行条件を419〜421は、接続ポート単位で個別に設定してもよい。   Here, in the example described with reference to FIG. 4, the number of power states of the entire printing apparatus is set to three levels, and the corresponding SATA power saving state is set to three levels. However, the number of power states and the number of SATA power saving states may be arbitrary. Further, the power saving transition conditions 415 to 417 for the B-Host1 / 2-IFs 207 and 208 and the power saving transition conditions 419 to 421 for the HDD / SSD main body may be set individually for each connection port.

図5は、省電力制御に関係する拡張コマンド例を示す図である。図4で説明した各省電力移行条件を予めSATAブリッジ制御部112に設定等するための拡張コマンドについて示した図である。SATA規格で定義された空コマンドであるベンダユニーク・コマンド(例えば、F0h)がある。このコマンドに対して、図5の第1行目左から示されるように拡張コマンド名称501、CMD(サブコマンド)番号502、転送タイプ503として省電力系拡張コマンドを独自に定義する。ここで、CMD番号はベンダユニーク・コマンド(例えば、F0h)に対するFeatureレジスタに設定されるサブコマンド番号を示す。また、SATA規格では基本的な転送タイプとして、データを伴わないNon‐Data(ND)転送、単発データ転送を実行するPIO‐In(PI)又はPIO−Out(PO)転送、連続データ転送を実行するDMA転送などの転送タイプが定義されている。図5での転送タイプ503は、CMD番号502に対する転送タイプを定義している。たとえば、SetupPowerConfigコマンド505はCMD番号:01h(506)、転送タイプ:PO(507)で構成される。同様にToSleepコマンド509はCMD番号:02h(510)、転送タイプ:ND(511)である。また、ToDeepコマンド513はCMD番号:03h(514)、転送タイプ:ND(515)である。GetStatusコマンド517はCMD番号:04h(518)、転送タイプ:PI(519)で定義されていることを示す。SetupPowerConfigコマンド505は、前記SATAブリッジ制御部112に対して前記H‐Host‐IF206の省電力移行条件411〜413を設定する。さらに、当該コマンドは、前記B‐Host1/2‐IF207及び208の省電力移行条件415〜417、HDD/SSD本体の省電力移行条件419〜421を設定するために用いられる。(508)ToSleepコマンド509は、上位電力ステートがSleepモード403へ移行することをSATAブリッジ制御部112に通知するコマンドである。(512)同様にToDeepコマンド513は、上位電力ステートがDeepモードに移行することをSATAブリッジ制御部112に通知するコマンドである。(516)GetStatusコマンド517は、SATAブリッジ制御部全般のステータス取得のための拡張コマンドである。直接的な省電力関連の拡張コマンドではないが、例えば省電力移行処理が完了したことを上位システムが取得する場合に用いられる。以後、拡張コマンド以外のATA規格で定義されたコマンドを区別して表現する場合には、ATAコマンドと呼ぶことにする。   FIG. 5 is a diagram illustrating an example of an extended command related to power saving control. FIG. 5 is a diagram illustrating an extended command for setting each power saving transition condition described in FIG. 4 in the SATA bridge control unit 112 in advance. There is a vendor unique command (for example, F0h) that is an empty command defined in the SATA standard. For this command, as shown from the left in the first line of FIG. 5, a power saving system extended command is uniquely defined as an extended command name 501, a CMD (subcommand) number 502, and a transfer type 503. Here, the CMD number indicates a subcommand number set in the Feature register for the vendor unique command (for example, F0h). In addition, as the basic transfer type in the SATA standard, Non-Data (ND) transfer without data, PIO-In (PI) or PIO-Out (PO) transfer for executing single data transfer, and continuous data transfer are executed. A transfer type such as DMA transfer is defined. A transfer type 503 in FIG. 5 defines a transfer type for the CMD number 502. For example, the SetupPowerConfig command 505 includes a CMD number: 01h (506) and a transfer type: PO (507). Similarly, the ToSleep command 509 has a CMD number: 02h (510) and a transfer type: ND (511). The ToDeep command 513 has a CMD number: 03h (514) and a transfer type: ND (515). The GetStatus command 517 indicates that it is defined by CMD number: 04h (518) and transfer type: PI (519). The SetupPowerConfig command 505 sets power saving transition conditions 411 to 413 of the H-Host-IF 206 for the SATA bridge control unit 112. Further, the command is used to set the power saving transition conditions 415 to 417 of the B-Host1 / 2-IFs 207 and 208 and the power saving transition conditions 419 to 421 of the HDD / SSD main body. (508) The ToSleep command 509 is a command for notifying the SATA bridge control unit 112 that the upper power state shifts to the sleep mode 403. (512) Similarly, the ToDeep command 513 is a command for notifying the SATA bridge control unit 112 that the upper power state shifts to the Deep mode. (516) The Get Status command 517 is an extended command for acquiring the status of the entire SATA bridge control unit. Although it is not a direct power saving related extended command, it is used when the host system acquires that the power saving transition processing has been completed, for example. Hereinafter, when a command defined by the ATA standard other than the extended command is expressed separately, it will be referred to as an ATA command.

さらに、幾つかのフロー図を用いて、本実施形態の制御方法について説明する。なお、説明の煩雑性を避けるため、本実施形態に関係しないエラー処理については説明を省略する。   Furthermore, the control method of this embodiment is demonstrated using some flowcharts. Note that description of error processing not related to the present embodiment will be omitted in order to avoid complicated explanation.

図6は、SATA系省電力制御の初期設定フローを示す図である。メインCPU101は、メインコントローラ120の起動(コールドブート)時に、S601において前記SATAホスト制御部111に対して図4で説明したH‐Host‐IF206のPS0〜PS2での省電力移行条件411〜413の設定を行う。S602においてメインCPU101は、前記SATAブリッジ制御部112に対して次の設定を行う。CPU101は、図4で説明した前記B‐Host1/2‐IF207及び208の省電力移行条件415〜417、HDD/SSD本体の移行設定条件419〜421を発行させる。この移行条件は、前記SetupPowerConfigコマンド505をSATAホスト制御部111から発行させる。これにより該設定を行う。前記SetupPowerConfigコマンド505を受信したBCPU310は、所定の場所に省電力移行条件を記録する。ここで、前記SATAホスト制御部111及びSATAブリッジ制御部112における省電力移行条件の記録場所としては次がある。例えば、前記レジスタH306やレジスタB314、SRAM304や313、Flashメモリ303や312などに設定する。すなわち、省電力移行処理時に読み出せる場所であれば特に限定はしない。また、上記ではメインコントローラ120起動時での初期設定について説明したが、印刷装置が前記Standbyモード402であれば、同じ設定方法によって任意タイミングで省電力移行条件を再設定しても構わない。なお、本実施例での印刷装置の起動(コールドブート)時は、一端上位電力ステート:Standbyモード402、SATA制御系及びそれに接続されるストレージデバイス:アイドル状態に遷移することを前提とする。   FIG. 6 is a diagram illustrating an initial setting flow of the SATA power saving control. When the main controller 120 is activated (cold boot), the main CPU 101 satisfies the power saving transition conditions 411 to 413 in PS0 to PS2 of the H-Host-IF 206 described in FIG. Set up. In step S <b> 602, the main CPU 101 performs the following settings for the SATA bridge control unit 112. The CPU 101 issues the power saving transition conditions 415 to 417 and the HDD / SSD main body transition setting conditions 419 to 421 of the B-Host1 / 2-IFs 207 and 208 described with reference to FIG. This migration condition causes the SATA host control unit 111 to issue the SetupPowerConfig command 505. Thus, the setting is performed. The BCPU 310 that has received the SetupPowerConfig command 505 records the power saving transition condition at a predetermined location. Here, the recording locations of the power saving transition conditions in the SATA host control unit 111 and the SATA bridge control unit 112 are as follows. For example, it is set in the register H306, register B314, SRAM 304 or 313, flash memory 303 or 312 or the like. That is, there is no particular limitation as long as it can be read out during the power saving transition process. In the above description, the initial setting when the main controller 120 is activated has been described. However, if the printing apparatus is in the Standby mode 402, the power saving transition condition may be reset at an arbitrary timing by the same setting method. Note that, when the printing apparatus according to this embodiment is activated (cold boot), it is assumed that the upper power state: Standby mode 402, the SATA control system, and the storage device connected thereto: transition to the idle state.

上位システムである印刷装置10000、例えばMFP全体の電力ステートがSleepの状態になった時にメインCPU101は、PS01の割り込み信号を生成する。割り込み信号は、HCPU301へ伝えられるとともに、BCPU310に対しては、Sleepコマンドを送信して、BCPU310内のレジスタへ書き込む。   When the power state of the printing apparatus 10000, which is the host system, for example, the MFP as a whole, enters the sleep state, the main CPU 101 generates an interrupt signal for PS01. The interrupt signal is transmitted to the HCPU 301, and a Sleep command is transmitted to the BCPU 310 and written to a register in the BCPU 310.

上位システムである印刷装置1000、例えばMFP全体の電力ステートがDeepSleepの状態になった時にメインCPU101は、PS02の割り込み信号を生成する。割り込み信号は、HCPU301へ伝えられるとともに、BCPU310に対しては、DeepSleepコマンドを送信して、BCPU310内のレジスタへ書き込む。   When the power state of the printing apparatus 1000 that is the host system, for example, the MFP as a whole, enters the state of Deep Sleep, the main CPU 101 generates an interrupt signal for PS02. The interrupt signal is transmitted to the HCPU 301, and a Deep Sleep command is transmitted to the BCPU 310 and written to a register in the BCPU 310.

上位装置全体である印刷装置1000、例えばMFPの電力ステートがStanby状態になることに応答してPS0の割り込みがメインCPU101において発生し、HCPU301へ伝えられる。その際、暗黙の条件として、MFPはStandby状態としてBCPUは認識するように本システムは構成されている。   In response to the power state of the printing apparatus 1000, which is the entire host apparatus, for example, the MFP, entering the Standby state, an interrupt of PS0 is generated in the main CPU 101 and transmitted to the HCPU 301. At this time, as an implicit condition, the present system is configured so that the BCPU recognizes the MFP in the standby state.

図7は、前記SATAホスト制御部111の省電力移行シーケンスを示す図である。   FIG. 7 is a diagram showing a power saving transition sequence of the SATA host control unit 111.

S701においてHCPU301は、アイドル(待機)状態として前記メインCPU101からの割り込み指示待ちである。S702においてHCPU301は、メインCPU101から受信した割り込み信号の判定を行う。   In step S701, the HCPU 301 waits for an interrupt instruction from the main CPU 101 in an idle (standby) state. In step S <b> 702, the HCPU 301 determines an interrupt signal received from the main CPU 101.

S702での判定結果がPS0移行要求割り込みである(Yes)場合には、S703に進む。S703においてHCPU301は、予め設定された前記H‐Host‐IF206を前記PS0(407)としての省電力状態への移行処理を実行する。そして、S704においてHCPUシステム自体をPS0(407)としての省電力状態に遷移し、移行処理を完了する。S702での判定結果がNoである場合には、S705に進む。S705においてHCPU301は、判定結果がPS1移行要求割り込みである(Yes)場合には、S706に進む。S706においてHCPU301は、予め設定された前記H‐Host‐IF206を前記PS1(408)としての省電力状態への移行処理を実行する。そして、S707においてHCPUシステム自体をPS1(408)としての省電力状態に遷移し、移行処理を完了する。S705での判定結果がNoである場合には、S708に進む。S708においてHCPU301は、判定結果がPS2移行要求割り込みである(Yes)場合には、S709に進む。S709においてHCPU301は、予め設定された前記H‐Host‐IF206を前記PS2(409)としての省電力状態への移行処理を実行する。S710においてHCPUシステム自体をPS2(409)としての省電力状態に遷移し、移行処理を完了する。S708での判定結果がNoである場合には、S711に進む。S711においてHCPU301は、省電力移行要求以外の割り込みに応じた処理、例えば通常データ転送時のライトコマンド発行処理などを実行し、処理完了した後に再びS701に戻りアイドル状態に入る。なお、ここでは図示しなしがHCPU301は要求のあった省電力状態に移行した後に、移行完了割り込みをメインCPU101に通知すると同時に、前記レジスタH306の一部を省電力状態のステータスレジスタとして報告する。   If the determination result in S702 is a PS0 transition request interrupt (Yes), the process proceeds to S703. In step S <b> 703, the HCPU 301 executes processing for shifting the preset H-Host-IF 206 to the power saving state as the PS <b> 0 (407). In step S704, the HCPU system itself transitions to the power saving state as PS0 (407), and the transition process is completed. If the determination result in S702 is No, the process proceeds to S705. If the determination result is PS1 transition request interrupt (Yes) in S705, the HCPU 301 proceeds to S706. In step S <b> 706, the HCPU 301 executes processing for shifting the preset H-Host-IF 206 to the power saving state as the PS <b> 1 (408). In step S707, the HCPU system itself transitions to the power saving state as PS1 (408), and the transition process is completed. If the determination result in S705 is No, the process proceeds to S708. In S708, if the determination result is PS2 transition request interrupt (Yes), the HCPU 301 proceeds to S709. In step S <b> 709, the HCPU 301 executes processing for shifting the preset H-Host-IF 206 to the power saving state as the PS <b> 2 (409). In S710, the HCPU system itself transitions to the power saving state as PS2 (409), and the transition process is completed. If the determination result in S708 is No, the process proceeds to S711. In S711, the HCPU 301 executes a process in response to an interrupt other than the power saving transition request, for example, a write command issuance process at the time of normal data transfer, and after completing the process, returns to S701 and enters the idle state again. Although not shown here, the HCPU 301 notifies the main CPU 101 of a transition completion interrupt after shifting to the requested power saving state, and simultaneously reports a part of the register H306 as a power saving state status register.

ここで、前記PS0(407)〜PS2(409)での設定されたH‐Host‐IF206の省電力移行条件の幾つかにについて説明する。前記Partial及びSlumberは、SATA規格で定義されたリクエストパケットを送信し、送信先が許可すればSATA‐IFに対する省電力状態に入ることができる。また、前記DevSleepは、まずSATA‐IFをSlumberに入れて、さらにシングルエンド信号であるDEVSLP信号をイネーブル状態にすることで接続デバイス本体電力を削減することができる。   Here, some of the power saving transition conditions of the H-Host-IF 206 set in the PS0 (407) to PS2 (409) will be described. The Partial and Slumber can transmit a request packet defined in the SATA standard and enter a power saving state for the SATA-IF if the transmission destination permits it. Further, the DevSleep can reduce the power of the connected device main body by first putting the SATA-IF into the Slumber and further enabling the DEVSLP signal which is a single end signal.

図2を用いて説明すると、DEVSLEEPにSATA系が移行指示されると、202乃至205の電源が、DEVSLP信号を検知する機能を除いて落とされる。さらに、SSD/HDD側の物理層もDEVSLP信号を検知する機能を除いて電源がOFFになる。後述するが、上位システムがSATA制御部111に対するDEVSLEEP信号(B−HOST−1および2IFを経由する。)を解除する。そして、SATAホスト制御部111は復帰し、続いてSATAブリッジ制御部112も復帰する。さらに、SATAブリッジ制御部は、HDD/SSD113および114を復帰させる。   Referring to FIG. 2, when the SATA system is instructed to be transferred to DEVSLEEP, the power sources 202 to 205 are turned off except for the function of detecting the DEVSLP signal. Further, the physical layer on the SSD / HDD side is also turned off except for the function of detecting the DEVSLP signal. As will be described later, the host system cancels the DEVSLEEP signal (via B-HOST-1 and 2IF) to the SATA control unit 111. Then, the SATA host control unit 111 returns, and then the SATA bridge control unit 112 also returns. Further, the SATA bridge control unit restores the HDD / SSD 113 and 114.

図8は、前記SATAブリッジ制御部112の省電力移行シーケンスを示す図である。S801においてBCPU310は、アイドル状態として待機中である。基本的に前記SATAホスト制御部111であるHCPU301からの割り込み指示待ちの状態である。S802においてBCPU310は、受信した割り込み信号が前記H‐Host‐IF206からの省電力移行の通知かどうかの判定を行う。S802においての判定結果がNoの場合には、S803へ進む。S803においてBCPU310は、受信した割り込み信号が省電力系の拡張コマンドであるかどうかの判定を行う。S803での判定結果がNoである場合には、S804に進む。S804においてBCPU310は、他の割り込み処理、例えばATAコマンド処理などを実行し、再びS801のアイドル状態に戻る。S803での判定結果がYesである場合には、S805へ進む。S805においてBCPU301は、メインCPUから受信した省電力系コマンドが前記ToSleepコマンド509かどうかの判定を行う。S805においての判定結果がYesの場合には、S806に進む。S806においてBCPU310は、上位電力ステートを前記Sleepモード403として前記レジスタB314やSRAM313等に登録する。S805での判定結果がNoの場合には、S807に進む。S807においてBCPU310は、受信した省電力系コマンドが前記ToDeepコマンド513であると判断し、上位電力ステートを前記Deepモード403として前記レジスタB314やSRAM313等に登録した後に、S808へ進む。S808においてBCPU310は、Deep移行準備を行う。前記Deepモード403では、基本的に前記電源制御部209による電源OFF処理を前提としている。このため、特に瞬断を許さないストレージデバイス(HDDやSSD)及びFlashメモリを内蔵するSATAブリッジ制御部112のようなタイプのICは電源OFF準備を行い、準備完了後に電源OFFタイミングを通知する必要がある。PS2状態としての電源OFF準備完了かどうかは、前記GetStatusコマンド517によって取得することが可能である。ここでは図示しないがメインCPU101は、前記SATAホスト制御部111やSATAブリッジ制御部112が電源OFF準備完了したことを前述したステータス取得手段により確認した後に、前記電源制御部209に電源OFF許可を通知する。また、一例としてHDD電源OFF時の準備としては、ATA規格のFLUSH CACHEコマンド及びSLEEPコマンドを発行し、データ退避や物理的なヘッダの退避等を行う。   FIG. 8 is a diagram showing a power saving transition sequence of the SATA bridge control unit 112. In S801, the BCPU 310 is on standby as an idle state. Basically, it is waiting for an interrupt instruction from the HCPU 301 which is the SATA host control unit 111. In step S <b> 802, the BCPU 310 determines whether the received interrupt signal is a notification of power saving transition from the H-Host-IF 206. If the determination result in S802 is No, the process proceeds to S803. In step S <b> 803, the BCPU 310 determines whether the received interrupt signal is a power saving extended command. If the determination result in S803 is No, the process proceeds to S804. In S804, the BCPU 310 executes other interrupt processing, such as ATA command processing, and returns to the idle state of S801 again. If the determination result in S803 is Yes, the process proceeds to S805. In step S805, the BCPU 301 determines whether the power saving command received from the main CPU is the ToSleep command 509. If the determination result in S805 is Yes, the process proceeds to S806. In S806, the BCPU 310 registers the upper power state as the sleep mode 403 in the register B 314, the SRAM 313, and the like. If the determination result in S805 is No, the process proceeds to S807. In S807, the BCPU 310 determines that the received power saving command is the ToDeep command 513, registers the upper power state as the Deep mode 403 in the register B314, the SRAM 313, etc., and then proceeds to S808. In S808, the BCPU 310 prepares for deep transition. In the Deep mode 403, the power OFF processing by the power control unit 209 is basically assumed. For this reason, a storage device (HDD or SSD) that does not allow an instantaneous interruption and an IC of a type such as the SATA bridge control unit 112 with built-in flash memory need to prepare for power OFF and notify the power OFF timing after the preparation is completed. There is. Whether the power supply OFF preparation as the PS2 state is completed can be acquired by the GetStatus command 517. Although not shown here, the main CPU 101 confirms that the SATA host control unit 111 and the SATA bridge control unit 112 are ready for power OFF by the above-described status acquisition unit, and then notifies the power control unit 209 of power OFF permission. To do. As an example, as preparation for turning off the HDD power, an ATA standard FLUSH CACHE command and a SLEEP command are issued, and data is saved and a physical header is saved.

S802において、受信した割り込み信号が前記H‐Host‐IF206の省電力移行の通知であった場合(Yes)、S809に進む。S809においてBCPU310は、上位電力ステートがStandbyモード402と予め設定されている前記H‐Host‐IF206の省電力移行条件411とから、PS0(407)に移行すべきかどうかの判定を行う。S809での判定結果がYesの場合には、S810に進む。S810においてBCPU310は、予め設定されている前記B‐Host1/2‐IF207及び208の省電力移行条件415、HDD/SSD本体の省電力移行条件419に基づいて次を実行する。つまり、PS0(407)への移行処理を実行し、最後にBCPUシステム自身をPS0(407)としての省電力状態に遷移し、移行処理を完了する。S809での判定結果がNoである場合には、S811へ進む。S811においてBCPU310は、上位電力ステートがSleepモード403と予め設定されている前記H‐Host‐IF206の省電力移行条件412から、PS1(408)に移行すべきかどうかの判定を行う。S811での判定結果がYesの場合には、S812に進む。S812においてBCPU310は、予め設定されている前記B‐Host1/2‐IF207及び208の省電力への移行条件416、HDD/SSD本体の省電力への移行条件420に基づいて次を行う。つまり、PS1(408)への移行処理を実行し、最後にBCPUシステム自身をPS1(408)としての省電力状態に遷移し、移行処理を完了する。S811での判定結果がNoである場合には、S813へ進む。   In S802, if the received interrupt signal is a notification of the power saving transition of the H-Host-IF 206 (Yes), the process proceeds to S809. In step S809, the BCPU 310 determines whether or not to shift to PS0 (407) based on the standby power mode 402 and the preset power saving transition condition 411 of the H-Host-IF 206. If the determination result in S809 is Yes, the process proceeds to S810. In S810, the BCPU 310 executes the following based on the power saving transition condition 415 of the B-Host1 / 2-IFs 207 and 208 and the power saving transition condition 419 of the HDD / SSD main body set in advance. That is, the transition process to PS0 (407) is executed, and finally the BCPU system itself transitions to the power saving state as PS0 (407), and the transition process is completed. If the determination result in S809 is No, the process proceeds to S811. In S811, the BCPU 310 determines whether or not the upper power state should be shifted to PS1 (408) from the power saving transition condition 412 of the H-Host-IF 206, which is preset with the Sleep mode 403. If the determination result in S811 is Yes, the process proceeds to S812. In S812, the BCPU 310 performs the following based on the preset B-Host 1 / 2-IFs 207 and 208 power saving transition condition 416 and the HDD / SSD main body power saving transition condition 420. That is, the transition process to PS1 (408) is executed, and finally the BCPU system itself transitions to the power saving state as PS1 (408), and the transition process is completed. If the determination result in S811 is No, the process proceeds to S813.

S813においてBCPU310は、上位電力ステートがDeepモード404と予め設定されている前記H‐Host‐IF206の省電力への移行条件413から、PS2(409)に移行すべきかどうかの判定を行う。S813での判定結果がYesの場合には、S814に進む。S814においてBCPU310は、予め設定されている前記B‐Host1/2‐IF207及び208の省電力への移行条件417、HDD/SSD本体の省電力への移行条件421に基づいてPS2(409)への移行処理を実行する。そして最後にBCPUシステム自身をPS2(409)としての省電力状態に遷移し、移行処理を完了する。S813での判定結果がNoである場合には、S815へ進む。S815においてBCPU310は、省電力移行失敗としてエラー処理を行う。基本的に上位へのステータス通知等を実行するが説明は省略する。ここでまでをまとめると、SATAブリッジ制御部112での前記PS0(407)〜PS2(409)のいずれかの省電力状態への移行判定では、以下のようにする。図8で説明したように次のようになる。すなわち、前記上位電力ステート(Standbyモード402、Sleepモード403、Deepモード404)情報と前記H‐Host‐IF206の省電力状態の2条件から次が判定される。すなわち、PS0(407)〜PS2(409)のいずれかであるかが判定される。   In step S813, the BCPU 310 determines whether or not to shift to PS2 (409) from the transition condition 413 for the power saving of the H-Host-IF 206, which is preset to the deep mode 404 as the upper power state. If the determination result in S813 is Yes, the process proceeds to S814. In S814, the BCPU 310 determines that the B-Host 1 / 2-IFs 207 and 208 are set in advance to the power saving condition 417 of the B-Host 1 / 2-IFs 207 and 208 and the HDD / SSD main body is set to the power saving condition 421. Run the migration process. Finally, the BCPU system itself transitions to the power saving state as PS2 (409), and the transition process is completed. If the determination result in S813 is No, the process proceeds to S815. In S815, the BCPU 310 performs error processing as a power saving transition failure. Basically, the status notification to the upper level is executed, but the description is omitted. In summary, the SATA bridge control unit 112 determines whether to shift to any one of the power saving states PS0 (407) to PS2 (409) as follows. As described with reference to FIG. That is, the following is determined from the two conditions of the higher power state (Standby mode 402, Sleep mode 403, Deep mode 404) information and the power saving state of the H-Host-IF 206. That is, it is determined whether it is any of PS0 (407) to PS2 (409).

ここで、特に前記PS0(407)又はPS1(408)で、HDD/SSD本体の省電力への移行条件419〜421が電源OFF指示であった場合には、次のようにする。つまり、前記図12及び図13で説明したようにBCPU310は、電源制御部209に対してHDD/SSDの電源OFF要求を行う。   Here, particularly in the case of PS0 (407) or PS1 (408), when the power saving condition 419 to 421 of the HDD / SSD main body is a power OFF instruction, the following is performed. That is, as described with reference to FIGS. 12 and 13, the BCPU 310 requests the power supply control unit 209 to turn off the HDD / SSD.

図9は、前記SATAホスト制御部111の復帰フローを示す図である。SATAホスト制御部111の前記PS0(407)又はPS1(408)からの復帰シーケンスを示した図である。S901においてHCPU301は、PS0又はPS1の省電力状態である。S902においてHCPU301は、メインCPU101からの割り込み要求待ち状態であり、割り込み要求がなければ(すなわち、S902のNoであれば)S901に戻り、PS0又はPS1の省電力状態を継続する。S902においてHCPU301は、コマンド転送要求割り込みを受信するとS903へ進む。S903においてHCPU301は自身の復帰処理を行い、次のS904において前記H‐Host‐IF206の復帰処理を実行する。具体的にはSATA規格で規定されたOOB(Out Of Band)やスピードネゴシエーションの所定シーケンスを経て、コマンド発行可能となるまでのリンク確立処理を行う。ここで、基本的にSATA‐IF系省電力状態からの復帰は、SATA規格で定義されたリセット信号であるComReset信号の発行から開始される。前記DevSleepからの復帰は図7で説明した移行の逆手順で、まずDEVSLP信号をディスイネーブルにしてから、次にComReset信号(又はComWake信号)を投げることで開始される。S905においてHCPU301は、リンク確立したことを確認するとメインCPU101からの要求コマンドをH‐Host‐IF206に発行し、S906に進む。S906においてHCPU301は、前記SATA‐IP(Device)203からのStatus受信待ちに入る。未受信の間(S906でNo)はそのまま待機し、Statusを受信(S906でYes)した時点で一連のコマンド処理を終了する。以後は、メインCPU101によって再び省電力移行要求が発行されるまでの間、SATAホスト制御部111はアイドル状態を継続(S907)する。   FIG. 9 is a diagram showing a return flow of the SATA host control unit 111. It is the figure which showed the return sequence from said PS0 (407) or PS1 (408) of the SATA host control part 111. FIG. In S901, the HCPU 301 is in the power saving state of PS0 or PS1. In S902, the HCPU 301 is in a state of waiting for an interrupt request from the main CPU 101. If there is no interrupt request (that is, No in S902), the process returns to S901 and continues the power saving state of PS0 or PS1. In step S902, when the HCPU 301 receives a command transfer request interrupt, the process proceeds to step S903. In step S903, the HCPU 301 performs its own return process, and in the next step S904, executes the return process of the H-Host-IF 206. Specifically, a link establishment process is performed until a command can be issued through a predetermined sequence of OOB (Out Of Band) and speed negotiation defined in the SATA standard. Here, basically, the recovery from the SATA-IF power saving state is started by issuing a ComReset signal, which is a reset signal defined in the SATA standard. Returning from DevSleep is the reverse procedure of the transition described with reference to FIG. 7, and is started by first disabling the DEVSLP signal and then throwing a ComReset signal (or ComWake signal). In step S905, when the HCPU 301 confirms that the link has been established, the HCPU 301 issues a request command from the main CPU 101 to the H-Host-IF 206, and proceeds to step S906. In step S <b> 906, the HCPU 301 enters a status reception wait state from the SATA-IP (Device) 203. While it is not received (No in S906), it waits as it is, and when a status is received (Yes in S906), a series of command processing ends. Thereafter, the SATA host control unit 111 continues the idle state until the power saving transition request is issued again by the main CPU 101 (S907).

図10は、SATAブリッジ制御部の省電力状態からの復帰処理フロー図である。図10は、前記SATAブリッジ制御部112の前記PS0(407)又はPS1(408)からの復帰シーケンスを示した図である。S1001においてBCPU310は、PS0又はPS1の省電力状態である。S1002においてBCPU310は割り込み要求待ち状態であり、割り込み要求がなければ(すなわち、S1002のNoであれば)S1001に戻り、PS0又はPS1の省電力状態を継続する。S1002においてBCPU310は、前記H‐Host‐IF206がアイドル状態への復帰処理開始の割り込みを受信(S1002でYes)すると、S1003へ進む。ここで、前記復帰処理の開始は、図9で説明したDEVSLP信号がディイネーブルとなるレベル変化の検知やComReset(又はComWake)を要因として割り込み信号が発行される。S1003においてBCPU310は、自身の復帰処理を行い、次のS1004において前記H‐Host‐IF206の復帰処理を実行する。具体的にはSATA規格で規定されたOOB(Out Of Band)やスピードネゴシエーションの所定シーケンスを経て、コマンド発行可能となるまでのリンク確立処理を行う。   FIG. 10 is a flowchart of a return process from the power saving state of the SATA bridge control unit. FIG. 10 is a diagram showing a return sequence of the SATA bridge control unit 112 from the PS0 (407) or PS1 (408). In S1001, the BCPU 310 is in the power saving state of PS0 or PS1. In S1002, the BCPU 310 is in an interrupt request waiting state, and if there is no interrupt request (that is, if No in S1002), the process returns to S1001 and continues the power saving state of PS0 or PS1. In step S1002, when the H-Host-IF 206 receives an interrupt for starting the return processing to return to the idle state (Yes in step S1002), the BCPU 310 proceeds to step S1003. Here, for the start of the return processing, an interrupt signal is issued due to detection of a level change in which the DEVSLP signal described with reference to FIG. 9 is disabled and ComReset (or ComWake). In S1003, the BCPU 310 performs its own return process, and in the next S1004, executes the return process of the H-Host-IF 206. Specifically, a link establishment process is performed until a command can be issued through a predetermined sequence of OOB (Out Of Band) and speed negotiation defined in the SATA standard.

S1005においてBCPU310は、接続デバイスであるHDD/SSDの電源をOFFしていた場合、前記図12及び図13で説明したように電源制御部209に対してHDD/SSDの電源ON要求を行う。復帰時電源ON状態であれば、そのままS1006に進む。S1006においてBCPU310は、前記B‐Host1/2‐IF207及び208の復帰処理を実行する。復帰処理に関しては、図9で説明した前記H‐Host‐IF206の復帰処理と同等なので省略する。なお、前回の移行条件でB‐Host1/2‐IF207及び208をアイドル状態に置く設定(すなわち、即時コマンド発行可能状態)である場合には特になにも処理せず、次のS1007に進む。S1007においてBCPU310は、リンク確立したことを確認すると、コマンドの受信待ちを開始する。この時点で省電力状態からアイドル状態への復帰は完了したことになる。BCPU310は、コマンドを受信していない(No)の期間はS1007に留まり、受信した(Yes)場合にはS1008へ進む。S1008においてBCPU310は、コマンド処理を実行する。ここで、受信コマンドがATAコマンドであれば、必要に応じて前記B‐Host1/2‐IF207及び208の片方又は両方に発行し、S1009に進む。S1009においてHCPU301は、前記HDD/SSD113、114からのStatus受信待ちに入る。未受信の間(S1009でNo)はそのまま待機し、Statusを受信(S1009でYes)した時点で、S1010に進む。なお、受信コマンドが前記拡張コマンドであった場合には、SATAブリッジ制御部112内部で所定の処理完了後に、S1010へ進む。S1010においてBCPU310は、前記HDD/SSDから受信したステータス情報又は拡張コマンドにて処理した結果を、SATA規格で定義されたステータスパケットに反映する。そして、パケットをSATA‐IP(Host)201へ送信することで一連のコマンド処理を終了する。以後は、メインCPU101によって再び省電力移行要求が発行されるまでの間、SATAブリッジ制御部112はアイドル状態を継続(S1011)する。なお、ここでは図示しないがS1005〜S1006の期間にATAコマンドを受信した場合には、ブリッジ側での接続デバイスとのリンクが確立されるS1006まで待たされることになる。また、前記PS2(409)からの復帰は、SATA制御系からみると電源OFFからの起動、すなわち、コールドブート時と同じなので説明を省略する。   In step S1005, when the HDD / SSD as the connected device is turned off, the BCPU 310 requests the power supply control unit 209 to turn on the HDD / SSD as described with reference to FIGS. If the power is ON at the time of return, the process proceeds directly to S1006. In S1006, the BCPU 310 executes the return processing of the B-Host 1 / 2-IFs 207 and 208. The restoration process is the same as the restoration process of the H-Host-IF 206 described with reference to FIG. If the B-Host 1 / 2-IFs 207 and 208 are set in the idle state under the previous transition condition (that is, the immediate command issuable state), no processing is performed and the process proceeds to the next S1007. In step S1007, when the BCPU 310 confirms that the link has been established, the BCPU 310 starts waiting to receive a command. At this point, the return from the power saving state to the idle state is completed. The BCPU 310 stays in S1007 during a period in which no command is received (No), and proceeds to S1008 if the command is received (Yes). In S1008, the BCPU 310 executes command processing. If the received command is an ATA command, it is issued to one or both of the B-Host1 / 2-IFs 207 and 208 as necessary, and the process proceeds to S1009. In step S <b> 1009, the HCPU 301 waits for status reception from the HDD / SSD 113 and 114. While it is not received (No in S1009), it waits as it is, and proceeds to S1010 when Status is received (Yes in S1009). If the received command is the extended command, the process proceeds to S1010 after predetermined processing is completed in the SATA bridge control unit 112. In S1010, the BCPU 310 reflects the status information received from the HDD / SSD or the result processed by the extended command in the status packet defined by the SATA standard. Then, by transmitting the packet to the SATA-IP (Host) 201, a series of command processing ends. Thereafter, the SATA bridge control unit 112 continues the idle state until the power saving transition request is issued again by the main CPU 101 (S1011). Although not shown here, when an ATA command is received during the period from S1005 to S1006, the process waits until S1006 when the link with the connection device on the bridge side is established. Further, the return from PS2 (409) is the same as the startup from the power-off state, that is, the cold boot, from the viewpoint of the SATA control system, and the description thereof will be omitted.

図11は、PS0〜PS2の省電力移行準備中での強制復帰処理フロー図である。   FIG. 11 is a forcible return processing flow diagram during preparation for power saving transition of PS0 to PS2.

前記PS0(407)〜PS2(409)への省電力移行準備中での強制復帰処理フローを示す図である。図11は、省電力状態への移行途中の強制復帰処理は、MFPにHDDを必要とするジョブが発生する場合に処理が開始される。または、図11は、エラー状態(SATA系とは限らない)に陥り、ドライバによって強制的にリセット処理がなされた場合に開始する。S1101においてメインCPU101は、SATA系を省電力状態へ入れるために前記SATAブリッジ制御部112への上位電力ステートの通知を行う。具体的には、前記ToSleepコマンド509及びToDeepコマンド513の発行を意味する。ここで、それ以後の省電力移行処理中にメインCPU101にジョブ要求が発生した場合(S1102のYes)、S1103に進む。S1103においてメインCPU101は、前記SATAホスト制御部111に対して省電力移行途中からの強制復帰要求割り込みを発行する。ここでは図示しないが、この割り込みを受信したHCPU301は、SATAホスト制御部内の必要なモジュールに対してハードリセット処理を行い、前記H‐Host‐IF206へComReset信号を送信する。これを受信したSATAブリッジ制御部112のBCPU310は、S1101で受信した上位電力ステート情報を破棄し、Standbyモードとして認識する。さらに、BCPU301は、接続デバイスであるHDD/SSD113及び114の復帰処理を実行する。復帰処理については、既に図10を用いて説明したので省略する。S1103での処理後、メインCPU101はS1104へ進む。S1104においてメインCPU101は、前記SATAホスト制御部の省電力状態を示すステータスレジスタ(前記レジスタH306の一部)を確認する。そして、アイドル状態に復帰していなければ待機(S1104のNo)し、アイドル状態に復帰(S1104のYes)を確認したら強制復帰処理を終了する。S1102での判定がNoであった場合には、S1105に進む。S1105においてメインCPUは、前記SATAホスト制御部111へPS0〜PS2のいずれかの移行要求割り込みの発行を行う。S1106及びS1107においてメインCPU101は、要求した省電力状態に移行完了したことを前記ステータスレジスタにより確認する。まだ、省電力移行中(S1007でYes)で、且つジョブ無し(S1106でNo)ならば、メインCPU101は、S1106とS1107の間をループする。S1106における判定結果がYesの場合には、S1103に進む。S1103及びS1104での処理は既に説明したので省略する。S1107での判定がNoであった場合は、省電力状態への移行中に新たなジョブは発生しなかったとして終了する。   It is a figure which shows the forced return process flow in the power saving transition preparation to said PS0 (407) -PS2 (409). In FIG. 11, the forcible return processing during the transition to the power saving state is started when a job requiring an HDD in the MFP occurs. Alternatively, FIG. 11 starts when an error state (not necessarily a SATA system) occurs and a reset process is forcibly performed by the driver. In step S1101, the main CPU 101 notifies the SATA bridge control unit 112 of the upper power state in order to put the SATA system into the power saving state. Specifically, this means issuing the ToSleep command 509 and the ToDeep command 513. If a job request is generated in the main CPU 101 during the subsequent power saving transition process (Yes in S1102), the process proceeds to S1103. In step S <b> 1103, the main CPU 101 issues a forced return request interrupt from the middle of power saving to the SATA host control unit 111. Although not shown here, the HCPU 301 that has received this interrupt performs a hard reset process on a necessary module in the SATA host control unit and transmits a ComReset signal to the H-Host-IF 206. Receiving this, the BCPU 310 of the SATA bridge control unit 112 discards the higher power state information received in S1101 and recognizes it as the Standby mode. Further, the BCPU 301 executes a return process for the HDD / SSD 113 and 114 that are connected devices. Since the return processing has already been described with reference to FIG. After the processing in S1103, the main CPU 101 proceeds to S1104. In step S1104, the main CPU 101 checks a status register (a part of the register H306) indicating the power saving state of the SATA host control unit. If it has not returned to the idle state, it waits (No in S1104), and if it returns to the idle state (Yes in S1104), the forced return processing is terminated. If the determination in S1102 is No, the process proceeds to S1105. In step S <b> 1105, the main CPU issues a transition request interrupt of any one of PS <b> 0 to PS <b> 2 to the SATA host control unit 111. In S1106 and S1107, the main CPU 101 confirms from the status register that the transition to the requested power saving state has been completed. If power saving is still in progress (Yes in S1007) and there is no job (No in S1106), the main CPU 101 loops between S1106 and S1107. If the determination result in S1106 is Yes, the process proceeds to S1103. Since the processing in S1103 and S1104 has already been described, a description thereof will be omitted. If the determination in S1107 is No, the process is terminated because no new job has occurred during the transition to the power saving state.

本実施形態では、上位システムの一例であるメインコントローラ120またはその一部であるエンジンコントローラ118、パネルIF部、パネル装置116を開示した。また、所定の規格に従う通信インターフェースを介して通信するデバイスの電力制御を行なう制御装置の一例であるSATAブリッジ制御部112および、SATAホスト制御部111を含むSATA制御部およびそれを含む印刷装置1000を開示した。   In the present embodiment, the main controller 120 that is an example of the host system or an engine controller 118 that is a part of the main controller 120, the panel IF unit, and the panel device 116 are disclosed. In addition, a SATA bridge control unit 112 that is an example of a control device that performs power control of devices that communicate via a communication interface that conforms to a predetermined standard, a SATA control unit that includes a SATA host control unit 111, and a printing apparatus 1000 that includes the SATA control unit. Disclosed.

また、エンジンコントローラ118やメインコントローラ120の電力状態を示す上位電力ステート401に対応して次の内容を記憶している。すなわち、SATA規格に従う通信インタフェースのSDD/HDDの物理層における、所定の規格に従う省電力状態の組をSATA制御部内のレジスタにおいて記憶している。省電力状態の組とは、例えば、上位電力ステート401と、402列に対応する407乃至419などである。   Further, the following contents are stored corresponding to the upper power state 401 indicating the power state of the engine controller 118 and the main controller 120. That is, a set of power saving states according to a predetermined standard in the physical layer of the SDD / HDD of the communication interface according to the SATA standard is stored in a register in the SATA control unit. The set of power saving states includes, for example, the upper power state 401 and 407 to 419 corresponding to the 402th column.

さらに、SATAホスト制御部111およびSATAブリッジ制御部112は、所定の電力状態の一例である401に示す上位電力ステートへ上位システムが移行することを示す信号を受信する。   Further, the SATA host control unit 111 and the SATA bridge control unit 112 receive a signal indicating that the upper system shifts to an upper power state indicated by 401 which is an example of a predetermined power state.

さらに、SATA制御部は、その所定の電力状態に上位システムが移行することを示す信号を受信したことに従って、前記のレジスタやメモリを参照して、前記デバイスおよび前記デバイスが有する通信インタフェースの物理層の省電力状態を決定する。   Further, the SATA control unit refers to the register and the memory according to the reception of the signal indicating that the host system shifts to the predetermined power state, and the physical layer of the communication interface included in the device and the device Determine the power saving state.

さらに、上位システムの一例は、印刷装置1000である。また、印刷装置1000が有するプリンタコントローラの一例であるメインコントローラが省電力状態ではない時に、次の処理が行われる。すなわち、HDD/SDD113およびHDD/SDD113が備えるSATA規格の物理インタフェースが図4に示す所定の省電力状態になる。すなわち、SATA制御部は、前記デバイスおよびデバイスが有する通信インタフェースの物理層の省電力状態が決定される。   Furthermore, an example of the host system is the printing apparatus 1000. Further, when the main controller, which is an example of the printer controller included in the printing apparatus 1000, is not in the power saving state, the following processing is performed. That is, the SATA standard physical interface included in the HDD / SDD 113 and the HDD / SDD 113 is in a predetermined power saving state shown in FIG. That is, the SATA control unit determines the power saving state of the device and the physical layer of the communication interface included in the device.

さらに、印刷装置1000が有するエンジンコントローラ118が省電力状態ではない時次のように動作が行われる。HDD/SDD133およびそのSATA規格に従う物理インタフェースが所定の省電力状態になるように、SATA制御部は前記デバイスおよびデバイスが用いる通信インタフェースの物理層の省電力状態を決定する。   Further, when the engine controller 118 included in the printing apparatus 1000 is not in the power saving state, the operation is performed as follows. The SATA control unit determines the power saving state of the device and the physical layer of the communication interface used by the device so that the physical interface conforming to the HDD / SDD 133 and its SATA standard is in a predetermined power saving state.

SATA制御部は、受信した信号の内容に応じて、HDD/SDD113およびその物理層を、SATA規格において定められたDevSleep,Slumber,Partial,Offlineの少なくとも一つのステータスへ移行させるよう決定する。   The SATA control unit determines that the HDD / SDD 113 and its physical layer are shifted to at least one status of DevSleep, Slumber, Partial, and Offline defined in the SATA standard according to the content of the received signal.

さらに、SATA制御部が、所定の省電力への移行を決定した後に、次の動作を行う。SDD・HDD112または113を使用するジョブがLAN−IF部105において受信される。すると、SATA制御部は、HDD/SDD113およびその物理インタフェースの電力を復帰させる指示をSATA制御部が、電源制御部209に対して行う。   Further, after the SATA control unit determines to shift to predetermined power saving, the following operation is performed. A job using the SDD / HDD 112 or 113 is received by the LAN-IF unit 105. Then, the SATA control unit instructs the power supply control unit 209 to restore the power of the HDD / SDD 113 and its physical interface.

SATA制御部内のレジスタに対する設定内容として、少なくとも電源OFF、SATAポートのオフラインがSATAインターフェイスの電力モードとしてある。SATA規格で定められたSATAインターフェイスの電力モードのうち少なくともひとつを含む省電力への移行条件をSSD/HDDが有するSATAインターフェイスの物理層と前記デバイス本体に関して設定できる設定内容とできる。   As the setting contents for the registers in the SATA control unit, at least the power is OFF and the SATA port is offline as the power mode of the SATA interface. The setting contents can be set for the physical layer of the SATA interface of the SSD / HDD and the device main body for the power saving transition condition including at least one of the power modes of the SATA interface defined by the SATA standard.

なお、印刷装置1000は、SATAインターフェイス制御を行うSATAホスト御制御部111部及びSATAブリッジ制御部112を有するSATA制御部を有する。印刷装置1000の電力状態を示す信号をSATAホスト制御部111において受け付け、その信号に応じて省電力処理をSATAホスト制御部111は制御する。   Note that the printing apparatus 1000 includes a SATA control unit having a SATA host control unit 111 and a SATA bridge control unit 112 that perform SATA interface control. The SATA host control unit 111 receives a signal indicating the power state of the printing apparatus 1000, and the SATA host control unit 111 controls power saving processing according to the signal.

さらに、SATAブリッジ制御部112に対して上位電力ステートが通知された後、次のことが起こる。つまり、SATAホスト制御部及びSATAブリッジ制御部112を接続するSATAインターフェイス206の省電力への状態遷移をSATAブリッジ制御部112が検知する。そして、上位システムの電力状態を示す信号の受信、および、検知された省電力への状態遷移のふたつのイベントに応じて、複数の省電力レベルからひとつをSATA制御部が決定する。   Furthermore, after the higher power state is notified to the SATA bridge control unit 112, the following occurs. That is, the SATA bridge control unit 112 detects a state transition to power saving of the SATA interface 206 that connects the SATA host control unit and the SATA bridge control unit 112. Then, the SATA control unit determines one from a plurality of power saving levels in response to two events of reception of a signal indicating the power state of the host system and the detected state transition to power saving.

以上一連の図を用いて説明したように、本実施形態を用いれば予め設定される省電力への移行条件を前記PS0(407)〜PS2(409)の各レベルで個別に設定でき、且つそれらは上位電力ステートと連動している。このため、省電力優先なのか/利便性優先なのかを各レベルに応じて自由に設定できる。前記設定値は、初期化時固定でもよいし、任意のタイミングで変更可能であっても構わない。例えば前記パネル装置116のUI画面にて、“利便性優先”を選択した場合は、PS0:HDD電源ON状態/PS1:HDD電源OFF状態、“省電力優先”を選択した場合は、としてもよい。さらに、PS0:HDD電源OFF状態/PS1:HDD電源OFF状態、または、それらの中間的レベルを設けるなどしてユーザの希望を満足する形でSATA制御系の電力削減を実現できる。   As described above with reference to a series of figures, by using this embodiment, preset power saving conditions can be individually set at each level of the PS0 (407) to PS2 (409). Is linked to the upper power state. For this reason, it can be freely set according to each level whether power saving priority or convenience priority. The set value may be fixed at the time of initialization or may be changed at an arbitrary timing. For example, when “priority priority” is selected on the UI screen of the panel device 116, PS0: HDD power ON state / PS1: HDD power OFF state, “power saving priority” may be selected. . Further, the power reduction of the SATA control system can be realized by satisfying the user's desire by providing PS0: HDD power OFF state / PS1: HDD power OFF state or an intermediate level between them.

本実施形態によれば、上位システムの電力状態を考慮した省電力制御方法の枠組みを提供するので、よりきめ細かい省電力制御を実現可能にする仕組みを提供することができる。   According to the present embodiment, a framework of a power saving control method that takes into account the power state of the host system is provided, so that a mechanism that enables more detailed power saving control can be provided.

例えば、HDDは不要時に電源OFFし、真に必要な場合にのみ電源ONすることが電力的及び寿命的に望ましい。また、前記RAID制御に伴うバックグラウンド処理中の省電力移行要求に対して、現状のバックグラウンド処理を継続するのか、中断するのかの適切な判断を必要とする場合がある。このような場合であっても、本実施形態によれば、HDD電源OFF/ONタイミングやバックグラウンド処理の継続の有無を容易かつ適切に判断することができる。前記の制御部とはCPUなどである。   For example, it is desirable in terms of power and life to turn off the power of the HDD when it is not needed, and turn on the power only when it is really necessary. In addition, in response to a power saving transition request during background processing associated with the RAID control, it may be necessary to appropriately determine whether the current background processing is to be continued or interrupted. Even in such a case, according to the present embodiment, it is possible to easily and appropriately determine the HDD power OFF / ON timing and the presence / absence of background processing. The control unit is a CPU or the like.

<その他の実施形態>
本発明は、上述の各実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASICやFPGA)によっても実現可能である。
<Other embodiments>
The present invention supplies a program that realizes one or more functions of the above-described embodiments to a system or apparatus via a network or a storage medium, and one or more processors in a computer of the system or apparatus read the program. It can also be realized by processing to be executed. It can also be realized by a circuit (for example, ASIC or FPGA) that realizes one or more functions.

1000 印刷装置   1000 printing device

Claims (8)

上位システムと所定の規格に従う通信インターフェースを介して通信するデバイスの電力制御を行なう制御装置において、
所定の電力状態へ前記上位システムが移行することを示す信号を受信する受信手段と、所定の電力状態に前記上位システムが移行することを示す信号を受信したことに従って、前記上位システムの電力状態と、前記デバイスの電力状態と、前記デバイスが有する通信インタフェースであって前記所定の規格に従う通信インタフェースの物理層の電力状態と、に基づき、前記デバイスおよび前記デバイスが用いる通信インタフェースの物理層の電力状態を複数の電力状態の中から決定する決定手段と、
を備える制御装置。
In a control device that performs power control of a device that communicates with a host system via a communication interface in accordance with a predetermined standard,
Receiving means for receiving a signal indicating that the host system shifts to a predetermined power state; and receiving a signal indicating that the host system shifts to a predetermined power state; The device and the physical layer power state of the communication interface used by the device based on the power state of the device and the communication layer physical layer of the communication interface according to the predetermined standard. Determining means for determining from a plurality of power states;
A control device comprising:
前記上位システムは印刷装置であり、前記上位システムが有するプリンタコントローラが省電力状態ではない時に、前記デバイスの電力状態および前記デバイスが備える所定の規格に対応する通信インタフェースの物理層の電力状態が所定の省電力状態になるように、前記決定手段は前記デバイスの電力状態およびデバイスが有する通信インタフェースの物理層の電力状態を決定する請求項1に記載の制御装置。   The host system is a printing apparatus, and when the printer controller of the host system is not in a power saving state, the power state of the device and the power state of the physical layer of the communication interface corresponding to a predetermined standard included in the device are predetermined. The control apparatus according to claim 1, wherein the determination unit determines a power state of the device and a power state of a physical layer of a communication interface included in the device so that the power saving state is established. 前記上位システムは印刷装置であり、前記上位システムが有するエンジンコントローラが省電力状態ではない場合に、前記デバイスの電力状態と前記デバイスとを接続する所定の規格に対応する通信インタフェースの物理層の電力状態とが所定の省電力状態になるように、前記決定手段は前記通信インタフェースの物理層の電力状態を決定する請求項1または2に記載の制御装置。   The host system is a printing apparatus, and when the engine controller of the host system is not in a power saving state, the power state of the device and the power of the physical layer of the communication interface corresponding to a predetermined standard for connecting the device The control device according to claim 1, wherein the determination unit determines a power state of a physical layer of the communication interface so that the state becomes a predetermined power saving state. 前記所定の規格はSATA規格であり、前記決定手段は、前記受信手段から受信した信号の内容に応じて、前記デバイスの電力状態および前記デバイスの物理層の電力状態を、SATA規格において定められたDevSleep,Slumber,Partial,Offlineの少なくとも一つのステータスへ移行させるよう決定する請求項1乃至3のいずれか1項に記載の制御装置。   The predetermined standard is the SATA standard, and the determining unit determines the power state of the device and the power state of the physical layer of the device in the SATA standard according to the content of the signal received from the receiving unit. The control device according to claim 1, wherein the control device determines to shift to at least one status of DevSleep, Slumber, Partial, and Offline. 前記決定手段が省電力への移行を決定した後に、前記デバイスを使用するジョブが上位システムにおいて受信されると、前記デバイスの電力および前記デバイスが有する物理インタフェースの電力を復帰させる復帰手段をさらに備える請求項1乃至4のいずれか1項に記載の制御装置。   After the determination unit determines to shift to power saving, when a job using the device is received in the host system, the device further includes a return unit that returns the power of the device and the power of the physical interface of the device. The control device according to any one of claims 1 to 4. 少なくとも電源OFF、SATAポートのオフライン、SATA規格で定められたSATAインターフェイスの電力モードのうち少なくともひとつを含む省電力への移行条件を、前記デバイスが有するSATAインターフェイスの物理層と、前記デバイスにおいて設定できることを特徴とする請求項1乃至5のいずれか1項に記載の制御装置。   It is possible to set, in the device, the physical layer of the SATA interface included in the device and the power saving condition including at least one of the power OFF, the offline of the SATA port, and the power mode of the SATA interface defined by the SATA standard. The control device according to any one of claims 1 to 5, wherein: 前記制御装置は、SATAインターフェイス制御を行う第1制御部及び第2制御部を有するSATAコントローラを有し、前記上位システムの電力状態を示す信号を前記第1制御部が受け付け、前記信号に応じた省電力処理を前記第1制御部は制御し、
前記第2制御部に対して前記上位装置の電力状態が通知された後、前記第1の制御部及び第2制御部を接続するSATAインターフェイスの省電力への状態遷移を前記第2制御部が検知し、
前記上位システムの電力状態を示す信号の受信、および前記検知された省電力への状態遷移のふたつのイベントに応じて、前記決定手段は複数の省電力レベルからひとつを決定する請求項1乃至6のいずれか1項に記載の制御装置。
The control device includes a SATA controller having a first control unit and a second control unit that perform SATA interface control, and the first control unit receives a signal indicating a power state of the host system, and according to the signal The first control unit controls power saving processing,
After the power state of the host device is notified to the second control unit, the second control unit performs a state transition to power saving of the SATA interface that connects the first control unit and the second control unit. Detect
The determination means determines one from a plurality of power saving levels in response to two events of reception of a signal indicating the power state of the host system and the detected state transition to power saving. The control device according to any one of the above.
上位システムと所定の規格に従う通信インターフェースを介して通信するデバイスの電力制御を行なう制御装置の制御方法において、
所定の電力状態へ前記上位システムが移行することを示す信号を受信する受信工程と、所定の電力状態に前記上位システムが移行することを示す信号が受信されたことに従って、前記上位システムの電力状態と、前記デバイスの電力状態と、前記デバイスとを接続する通信インタフェースであって前記所定の規格に従う通信インタフェースの物理層の電力状態に基づき、前記デバイスの電力状態および前記デバイスが用いる通信インタフェースの物理層の電力状態を複数の電力状態の中から決定する決定工程と、
を備える制御方法。
In a control method of a control device that performs power control of a device that communicates with a host system via a communication interface according to a predetermined standard,
A reception step of receiving a signal indicating that the higher system shifts to a predetermined power state, and a power state of the higher system according to reception of a signal indicating that the higher system shifts to a predetermined power state And the power state of the device and the physical state of the communication interface used by the device, based on the power state of the physical layer of the communication interface that connects the device and the communication interface conforms to the predetermined standard. A determining step of determining a power state of the layer from a plurality of power states;
A control method comprising:
JP2017120748A 2016-07-22 2017-06-20 Image forming device that realizes power saving and its control method Active JP6949572B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
US15/648,153 US10564700B2 (en) 2016-07-22 2017-07-12 Image forming apparatus and power control method for image forming apparatus
CN201710597418.9A CN107645618B (en) 2016-07-22 2017-07-21 Image forming apparatus and power control method for image forming apparatus
EP17182564.9A EP3273326B1 (en) 2016-07-22 2017-07-21 Control apparatus and power control method for control apparatus
KR1020170092425A KR102320386B1 (en) 2016-07-22 2017-07-21 Image forming apparatus and power control method for image forming apparatus

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2016144508 2016-07-22
JP2016144508 2016-07-22

Publications (3)

Publication Number Publication Date
JP2018020551A true JP2018020551A (en) 2018-02-08
JP2018020551A5 JP2018020551A5 (en) 2020-07-30
JP6949572B2 JP6949572B2 (en) 2021-10-13

Family

ID=61165052

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017120748A Active JP6949572B2 (en) 2016-07-22 2017-06-20 Image forming device that realizes power saving and its control method

Country Status (1)

Country Link
JP (1) JP6949572B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020127184A (en) * 2019-02-06 2020-08-20 キヤノン株式会社 Electronic apparatus including device connected with pci device and capable of shifting to power saving state, and control method thereof
JP7379020B2 (en) 2019-08-28 2023-11-14 キヤノン株式会社 information processing equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007098811A (en) * 2005-10-05 2007-04-19 Fuji Xerox Co Ltd Image forming apparatus and method for transiting the apparatus to power saving state
JP2008041050A (en) * 2006-08-10 2008-02-21 Hitachi Ltd Storage device and data management method using the same
JP2009294927A (en) * 2008-06-05 2009-12-17 Ricoh Co Ltd Information processor, control method for information processor, program and recording medium
US20140089603A1 (en) * 2012-09-26 2014-03-27 Sheshaprasad G. Krishnapura Techniques for Managing Power and Performance of Multi-Socket Processors
JP2014164352A (en) * 2013-02-21 2014-09-08 Ricoh Co Ltd Image forming device, image processing method, and program
US20160004294A1 (en) * 2013-03-14 2016-01-07 Seagate Technology Llc Device power control
JP2016041470A (en) * 2014-08-14 2016-03-31 キヤノン株式会社 Printer, control device of storage connected to the printer, control method and program of the printer
JP2016103704A (en) * 2014-11-27 2016-06-02 キヤノン株式会社 Image forming apparatus, control method of image forming apparatus, and program

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007098811A (en) * 2005-10-05 2007-04-19 Fuji Xerox Co Ltd Image forming apparatus and method for transiting the apparatus to power saving state
JP2008041050A (en) * 2006-08-10 2008-02-21 Hitachi Ltd Storage device and data management method using the same
JP2009294927A (en) * 2008-06-05 2009-12-17 Ricoh Co Ltd Information processor, control method for information processor, program and recording medium
US20140089603A1 (en) * 2012-09-26 2014-03-27 Sheshaprasad G. Krishnapura Techniques for Managing Power and Performance of Multi-Socket Processors
JP2014164352A (en) * 2013-02-21 2014-09-08 Ricoh Co Ltd Image forming device, image processing method, and program
US20160004294A1 (en) * 2013-03-14 2016-01-07 Seagate Technology Llc Device power control
JP2016041470A (en) * 2014-08-14 2016-03-31 キヤノン株式会社 Printer, control device of storage connected to the printer, control method and program of the printer
JP2016103704A (en) * 2014-11-27 2016-06-02 キヤノン株式会社 Image forming apparatus, control method of image forming apparatus, and program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020127184A (en) * 2019-02-06 2020-08-20 キヤノン株式会社 Electronic apparatus including device connected with pci device and capable of shifting to power saving state, and control method thereof
JP7374588B2 (en) 2019-02-06 2023-11-07 キヤノン株式会社 Electronic equipment connected to a PCI device and equipped with a device capable of transitioning to a power saving state, and its control method
JP7379020B2 (en) 2019-08-28 2023-11-14 キヤノン株式会社 information processing equipment

Also Published As

Publication number Publication date
JP6949572B2 (en) 2021-10-13

Similar Documents

Publication Publication Date Title
KR102320386B1 (en) Image forming apparatus and power control method for image forming apparatus
EP2423801B1 (en) Image forming apparatus, system-on-chip (SOC) unit, and driving method thereof
JP2005041214A (en) Printing control device and control method therefor and program
JP2012232589A (en) Image forming apparatus and control method therefor
JP2011098561A (en) Controller for image processor
US20130042129A1 (en) Image forming apparatus, microcontroller, and methods for controlling image forming apparatus and microcontroller
JP5477773B2 (en) Image forming apparatus
JP6949572B2 (en) Image forming device that realizes power saving and its control method
JP6961349B2 (en) Information processing device with non-volatile storage device, control method
US11144109B2 (en) Apparatus, method, and storage medium for controlling a power saving state in a SATA storage system
JP6336328B2 (en) COMMUNICATION DEVICE, ITS CONTROL METHOD, AND PROGRAM
CN107656708B (en) Electronic device and control method thereof
US20130042132A1 (en) Image forming appratus, microcontroller, and methods for controlling image forming apparatus and microcontroller
JP6702790B2 (en) Information processing apparatus having network interface having proxy response function
EP2557480B1 (en) Image forming apparatus, microcontroller, and methods for controlling image forming apparatus and microcontroller
JP6992142B2 (en) Electronic devices and control methods for electronic devices
CN111541825B (en) Electronic device and control method thereof
JP2015215684A (en) Information processing apparatus and information processing program
JP2012116138A (en) Control device, control program, and image forming device
JP2014048865A (en) Information processor, and image processor
JP2003122536A (en) Printer controller
JP2015180527A (en) Information processing apparatus, information processing apparatus control method, and program

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200615

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200615

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210330

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210528

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20210824

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210922

R151 Written notification of patent or utility model registration

Ref document number: 6949572

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151