JP2006018466A - Electronic apparatus and power supply control method therefor - Google Patents
Electronic apparatus and power supply control method therefor Download PDFInfo
- Publication number
- JP2006018466A JP2006018466A JP2004194294A JP2004194294A JP2006018466A JP 2006018466 A JP2006018466 A JP 2006018466A JP 2004194294 A JP2004194294 A JP 2004194294A JP 2004194294 A JP2004194294 A JP 2004194294A JP 2006018466 A JP2006018466 A JP 2006018466A
- Authority
- JP
- Japan
- Prior art keywords
- power supply
- battery
- external device
- usb
- bus
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Withdrawn
Links
Images
Classifications
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Accessory Devices And Overall Control Thereof (AREA)
- Power Sources (AREA)
Abstract
【課題】 USBインタフェースに接続される外部機器を検出し、その検出結果に基づいた適切な電力供給制御が可能な電子機器及びその電力供給制御方法とを提供することである。
【解決手段】 外部機器とUSBインタフェースを介して接続可能であり、バスを介してその外部機器に電力供給が可能である、電池電源で駆動可能な電子機器において、USBインタフェースを介して接続された外部機器がUSB規格に準拠した機器であるかどうかを決定し、その決定結果に従って、バスを介した電力供給のON/OFFを行うスイッチを用いて外部機器に対する電力供給を制御する。
【選択図】 図6PROBLEM TO BE SOLVED: To provide an electronic device capable of detecting an external device connected to a USB interface and performing appropriate power supply control based on the detection result, and a power supply control method thereof.
An electronic device that can be connected to an external device via a USB interface and can supply power to the external device via a bus and can be driven by a battery power source, and is connected via a USB interface. It is determined whether or not the external device is a device compliant with the USB standard, and the power supply to the external device is controlled using a switch for turning on / off the power supply via the bus according to the determination result.
[Selection] Figure 6
Description
本発明は電子機器及びその電力供給制御方法に関し、特に、USBインタフェースを介して外部機器に対して電力供給可能で電池駆動可能な電子機器、例えば、携帯可能なプリンタとその電力供給制御方法に関するものである。 The present invention relates to an electronic device and its power supply control method, and more particularly to an electronic device that can supply power to an external device via a USB interface and can be driven by a battery, such as a portable printer and its power supply control method. It is.
バッテリー駆動の電子機器は、なんらかの方法により、バッテリーの残量を管理することが望ましい。バッテリー残量を検知方法としては、従来より大きく分けて次の2つがある。 It is desirable for battery-powered electronic devices to manage the remaining amount of battery by some method. There are the following two methods for detecting the remaining battery level.
一つはエネルギー積算法と呼ばれる方法で、放電電流を積算して、これを電池の総容量から減算する方法である。この方法は、精度良く残量を計算することが出来るという利点があるが、この方法を実現するシステムが複雑になり、相対的に高価になってしまうという欠点も持ち合わせている。 One is a method called an energy integration method, in which the discharge current is integrated and subtracted from the total capacity of the battery. This method has the advantage that the remaining amount can be calculated with high precision, but has the disadvantage that the system for realizing this method becomes complicated and relatively expensive.
もう一つは電圧検出法と呼ばれる方法である。電池は、残量が少なくなるにつれて出力電圧が徐々に低下していく性質を持っているため、電池電圧から残量を推測することができる。ところが固体ばらつきや負荷の変動によって電池電圧は変化してしまうものなので残量検出精度が低くなってしまうという欠点がある。逆にこの方法を実現するシステムは比較的に簡単であるため、安価に実現できるという利点がある。 The other is a method called a voltage detection method. Since the battery has a property that the output voltage gradually decreases as the remaining amount decreases, the remaining amount can be estimated from the battery voltage. However, since the battery voltage changes due to individual variations and load fluctuations, there is a drawback that the remaining amount detection accuracy is lowered. Conversely, a system that implements this method is relatively simple and has the advantage that it can be implemented at low cost.
さて、従来のUSBインタフェースを介してホストとして動作する(以下、USBホスト機能)電子機器は、USBデバイスのパワーマネージメントを行う際、USBデバイスとエニュメレーションを行うことにより、USBデバイスの消費電力最大値データを取得し、その結果により制御を行っていた(例えば、特許文献1参照)。ところが、USB規格に準拠していないUSBバスパワー駆動機器(以降、バスパワード(Bus-powered)機器という)がそのUSBポートに接続された場合は、エニュミュレーション(Enumeration)を開始せず、Vbusから電力を供給するのみであった。
このように従来のUSBホスト機能を備えた電子機器では規格外のバスパワード機器が接続された場合、その電子機器がVbusに電力を供給していることを認識していないため、想定外のタイミングで想定外の電力を供給することになってしまう。特に、バッテリー駆動の電子機器では、想定外の電力消費は電池の消耗を速め、本来目的とする機能を果たすことができなくなってしまうという問題がある。 As described above, when a non-standard bus-powered device is connected to an electronic device having a conventional USB host function, the electronic device does not recognize that it is supplying power to Vbus. Therefore, unexpected power will be supplied. In particular, battery-powered electronic devices have a problem that unexpected power consumption accelerates battery consumption and cannot perform its intended function.
本発明は上記従来例に鑑みてなされたもので、USBインタフェースに接続される外部機器を検出し、その検出結果に基づいた適切な電力供給制御が可能な電子機器及びその電力供給制御方法とを提供することを目的としている。 The present invention has been made in view of the above-described conventional example. An electronic device capable of detecting an external device connected to a USB interface and appropriately controlling power supply based on the detection result, and a power supply control method thereof are provided. It is intended to provide.
上記目的を達成するため本発明の電子機器は以下の構成からなる。 In order to achieve the above object, an electronic apparatus of the present invention has the following configuration.
即ち、外部機器とUSBインタフェースを介して接続可能であり、電池電源によって駆動可能な電子機器であって、前記USBインタフェースを介して接続された外部機器に対して電力供給するバスと、前記バスを介した電力供給のON/OFFを行うスイッチと、前記USBインタフェースを介して接続された外部機器がUSB規格に準拠した機器であるかどうかを決定する決定手段と、前記決定手段による決定結果に従って、前記スイッチを用いて前記外部機器に対する電力供給を制御する制御手段とを有することを特徴とする電子機器を備える。 That is, an electronic device that can be connected to an external device via a USB interface and can be driven by a battery power source, the bus supplying power to the external device connected via the USB interface, and the bus According to a determination result by the determination means, a switch for turning ON / OFF the power supply via the USB, a determination means for determining whether the external device connected via the USB interface is a device compliant with the USB standard, And an electronic device having control means for controlling power supply to the external device using the switch.
ここで、前記決定手段は、前記外部機器に対し前記バスを介した電力供給を行っているときの電池電圧を測定する第1の測定手段と、前記第1の測定手段によって測定された複数回の電池電圧を比較し、前回の測定結果と今回の測定結果との間に所定値以上の電圧降下があるかどうかを判別する第1の判別手段と、前記第1の判別手段による判別結果に従って、前記外部機器に対する前記バスを介した電力供給を停止し、電力供給を行っていないときの電池電圧を測定する第2の測定手段と、前記第1及び第2の測定手段により測定された電池電圧を比較し、前記電力供給を行っていないときの電池電圧が前記電力供給を行っているときの電池電圧から所定値以上上昇しているかどうかを判別する第2の判別手段とを有し、前記第2の判別手段による判別結果に従って、前記接続された外部機器がUSB規格に準拠した機器であるかどうかを決定すると良い。 Here, the determining means includes a first measuring means for measuring a battery voltage when power is supplied to the external device via the bus, and a plurality of times measured by the first measuring means. According to the determination result of the first determination means and the first determination means for determining whether there is a voltage drop of a predetermined value or more between the previous measurement result and the current measurement result. A second measuring means for measuring a battery voltage when power supply to the external device via the bus is stopped and no power is supplied, and a battery measured by the first and second measuring means. A second determination means for comparing voltages and determining whether or not the battery voltage when the power supply is not performed is higher than a predetermined value from the battery voltage when the power supply is performed; The second discriminator In accordance with the judgment results of the said connected external device may be determined whether the device complying with the USB standard.
さらに、前記決定手段は、前記USBインタフェースの特定の信号線の電圧が所定電圧にプルアップされるかどうかを判別する第3の判別手段を有し、前記第3の判別手段による判別結果に従って、前記接続された外部機器がUSB規格に準拠した機器であるかどうかを決定すると良い。 Further, the determining means has third determining means for determining whether or not the voltage of the specific signal line of the USB interface is pulled up to a predetermined voltage, and according to the determination result by the third determining means, It may be determined whether the connected external device is a device that conforms to the USB standard.
またさらに、電圧検出法に従って前記電池の残量を検出する電池残量検出手段を有すると良い。 Furthermore, it is preferable to have battery remaining amount detecting means for detecting the remaining amount of the battery according to a voltage detection method.
なお、本発明は前記電子機器をプリンタとして、前記USB規格に準拠した外部機器をPictBridge対応のデバイスとすることが好適である。 In the present invention, it is preferable that the electronic device is a printer and the external device compliant with the USB standard is a PictBridge compatible device.
また他の発明によれば、外部機器とUSBインタフェースを介して接続可能でバスを介して前記外部機器に電力供給が可能であり、電池電源によって駆動可能な電子機器の電力供給制御方法であって、前記USBインタフェースを介して接続された外部機器がUSB規格に準拠した機器であるかどうかを決定する決定工程と、前記決定工程における決定結果に従って、前記バスを介した電力供給のON/OFFを行うスイッチを用いて前記外部機器に対する電力供給を制御する制御工程とを有することを特徴とする電子機器の電力供給制御方法を備える。 According to another invention, there is provided a power supply control method for an electronic device that can be connected to an external device via a USB interface, can supply power to the external device via a bus, and can be driven by a battery power source. A determination step for determining whether or not an external device connected via the USB interface is a device compliant with the USB standard, and power supply ON / OFF via the bus is determined according to the determination result in the determination step. And a control step of controlling power supply to the external device using a switch to be performed.
従って本発明によれば、USBインタフェースにUSB規格に準拠した機器が接続されたかどうかを決定し、その結果に従ってその接続機器への電力供給を制御をするので、USB規格に準拠しない機器が接続されたときには、無駄な電力消費を抑えることができるという効果がある。 Therefore, according to the present invention, it is determined whether a device conforming to the USB standard is connected to the USB interface, and the power supply to the connected device is controlled according to the result, so that a device not conforming to the USB standard is connected. When this occurs, there is an effect that wasteful power consumption can be suppressed.
また、例えば、電圧検出法により電池残量を管理する機構とUSBインタフェースを備えた電池駆動可能な電子機器を用いる場合には、その電池残量を管理する機構をそのまま流用して接続機器の判断を行うことができるので、その判断のために余分な機構を新たに備える必要がなくコスト面でも有利である。 Also, for example, when using a battery-driven electronic device equipped with a USB interface and a mechanism for managing the remaining battery level using the voltage detection method, the connected battery level can be used as it is to determine the connected device. Therefore, it is not necessary to newly provide an extra mechanism for the determination, which is advantageous in terms of cost.
以下添付図面を参照して本発明の好適な実施例について、さらに具体的かつ詳細に説明する。 Hereinafter, preferred embodiments of the present invention will be described more specifically and in detail with reference to the accompanying drawings.
なお、この明細書において、「記録」(「プリント」という場合もある)とは、文字、図形等有意の情報を形成する場合のみならず、有意無意を問わず、また人間が視覚で知覚し得るように顕在化したものであるか否かを問わず、広く記録媒体上に画像、模様、パターン等を形成する、または媒体の加工を行う場合も表すものとする。 In this specification, “recording” (sometimes referred to as “printing”) is not only for forming significant information such as characters and figures, but also for human beings visually perceived regardless of significance. Regardless of whether or not it has been manifested, it also represents a case where an image, a pattern, a pattern, or the like is widely formed on a recording medium or the medium is processed.
また、「記録媒体」とは、一般的な記録装置で用いられる紙のみならず、広く、布、プラスチック・フィルム、金属板、ガラス、セラミックス、木材、皮革等、インクを受容可能なものも表すものとする。 “Recording medium” refers not only to paper used in general recording apparatuses but also widely to cloth, plastic film, metal plate, glass, ceramics, wood, leather, and the like that can accept ink. Shall.
さらに、「インク」(「液体」と言う場合もある)とは、上記「記録(プリント)」の定義と同様広く解釈されるべきもので、記録媒体上に付与されることによって、画像、模様、パターン等の形成または記録媒体の加工、或いはインクの処理(例えば記録媒体に付与されるインク中の色剤の凝固または不溶化)に供され得る液体を表すものとする。 Furthermore, “ink” (sometimes referred to as “liquid”) is to be interpreted broadly in the same way as the definition of “recording (printing)” above. It represents a liquid that can be used for forming a pattern or the like, processing a recording medium, or processing an ink (for example, solidification or insolubilization of a colorant in ink applied to the recording medium).
またさらに、「ノズル」とは、特にことわらない限り吐出口ないしこれに連通する液路およびインク吐出に利用されるエネルギーを発生する素子を総括して言うものとする。 Furthermore, unless otherwise specified, the “nozzle” collectively refers to an ejection port or a liquid channel communicating with the ejection port and an element that generates energy used for ink ejection.
またさらに、本発明に適用可能な記録ヘッドは、インクジェット記録方式を採用したものであるが、その具体的な形態としては、電気熱変換体が発生する熱エネルギーを利用して液体に膜沸騰を生じさせ気泡を形成する形態、電気機械変換体によって液体を吐出させる形態、静電気あるいは気流を利用して液滴を形成吐出する形態など各種形態が挙げられるが、特に小型化の観点からは電気熱変換体を利用したものが好適に用いられる。 Furthermore, the recording head applicable to the present invention employs an ink jet recording method, and as a specific form thereof, film boiling occurs in the liquid using the thermal energy generated by the electrothermal transducer. Various forms such as a form for generating bubbles to form, a form for discharging liquid by an electromechanical transducer, and a form for forming and discharging liquid droplets using static electricity or air flow can be mentioned. Those using a converter are preferably used.
図1は本発明の代表的な実施形態であるAC電源とDC電源の両方で駆動可能なインクジェット記録装置(以下、記録装置)の全体構成の概要を示す外観斜視図である。図1に示すように、この記録装置は、インクジェットプリンタ(以下、プリンタ)800、バッテリーを内蔵しプリンタ800本体に着脱可能なバッテリーチャージャ900、及び両者を取り付けた状態で縦置きに収容するための置き台であるクレイドル950から構成される。なお、このプリンタで記録する記録媒体として紙を例にとって説明するが、記録媒体はこれに限らず、記録可能なシート状の媒体ならばどれでも構わない。
FIG. 1 is an external perspective view showing an outline of the overall configuration of an ink jet recording apparatus (hereinafter referred to as a recording apparatus) that can be driven by both an AC power source and a DC power source according to a typical embodiment of the present invention. As shown in FIG. 1, the recording apparatus includes an ink jet printer (hereinafter referred to as a printer) 800, a
さて、図1において、プリンタ800の外観は、上ケース801、下ケース802、給紙カバー803、排紙口カバー804によって構成された一体シェル構造であり、プリンタとして非使用時(据え置き時、携帯時など)は、この形態をとるものである。また、プリンタ800の側面には、AC電源から電力供給を受ける場合に使用するACアダプターケーブル(不図示)を差し込むDCinジャック(直流電源入力用ジャック)817とUSBケーブルを接続するためのI/F(インタフェース)コネクタ815が設けられている。給紙カバー803は記録時にプリンタ本体に対して開いて紙などの記録シートを載せるための記録シート供給トレイとなる。
In FIG. 1, the external appearance of the
次に、バッテリーチャージャ900の外観は、メインケース901、カバーケース902、バッテリー蓋903によって構成され、バッテリー蓋903を外してメインケース901を開口することにより充電池を内蔵したバッテリーパックを取り外すことが可能である。
Next, the external appearance of the
また、バッテリーチャージャ900とプリンタ800との装着面(接続面)には、電気的に接続するための本体用コネクタ904と、機械的に取り付け及び固定するための固定ビス905,906を有し、図1の矢印A方向にプリンタ本体に接続することによって、プリンタ800はバッテリー駆動可能になる。さらにバッテリーチャージャ900の天面には、バッテリーの充電状態を示す充電表示部909を有し、バッテリーチャージャ900の側面には、ACアダプターケーブルを差し込むCHG−DCinジャック907と、バッテリーチャージャ900を取り付けたときにプリンタ800のDCinジャック817を覆うための目隠し板908が設けられている。
Further, the mounting surface (connection surface) between the
クレイドル950は、プリンタ800にバッテリーチャージャ900を取り付けた状態で、図1の矢印B方向に挿入することにより置き台として機能する。なお、クレイドル950には、プリンタ800とバッテリーチャージャ900とを取り付けた場合にも、CHG−DCinジャック907にACアダプターケーブルを差し込んで充電が可能なように、開口部956が設けられている。
The
図2はプリンタ800にバッテリーチャージャ900を装着した状態を、プリンタ背面側で且つプリンタ天面側を斜め上から見た斜視図である。
FIG. 2 is a perspective view of the state in which the
図2に示すように、プリンタ800の背面にバッテリーチャージャ900を取り付け、固定ビス905,906で固定することにより、プリンタ800は、バッテリー駆動可能なプリンタとなる。
As shown in FIG. 2, by attaching a
また、前述したように、バッテリーチャージャ900に設けられた目隠し板908により、プリンタ800のDCinジャック817を覆うように構成されている。このため使用者はバッテリーチャージャ900の取り付け時には、ACアダプターケーブルを間違いなくバッテリーチャージャ900のCHG−DCinジャック907側に差し込むことになるので、誤挿入を防止することができる。
Further, as described above, the
バッテリーチャージャ900の背面には、メインケース901に設けられた4ヶ所の足部901a,901b,901c,901dが設けられている。また、その背面には、クレイドル950に取り付けたときに電気的にコンタクトするための接点部910a,910b,910cが設けられている。
On the back surface of the
さらに図2に示すように、バッテリーチャージャ900の充電表示部909は、プリンタ800を装着し、記録のために使用する時に視認しやすい天面で、且つ給紙カバー803を開いていた時にも視認を遮られない位置に配されている。
Further, as shown in FIG. 2, the charging
図3はプリンタ800の内部構成を示す斜視図である。
FIG. 3 is a perspective view showing the internal configuration of the
図3に示されているように、記録ヘッド105はキャリッジ104に搭載されてガイドレール103に沿って長手方向に往復運動可能となっている。記録ヘッド105より吐出されたインクは、記録ヘッド105と微小な間隔をおいて、プラテン(不図示)に記録面を規制された記録媒体102に達し、その上に画像を形成する。
As shown in FIG. 3, the
記録ヘッド105には、フレキシブルケーブル119を介して画像データに応じて記録信号が供給される。
A recording signal is supplied to the
なお、図3において、114はキャリッジ104をガイドレール103に沿って走査させるためのキャリッジモータである。113はキャリッジモータ114の駆動力をキャリッジ104に伝達するキャリッジベルトである。また、118は搬送ローラ101に結合して記録媒体102を搬送させるための搬送モータである。
In FIG. 3,
また、記録ヘッド105はインクタンク105bと結合してヘッドカートリッジを構成する。このヘッドカートリッジは記録ヘッドとインクタンクとが分離可能な構成でも良いし、一体化した構成でも良い。
The
図4は図1〜図3に示したプリンタ800の制御構成を示すブロック図である。
FIG. 4 is a block diagram showing a control configuration of the
図4に示すように、コントローラ600は、MPU601、後述する制御シーケンスに対応したプログラム、所要のテーブル、その他の固定データを格納したROM602、キャリッジモータ114の制御、搬送モータ118の制御、及び、記録ヘッド3の制御のための制御信号を生成する特殊用途集積回路(ASIC)603、画像データの展開領域やプログラム実行のための作業用領域等を設けたRAM604、MPU601、ASIC603、RAM604を相互に接続してデータの授受を行うシステムバス605、以下に説明するセンサ群からのアナログ信号を入力してA/D変換し、デジタル信号をMPU601に供給するA/D変換器606などで構成される。
As shown in FIG. 4, the
また、図4において、610は画像データの供給源となるコンピュータ(或いは、画像読取り用のリーダやデジタルカメラなど)でありホスト装置と総称される。ホスト装置610と記録装置1との間ではインタフェース(I/F)611を介して画像データ、コマンド、ステータス信号等を送受信する。この実施例では、インタフェース611はUSB規格に準拠したインタフェースとする。
In FIG. 4,
さらに、620はスイッチ群であり、電源スイッチ621、プリント開始を指令するためのプリントスイッチ622、及び記録ヘッド105のインク吐出性能を良好な状態に維持するための処理(回復処理)の起動を指示するための回復スイッチ623など、操作者による指令入力を受けるためのスイッチから構成される。630はホームポジションを検出するためのフォトカプラなどの位置センサ631、環境温度を検出するために記録装置の適宜の箇所に設けられた温度センサ632等から構成される装置状態を検出するためのセンサ群である。
Further,
さらに、640はキャリッジ104をガイドレール103に沿って往復走査させるためのキャリッジモータ114を駆動させるキャリッジモータドライバ、642は記録媒体102を搬送するための搬送モータ118を駆動させる搬送モータドライバである。
Further,
ASIC603は、記録ヘッド105による記録走査の際に、RAM602の記憶領域に直接アクセスしながら記録ヘッドに対して記録素子(吐出ヒータ)の駆動データ(DATA)を転送する。
The
なお、記録ヘッド105の内部にはヘッド温度を測定するためのヘッド温度センサ105aが設けられている。
A
また、プリンタ800にはAC電源やDC電源からの電力供給がなくなっても計時動作を続行することが可能なように小型電池(リチウム電池、ニッケル水素電池、アルカリボタン電池、酸化銀電池、空気亜鉛電池など)608からの電力供給を受けて動作可能なタイマ607が備えられている。そして、タイマ607によって計測された時刻はEEPROMなどの不揮発性メモリ609に格納される。なお、不揮発性メモリとしてはEEPROMの他に、FeRAM、MRAMなどを用いても良い。
In addition, the
なお、この記録装置は、AC電源とDC(電池)電源両用であるので、ACアダプタ(不図示)からのAC電力が供給されて動作している状態で、ACアダプタが引き抜かれたとしても、DC(電池)から電力が供給されて動作を継続することが可能である。このため、この記録装置はACアダプタ駆動か電池駆動かを判別する機構を備える。このような機構は、公知であるので、ここでの詳細な説明は省略する。 Since this recording apparatus is for both AC power supply and DC (battery) power supply, even if the AC adapter is pulled out while AC power is supplied from an AC adapter (not shown), The power can be supplied from the DC (battery) and the operation can be continued. For this reason, this recording apparatus is provided with a mechanism for discriminating between AC adapter driving and battery driving. Since such a mechanism is known, detailed description thereof is omitted here.
図5はUSBインタフェースの周辺部と電源供給部についての詳細な構成を示すブロック図である。このプリンタは、USBインタフェースを介してPictBridge(ピクトブリッジ)対応のデジタルカメラやデジタルビデオからの直接入力が可能となっている。 FIG. 5 is a block diagram showing a detailed configuration of the peripheral part and the power supply part of the USB interface. This printer can directly input from a digital camera or digital video compatible with PictBridge via a USB interface.
また、プリンタ800は、電池電圧検出機構と、その電池電圧検出機構により検出した電池電圧から電池残量を推測する機構を備えている。なお、図5はUSBインタフェースの周辺部と電源供給部についての詳細な構成を示す図なので、図4で既に説明した構成要素には同じ参照番号が付されており、その説明は省略し、ここでは、図4で言及しなかった部分についてのみ説明する。
The
MPU601とROM602とはROMバス618で接続されている。さらに、MPU601にはUSBホストコントローラ616が接続され、USBポート611aに接続されたPictBridge対応のデジタルカメラなどとプリンタとの間のデータの受け渡しを管理する。
The
ACアダプタ(不図示)からのDCinジャック817を介する電力と電池608からの電力のいずれかが、DC−DCコンバータ614に入力される。DC−DCコンバータ614は、入力電圧をプリンタ800に必要な電圧に変換する。レギュレータ613はDC−DCコンバータ614からの入力電圧をUSBのVbus用に5Vに変換して出力する。Vbusスイッチ612はVbusスイッチ制御線617を介してMPU601によりそのON/OFFが制御される。
Either the power from the AC adapter (not shown) via the
Vbusスイッチ612がONの時はUSBポート611aに接続されたUSBデバイス(例えば、デジタルカメラ)に対してレギュレータ613からのVbusを介して電力供給が可能な状態である。これに対して、Vbusスイッチ612がOFFの時はVbusからの電力供給を遮断することが可能である。
When the
さて、電池608からの入力電圧は、図に示すように抵抗により分圧されてMPU601のADポートに入力される。この機構により、MPU601は常に電池608の電圧を検出することが可能であり、ROM602内に格納されている電圧テーブルとその検出電圧を比較して、電池残量を推測することが可能である。
Now, the input voltage from the
次に、その電池電圧検出シーケンスについて説明する。 Next, the battery voltage detection sequence will be described.
図6は電池電圧検出シーケンスを示すフローチャートである。 FIG. 6 is a flowchart showing a battery voltage detection sequence.
プリンタ800は、複数のモータ(例えば、キャリッジモータや搬送モータ)や記録ヘッド105を備え、それぞれが独立したシーケンスで駆動されるので、負荷が一定ではない。一方、電池残量を電池電圧から推測するためには、負荷が一定の状態でなければならないため、電池電圧検出は、負荷が一定になるタイミングで行われるように、規定のシーケンスに従って実行される。バスパワード機器がUSBポートに接続されると、Vbusが供給されるため電流が増加し、電池電圧が一時的に一定量低下する。
The
まずステップS201において、VbusをONにしてから100ms待機し、その後電池電圧(Von)を検出する。
次に、ステップS202では、USBポート611aのD+端子が、例えば、5Vにプルアップされているどうかを調べる。ここで、D+端子がプルアップされていると判断されたなら、USB規格に準拠したデバイスが接続された可能性があると判断し、処理はステップS203に進む。この場合、MPU105は、接続されたUSBデバイスとのエニュミュレーション(Enumeration)を開始する。これに対して、D+端子がプルアップされていないと判断されたなら、USB規格に準拠したデバイスは接続されていないと判断し、処理はステップS206へ進む。なお、USBの仕様に従えば、USBデバイスは、Vbusに電力を供給されてから100ms以内にD+端子を5Vにプルアップしなければならないのである。
First, in step S201, Vbus is turned on, waits for 100 ms, and then the battery voltage (V on ) is detected.
Next, in step S202, it is checked whether or not the D + terminal of the
ステップS203では、新しく検出した電池電圧と前回検出した電圧とを比較し、新しく検出された電池電圧の電圧降下が一定値以上となっているかどうかを調べる。ここで、その電圧降下が一定以上であれば、USBポート611aに接続されたUSB規格に準拠していないデバイスに対してVbus電力を供給しているため負荷が増加している可能性があると判断し、処理はステップS204へ進む。そして、VbusをOFFして電池電圧(Voff)を検出する。これに対して、その電圧降下が一定値未満であれば、処理はステップS201に戻り、通常の電池電圧検出を行う。
In step S203, the newly detected battery voltage is compared with the previously detected voltage to check whether the voltage drop of the newly detected battery voltage is equal to or greater than a certain value. Here, if the voltage drop is above a certain level, the load may increase because Vbus power is supplied to a device that does not conform to the USB standard connected to the
なお、ステップS204において、VbusをOFFすると、Vbusからの電力供給が停止するため、負荷が減ることが予測される。従って、ステップS205では、ステップS204での電池電圧検出結果(Voff)とステップS201での電池電圧検出結果(Von)とを比較して、その電圧上昇が一定値(V0)であるかどうかを調べる。ここで、Voff−Von≧V0であれば、その電圧上昇は一定値以上であると判断し、USBポート611aにはUSB規格に準拠していないデバイスが接続されていると確定し、処理はステップS206に進む。これに対して、Voff−Von<V0であれば、処理はステップS201に戻り、通常の電池電圧検出を行う。
In step S204, when Vbus is turned off, power supply from Vbus is stopped, so that the load is predicted to decrease. Therefore, in step S205, the battery voltage detection result (V off ) in step S204 is compared with the battery voltage detection result (V on ) in step S201, and whether the voltage increase is a constant value (V 0 ). Find out. Here, if V off −V on ≧ V 0, it is determined that the voltage rise is a certain value or more, and it is determined that a device that does not conform to the USB standard is connected to the
そして、ステップS206では、プリンタ800に設定した任意時間VbusをOFFしたままにし、USB規格に準拠していないデバイスに対して、Vbusからの電力供給を禁止する。このように、USB規格に準拠していないバスパワード機器が接続されたことが確認されたなら、必要に応じてVbusによる電力供給を一定時間OFFにすることにより、電池の電力消費を抑えるということが可能になる。
In step S206, the arbitrary time Vbus set in the
ただし、Vbusへの電力供給は一定時間OFFにしたら、新たにUSB機器が接続されるのに備えて、また、100ms間ONにする必要がある。 However, if the power supply to Vbus is turned off for a certain time, it is necessary to turn it on for 100 ms in preparation for newly connecting a USB device.
なお、接続されたデバイスがUSB規格に準拠したものかどうかをより正確に判断するために、ステップS201〜S205のシーケンスを複数回実施してもよい。 Note that the sequence of steps S201 to S205 may be performed a plurality of times in order to more accurately determine whether the connected device conforms to the USB standard.
従って以上説明した実施例に従えば、例えば、PictBridge対応デバイスなどのUSB規格に準拠したデバイスとの接続専用に用意してあるUSBポートに、USB規格に準拠していないバスパワードデバイスが接続されても、Vbusより電力供給をし続けることを禁止するので、この実施例のような電池駆動可能なタイプのプリンタの電池電力の浪費を防ぐと共に、不必要な負荷への電力供給が停止されるので、負荷が軽減され、本来備えている電池残量検出機構の精度を高めることが可能である。 Therefore, according to the embodiment described above, for example, a bus-powered device that does not comply with the USB standard is connected to a USB port prepared exclusively for connection with a device that conforms to the USB standard such as a PictBridge compatible device. However, since it is prohibited to continue power supply from Vbus, waste of battery power of the battery-driven type printer as in this embodiment is prevented and power supply to unnecessary loads is stopped. It is possible to reduce the load and improve the accuracy of the battery remaining amount detection mechanism that is originally provided.
なお、この実施例では、USBポートを備えた電池駆動可能なプリンタを例として説明したが、本発明はこれによって限定されるものではない。例えば、USBポートを備えたラップトップパーソナルコンピュータやパームトップの携帯情報端末(PDA)などにも本発明は適用可能である。 In this embodiment, a battery-driven printer having a USB port has been described as an example. However, the present invention is not limited to this. For example, the present invention can be applied to a laptop personal computer provided with a USB port, a palmtop personal digital assistant (PDA), and the like.
本発明の活用例としては、電池電源で駆動可能な携帯電子機器、例えば、PictBridge対応のデバイスを接続するための専用USBポートを備えるプリンタが考えられる。特に、具体的な用途としては、そのようなUSBポートを特定用途のデバイス(例えば、PictBridge対応のデジタルカメラやデジタルビデオ)の接続専用に用いたい時に有効である。 As an application example of the present invention, a portable electronic device that can be driven by a battery power source, for example, a printer having a dedicated USB port for connecting a PictBridge compatible device is conceivable. In particular, it is effective when the USB port is used exclusively for connection of a device for a specific purpose (for example, a digital camera or digital video compatible with PictBridge) as a specific application.
601 MPU
602 ROM
604 RAM
608 電池
611a USBポート
612 Vbusスイッチ
613 レギュレータ
614 DC−DCコンバータ
616 USBホストコントローラ
617 Vbusスイッチ制御線
601 MPU
602 ROM
604 RAM
608
613
Claims (6)
前記USBインタフェースを介して接続された外部機器に対して電力供給するバスと、
前記バスを介した電力供給のON/OFFを行うスイッチと、
前記USBインタフェースを介して接続された外部機器がUSB規格に準拠した機器であるかどうかを決定する決定手段と、
前記決定手段による決定結果に従って、前記スイッチを用いて前記外部機器に対する電力供給を制御する制御手段とを有することを特徴とする電子機器。 An electronic device that can be connected to an external device via a USB interface and can be driven by a battery power source,
A bus for supplying power to an external device connected via the USB interface;
A switch for turning ON / OFF the power supply via the bus;
Determining means for determining whether an external device connected via the USB interface is a device compliant with the USB standard;
An electronic apparatus comprising: a control unit that controls power supply to the external device using the switch according to a determination result by the determination unit.
前記外部機器に対し前記バスを介した電力供給を行っているときの電池電圧を測定する第1の測定手段と、
前記第1の測定手段によって測定された複数回の電池電圧を比較し、前回の測定結果と今回の測定結果との間に所定値以上の電圧降下があるかどうかを判別する第1の判別手段と、
前記第1の判別手段による判別結果に従って、前記外部機器に対する前記バスを介した電力供給を停止し、電力供給を行っていないときの電池電圧を測定する第2の測定手段と、
前記第1及び第2の測定手段により測定された電池電圧を比較し、前記電力供給を行っていないときの電池電圧が前記電力供給を行っているときの電池電圧から所定値以上上昇しているかどうかを判別する第2の判別手段とを有し、
前記第2の判別手段による判別結果に従って、前記接続された外部機器がUSB規格に準拠した機器であるかどうかを決定することを特徴とする請求項1に記載の電子機器。 The determining means includes
First measuring means for measuring a battery voltage when power is supplied to the external device via the bus;
A first discriminating unit that compares a plurality of battery voltages measured by the first measuring unit and discriminates whether or not there is a voltage drop of a predetermined value or more between the previous measurement result and the current measurement result. When,
In accordance with the determination result by the first determination means, the second measurement means for stopping the power supply to the external device via the bus and measuring the battery voltage when the power supply is not performed;
Whether the battery voltage measured by the first and second measuring means is compared, and the battery voltage when the power supply is not performed is increased by a predetermined value or more from the battery voltage when the power supply is performed Second determining means for determining whether or not
2. The electronic device according to claim 1, wherein whether or not the connected external device is a device compliant with the USB standard is determined according to a determination result by the second determination unit.
前記第3の判別手段による判別結果に従って、前記接続された外部機器がUSB規格に準拠した機器であるかどうかを決定することを特徴とする請求項2に記載の電子機器。 The determining means further includes third determining means for determining whether or not a voltage of a specific signal line of the USB interface is pulled up to a predetermined voltage,
3. The electronic device according to claim 2, wherein whether or not the connected external device is a device compliant with the USB standard is determined according to a determination result by the third determination unit.
前記USB規格に準拠した外部機器はPictBridge対応のデバイスであることを特徴とする請求項1乃至4のいずれかに記載の電子機器。 The electronic device is a printer;
5. The electronic device according to claim 1, wherein the external device conforming to the USB standard is a device corresponding to PictBridge.
前記USBインタフェースを介して接続された外部機器がUSB規格に準拠した機器であるかどうかを決定する決定工程と、
前記決定工程における決定結果に従って、前記バスを介した電力供給のON/OFFを行うスイッチを用いて前記外部機器に対する電力供給を制御する制御工程とを有することを特徴とする電子機器の電力供給制御方法。
A power supply control method for an electronic device that can be connected to an external device via a USB interface and can supply power to the external device via a bus and can be driven by a battery power source,
A determination step of determining whether an external device connected via the USB interface is a device compliant with the USB standard;
A control step of controlling power supply to the external device using a switch for turning ON / OFF the power supply via the bus according to a determination result in the determination step. Method.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2004194294A JP2006018466A (en) | 2004-06-30 | 2004-06-30 | Electronic apparatus and power supply control method therefor |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2004194294A JP2006018466A (en) | 2004-06-30 | 2004-06-30 | Electronic apparatus and power supply control method therefor |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2006018466A true JP2006018466A (en) | 2006-01-19 |
Family
ID=35792698
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2004194294A Withdrawn JP2006018466A (en) | 2004-06-30 | 2004-06-30 | Electronic apparatus and power supply control method therefor |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2006018466A (en) |
Cited By (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2008158840A (en) * | 2006-12-25 | 2008-07-10 | Nikon Corp | Electronics |
| US7987376B2 (en) | 2008-10-31 | 2011-07-26 | Kabushiki Kaisha Toshiba | Power supply controller configured to supply power to external device and modules of computer system according to the selected power supply mode |
| JP2014104700A (en) * | 2012-11-29 | 2014-06-09 | Brother Ind Ltd | Printing device |
| KR101451853B1 (en) * | 2009-01-06 | 2014-10-23 | 삼성전자주식회사 | Image forming apparatus, integrated interface apparatus, and method of using option unit |
| CN109459918A (en) * | 2017-09-06 | 2019-03-12 | 兄弟工业株式会社 | image forming apparatus |
| JP2020082647A (en) * | 2018-11-30 | 2020-06-04 | ブラザー工業株式会社 | Holding base |
| US11181962B2 (en) | 2019-11-27 | 2021-11-23 | Samsung Electronics Co., Ltd. | Portable storage devices and methods of operating portable storage devices |
-
2004
- 2004-06-30 JP JP2004194294A patent/JP2006018466A/en not_active Withdrawn
Cited By (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2008158840A (en) * | 2006-12-25 | 2008-07-10 | Nikon Corp | Electronics |
| US8539266B2 (en) | 2006-12-25 | 2013-09-17 | Nikon Corporation | Electronic device |
| US7987376B2 (en) | 2008-10-31 | 2011-07-26 | Kabushiki Kaisha Toshiba | Power supply controller configured to supply power to external device and modules of computer system according to the selected power supply mode |
| US8407495B2 (en) | 2008-10-31 | 2013-03-26 | Kabushiki Kaisha Toshiba | Information processor and power supply method for an information processor |
| KR101451853B1 (en) * | 2009-01-06 | 2014-10-23 | 삼성전자주식회사 | Image forming apparatus, integrated interface apparatus, and method of using option unit |
| JP2014104700A (en) * | 2012-11-29 | 2014-06-09 | Brother Ind Ltd | Printing device |
| CN109459918A (en) * | 2017-09-06 | 2019-03-12 | 兄弟工业株式会社 | image forming apparatus |
| CN109459918B (en) * | 2017-09-06 | 2023-01-31 | 兄弟工业株式会社 | image forming device |
| JP2020082647A (en) * | 2018-11-30 | 2020-06-04 | ブラザー工業株式会社 | Holding base |
| JP7188027B2 (en) | 2018-11-30 | 2022-12-13 | ブラザー工業株式会社 | holding base |
| US11181962B2 (en) | 2019-11-27 | 2021-11-23 | Samsung Electronics Co., Ltd. | Portable storage devices and methods of operating portable storage devices |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP4208586B2 (en) | Charging device and charging control method thereof | |
| EP1517222A1 (en) | Electronic apparatus that conserves energy | |
| JP3990990B2 (en) | Charging device, electronic device, battery remaining amount display control method in charging device, battery remaining amount detection method in electronic device | |
| US7052105B2 (en) | Battery residual capacity detection method and printing apparatus using the method | |
| JP2006018466A (en) | Electronic apparatus and power supply control method therefor | |
| US11527902B2 (en) | Electronic device, printing apparatus, and method for controlling electronic device | |
| US7524011B2 (en) | Temperature detection method and printing apparatus using the same | |
| JP4724331B2 (en) | Ink jet printer performing power control and control method of ink jet printer | |
| JP2009165268A (en) | Power supply and electrical equipment | |
| JP2011062886A (en) | Printer, program, and task control method | |
| JP2009113207A (en) | Battery level detection method | |
| JP2004322599A (en) | Recording device | |
| EP1442888A2 (en) | Printing apparatus and printing apparatus control method | |
| US11496643B2 (en) | Information processing apparatus and control method for determining whether to limit processing based on switch information | |
| JP4497818B2 (en) | Battery remaining amount detection method and recording apparatus using the method | |
| JP7414562B2 (en) | Electronic equipment and its control method | |
| US20250319712A1 (en) | Recording apparatus and method for controlling the same | |
| US20250135796A1 (en) | Printing apparatus, control method, and storage medium | |
| JP2008107164A (en) | Battery remaining amount detection device and control method of battery remaining amount detection device | |
| JP2007160679A (en) | Inkjet printer, image forming apparatus, and control method | |
| JP2007178392A (en) | Battery remaining capacity detection device, battery remaining capacity detection method, program, and storage medium | |
| JP2004233263A (en) | Battery level detection method | |
| JP2004056909A (en) | Power control method and device using the method | |
| JP2025086728A (en) | Recording device, control method, and program | |
| JP2007160678A (en) | Inkjet printer, image forming apparatus, and control method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A300 | Withdrawal of application because of no request for examination |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20070904 |