JP2005250943A - External connection equipment and processor capable of being supplied with power via interface means - Google Patents
External connection equipment and processor capable of being supplied with power via interface means Download PDFInfo
- Publication number
- JP2005250943A JP2005250943A JP2004062023A JP2004062023A JP2005250943A JP 2005250943 A JP2005250943 A JP 2005250943A JP 2004062023 A JP2004062023 A JP 2004062023A JP 2004062023 A JP2004062023 A JP 2004062023A JP 2005250943 A JP2005250943 A JP 2005250943A
- Authority
- JP
- Japan
- Prior art keywords
- power
- external connection
- interface
- external
- power supply
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Abstract
Description
本発明は、パソコンやPDA等の処理装置に接続され、USB/IEEE1394等のインターフェースを介して電源を供給できる外部接続機器および該外部接続機器が接続される処理装置に関する。 The present invention relates to an external connection device that is connected to a processing device such as a personal computer or a PDA and can supply power via an interface such as USB / IEEE1394, and a processing device to which the external connection device is connected.
USB/IEEE1394等のインターフェースを介して電源を供給できるMO装置、ハードディスク装置等の外部接続機器が広く普及している。これらのインタフェースは、電力供給用のバスを有し、このバス経由でパソコン等の処理装置から外部接続機器に駆動電力を供給することができる。上記外部接続機器が処理装置に接続され、処理装置から上記インタフェースを介して駆動電力を供給している際には、処理装置の消費電力は増加する。
そこで、上記インタフェースを介してコンピュータから駆動電力を供給するドライブ装置において、コンピュータの電源の種別を検出し、能力の低い電源で駆動しているときには、ドライブ装置の消費電力を抑えるようにしたドライブ装置が提案されている(例えば、特許文献1参照)。
Therefore, in the drive device that supplies drive power from the computer via the interface, the drive device detects the type of the power source of the computer and suppresses the power consumption of the drive device when driven by a power source with low capability Has been proposed (see, for example, Patent Document 1).
バッテリで駆動されるノートパソコンやPDA等の処理装置の場合、バッテリ駆動中に上記外部接続機器が接続されると、バッテリの消費電力が増加し、バッテリの消耗が早くなる。
このため、思わぬときにバッテリの残容量が著しく低下し、処理装置が止まってしまうという場合もある。特に、バッテリの残容量が少ないときに、大容量のデータ転送を行うと、データ転送中に処理装置のバッテリが消耗し、処理装置が停止してしまう場合も多々あり、信頼性を低下させる。
ユーザは、処理装置のバッテリーから外部接続機器に電力が供給されていることを必ずしも意識しておらず、また、バッテリの残容量を常にチェックしているわけではなく、さらに、大容量のデータ転送によりどの程度、バッテリが消耗するか分からないので、上記トラブルが起こる可能性は高い。
従来においては、上記インタフェースを介して駆動電力を供給する外部接続機器が処理装置に接続されていることをユーザに知らせる方法がなかった。このため、上記トラブルが発生することが多かった。
In the case of a processing device such as a notebook personal computer or a PDA driven by a battery, if the externally connected device is connected while the battery is driven, the power consumption of the battery increases and the battery is consumed quickly.
For this reason, there is a case where the remaining capacity of the battery is remarkably lowered unexpectedly and the processing apparatus stops. In particular, if a large amount of data is transferred when the remaining capacity of the battery is small, the battery of the processing device may be consumed during the data transfer, and the processing device may be stopped in many cases, thereby reducing reliability.
The user is not necessarily aware that power is being supplied from the battery of the processing device to the externally connected device, and does not always check the remaining capacity of the battery. Therefore, it is difficult to know how much the battery will be consumed, so the possibility of the above troubles is high.
Conventionally, there has been no method for notifying the user that an external connection device that supplies driving power via the interface is connected to the processing device. For this reason, the above trouble often occurs.
一方、上記外部接続機器には、上記インタフェースからの駆動電力で外部接続機器を動作させるモード[以下バスパワー・モード(Bus Power mode)という]と、AC−DC変換を行う電源アダプタから供給される駆動電力で外部接続機器を動作させるモード[以下セルフパワー・モード(Self Power mode)という]を併用できるものもある。
しかし、外部接続機器を駆動中に、バスパワーモードからセルフパワーモードへの切り替えや、セルフパワーモードからバスパワーモードへの切り替えは、例えばUSBバスの場合、reset処理を行う必要があり容易に行うことはできなかった。
すなわち、バスパワーモードからセルフパワーモードへ切り換えるには、一旦USBケーブルを外し再接続し、また、電気的にUSBインタフェースを切る必要がある。外部接続機器の駆動中に行うと、転送中のデータやライトキャッシュされているデータが消失したりデータの破損が発生することがあり、容易に切り替えることはできなかった。
このため、バスパワーモードで動作中にバッテリの残容量が小さくなったとき、あわてて外部接続機器に電源アダプタを接続しても、バスパワーモードからセルフパワーモードへの切り替えが行われず、バッテリの残容量の低下により、処理装置が停止してしまうこともある。
On the other hand, the externally connected device is supplied from a mode in which the externally connected device is operated with driving power from the interface (hereinafter referred to as a bus power mode) and a power adapter that performs AC-DC conversion. Some of them can be used in combination with a mode in which an externally connected device is operated with driving power (hereinafter referred to as a self power mode).
However, switching from the bus power mode to the self power mode or switching from the self power mode to the bus power mode while driving the externally connected device, for example, in the case of a USB bus, requires a reset process and is easily performed. I couldn't.
That is, in order to switch from the bus power mode to the self power mode, it is necessary to disconnect and reconnect the USB cable and to electrically disconnect the USB interface. If it is performed while the externally connected device is being driven, data being transferred or data in the write cache may be lost or data may be damaged, and switching cannot be performed easily.
For this reason, when the remaining capacity of the battery decreases during operation in the bus power mode, even if the power adapter is connected to an external device, the switch from the bus power mode to the self power mode will not be performed. The processing apparatus may stop due to a decrease in the remaining capacity.
また、通常、バッテリで駆動されるノート型パソコン等はバッテリ残量を表示する機能を備えているが、上記バスパワー・モードで動作させる外部接続機器が接続されたとき、現在のバッテリ残容量で正常動作を継続できるか否かを表示することはできず、上記外部接続機器を接続したことによりバッテリ残容量が急速に低下し、正常動作を継続できなくなる場合もあった。
本発明は上記事情に鑑みなされたものであって、本発明の目的は、インタフェースを介して給電される外部接続機器を接続した際に生ずるバッテリ残容量の低下によるトラブルを防止することである。さらに具体的には、上記外部接続機器において、バスパワーモードからセルフパワーモードへの切り替えを容易に行うことができるようにし、また、上記外部接続機器を処理装置に接続したとき、インタフェースを介して給電される外部接続機器が接続されたことを表示したり、現在のバッテリ残容量で正常動作が可能であるかを表示可能とすることにより、バッテリ残容量の低下により処理装置が停止するのを未然に防止することである。
Normally, a notebook computer or the like that is driven by a battery has a function of displaying the remaining battery capacity. However, when an external device that operates in the bus power mode is connected, the current remaining battery capacity is used. Whether or not the normal operation can be continued cannot be displayed, and the remaining battery capacity may be rapidly reduced due to the connection of the externally connected device, and the normal operation may not be continued.
The present invention has been made in view of the above circumstances, and an object of the present invention is to prevent a trouble caused by a decrease in remaining battery capacity that occurs when an externally connected device to which power is supplied via an interface is connected. More specifically, in the externally connected device, switching from the bus power mode to the self-power mode can be easily performed, and when the externally connected device is connected to the processing device, the interface is connected. By displaying that the externally connected equipment to be powered is connected, or by displaying whether or not normal operation is possible with the current remaining battery capacity, the processing device can be stopped due to a decrease in remaining battery capacity. It is to prevent it.
上記課題を本発明においては、次のように解決する。
(1)処理装置に接続され、処理装置からインタフェース手段を介して供給される電源、または、電源供給端子を介して供給される外部電源により駆動される外部接続機器において、上記インタフェース手段を介した電源供給時、電源供給端子に外部電源が接続されたことを検知し、外部電源が接続されたことが検知されたとき、上記処理装置に外部電源駆動に切り替えられたことを通知する。そして、データ転送が行われていない状態を確認したのち、該外部接続機器を休止状態に設定し、該外部接続機器を上記インタフェース手段を介した電源による駆動から、外部電源駆動に切り換え、該外部接続機器をリセットして初期化する。
(2)処理装置に接続され、インタフェース手段を介して処理装置から供給される電源により駆動される外部接続機器において、外部接続機器に、上記インタフェース手段を介して供給される電源により、該装置が駆動可能であるかをテストするためのテストボタンを設ける。
そして、該外部接続機器が非動作時、上記インタフェース手段を介して上記処理装置に該外部接続機器が接続され、上記テストボタンが押されたとき、上記処理装置から所定値以上の電流の引き込みが可能であるかを判定し、この判定結果に基づき、上記インタフェース手段を介した電源供給により該装置が駆動可能であるか否かを表示する。
(3)インタフェース手段を介して電源供給可能な外部接続機器接続される処理装置において、上記処理装置は、バッテリー駆動状態であるか、外部電源使用状態であるかを判断するとともに、上記インタフェース手段を介して電源を供給する外部接続機器が接続されているかを判断し、バッテリ駆動状態で、且つ、上記インタフェース手段を介して電源が供給される外部接続機器が接続されていることが判定されとき、電源低下の恐れがある旨の警告を表示する。
In the present invention, the above problem is solved as follows.
(1) In an externally connected device connected to a processing apparatus and driven by an external power source supplied via a power supply terminal or a power supply supplied from the processing apparatus via an interface means, via the interface means When power is supplied, it is detected that an external power source is connected to the power supply terminal, and when it is detected that an external power source is connected, the processing device is notified that switching to external power source driving has been performed. Then, after confirming the state in which data transfer is not performed, the externally connected device is set to a dormant state, and the externally connected device is switched from being driven by a power source via the interface means to being driven by an external power source. Reset and initialize the connected device.
(2) In an externally connected device connected to a processing device and driven by a power source supplied from the processing device via an interface unit, the device is connected to the externally connected device by a power source supplied via the interface unit. A test button is provided to test whether it can be driven.
When the external connection device is not in operation, the external connection device is connected to the processing device via the interface means, and when the test button is pressed, a current greater than a predetermined value is drawn from the processing device. Whether or not the device can be driven by power supply via the interface means is displayed based on the determination result.
(3) In a processing apparatus connected to an externally connected device capable of supplying power via an interface unit, the processing unit determines whether the battery is driven or an external power source is used, and the interface unit is Determining whether or not an externally connected device that supplies power is connected, and in a battery-powered state, and determining that an externally connected device that is supplied with power via the interface means is connected, Displays a warning that the power may be low.
本発明においては、以下の効果を得ることができる。
(1)外部電源を接続したとき、インタフェース手段を介した電源による駆動から、外部電源駆動に切り換えられるようにしたので、処理装置のバッテリが消耗したとき等に、容易に外部電源駆動への切り替えが可能となる。また、インタフェース手段を介した電源による駆動から、外部電源駆動に切り換えられたことを表示することで、ユーザは、電力供給状況を容易に確認できるようになる。
(2)テストボタンにより、外部接続機器の動作前に、処理装置の電源状況を確認できるようにすることで、外部接続機器の接続中に処理装置のバッテリが消耗し、処理装置から停止してしまうといったトラブルを未然に防ぐこれとができ、装置Read/Write等の動作保障を向上させることができる。また、処理装置のバッテリで動作できない状況であれば、外部接続機器を切り離すことにより、当該接続での動作可能の有無を明確にすることが可能となる。
(3)処理装置がバッテリで動作しているとき、インタフェース手段を介して給電される外部接続機器が接続されたことを表示することにより、ユーザには、バッテリ残量等を考慮して外部電源を利用するなどの対応をすることができ、外部接続機器使用中にバッテリの消耗により、処理装置が停止してしまうといったトラブルを未然に防止することができ、データなどの信頼性向上が可能となる。
In the present invention, the following effects can be obtained.
(1) When an external power supply is connected, it is possible to switch from driving by the power supply via the interface means to external power supply driving. Therefore, when the battery of the processing device is exhausted, switching to the external power supply is easy. Is possible. Further, by displaying that the driving from the power source via the interface means is switched to the external power source driving, the user can easily confirm the power supply status.
(2) By enabling the test button to check the power status of the processing device before the operation of the externally connected device, the battery of the processing device is depleted while the externally connected device is connected, and the processing device is stopped. Therefore, it is possible to prevent the trouble such as the device read / write, and to improve the operation security of the device Read / Write. Further, in a situation where it is not possible to operate with the battery of the processing apparatus, it is possible to clarify whether or not the connection is operable by disconnecting the externally connected device.
(3) When the processing device is operating on a battery, the external power supply is displayed in consideration of the remaining amount of the battery by displaying that the externally connected device to which power is supplied via the interface means is connected. Can be used to prevent problems such as the processing device being stopped due to battery exhaustion while using externally connected devices, and improving the reliability of data, etc. Become.
以下本発明の実施例について説明する。なお、以下の説明では、処理装置がノートパソコンであって、外部接続機器がMO装置の場合について説明するが、バッテリ駆動のものであれば、その他の処理装置に同様に適用することができ、また、外部接続機器もMO装置以外の機器であってもよい。
図1は本発明の実施例の機器構成を示す図である。
同図において、1はバッテリで駆動が可能なノート型パソコン(以下ホスト1という)、2はMO装置である。ホスト1とMO装置はUSB、あるいはIEEE1394などの電力供給用のバスを有するインタフェースを介して接続される。なお、以下では、上記ホストとMO装置がUSBインタフェース(USB1. 1とUSB2. 0の両方を含む)を介して接続される場合について説明する。
ホスト1は、上記USBインタフェース回路1aと、ファイルシステムドライバ、上記MO装置を駆動するドライバ、USBコントローラ等を駆動するドライバ等の各種ドライバ1bと、アプリケーション・プログラム1cを有する。
また、MO装置2は、上記USBインタフェース回路2aと、該インタフェース回路とバスを介して接続されたコンピュータ(MPU)2b、ROM、RAM等から構成されプログラムやデータを格納するた記憶部2c、キャッシュメモリ2d、及び、MOドライブ装置2e等から構成される。
上記インタフェース回路1a,2aは、USBコネクタを有し、USBケーブル3を介して接続される。なお、本実施例のMO装置2は、電源アダプタ4を介して外部から電源を供給するための外部電源端子を備え、図2に示すように、上記USBケーブル3を介して駆動電力を供給するバスパワー(BUS Power)・モードと、上記電源アダプタを介して駆動電力を供給するセルフパワー(Self Power)・モードを併用できるものする。
Examples of the present invention will be described below. In the following description, the processing device is a notebook personal computer and the externally connected device is an MO device. However, if the device is battery-driven, it can be similarly applied to other processing devices. The external connection device may also be a device other than the MO device.
FIG. 1 is a diagram showing a device configuration of an embodiment of the present invention.
In the figure, 1 is a notebook personal computer (hereinafter referred to as host 1) that can be driven by a battery, and 2 is an MO device. The
The
The
The interface circuits 1 a and 2 a have a USB connector and are connected via a
まず、本発明の第1の実施例である、ホスト(又はHUB)にバスパワー・モードで動作するMO装置が接続された際、これをホストの表示装置に表示して、注意を喚起するようにした実施例について説明する。
図3は、ホストにバスパワー・モードで動作するMO装置が接続された際の処理の概要を示すフローチャートである。
ホストは、バッテリ駆動でないときは、USB接続でMO装置が接続されると、MO装置に媒体がセットされているか否かを調べ(ステップS1→S4)、媒体がなければアイドルモードに以降し(ステップS5)、媒体がセットされていれば、媒体にアクセス可能な状態とする(ステップS6,S7)。
また、バッテリ駆動のとき、USB接続でMO装置が接続されると、MO装置がバスパワー・モードであるか、セルフパワーモードであるかを判別する(ステップS2,S3)。バスパワー・モードでなければ、MO装置に媒体がセットされているか否かを調べ、媒体がなければアイドルモードに移行し(ステップS5)、媒体がセットされていれば、媒体にアクセス可能な状態とする(ステップS6,S7)。
また、バスパワー・モードであると、表示画面のウィンドウに、”USBに接続されたdeviceはBUS powerで駆動している為にホストの駆動時間が短くなる恐れがあります。外部電源がある場合は外部電源をご利用ください”と注意のメッセージを表示し(ステップS8)、ステップS4に行く。
First, when an MO device operating in the bus power mode is connected to the host (or HUB) according to the first embodiment of the present invention, this is displayed on the host display device to call attention. The embodiment described above will be described.
FIG. 3 is a flowchart showing an outline of processing when an MO device operating in the bus power mode is connected to the host.
When the MO device is connected by USB connection when the battery is not driven by the host, the host checks whether or not a medium is set in the MO device (step S1 → S4). Step S5) If the medium is set, the medium is accessible (steps S6 and S7).
Further, when the MO device is connected by USB connection during battery driving, it is determined whether the MO device is in the bus power mode or the self power mode (steps S2 and S3). If it is not the bus power mode, it is checked whether or not a medium is set in the MO device. If there is no medium, the mode shifts to the idle mode (step S5). If the medium is set, the medium can be accessed. (Steps S6 and S7).
Also, in the bus power mode, there is a possibility that the drive time of the host will be shortened because the device connected to USB is driven by BUS power in the window of the display screen. Please use the external power supply "message is displayed (step S8), and the process goes to step S4.
図4は、図3においてUSBコネクタ挿入時におけるホスト1のUSBプロトコル処理を示すフローチャート、図5はホストのドライバ構成と上記表示をする仕組みを説明する図である。
図4において、バスパワー・モードで動作するMO装置のUSBコネクタとホストのUSBコネクタをUSBケーブルで接続すると、ホストのUSBプロトコルは、MO装置に対してディスクリプタを取得するためのコマンドを発行するとともに、MO装置のアドレス(ID)を設定する(ステップS1,S2)。ついで、USBインタフェースをリセットし、MO装置からディスクリプタを取得し、MO装置から、パワーモードがバスパワー・モードかセルフパワー・モードかの報告を受ける(ステップS3,S4)。
ホストは、上記MO装置からのディスクプタに基づき、構成情報を設定し、バスパワー・モードであれば、USBケーブルの電力供給用のバスを介して、MO装置に例えば500mAの電流を供給する(ステップS5)。なお、バスパワー・モードで無ければ、セルフパワー・モードとなり上記給電は行わない。
また、Plug in/outドライバを介して、ホストのアプリケーションにバスパワー・モードになったことを通知し(ステップS7)、通常のデータ転送モードに遷移する(ステップS6)。通知を受けたアプリケーションは、ホストの表示画面にバスパワーモードの機器が接続されたことを示すメッセージを表示する。
FIG. 4 is a flowchart showing the USB protocol processing of the
In FIG. 4, when the USB connector of the MO device operating in the bus power mode and the USB connector of the host are connected by a USB cable, the USB protocol of the host issues a command for acquiring a descriptor to the MO device. The address (ID) of the MO device is set (steps S1 and S2). Next, the USB interface is reset, a descriptor is acquired from the MO device, and a report indicating whether the power mode is the bus power mode or the self power mode is received from the MO device (steps S3 and S4).
The host sets configuration information based on the descriptor from the MO device, and in the bus power mode, supplies a current of, for example, 500 mA to the MO device via the USB cable power supply bus ( Step S5). If the bus power mode is not used, the self power mode is set and the power feeding is not performed.
In addition, the host application is notified via the Plug in / out driver that the bus power mode has been entered (step S7), and a transition is made to the normal data transfer mode (step S6). Upon receiving the notification, the application displays a message indicating that a device in the bus power mode is connected on the display screen of the host.
MO装置が接続されるホストは、図5に示すように、MO装置2をコントロールするコントローラ、該コントローラ用のドライバ、コマンドドライバ、Plug in/outドライバ、メディアIDドライバ、MOドライバ、ファイルシステムドライバなどのドライバ類を有し、その上位にアプリケーション・プログラムが設けられている。
図4に示したようにUSBプロトコルから、バスパワー・モードになったことが通知されると、図5に示すように、Plug in/outドライバはバスパワー・モードになったことを認識し、その旨をアプリケーション・プログラムに通知する。これにより、アプリケーション・プログラムは、前記したように例えば図5に示すようなメッセージを表示画面に表示する。この表示は、例えば、USB接続した際、パソコンの画面に表示されるメッセージと同様な表示の仕方で表示される。
以上のように、バスパワー・モードになったことを表示画面上に表示することにより、ユーザの注意を喚起することができ、ユーザは、バッテリ残量等を考慮して外部電源を利用するなどの対応をすることができ、前記したように、MO装置使用中にバッテリの消耗により、パソコンが停止してしまうといったトラブルを未然に防止することができる。
As shown in FIG. 5, the host to which the MO device is connected includes a controller that controls the
When it is notified from the USB protocol that the bus power mode has been entered as shown in FIG. 4, the Plug in / out driver recognizes that the bus power mode has been entered, as shown in FIG. Notify the application program to that effect. As a result, the application program displays, for example, a message as shown in FIG. 5 on the display screen as described above. This display is displayed in the same manner as the message displayed on the screen of the personal computer when the USB connection is made, for example.
As described above, by displaying on the display screen that the bus power mode has been entered, it is possible to alert the user, and the user uses an external power source in consideration of the remaining battery level, etc. As described above, it is possible to prevent the trouble that the personal computer is stopped due to the consumption of the battery while using the MO device.
ところで、前記したように、従来においては、バスパワー・モードからセルフパワー・モードへの切り替えは、一旦、USBケーブルを外して再度接続する必要があり、USBケーブルを接続したまま、外部電源を接続してもセルフパワーモードに切り換えることはできなかった。
本発明では、外部電源を接続することで、USBケーブルを再接続することなく、バスパワー・モードからセルフパワー・モードへの切り替えを可能としたものであり、以下、本発明の第2の実施例である、バスパワー・モードからセルフパワー・モードへ切り替える処理の実施例について説明する。
By the way, as described above, in the prior art, switching from the bus power mode to the self power mode requires the USB cable to be disconnected and then connected again, and the external power supply can be connected with the USB cable connected. Even so, it was not possible to switch to the self-power mode.
In the present invention, it is possible to switch from the bus power mode to the self-power mode without reconnecting the USB cable by connecting an external power supply. Hereinafter, the second embodiment of the present invention will be described. An example of processing for switching from the bus power mode to the self power mode, which is an example, will be described.
図6は外部電源接続時におけるバスパワー・モードからセルフパワー・モードへ切り替え処理を示すフローチャートである。
バスパワー・モードで駆動中のMO装置に、DC電源を接続すると、MO装置からホストにDC電源が接続されたことを通知し、外部電源接続状態であることを示すステイタスを生成する(ステップS1〜S4)。なお、ホストがポーリングによりMO装置にDC電源が接続されたことを検出するようにすることもできる。
これにより、ホストは、MO装置にDC電源が接続されたことを知り、表示画面のウィンドウにDC電源が接続されたこと、USBのコネクタがUn−Plugされることを表示する(ステップT1〜T2)。この処理は、前記第1の実施例で説明したように、USBプロトコルからPlug in/outドライバを介して、ホストのアプリケーションに通知することで行うことができる。
一方、MO装置では、DC電源が接続されたことを通知する割り込みをMO装置の制御プログラム(ファームウェア)にあげる。
MO装置のファームウェアは、インタフェース上でデータ転送が行われておらず、キャッシュに未書き込みデータがない状態であることを確認し、この状態で、装置内をスリープモード(sleep mode)に設定する(ステップS5,S6)。MO装置はサスペンド状態となる。
FIG. 6 is a flowchart showing a process of switching from the bus power mode to the self power mode when an external power supply is connected.
When a DC power supply is connected to the MO device driven in the bus power mode, the MO device notifies the host that the DC power supply is connected, and generates a status indicating that the external power supply is connected (step S1). ~ S4). Note that the host may detect that a DC power source is connected to the MO apparatus by polling.
Thereby, the host knows that the DC power source is connected to the MO apparatus, and displays that the DC power source is connected to the window of the display screen and that the USB connector is unplugged (steps T1 to T2). ). As described in the first embodiment, this processing can be performed by notifying the host application from the USB protocol via the Plug in / out driver.
On the other hand, in the MO device, an interrupt for notifying that the DC power source is connected is given to the control program (firmware) of the MO device.
The firmware of the MO device confirms that there is no data transfer on the interface and that there is no unwritten data in the cache, and in this state, sets the device to sleep mode (sleep mode) ( Steps S5 and S6). The MO device is suspended.
ついで、ファームウェアの制御により、MO装置をバスパワー・モードからセルフパワー・モードに切り換える(ステップS7)。また、インタフェースが一時的に切り離され、ホストからMO装置のUSBインタフェースのリセットが発行される(ステップT3)。
これにより、MO装置のUSBインタフェースが挿抜状態となり、イニシャル(initial)シーケンスが実行される(ステップS8)。すなわち、前記図4に示した処理が行われる。
MO装置は、DC電源駆動に切り換えられ、バスパワー・モードからセルフパワー・モードに切り換えられたことが、LED点滅などで表示される(ステップS9,S10)。なお、上記LEDは、MO装置に設けられた既存のLEDであってもよい。
上記のように、MO装置にDC電源が接続されたとき、バスパワー・モードからセルフパワー・モードに切り換えられるようにすることにより、ホストのバッテリが消耗したとき、容易にDC電源への切り替えが可能となる。
また、表示画面のウィンドウにDC電源が接続されたこと、USBのコネクタがUn−Plugされることを表示したり、バスパワー・モードからセルフパワー・モードに切り換えられたことをLED点滅などで表示することにより、ユーザは、バスパワー・モード、セルフパワー・モードのどちらでMO装置が動作しているのか等、電力供給状況を容易に確認できるようになる。
なお、前記第1の実施例と上記第2の実施例を併用し、バスパワー・モードで駆動されるMO装置が接続されたことを表示画面上に表示するとともに、上記のように、MO装置にDC電源が接続されたとき、バスパワー・モードからセルフパワー・モードに切り換えられるようにしてもよい。
Next, the MO device is switched from the bus power mode to the self power mode under the control of the firmware (step S7). Further, the interface is temporarily disconnected, and a reset of the USB interface of the MO device is issued from the host (step T3).
As a result, the USB interface of the MO device is inserted and removed, and an initial sequence is executed (step S8). That is, the process shown in FIG. 4 is performed.
The MO device is switched to the DC power supply drive, and the fact that the bus power mode is switched to the self power mode is displayed by blinking the LEDs (steps S9 and S10). Note that the LED may be an existing LED provided in the MO device.
As described above, when the DC power source is connected to the MO device, the bus power mode can be switched to the self power mode, so that when the host battery is exhausted, the switching to the DC power source can be easily performed. It becomes possible.
In addition, the display screen window indicates that the DC power supply is connected, the USB connector is unplugged, and the fact that the bus power mode is switched to the self power mode is displayed by blinking LEDs. As a result, the user can easily confirm the power supply status, such as whether the MO device is operating in the bus power mode or the self power mode.
The first embodiment and the second embodiment are used together to display on the display screen that the MO device driven in the bus power mode is connected, and as described above, the MO device When a DC power source is connected to the power source, the bus power mode may be switched to the self power mode.
次に、バスパワー・モードで動作させるMO装置が接続されたとき、現在のバッテリ残容量で正常動作を継続できるか否かをテストするようにした、本発明の第3の実施例について説明する。
図7は、本実施例のMO装置の構成を示す図である。
ホスト1とMO装置2は、USBケーブル3を介して接続され、USBケーブル3は電力供給用バス31とデータ用バス32を備え、これらのバスはMO装置2のUSBコントローラ21に接続される。
MO装置2は、DC電源が供給される電源アダプタ端子22を備え、電源アダプタの抜差しに連動して、受け側のDCジャックの補助接点22aがオン/オフされ、スイッチSW1が制御される。電源アダプタからDC電源が供給されると、スイッチSW1がオフとなり、バスパワー・モードからセルフパワー・モードに切り替わる。
Next, a description will be given of a third embodiment of the present invention in which it is tested whether normal operation can be continued with the current remaining battery capacity when an MO device operating in the bus power mode is connected. .
FIG. 7 is a diagram illustrating the configuration of the MO apparatus according to the present embodiment.
The
The
また、MO装置2は、テストボタンの操作等により動作するテストスイッチSW2と、電流負荷回路23を備え、テストスイッチSW2がオンになると、電流負荷回路23が電力供給用バス31に接続される。テストスイッチSW2はMOコントローラ25のI/Oポート25aと接続され、テストスイッチSW2の状態がMOコントローラ25に与えられる。また、MOコントローラ25により、テストスイッチSW2を制御することもできる。
テストスイッチSW2と電流負荷回路23との間には、電力供給用バス31の電圧を検出するための電圧検出器24が接続され、電圧検出器24により検出された電圧VSは、MO装置2のMOコントローラ25に与えられる。また、MOコントローラ25は、上記電流負荷回路23の負荷電流設定値ILを設定する。
MO装置2には、バスパワーのテスト結果を表示するためのLED26が設けられ、LED26はMOコントローラ25のI/Oポート25bに接続されている。
上記テストボタン、テスト結果を表示するLED26は、例えば、図8に示すように、MO装置の側面、前面などに設けられる。
The
A
The
For example, as shown in FIG. 8, the test button and the
図9は、現在のバッテリ残容量で正常動作を継続できるか否かをテストするための処理を示すフローチャートであり、同図により、本実施例の確認テストについて説明する。
まず、MO装置に媒体を挿入していない状態で、電源アダプタ端子22に電源アダプタを接続し、USBケーブルによりMO装置2をホスト1に接続する。そして、テストボタンを押して、テストスイッチSW2をオンにし、テストモードとする(ステップS1,S2)。上記のように電源アダプタを接続することでUSBコントローラ21、MOコントローラ25、電流負荷回路23などには外部電源が供給され、また、スイッチSW1がオフとなり、電力供給用バス31は、スイッチSW2を介して、電流負荷回路23に接続される。
なお、MO装置のファームウエアにより、上記テストモードに遷移させるようにしてもよい。すなわち、ACアダプタを接続したのち、MO装置2とホスト1をUSBケーブル3で接続したとき等に、MOコントローラ25により、上記テストスイッチSW1をオンにして、テストモードに切り換えるようにしてもよい。
FIG. 9 is a flowchart showing a process for testing whether normal operation can be continued with the current remaining battery capacity. The confirmation test of this embodiment will be described with reference to FIG.
First, in a state where no medium is inserted in the MO device, the power adapter is connected to the
It should be noted that the test mode may be changed by the firmware of the MO apparatus. That is, after connecting the AC adapter, when the
テストモードになると、MOコントローラ25は、電流負荷回路23の電流負荷ILの値を時間とともに増加させ、また、各電流値において電圧検出器24により検出された電圧VSを読み込む。例えば、電流負荷設定値を0.4A,0.5A,0.6Aのように増加させ、各電流負荷における電圧VSを読み込む。上記のように電流負荷回路23の電流負荷を設定すると、ホスト1のバッテリから電力供給用バス31を介して、上記電流負荷に応じた電流が電流負荷回路23に流れ込む。
ホスト1のバッテリの残容量が十分あれば、上記のように電流を引き込んだとき、上記電圧検出器24による検出電圧VSは、あまり低下しないが、バッテリの残容量が少ないと、図10に示すように、電流負荷の値がある値を超えたとき、電圧VSが急激に低下する。
MOコントローラ25は、ホストのバッテリからどの程度の電流引き込みが可能か判別する(図9のステップS3)。例えば5Vで、500mAまで電流の引き込みが可能であれば(500mAの電流を引き込んでも電圧が低下しない)、バッテリ残量は十分にあると判断し、MO装置のLED26を緑色に点灯させ、バスパワーで使用可能であることを表示する(図9のステップS4)。これにより、バスパワーによりMO装置が駆動できることが確認され、ユーザはテストボタンを離して、テストを終了する(ステップS5)。
In the test mode, the
If the remaining capacity of the battery of the
The
一方、500mAまで電流の引き込みが可能でない場合には、バッテリ残量が十分でないと判断し、MO装置のLED26を消灯する。また、バスパワーの供給を停止し、ホストとの接続を切り離す(ステップS6)。これにより、バスパワーによりMO装置が駆動できないことが分かり、ユーザはテストボタンを離して、テストを終了し、USBケーブルをコネクタから引き抜く(ステップS7)。
上記のように、MO装置にテストボタンを設け、テストボタンを押したとき、電流供給用バスを介して、ホストのバッテリからどの程度の電流引き込みが可能か判別することにより、バスパワーでMO装置を駆動できるか否かを判別することができ、これにより、バスパワーでMO装置を駆動中に、ホストのバッテリが消耗し、ホストが停止してしまうといったトラブルを未然に防ぐことができる。
なお、上記第3の実施例で説明したテスト機能に加え、前記第2の実施例で説明したバスパワーからセルフパワーへの切り替え機能をMO装置に設けてもよく、さらに、前記第1の実施例で説明した機能をホストに設けてもよい。
On the other hand, if the current cannot be drawn up to 500 mA, it is determined that the remaining battery level is not sufficient, and the
As described above, the MO device is provided with a test button, and when the test button is pressed, by determining how much current can be drawn from the host battery via the current supply bus, the MO device can be operated with bus power. Thus, it is possible to prevent a problem that the host battery is consumed and the host stops while the MO device is being driven by bus power.
In addition to the test function described in the third embodiment, the MO device may be provided with a function of switching from bus power to self power described in the second embodiment. The function described in the example may be provided in the host.
1 ホスト(ノート型パソコン)
2 MO装置
21 USBコントローラ
22 電源アダプタ端子
23 電流負荷回路
24 電圧検出器
25 MOコントローラ
26 LED
3 USBケーブル
31 電力供給用バス
32 データ用バス
4 電源アダプタ
1 Host (notebook computer)
2
3 USB cable 31 Power supply bus 32 Data bus 4 Power adapter
Claims (3)
上記外部接続機器は、上記インタフェース手段を介した電源供給時、電源供給端子に外部電源が接続されたことを検知する検知手段と、
上記検知手段により、外部電源が接続されたことが検知されたとき、上記処理装置に外部電源駆動に切り替えられたことを通知する手段と、
データ転送が行われていない状態を確認したのち、該外部接続機器を休止状態に設定し、該外部接続機器を上記インタフェース手段を介した電源による駆動から、外部電源駆動に切り換える電源切り換え手段と、
該外部接続機器をリセットして初期化する手段を備えた
ことを特徴とするインタフェース手段から電源供給可能な外部接続機器。 A power source connected to the processing device and supplied from the processing device via the interface means, or an external connection device driven by an external power source supplied via the power supply terminal,
The externally connected device, when supplying power via the interface means, detecting means for detecting that an external power supply is connected to the power supply terminal;
Means for notifying that the processing device has been switched to the external power drive when the detection means detects that an external power supply is connected;
After confirming the state where data transfer is not performed, the externally connected device is set to a dormant state, and the externally connected device is switched from driving by the power source through the interface unit to external power source driving means, and
An external connection device capable of supplying power from interface means, comprising means for resetting and initializing the external connection device.
上記外部接続機器は、上記インタフェース手段を介して供給される電源により、該装置が駆動可能であるかをテストするためのテストボタンと、
該外部接続機器が非動作時、上記インタフェース手段を介して上記処理装置に該外部接続機器が接続され、上記テストボタンが押されたとき、上記処理装置から所定値以上の電流の引き込みが可能であるかを判定する判定手段と、
上記判定結果に基づき、上記インタフェース手段を介した電源供給により該装置が駆動可能であるか否かを表示する手段とを備えた
ことを特徴とするインタフェース手段から電源供給可能な外部接続機器。 An external connection device connected to the processing device and driven by a power source supplied from the processing device via the interface means,
The external connection device is a test button for testing whether the device can be driven by the power supplied via the interface means;
When the externally connected device is not operating, the externally connected device is connected to the processing device via the interface means, and when the test button is pressed, a current greater than a predetermined value can be drawn from the processing device. Determination means for determining whether there is,
An external connection device capable of supplying power from the interface means, comprising: means for displaying whether or not the device can be driven by power supply via the interface means based on the determination result.
上記処理装置は、バッテリー駆動状態であるか、外部電源使用状態であるかを判断する第1の判定手段と、
上記インタフェース手段を介して電源を供給する外部接続機器が接続されているかを判断する第2の判定手段と、
上記第1の判定手段によりバッテリ駆動状態と判定され、且つ、上記第2の判定手段により、上記インタフェース手段を介して電源が供給される外部接続機器が接続されていることが判定されとき、電源低下の恐れがある旨の警告を表示する手段を備えた
ことを特徴とする処理装置。
A processing device connected to an external connection device capable of supplying power via an interface means,
The processing apparatus includes: a first determination unit that determines whether the battery is in a battery-driven state or an external power supply usage state;
Second determination means for determining whether or not an external connection device for supplying power is connected via the interface means;
When the first determination means determines that the battery is driven and the second determination means determines that an externally connected device to which power is supplied via the interface means is connected, A processing apparatus comprising means for displaying a warning that there is a risk of a decrease.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004062023A JP2005250943A (en) | 2004-03-05 | 2004-03-05 | External connection equipment and processor capable of being supplied with power via interface means |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004062023A JP2005250943A (en) | 2004-03-05 | 2004-03-05 | External connection equipment and processor capable of being supplied with power via interface means |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2005250943A true JP2005250943A (en) | 2005-09-15 |
Family
ID=35031356
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004062023A Pending JP2005250943A (en) | 2004-03-05 | 2004-03-05 | External connection equipment and processor capable of being supplied with power via interface means |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2005250943A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008225993A (en) * | 2007-03-14 | 2008-09-25 | Pfu Ltd | Power supply control circuit and scanner device |
KR100972271B1 (en) | 2006-03-23 | 2010-07-23 | 산요덴키가부시키가이샤 | Integrated circuit and signal processing device using the same |
KR100979845B1 (en) | 2006-03-23 | 2010-09-02 | 산요덴키가부시키가이샤 | Intergrated circuit and signal processing device using the same |
JP2015212930A (en) * | 2014-04-09 | 2015-11-26 | ノキア コーポレイション | Method and apparatus for determining direction of power delivery |
JP2016207139A (en) * | 2015-04-28 | 2016-12-08 | リズム時計工業株式会社 | Actual value check system of usb power supply |
JP2018007451A (en) * | 2016-07-04 | 2018-01-11 | キヤノン株式会社 | Information processing unit, information processing method and program |
JP2019119610A (en) * | 2019-02-01 | 2019-07-22 | ジャパンエレベーターサービスホールディングス株式会社 | Elevator |
-
2004
- 2004-03-05 JP JP2004062023A patent/JP2005250943A/en active Pending
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100972271B1 (en) | 2006-03-23 | 2010-07-23 | 산요덴키가부시키가이샤 | Integrated circuit and signal processing device using the same |
KR100979845B1 (en) | 2006-03-23 | 2010-09-02 | 산요덴키가부시키가이샤 | Intergrated circuit and signal processing device using the same |
JP2008225993A (en) * | 2007-03-14 | 2008-09-25 | Pfu Ltd | Power supply control circuit and scanner device |
JP2015212930A (en) * | 2014-04-09 | 2015-11-26 | ノキア コーポレイション | Method and apparatus for determining direction of power delivery |
US9904267B2 (en) | 2014-04-09 | 2018-02-27 | Nokia Technologies Oy | Method and apparatus for determining direction of power delivery |
JP2016207139A (en) * | 2015-04-28 | 2016-12-08 | リズム時計工業株式会社 | Actual value check system of usb power supply |
JP2018007451A (en) * | 2016-07-04 | 2018-01-11 | キヤノン株式会社 | Information processing unit, information processing method and program |
JP2019119610A (en) * | 2019-02-01 | 2019-07-22 | ジャパンエレベーターサービスホールディングス株式会社 | Elevator |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6274949B1 (en) | Back-up power accessory for a computer | |
US6963933B2 (en) | Data transfer control device, electronic equipment, and power supply switching method | |
KR920002245B1 (en) | Portable computer operated by batteries | |
US7423355B2 (en) | Power controller, apparatus provided with backup power supply, program for controlling power, and method for controlling power | |
US8321620B2 (en) | Computer system for supplying electric power to external apparatus and control method thereof | |
CN100399314C (en) | Information processing apparatus and operation control method | |
JP6544008B2 (en) | Electrical apparatus and control method thereof | |
JP5301008B1 (en) | ELECTRONIC DEVICE, CHARGE CONTROL DEVICE, AND CHARGE CONTROL METHOD | |
JPH06332579A (en) | Power supply system and device provided with said power supply system | |
WO2017022169A1 (en) | Battery control device, electronic apparatus, battery pack, and battery control method | |
TW200809575A (en) | Computer having removable input/output device | |
JP2005250943A (en) | External connection equipment and processor capable of being supplied with power via interface means | |
JP5179454B2 (en) | Computer and power supply | |
JPH07141069A (en) | Portable data processor | |
JPH11191026A (en) | Device and method for discriminating power source and hardware faults | |
JP2010073030A (en) | Electronic apparatus and end processing program | |
JP2007102370A (en) | Electronic device, method for controlling operation mode executed thereby, and electronic device system | |
JP2016095771A (en) | Backup circuit of device drive battery | |
JP2009159443A (en) | Electronic equipment | |
JP2011141707A (en) | Information processing apparatus, information processing method, and program | |
JP2009159749A (en) | Device and method for controlling charging | |
JP2006323602A (en) | Electronic equipment device and its processing method | |
JP2006136152A (en) | Electronic equipment having backup power supply unit | |
JP3164729B2 (en) | Power management mechanism for battery starter | |
CN217904098U (en) | Equipment state monitoring device and state monitoring terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20061127 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20090421 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20090428 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20090901 |