JP2015076954A - Electronic apparatus and information processing system - Google Patents

Electronic apparatus and information processing system Download PDF

Info

Publication number
JP2015076954A
JP2015076954A JP2013211064A JP2013211064A JP2015076954A JP 2015076954 A JP2015076954 A JP 2015076954A JP 2013211064 A JP2013211064 A JP 2013211064A JP 2013211064 A JP2013211064 A JP 2013211064A JP 2015076954 A JP2015076954 A JP 2015076954A
Authority
JP
Japan
Prior art keywords
power
drive time
unit
battery
time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2013211064A
Other languages
Japanese (ja)
Inventor
篤彦 福嶌
Atsuhiko Fukushima
篤彦 福嶌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sharp Corp
Original Assignee
Sharp Corp
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 Sharp Corp filed Critical Sharp Corp
Priority to JP2013211064A priority Critical patent/JP2015076954A/en
Publication of JP2015076954A publication Critical patent/JP2015076954A/en
Pending legal-status Critical Current

Links

Landscapes

  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

PROBLEM TO BE SOLVED: To make operable time of the whole information processing system longer by restricting consumption of power supplied from a power supply source.SOLUTION: An electronic apparatus comprises: a storage battery; a connection unit to which a communication cable capable of receiving power supply is to be connected; a first drive time acquisition unit for acquiring first drive time Tc during which an information processing unit including a battery can operate alone using only power supplied from the battery, from the information processing apparatus via the communication cable; a second drive time acquisition unit for acquiring second drive time Te during which the operation can be performed alone using only power supplied from the storage battery; an operation execution unit for making a prescribed function be executed; a power supply switching unit for switching power used for execution of the function by the operation execution unit to any one of power supply from the storage battery and power supply from the communication cable; and a control unit for switching the power supply to be used in order to restrict consumption of power supply from the communication cable on the basis of a magnitude relation between the first drive time Tc and the second drive time Te.

Description

この発明は、電子機器および情報処理システムに関し、特に、蓄電池を内蔵し他の情報処理装置からも電力供給を受けることができる電子機器と、電子機器を含む情報処理システムに関する。   The present invention relates to an electronic device and an information processing system, and more particularly to an electronic device that has a built-in storage battery and can receive power supply from other information processing devices, and an information processing system that includes the electronic device.

今日、リチウムイオン電池などの蓄電池を内蔵して、その蓄電池からの供給電力で駆動する電子機器が利用されている。たとえば、無線LANルータ、スキャナー、プリンタなどの電子機器である。さらに、これらの電子機器の中には、パソコン等の情報処理装置に接続して、パソコン等から電力供給を受け、内蔵蓄電池から供給される内部電力と、パソコン等から供給された外部電力とを切り替えて使用するものや、外部電力を利用して内蔵蓄電池を充電するものがある。   Today, electronic devices that incorporate a storage battery such as a lithium ion battery and are driven by the power supplied from the storage battery are used. For example, electronic devices such as a wireless LAN router, a scanner, and a printer. Furthermore, some of these electronic devices are connected to an information processing device such as a personal computer, receive power from the personal computer, etc., and receive internal power supplied from the built-in storage battery and external power supplied from the personal computer, etc. There are ones that are used by switching, and ones that charge the internal storage battery using external power.

たとえば、特許文献1では、内蔵電池を備えたプロジェクタを、USBケーブルによってパソコンPCと接続して、内蔵電池の残量が少なくなった場合には、USBケーブルを通してパソコンから供給される電源に切り替えてプロジェクタの動作を行わせたり、パソコンから電源供給を受けて内蔵電池の充電を行うようにしたプロジェクタシステムが提案されている。
また、このシステムでは、パソコンの内蔵電池の残量と、プロジェクタの内蔵電池の残量を定期的に検出し、これらの残量と光源の設定輝度とから、電池寿命を予測して、算出された電池寿命予測時間を表示することも提案されている。
For example, in Patent Document 1, when a projector equipped with a built-in battery is connected to a personal computer with a USB cable and the remaining amount of the built-in battery is low, the projector is switched to a power source supplied from the personal computer through the USB cable. There has been proposed a projector system in which a projector is operated or a built-in battery is charged by receiving power from a personal computer.
In addition, this system periodically detects the remaining battery level of the computer's built-in battery and the remaining battery level of the projector's built-in battery, and calculates and calculates the battery life from these remaining level and the set brightness of the light source. It has also been proposed to display the estimated battery life.

特開2004−69997号公報JP 2004-69997 A

しかし、商用電源が利用できない状況で、電力を供給する側のパソコンも蓄電池で動作している場合でも、パソコンからの電力供給を受ける側の電子機器は、無条件に、自己の動作と自己の蓄電池の充電のために、パソコンから供給された電力を消費していた。
すなわち、電子機器の蓄電池の残量と、パソコンの蓄電池の残量の大小関係に関係なく、電子機器においてパソコンからの供給電力が消費されるため、パソコンの蓄電池の容量が減少し、パソコンそのものの動作可能時間が短くなってしまっていた。
However, even when a commercial power supply is not available and the PC that supplies power is also operating on a storage battery, the electronic device that receives power from the PC is unconditionally operating and Electric power supplied from a personal computer was consumed to charge the storage battery.
In other words, regardless of the relationship between the remaining amount of the storage battery of the electronic device and the remaining amount of the storage battery of the personal computer, the power supplied from the personal computer is consumed in the electronic device. The operating time has been shortened.

無線ルータなどの電子機器は、USBケーブルでパソコンに接続され、主としてパソコンの動作に従属して動作する機器が多いが、パソコン側の蓄電池の容量が先に消耗してパソコンが動作不能となり、電子機器のみが動作可能な状態となっているのは、不合理である。たとえば、パソコンと無線ルータとが共働して通信機能を実行する通信システムでは、パソコンの蓄電池が消耗してパソコンの動作ができない場合は、無線ルータのみが動作可能であったとしても、システム全体としての動作ができない状態であるので、好ましくない。すなわち、パソコンあるいは無線ルータのどちらか一方のみが動作可能である時間が長いのは好ましくなく、パソコンと無線ルータの両方が動作するシステム全体としての動作可能時間が長くなることが好ましい。   Many electronic devices, such as wireless routers, are connected to a personal computer with a USB cable and operate mainly depending on the operation of the personal computer. It is unreasonable that only the device is in an operable state. For example, in a communication system in which a personal computer and a wireless router work together to perform communication functions, if the personal computer's storage battery is exhausted and the personal computer cannot operate, the entire system can be This is not preferable because the operation cannot be performed. That is, it is not preferable that the time during which only one of the personal computer and the wireless router is operable is not long, and it is preferable that the operable time of the entire system in which both the personal computer and the wireless router operate is long.

そこで、この発明は、以上のような事情を考慮してなされたものであり、外部から電力の供給を受ける電子機器の動作を確保しつつ、電子機器に電力を供給する側の情報処理装置についても十分な動作可能時間を確保できるようにし、電子機器と情報処理装置とからなるシステム全体としての動作可能時間を可能な限り長くすることを課題とする。   Therefore, the present invention has been made in view of the above circumstances, and relates to an information processing apparatus on the side that supplies power to an electronic device while ensuring the operation of the electronic device that receives power from the outside. It is another object of the present invention to ensure a sufficient operable time and to increase the operable time of the entire system including the electronic device and the information processing apparatus as much as possible.

この発明は、蓄電池と、外部からの電力供給を受けることが可能な通信ケーブルを接続する接続部と、前記通信ケーブルを介してバッテリーを備えた情報処理装置から、その情報処理装置が前記バッテリーからの供給電力のみを用いて単独で動作可能な第1駆動時間Tcを取得する第1駆動時間取得部と、前記蓄電池からの供給電力のみを用いて単独で動作可能な第2駆動時間Teを取得する第2駆動時間取得部と、所定の機能を実行させる動作実行部と、前記動作実行部が機能を実行するのに使用する電力を、前記蓄電池からの供給電力と、前記通信ケーブルを介して供給された電力のどちらか一方に切り替える供給電力切替部と、前記取得された第1駆動時間Tcと第2駆動時間Teとの大小関係に基づいて、前記通信ケーブルを介して供給された電力の消費を制限するために、前記供給電力切替部によって使用する供給電力を切り替えさせる制御部とを備えたことを特徴とする電子機器を提供するものである。   The present invention relates to a storage battery, a connection unit for connecting a communication cable capable of receiving power from the outside, and an information processing apparatus including a battery via the communication cable. A first drive time acquisition unit that acquires a first drive time Tc that can be operated independently using only the supplied power, and a second drive time Te that can be operated independently using only the supplied power from the storage battery A second drive time acquisition unit, an operation execution unit for executing a predetermined function, and an electric power used by the operation execution unit for executing the function, the power supplied from the storage battery, and the communication cable Based on the magnitude relationship between the supplied power switching unit that switches to one of the supplied power and the acquired first driving time Tc and second driving time Te, the communication cable is used. In order to limit the supply power consuming of, there is provided an electronic apparatus characterized by comprising said to switch the supply power used by the power supply switching unit control section.

また、電力を供給することが可能な情報処理装置と、前記供給電力を受けることが可能な電子機器とが、前記供給電力を搬送可能な通信ケーブルを介して接続された情報処理システムであって、前記情報処理装置が、バッテリーと、前記バッテリーからの供給電力のみを用いて単独で動作可能な第1駆動時間Tcを算出する駆動時間算出部と、前記通信ケーブルを接続する第1接続部と、前記通信ケーブルを介して、前記算出された第1駆動時間Tcを前記電子機器へ送信する通信部と、前記通信ケーブルを介して、バッテリーからの供給電力の一部分を前記電子機器に供給する電力供給部とを備え、前記電子機器が、蓄電池と、前記通信ケーブルを接続する第2接続部と、前記情報処理装置から送られてきた第1駆動時間Tcを取得する第1駆動時間取得部と、前記蓄電池からの供給電力のみを用いて単独で動作可能な第2駆動時間Teを取得する第2駆動時間取得部と、所定の機能を実行させる動作実行部と、前記動作実行部が機能を実行するのに使用する電力を、前記蓄電池からの供給電力と、前記通信ケーブルを介して供給された電力のどちらか一方に切り替える供給電力切替部と、前記取得された第1駆動時間Tcと第2駆動時間Teとの大小関係に基づいて、前記通信ケーブルを介して供給された電力の消費を制限するために、前記供給電力切替部によって使用する供給電力を切り替えさせる制御部とを備えたことを特徴とする情報処理システムを提供するものである。   An information processing system in which an information processing apparatus capable of supplying power and an electronic device capable of receiving the supplied power are connected via a communication cable capable of carrying the supplied power. The information processing apparatus includes a battery, a drive time calculation unit that calculates a first drive time Tc that can operate independently using only power supplied from the battery, and a first connection unit that connects the communication cable. A communication unit that transmits the calculated first drive time Tc to the electronic device via the communication cable; and a power that supplies a part of the power supplied from the battery to the electronic device via the communication cable. A second connecting unit that connects the storage battery and the communication cable, and a first driving time Tc sent from the information processing apparatus. A drive time acquisition unit; a second drive time acquisition unit that acquires a second drive time Te that can be operated independently using only power supplied from the storage battery; an operation execution unit that executes a predetermined function; A power supply switching unit that switches the power used by the execution unit to execute the function to one of the power supplied from the storage battery and the power supplied via the communication cable; and the acquired first A control unit that switches the supply power to be used by the supply power switching unit in order to limit the consumption of the power supplied via the communication cable based on the magnitude relationship between the drive time Tc and the second drive time Te An information processing system characterized by comprising:

この発明によれば、取得された第1駆動時間Tcと第2駆動時間Teとの大小関係に基づいて、機能を実行するのに使用する電力を、蓄電池からの供給電力と、通信ケーブルを介して供給された電力のどちらか一方に切り替えているので、電子機器において、通信ケーブルを介して供給された電力の消費を制限することによって、電力を供給する側の情報処理装置の単独での動作時間が短くなるのを抑制することができ、電子機器と情報処理装置とからなるシステム全体の動作可能時間を長くすることができる。   According to this invention, based on the magnitude relationship between the acquired first drive time Tc and second drive time Te, the power used to execute the function is supplied via the power supplied from the storage battery and the communication cable. Since the power is switched to one of the supplied power, the operation of the information processing device on the power supply side alone is limited in the electronic device by limiting the consumption of the power supplied via the communication cable. It is possible to prevent the time from being shortened, and to increase the operable time of the entire system including the electronic device and the information processing apparatus.

この発明の情報処理システムの一実施例の構成ブロック図である。1 is a configuration block diagram of an embodiment of an information processing system of the present invention. FIG. この発明の電子機器の一実施例の構成ブロック図である。1 is a configuration block diagram of an embodiment of an electronic device of the present invention. この発明の情報処理装置の一実施例の構成ブロック図である。1 is a configuration block diagram of an embodiment of an information processing apparatus of the present invention. この発明の電子機器における供給電力切替処理の一実施例のフローチャートである。It is a flowchart of one Example of the power supply switching process in the electronic device of this invention. この発明の実施例1におけるバッテリー容量変化のグラフである。It is a graph of the battery capacity change in Example 1 of this invention. この発明の実施例1に対応する従来例1のバッテリー容量変化のグラフである。It is a graph of the battery capacity change of the prior art example 1 corresponding to Example 1 of this invention. PCの動作可能時間がTEの動作可能時間よりも長い場合の一実施例のバッテリー容量変化のグラフである。It is a graph of the battery capacity | capacitance change of one Example when the operable time of PC is longer than the operable time of TE. 図7に対応する従来例2のバッテリー容量変化のグラフである。It is a graph of the battery capacity change of the prior art example 2 corresponding to FIG. この発明の実施例2におけるバッテリー容量変化のグラフである。It is a graph of the battery capacity change in Example 2 of this invention. この発明の実施例3におけるバッテリー容量変化のグラフである。It is a graph of the battery capacity change in Example 3 of this invention.

以下に、本発明を実施するための最良の形態について図面を参照して説明する。なお、これによって、この発明が限定されるものではない。
<情報処理システムの構成>
図1に、この発明の電子機器を含む情報処理システムの一実施例の構成ブロック図を示す。ここでは、電子機器1と情報処理装置2とを、通信ケーブル3で接続した情報処理システムを示している。
図1において、電子機器1は、蓄電池(以下、バッテリーとも呼ぶ)を備え、通信ケーブル3を介して、データ通信と電力を供給することが可能な情報処理装置2に接続され、その情報処理装置2からの供給電力を受ける。
The best mode for carrying out the present invention will be described below with reference to the drawings. However, this does not limit the present invention.
<Configuration of information processing system>
FIG. 1 is a block diagram showing the configuration of an embodiment of an information processing system including an electronic apparatus according to the present invention. Here, an information processing system in which the electronic device 1 and the information processing apparatus 2 are connected by a communication cable 3 is shown.
In FIG. 1, an electronic device 1 includes a storage battery (hereinafter also referred to as a battery), and is connected to an information processing apparatus 2 that can supply data communication and power via a communication cable 3. 2 to receive power supply.

電子機器1は、たとえば、無線ルータ、スキャナー、プリンタ、モデムなどの機器であり、以下の実施例では、通信ケーブル3の1つであるUSBケーブルを接続するためのUSB接続端子を有するものとする。
また、情報処理装置2は、たとえば、ノートブックパソコン、スマートフォン等の携帯端末、タブレット端末などに相当する装置であり、同様に、USB接続端子を有するものとする。
以下、電力を受ける側の電子機器1を、電力消費機器あるいは単にTEとも呼ぶ。
また、電力を供給する側の情報処理装置2を、電力供給装置あるいは単にPCとも呼ぶ。
通信ケーブル3は、データ通信と供給電力の搬送が可能な有線ケーブルであり、たとえば、USBケーブルが用いられる。
The electronic device 1 is, for example, a device such as a wireless router, a scanner, a printer, or a modem. In the following embodiments, the electronic device 1 has a USB connection terminal for connecting a USB cable that is one of the communication cables 3. .
The information processing device 2 is a device corresponding to, for example, a notebook computer, a portable terminal such as a smartphone, a tablet terminal, and the like, and similarly has a USB connection terminal.
Hereinafter, the electronic device 1 on the power receiving side is also referred to as a power consuming device or simply TE.
The information processing apparatus 2 on the power supply side is also called a power supply apparatus or simply a PC.
The communication cable 3 is a wired cable that can carry data communication and supply power, and for example, a USB cable is used.

USBケーブル3は、国際標準規格として定められたシリアル転送のバス規格(Universal Serial Bus)に準拠した4線のケーブルであり、1対の信号ラインと、1対の電源ラインとからなる。
1対の電源ラインは、+5VのラインとGNDラインとからなり、この電源ラインを介して、最大500mAの直流電流を流すことによって、PC2からTE1へ、直流電力が供給される。
The USB cable 3 is a four-wire cable conforming to a serial transfer bus standard (Universal Serial Bus) defined as an international standard, and includes a pair of signal lines and a pair of power supply lines.
The pair of power supply lines are composed of a + 5V line and a GND line, and DC power is supplied from the PC 2 to the TE 1 by flowing a maximum DC current of 500 mA through the power supply line.

<電子機器TEの構成>
図2に、電子機器TE1の一実施例の構成ブロック図を示す。
電子機器TE1は、制御部11、通信部12、入力部13、充電部14、供給電力切替部15、接続部16、PC駆動時間取得部17、TE駆動時間取得部18、時間比較部19、動作実行部20、蓄電池(バッテリー)25、記憶部26を備える。
制御部11は、この発明の電子機器TE1の機能を実行させる部分であり、主として、CPU、ROM、RAM、I/Oコントローラ、タイマー等からなるマイクロコンピュータにより実現される。
また、CPUは、ROM等に記憶されたプログラムに基づいて、ハードウェアを有機的に動作させることにより、この発明の充電処理や供給電力切替処理などの各処理を実行する。
<Configuration of electronic device TE>
FIG. 2 shows a configuration block diagram of an embodiment of the electronic apparatus TE1.
The electronic device TE1 includes a control unit 11, a communication unit 12, an input unit 13, a charging unit 14, a supply power switching unit 15, a connection unit 16, a PC driving time acquisition unit 17, a TE driving time acquisition unit 18, a time comparison unit 19, An operation execution unit 20, a storage battery (battery) 25, and a storage unit 26 are provided.
The control unit 11 is a part that executes the function of the electronic apparatus TE1 of the present invention, and is mainly realized by a microcomputer including a CPU, a ROM, a RAM, an I / O controller, a timer, and the like.
In addition, the CPU executes each process such as the charging process and the supply power switching process of the present invention by organically operating the hardware based on a program stored in the ROM or the like.

通信部12は、他の情報通信装置とデータ送受信を行う部分であり、たとえば、図1に示したように、通信ケーブル3を介して、パソコン2とデータの送受信を行う。
通信ケーブル3としては、有線通信が可能な媒体を用いればよい。ただし、データ通信としては、有線による通信だけでなく、無線による通信で行ってもよい。
この発明では、他の情報処理装置PC2から電力供給が可能な電子機器TE1を対象としているので、以下の実施例では、電子機器TE1と情報処理装置(パソコン)PC2とをUSBケーブル3で接続するものとし、同じUSBケーブル3を利用して、有線によるデータ通信と、PC2からTE1へ供給される直流電力の搬送を行うものとする。
The communication unit 12 is a part that transmits and receives data to and from other information communication devices. For example, as illustrated in FIG. 1, the communication unit 12 transmits and receives data to and from the personal computer 2 via the communication cable 3.
As the communication cable 3, a medium capable of wired communication may be used. However, the data communication may be performed not only by wired communication but also by wireless communication.
Since the present invention is directed to the electronic device TE1 that can be supplied with power from another information processing apparatus PC2, in the following embodiment, the electronic apparatus TE1 and the information processing apparatus (personal computer) PC2 are connected by the USB cable 3. It is assumed that the same USB cable 3 is used to perform wired data communication and transfer of DC power supplied from the PC 2 to the TE 1.

入力部13は、ユーザが文字等の情報の入力や、機能選択入力を行う部分であり、キーボード、マウス、タッチパネル等が用いられる。たとえば、入力部13を用いて、蓄電池の充電の許可あるいは禁止を設定する。
充電部14は、蓄電池(バッテリー)25を充電する部分であり、USBケーブル3を介して供給された電力を利用してバッテリーの充電を行う。
また、バッテリー25の最大容量まで充電された場合(フル充電)に充電が停止され、ユーザによる充電の開始指示入力があった時、あるいはバッテリー25の現在の容量が所定値以下にまで低下したときに、充電モードに入り、充電を開始するものとする。
充電モードは、バッテリー25の充電を行うモードであり、ユーザが入力部13を用いてモード設定指示を入力することにより、充電モードの許可あるいは禁止を予め設定しておく。バッテリーの充電を禁止する設定がされた場合は、充電モードを解除し、蓄電池の充電を行わないようにする。
The input unit 13 is a part where a user inputs information such as characters and a function selection input, and a keyboard, a mouse, a touch panel, or the like is used. For example, permission or prohibition of charging of the storage battery is set using the input unit 13.
The charging unit 14 is a part that charges a storage battery (battery) 25, and charges the battery by using power supplied via the USB cable 3.
In addition, when the battery 25 is charged to the maximum capacity (full charge), the charging is stopped, and when the charging start instruction is input by the user, or when the current capacity of the battery 25 is reduced to a predetermined value or less. The charging mode is entered and charging is started.
The charging mode is a mode in which the battery 25 is charged. When the user inputs a mode setting instruction using the input unit 13, permission or prohibition of the charging mode is set in advance. When the setting is made to prohibit the charging of the battery, the charging mode is canceled and the storage battery is not charged.

供給電力切替部15は、動作実行部20がTEの機能を実行するために使用する電力の供給経路を切替える部分であり、バッテリー25からの供給電力と、USBケーブル3を介して供給された電力とのどちらかの供給経路に切替える。
たとえば、後述するように、USBケーブル3に接続されたPC2の単独のバッテリー駆動時間(PC駆動時間Tc)が、TE1の単独のバッテリー駆動時間(TE駆動時間Te)よりも小さい場合(Tc<Te)は、TEのバッテリー25からの供給電力がTEの動作に使用されるように、供給電力切替部15によって電力供給経路を切替える。このとき、USBケーブル3を介してPCからの電力が供給されていても、その供給電力は消費しないようにする。
The power supply switching unit 15 is a part that switches the power supply path used by the operation executing unit 20 to execute the TE function. The power supply switching unit 15 supplies the power supplied from the battery 25 and the power supplied via the USB cable 3. Switch to either supply path.
For example, as will be described later, when the single battery drive time (PC drive time Tc) of the PC 2 connected to the USB cable 3 is smaller than the single battery drive time (TE drive time Te) of TE1 (Tc <Te ) Switches the power supply path by the supply power switching unit 15 so that the power supplied from the battery 25 of the TE is used for the operation of the TE. At this time, even if power from the PC is supplied via the USB cable 3, the supplied power is not consumed.

接続部16は、外部機器を接続するインタフェース部分であり、特に、この発明では、外部からの電力供給を受けることが可能なインタフェースを用いるものとし、少なくとも、USBケーブル3を接続するUSB接続端子を備えるものとする。
このUSB接続端子を介して、TEとPC間のデータ送受信と、PCからの電力の供給を受ける。
USB接続端子は、上記したUSBケーブル3を接続するための4つの端子からなり、データ通信用の2本の端子と、+5V端子および接地(GND)端子からなる電力供給用の2本の端子を備えている。
供給電力切替部15によって外部電力を使用するように切替えられている場合は、+5VとGNDの電力供給用端子からの出力電流がTE内部の電子回路に与えられ、USBケーブル3を介して送られてきた供給電力が、TE1の動作に使用される。
The connection unit 16 is an interface part for connecting an external device. In particular, in the present invention, an interface capable of receiving an external power supply is used, and at least a USB connection terminal for connecting the USB cable 3 is used. Shall be provided.
Via this USB connection terminal, data transmission / reception between the TE and the PC and power supply from the PC are received.
The USB connection terminal is composed of four terminals for connecting the USB cable 3 described above, and includes two terminals for data communication and two terminals for power supply including a +5 V terminal and a ground (GND) terminal. I have.
When the supply power switching unit 15 is switched to use external power, the output current from the power supply terminal of + 5V and GND is given to the electronic circuit inside the TE and sent via the USB cable 3. The supplied power is used for the operation of TE1.

PC駆動時間取得部17は、バッテリーを備えたPCが、そのバッテリーからの供給電力のみを用いて単独で動作可能な駆動時間Tcを取得する部分である。すなわち、USBケーブル3が接続された相手側の装置であるパソコンPC2が、AC商用電源からの電力供給がなく、PCの内蔵バッテリーからの供給電力のみを用いて単独で使用されている場合に、PCが動作不能となるまでのPCが動作可能な駆動時間(以下、PC駆動時間Tcと呼ぶ)を、取得する部分である。PC駆動時間Tcは、上記した第1駆動時間に相当する。
このPC駆動時間Tcは、USBケーブルを介したPC2とTE1との定期的な通信によって、あるいはTE1からの要求信号の送信に対する返信として、PC2からTE1へ送信される。以下の実施例では、一定時間(たとえば、5分)ごとに、送信されてきたPC駆動時間Tcを取得するものとする。
PC2は、自己のバッテリーのみでも動作可能な装置であり、バッテリーの残容量が同じでも、実際に動作可能な時間は、実行される機能の種類や数によって異なる。したがって、PC駆動時間Tcは、PC2が動作不能になるまでのだいたいの目安となる時間である。たとえば、代表的な特定のアプリケーションプログラムを実行させ続けた場合に動作不能になるまでの時間、あるいは、通信部を介して通信を続けた場合等によって求められる時間などを、PC駆動時間Tcとして用いてもよい。
The PC drive time acquisition unit 17 is a part that acquires a drive time Tc in which a PC equipped with a battery can operate independently using only power supplied from the battery. That is, when the personal computer PC2 which is the counterpart device to which the USB cable 3 is connected is not supplied with power from the AC commercial power supply and is used alone using only the power supplied from the built-in battery of the PC, This is a part for acquiring a drive time during which the PC can operate (hereinafter referred to as a PC drive time Tc) until the PC becomes inoperable. The PC drive time Tc corresponds to the first drive time described above.
The PC drive time Tc is transmitted from the PC 2 to the TE 1 by regular communication between the PC 2 and the TE 1 via the USB cable or as a reply to the transmission of the request signal from the TE 1. In the following embodiment, it is assumed that the transmitted PC driving time Tc is acquired every certain time (for example, 5 minutes).
The PC 2 is a device that can operate only with its own battery, and even if the remaining capacity of the battery is the same, the actual operable time varies depending on the type and number of functions to be executed. Therefore, the PC driving time Tc is a rough time until the PC 2 becomes inoperable. For example, the time required until the operation becomes impossible when a typical specific application program is continuously executed or the time required when communication is continued via the communication unit is used as the PC drive time Tc. May be.

TE駆動時間取得部18は、TE1の自己のバッテリー25からの供給電力のみを用いて単独で動作可能な駆動時間(以下、TE駆動時間Teと呼ぶ)を、取得する部分である。
TE駆動時間Teは、AC商用電源や、USBケーブルを介した他の装置からの供給電力を使用しない状態で、TE単独で、バッテリー25からの供給電力のみで動作させた場合に、TE1が動作不能になるまでのだいたいの目安となる時間である。
TE駆動時間Teは、たとえば、バッテリー25の現在の残容量を計測し、その残容量と駆動可能時間とを関係付けた所定の比例計算式により、計算することができる。
TE駆動時間Teは、上記した第2駆動時間に相当する。
The TE drive time acquisition unit 18 is a part that acquires a drive time (hereinafter referred to as a TE drive time Te) that can be operated independently using only power supplied from the battery 25 of TE1 itself.
The TE drive time Te is the time when TE1 operates only when the TE power alone is operated with only the power supplied from the battery 25 without using the power supplied from other devices via an AC commercial power supply or USB cable. This is a rough guideline until it becomes impossible.
The TE drive time Te can be calculated by, for example, a predetermined proportional calculation formula that measures the current remaining capacity of the battery 25 and associates the remaining capacity with the drivable time.
The TE drive time Te corresponds to the second drive time described above.

時間比較部19は、取得されたPC駆動時間TcとTE駆動時間Teとを比較し、現在、TcとTeのどちらが大きいかを判断する部分である。
後述するように、この比較結果、2つの駆動時間の大小関係に基づいて、USBケーブルを介して供給された電力の消費を制限するために、供給電力切替部15によって、使用する供給電力の切替を行う。
動作実行部20は、TE1が有する所定の機能を実行させる部分であり、たとえば、TE1が無線ルータである場合は、アクセスポイントや無線中継局との間で無線通信機能を実行する部分である。
蓄電池(バッテリー)25は、充電可能な電池(二次電池)であり、NiCd電池や、リチウムイオン電池、リチウムポリマー電池などが用いられる。
たとえば、AC商用電源やUSBケーブル3を介して供給された電力を用いて充電され、TE1の動作実行部20によって所定の機能が実行されることにより、蓄電された電力が消費される。
The time comparison unit 19 compares the acquired PC drive time Tc and TE drive time Te, and determines which of Tc and Te is currently larger.
As will be described later, the supply power switching unit 15 switches the supply power to be used in order to limit the consumption of the power supplied via the USB cable based on the comparison result between the two drive times. I do.
The operation executing unit 20 is a part that executes a predetermined function of the TE 1. For example, when the TE 1 is a wireless router, it is a part that executes a wireless communication function with an access point or a wireless relay station.
The storage battery (battery) 25 is a rechargeable battery (secondary battery), and a NiCd battery, a lithium ion battery, a lithium polymer battery, or the like is used.
For example, charging is performed using electric power supplied via an AC commercial power supply or the USB cable 3, and a predetermined function is executed by the operation execution unit 20 of the TE 1, so that the stored electric power is consumed.

記憶部26は、この発明のTE1の動作に必要な情報やプログラムを記憶する部分であり、ROM、RAM、フラッシュメモリなどの半導体記憶素子、HDDやSSDなどの記憶装置が用いられる。
記憶部26には、たとえば、上記したPC駆動時間Tc27、TE駆動時間Te28、待機タイマーの初期値To29、充電モードCH30などが記憶される。
待機タイマー初期値To29は、後述する図4のフローチャートで用いられるタイマーTmの初期値であり、PC駆動時間Tcを取得する時間間隔に相当する。たとえば、To=5分が設定される。
The storage unit 26 stores information and programs necessary for the operation of the TE 1 of the present invention, and a semiconductor storage element such as ROM, RAM, flash memory, or a storage device such as HDD or SSD is used.
The storage unit 26 stores, for example, the PC drive time Tc27, the TE drive time Te28, the standby timer initial value To29, the charging mode CH30, and the like.
The standby timer initial value To29 is an initial value of the timer Tm used in the flowchart of FIG. 4 described later, and corresponds to a time interval for acquiring the PC driving time Tc. For example, To = 5 minutes is set.

充電モードCH30は、自己のバッテリー25の充電を許可するか否かを予め設定したデータであり、たとえば、充電モードCH=1の場合、充電を許可することを意味し、充電モードCH=0の場合、充電を禁止することを意味するものとする。
この充電モードCHは、TE側で設定できるようにTEに設定スイッチを設けてもよいが、PC側で予め設定をし、TEの使用開始をするときにPCからTEへ、充電モードCHの設定値を送信するようにしてもよい。すなわち、充電モードCHの設定は、少なくとも、PCおよびTEのどちらか一方で行えるようにしておく。
ただし、TEが小型の装置で設定入力機能を持たない場合もあるので、PC側で充電モードCHの設定ができるようにしておく方が好ましい。
なお、後述するように、この充電モードの設定値と対応づけて、実施例2および実施例3の供給電力の使用方法を設定できるようにしてもよい。
たとえば、充電モードCHが許可されている場合(CH=1)は、PCからの供給電力を使用して、TEのバッテリー25の充電も行うようにする。これは、実施例2に対応する。
一方、充電モードCHが許可されていない場合(CH=0)は、TEのバッテリー25の充電はしないようにする。これは実施例3に対応する。
The charging mode CH30 is data in which whether or not charging of the own battery 25 is permitted is set in advance. For example, when the charging mode CH = 1, it means that charging is permitted, and the charging mode CH = 0. In this case, it means to prohibit charging.
This charging mode CH may be provided with a setting switch in the TE so that it can be set on the TE side. However, the charging mode CH is set from the PC to the TE when the TE is set in advance and the use of the TE is started. A value may be transmitted. That is, the charging mode CH can be set at least by either PC or TE.
However, since the TE may be a small device and may not have a setting input function, it is preferable to set the charging mode CH on the PC side.
As will be described later, the usage method of the supplied power in the second and third embodiments may be set in association with the set value of the charging mode.
For example, when the charging mode CH is permitted (CH = 1), the TE battery 25 is also charged using the power supplied from the PC. This corresponds to the second embodiment.
On the other hand, when the charging mode CH is not permitted (CH = 0), the TE battery 25 is not charged. This corresponds to the third embodiment.

<情報処理装置PCの構成>
図3に、情報処理装置PCの一実施例の構成ブロック図を示す。
情報処理装置PC2は、パソコンや携帯端末などの装置であり、電力供給可能な通信ケーブルを接続する機能を有し、通信ケーブル3を介して他の電子機器に対して、データ通信と電力供給が可能な装置である。
制御部51は、PCの動作を制御する部分であり、CPUなどからなるマイクロコンピュータにより構成される。
表示部52は、PCの動作に必要な情報等を表示する部分であり、LCDや有機ELディスプレイなどが用いられる。
通信部53、入力部54、充電部55、接続部56は、それぞれTE1に備えられた同名の各機能ブロックと同等の構成および機能を有するものである。
充電部55は、PC2に備えられた蓄電池(バッテリー)65を充電する部分であり、主として、図示しないAC商用電源からの供給電力を使用して、バッテリー65を充電する。
接続部56には、外部の電子機器に電力を供給することが可能なケーブルが接続できる端子(たとえば、USB接続端子)が備えられ、USB接続端子からUSBケーブル3を介して電子機器1に対して、電力が供給される。
<Configuration of information processing apparatus PC>
FIG. 3 shows a configuration block diagram of an embodiment of the information processing apparatus PC.
The information processing device PC2 is a device such as a personal computer or a portable terminal, and has a function of connecting a communication cable capable of supplying power, and can perform data communication and power supply to other electronic devices via the communication cable 3. It is a possible device.
The control unit 51 is a part that controls the operation of the PC, and is configured by a microcomputer including a CPU.
The display unit 52 is a part for displaying information necessary for the operation of the PC, and an LCD, an organic EL display, or the like is used.
The communication unit 53, the input unit 54, the charging unit 55, and the connection unit 56 each have the same configuration and function as each functional block of the same name provided in the TE1.
The charging unit 55 is a part that charges a storage battery (battery) 65 provided in the PC 2 and mainly charges the battery 65 using power supplied from an AC commercial power source (not shown).
The connection unit 56 includes a terminal (for example, a USB connection terminal) to which a cable capable of supplying power to an external electronic device can be connected. The USB connection terminal is connected to the electronic device 1 via the USB cable 3. Power is supplied.

PC駆動時間算出部57は、PCに備えられたバッテリー65からの供給電力のみを用いてPC単独で動作させた場合に、PCが動作不能となるまでのだいたいの目安となる時間を算出する部分である。この時間が、上記したPC駆動時間Tcに相当する。
PC駆動時間Tcは、たとえば、バッテリー65の出力電圧値などを用いてバッテリーの残容量の情報を取得し、バッテリー65の残容量と駆動可能時間との所定の比例関係を示した計算式を用いて算出することができる。
算出したPC駆動時間Tcは、記憶部61に記憶され、定期的あるいはTE1からの要求に対応して、USBケーブル3を介してTE1へ送信される。
The PC drive time calculation unit 57 calculates a time that is a rough guide until the PC becomes inoperable when the PC is operated alone using only the power supplied from the battery 65 provided in the PC. It is. This time corresponds to the PC driving time Tc described above.
For example, the PC drive time Tc is obtained by obtaining information on the remaining capacity of the battery using the output voltage value of the battery 65 and the like, and using a calculation formula showing a predetermined proportional relationship between the remaining capacity of the battery 65 and the driveable time. Can be calculated.
The calculated PC drive time Tc is stored in the storage unit 61, and is transmitted to the TE1 via the USB cable 3 periodically or in response to a request from the TE1.

電力供給部58は、接続部56のUSB接続端子を介して、接続されたUSBケーブル3に、バッテリー65から与えられる直流電力の一部分を供給する部分である。
動作実行部59は、PCの所定の機能を実行する部分である。AC商用電源が接続されている場合は、AC電力を使用してPCの各機能が実行されるが、AC商用電源が接続されていない場合は、バッテリー65からの供給電力を消費することにより、各機能が実行される。
また、USBケーブル3を介して電子機器TEが接続されている場合は、PCがバッテリー65からの供給電力のみを使用して動作している場合であっても、その供給電力の一部分が、接続部56のUSB接続端子から外部の電子機器TE1へ供給できる状態となる。
接続されたTE1がUSBケーブル3からの供給電力を使用している場合は、バッテリー65からの供給電力は、PC2の自己の動作による消費に加えて、TE1の動作により消費される。
The power supply unit 58 is a part that supplies a part of DC power supplied from the battery 65 to the connected USB cable 3 via the USB connection terminal of the connection unit 56.
The operation execution unit 59 is a part that executes a predetermined function of the PC. When AC commercial power is connected, each function of the PC is executed using AC power, but when AC commercial power is not connected, the power supplied from the battery 65 is consumed, Each function is executed.
Further, when the electronic device TE is connected via the USB cable 3, even if the PC is operating using only the power supplied from the battery 65, a part of the supplied power is connected. The USB connection terminal of the unit 56 can be supplied to the external electronic device TE1.
When the connected TE1 uses the power supplied from the USB cable 3, the power supplied from the battery 65 is consumed by the operation of the TE1 in addition to the consumption by the PC2's own operation.

蓄電池(バッテリー)65は、充電部55により充電される二次電池であり、PCのハードウェアの動作により消費される。TEと同様のバッテリーを用いればよい。
記憶部61は、PCの動作に必要な情報やプログラムを記憶する部分であり、たとえば、上記したPC駆動時間Tc62が記憶される。
The storage battery (battery) 65 is a secondary battery charged by the charging unit 55 and is consumed by the operation of the PC hardware. A battery similar to TE may be used.
The storage unit 61 is a part that stores information and programs necessary for the operation of the PC, and stores, for example, the PC drive time Tc62 described above.

<この発明の供給電力の切替の概要>
この発明では、TEは、取得された2つの駆動時間(Tc,Te)の大小関係に基づいて、主として、次のような方法で、使用する供給電力を切り替える。
(1)PC駆動時間Tc<TE駆動時間Teの場合、TEは、TEの蓄電池25からの供給電力を使用する。USBケーブル3を介して供給された電力は使用しない。
(2)PC駆動時間Tc>TE駆動時間Teであり、かつ充電モードでない場合、TEは、PC駆動時間Tcが、TE駆動時間Te以下になるまで、USBケーブル3を介して供給された電力を使用する。この供給電力を使用して、動作実行部20が所定の機能を実行する。TEのバッテリー25の充電は行わない。
(3)PC駆動時間Tc>TE駆動時間Teであり、かつ充電モードの場合、TEは、PC駆動時間Tcが、TE駆動時間Te以下になるまで、USBケーブル3を介して供給された電力を使用する。この供給電力を使用して、動作実行部20が所定の機能を実行し、充電部14がTEのバッテリー25の充電を行う。
(4)上記(2)または(3)の場合、USBケーブル3を介して供給された電力を使用して、動作実行部20が所定の機能を実行した後、PC駆動時間Tc≦TE駆動時間Teとなった場合、TEは、TEのバッテリー25からの供給電力を使用する。この供給電力は、動作実行部20が所定の機能を実行するために用いられる。TEのバッテリー25の充電は行わない。
<Overview of switching power supply of the present invention>
In the present invention, the TE switches the supply power to be used mainly by the following method based on the magnitude relationship between the acquired two drive times (Tc, Te).
(1) When PC drive time Tc <TE drive time Te, TE uses power supplied from TE storage battery 25. The power supplied via the USB cable 3 is not used.
(2) When the PC driving time Tc> TE driving time Te and not in the charging mode, the TE supplies the power supplied via the USB cable 3 until the PC driving time Tc becomes equal to or less than the TE driving time Te. use. Using this supplied power, the operation execution unit 20 executes a predetermined function. The TE battery 25 is not charged.
(3) When the PC driving time Tc> TE driving time Te and in the charging mode, the TE supplies the power supplied via the USB cable 3 until the PC driving time Tc becomes equal to or less than the TE driving time Te. use. Using this supplied power, the operation execution unit 20 executes a predetermined function, and the charging unit 14 charges the battery 25 of the TE.
(4) In the case of (2) or (3) above, after the operation execution unit 20 executes a predetermined function using the power supplied via the USB cable 3, the PC drive time Tc ≦ TE drive time When Te is reached, TE uses the power supplied from the battery 25 of the TE. This supplied power is used for the operation execution unit 20 to execute a predetermined function. The TE battery 25 is not charged.

<バッテリーの容量変化の説明>
以下に、この発明のTEにおける供給電力の切替処理によるバッテリー容量の変化を、従来例と対比させながら説明する。
図5と図7に、PCとTEそれぞれについて、起動後の経過時間に対するバッテリーの容量変化(減少変化)の一実施例のグラフを示す。
ここでは、PCおよびTEそれぞれが単独で、自己のバッテリーのみを使用して動作させた場合を示している。
縦軸は、バッテリーの容量CP(mAh)を示しており、横軸は、PCおよびTEの駆動時間Tを示している。
<Explanation of battery capacity change>
Hereinafter, a change in the battery capacity due to the switching process of the supplied power in the TE of the present invention will be described in comparison with the conventional example.
FIG. 5 and FIG. 7 show graphs of examples of battery capacity change (decrease change) with respect to the elapsed time after startup for each of PC and TE.
Here, a case where each of the PC and TE is operated by using only its own battery is shown.
The vertical axis represents the battery capacity CP (mAh), and the horizontal axis represents the drive time T of the PC and TE.

図5において、PCのバッテリー65について、当初(T=0)のフル充電状態では、5000mAhであったが、所定の動作をさせることにより、バッテリー容量が徐々に減少していき、約3時間数分(Tpc0)が経過した後の状態では、ほとんど放電してPCが動作不能になってしまうことを示している。
また、TEのバッテリー25について、当初(T=0)のフル充電状態では、2000mAh程度であったが、所定の動作をさせることにより、バッテリー容量が徐々に減少していき、5時間40分程度(Tte0)が経過した後の状態では、ほとんど放電してTEが動作不能になってしまうことを示している。
図5の実施例の場合は、放電して動作不能となる時間について、Tpc0<Tte0という関係が成立し、PCの方がTEよりも駆動可能時間が短い場合を示している。
In FIG. 5, the PC battery 65 was 5000 mAh in the initial (T = 0) full charge state, but the battery capacity gradually decreased by performing a predetermined operation. In the state after the minute (Tpc0) has elapsed, the PC is almost discharged and the PC becomes inoperable.
In addition, the TE battery 25 was about 2000 mAh in the initial (T = 0) full charge state, but the battery capacity gradually decreased by performing a predetermined operation, and about 5 hours and 40 minutes. In a state after (Tte0) has elapsed, it is almost discharged and TE becomes inoperable.
In the case of the example of FIG. 5, the relationship of Tpc0 <Tte0 is established with respect to the time when discharge becomes inoperable, and the PC has a shorter driveable time than TE.

図7において、PCのバッテリー65については、当初(T=0)のフル充電状態では9000mAh程度であった容量が、約6時間(Tpc0)が経過した後に、ほとんど放電してPCが動作不能になってしまう場合を示している。
また、TEのバッテリー25については、当初(T=0)のフル充電状態では1000mAh程度であった容量が、約3時間(Tte0)が経過した後に、ほとんど放電してTEが動作不能になってしまう場合を示している。
In FIG. 7, the capacity of the PC battery 65, which was about 9000 mAh in the initial (T = 0) full charge state, is almost discharged after about 6 hours (Tpc0), and the PC becomes inoperable. The case where it becomes is shown.
Also, regarding the TE battery 25, the capacity which was about 1000 mAh in the initial (T = 0) full charge state is almost discharged after about 3 hours (Tte0), and the TE becomes inoperable. Shows the case.

図7の実施例の場合は、放電して動作不能となる時間について、Tpc0>Tte0という関係が成立し、PCの方がTEよりも駆動可能時間が長い場合を示している。
図7の場合は、PCの駆動可能時間(Tpc0)がTEよりも十分に長く、PCのバッテリーのみを使用したPC単独の動作にも比較的余裕があるので、PCのバッテリー65を用いて、USBケーブル3を介して、TE側に電力を供給することが可能である。
すなわち、PCからTEへ電力を供給することによって、PCの駆動可能時間(Tpc0)は多少短くなるが、TEへ電力が供給されることにより、TEの駆動可能時間(Tte0)が長くなるので、PCとTEとを含むシステム全体の動作としては、システムそのものの動作時間が長くなることにより、PCからTEへ電力供給をしない場合に比べて、好ましいと考えられる。
In the case of the embodiment of FIG. 7, the relationship of Tpc0> Tte0 is established with respect to the time when discharge becomes inoperable, and the PC has a longer drivable time than TE.
In the case of FIG. 7, the PC driveable time (Tpc0) is sufficiently longer than TE, and there is a relative margin in the operation of the PC alone using only the PC battery. It is possible to supply power to the TE side via the USB cable 3.
That is, by supplying power from the PC to the TE, the PC driveable time (Tpc0) is somewhat shortened, but by supplying power to the TE, the TE driveable time (Tte0) is increased. As the operation of the entire system including the PC and the TE, it is considered that the operation time of the system itself is longer than that when power is not supplied from the PC to the TE.

しかし、図5の場合は、PCの駆動可能時間(Tpc0)が、TEの駆動可能時間(Tte0)よりも短いので、PCからTEへ電力を供給したとすれば、PC駆動可能時間(Tpc0)がさらに短くなってしまう。
PC駆動可能時間(Tpc0)が経過し、PCが動作不能となってしまった場合は、その後、TEのバッテリー容量が残っており、TE単独で動作できたとしても、PCとTEとを含めたシステム全体としての動作は不可能であるので、図5の場合は、PCからTEへ電力を供給すべきでない。
However, in the case of FIG. 5, since the PC driveable time (Tpc0) is shorter than the TE driveable time (Tte0), if power is supplied from the PC to the TE, the PC driveable time (Tpc0). Will be even shorter.
When the PC driveable time (Tpc0) has passed and the PC has become inoperable, the TE battery capacity remains, and even if the TE can operate alone, the PC and TE are included. Since the operation of the entire system is impossible, in the case of FIG. 5, power should not be supplied from the PC to the TE.

(従来例1)
図6に、従来例1のバッテリー容量の変化のグラフを示す。
ここでも、図5に示したのと同じフル充電容量を持つバッテリーについての容量変化グラフを示している。また、破線グラフは図5の容量変化グラフを示している。
従来例としては、TEとPCとがUSBケーブルで接続され、接続後PCからTEへ電力供給を無条件に行い、TE側では、自己のバッテリーからの供給電力と、USBケーブルを介してPCから供給された電力のどちらかを使用して動作をし、さらに、PCのバッテリー容量が所定値以下となるまでは、PCからの供給電力を用いて、TEの自己のバッテリーを充電するものとする。
(Conventional example 1)
In FIG. 6, the graph of the change of the battery capacity of the prior art example 1 is shown.
Again, a capacity change graph for a battery with the same full charge capacity as shown in FIG. 5 is shown. A broken line graph shows the capacity change graph of FIG.
As a conventional example, TE and PC are connected with a USB cable, and after connection, power is supplied unconditionally from PC to TE. On the TE side, the power supplied from its own battery and the PC via USB cable are connected. Operation is performed using either of the supplied power, and the TE battery is charged using the power supplied from the PC until the battery capacity of the PC becomes a predetermined value or less. .

図6において、TEのバッテリー容量変化について、最初の1時間程度は、PCからTEへ電力が供給されるので、TEはPCからの供給電力によって動作し、またバッテリーの充電が行われているので、TEのバッテリー容量は増加する。その後、PCのバッテリーの容量がすべて放電してしまうまで、TEのバッテリーの充電はせずに、PCからの供給電力によってTEを動作させたとすると、TEのバッテリーも徐々に減少する。
Tpc1の時点でPCからの電力供給がなくなった後は、TEのバッテリーのみによってTEが動作するので、TEのバッテリーも放電しつづけるが、TEの駆動可能時間(Tte1)は、図5に示した単独の駆動可能時間(Tte0)よりも長くなる。
In FIG. 6, regarding the change in the battery capacity of TE, power is supplied from the PC to the TE for about the first hour, so the TE operates with the power supplied from the PC and the battery is being charged. The battery capacity of TE increases. Thereafter, if the TE is operated by the power supplied from the PC without charging the TE battery until the capacity of the PC battery is completely discharged, the TE battery gradually decreases.
After the power supply from the PC is stopped at the time of Tpc1, since the TE operates only by the TE battery, the TE battery continues to be discharged, but the TE driveable time (Tte1) is shown in FIG. It becomes longer than the single drivable time (Tte0).

一方、図6において、PCのバッテリー容量変化について、PCからTEへ電力が供給されるので、実際にPCが動作不能となるまでの時間(駆動可能時間Tpc1=約2時間)は、PC単独の駆動可能時間Tpc0(=約3時間)よりも短くなってしまう(Tpc1<Tpc0)。
すなわち、この従来例1においては、TEとPCとがUSBケーブルに接続されていることにより、PCからTEに対して電力を供給しつづけようとするため、もともとTEの駆動可能時間(Tte0)よりも短かったPCの駆動可能時間(Tpc1)が、より短くなってしまうことにより、PCとTEとを含むシステム全体としての動作時間も短くなってしまう。
On the other hand, in FIG. 6, since power is supplied from the PC to the TE with respect to the change in the battery capacity of the PC, the time until the PC actually becomes inoperable (driveable time Tpc1 = about 2 hours) The drive time becomes shorter than Tpc0 (= about 3 hours) (Tpc1 <Tpc0).
That is, in the conventional example 1, since the TE and the PC are connected to the USB cable, power is continuously supplied from the PC to the TE. Therefore, from the TE drivable time (Tte0) Since the PC driveable time (Tpc1), which has been shorter, becomes shorter, the operation time of the entire system including the PC and TE also becomes shorter.

(この発明の実施例1)
そこで、図5に示すように、Tpc0<Tte0となっている場合は、この発明では、後述する図4のフローチャートに示すステップS6の処理を実行することにより、TE側では、TEの自己のバッテリー25から供給される電力のみを使用して動作し、PCから供給される電力は使用しないようにする。
すなわち、図5は、PCとTEについて、この発明の実施例1におけるバッテリー容量変化のグラフを示したものである。この場合、PCもTEも、図5に示すバッテリー容量変化のグラフに従って容量が減少し、従来例1のように、PCの駆動可能時間が短くなることはない。
(Embodiment 1 of the present invention)
Therefore, as shown in FIG. 5, in the case where Tpc0 <Tte0, in the present invention, the processing of step S6 shown in the flowchart of FIG. It operates using only the power supplied from 25, and does not use the power supplied from the PC.
That is, FIG. 5 shows a graph of battery capacity change in the first embodiment of the present invention for PC and TE. In this case, both the PC and the TE decrease in capacity according to the battery capacity change graph shown in FIG. 5, and the PC drivable time is not shortened as in the conventional example 1.

(従来例2)
図8に、従来例2のバッテリー容量の変化のグラフを示す。
ここでは、図7に示したのと同じフル充電容量を持つバッテリーについての容量変化グラフを示している。破線は、図7の容量変化グラフを示している。
図8の場合も、TEおよびPCそれぞれの単独での駆動可能時間は、Tte0<Tpc0である。
この従来例2でも、従来例1と同様に、TEとPCとがUSBケーブルで接続されている状態で、PCからTEへ電力供給を行うものとする。
また、図8に示すように、最初の2時間程度は、TEはPCからの供給電力を使用して動作し、かつTEの自己のバッテリーの充電を行うものとし、その後、Tpc1の時点でPCのバッテリーが放電し動作不能となるまで、TEのバッテリーの充電はしないで、PCからの供給電力を使用して動作をし、さらにその後は、自己のバッテリーからの供給電力のみを用いて、TEの動作をするものとする。
(Conventional example 2)
In FIG. 8, the graph of the change of the battery capacity of the prior art example 2 is shown.
Here, a capacity change graph for a battery having the same full charge capacity as shown in FIG. 7 is shown. The broken line shows the capacity change graph of FIG.
Also in the case of FIG. 8, the drivable time for TE and PC alone is Tte0 <Tpc0.
In Conventional Example 2, as in Conventional Example 1, power is supplied from the PC to the TE while the TE and the PC are connected by a USB cable.
In addition, as shown in FIG. 8, for the first two hours or so, the TE operates using the power supplied from the PC and charges the battery of the TE's own battery. Until the battery is discharged and becomes inoperable, the TE battery is not charged and operates using the power supplied from the PC. Thereafter, only the power supplied from the own battery is used, and the TE battery is operated. Shall be operated.

図8の場合も、TEは、PCからの供給電力を受けてバッテリーの充電を行うため、駆動可能時間が、当初の約3時間(Tte0)から10時間(Tte1)程度に長くなる。しかし、PCの駆動可能時間は、当初のPC単独の駆動可能時間(Tpc0=6時間)から、約3時間(=Tpc1)程度にまで、短くなってしまう。
この結果、PCの駆動可能時間(Tpc1)が、TEの駆動可能時間(Tte1)よりも短くなってしまうので、PCとTEとを含むシステム全体としての動作時間が、図7の場合と同等か、あるいは短くなってしまう。
Also in the case of FIG. 8, since TE charges the battery by receiving power supplied from the PC, the drivable time is increased from about 3 hours (Tte0) to about 10 hours (Tte1). However, the PC driveable time is shortened from the initial PC driveable time (Tpc0 = 6 hours) to about 3 hours (= Tpc1).
As a result, the PC driveable time (Tpc1) becomes shorter than the TE driveable time (Tte1), so that the operation time of the entire system including the PC and TE is equal to that in FIG. Or it will be shorter.

(この発明の実施例2)
図9に、この発明の実施例2におけるバッテリー容量の変化のグラフを示す。
図9の破線グラフは、図7に示したPCおよびTEの単独使用におけるバッテリー容量変化を示している。
すなわち、実施例2では、PCの単独での当初の駆動可能時間Tpc0が、TEの単独での当初の駆動可能時間Tte0よりも長い場合(Tpc0>Tte0)を示している。
また、実施例2では、TEはPCからの供給電力で動作し、かつその供給電力で自己のバッテリーの充電を行う充電モードに設定されているものとする。
ただし、PCおよびTEが動作を開始した後、現在のPC駆動時間TcがTE駆動時間Te以下になるまで、TEは、PCからの供給電力を使用して、TEのバッテリーの充電も行うが、Tc≦Teとなった後は、TEの自己のバッテリーからの供給電力のみを使用して動作するものとする。
(Embodiment 2 of the present invention)
FIG. 9 shows a graph of changes in battery capacity in Example 2 of the present invention.
The broken line graph of FIG. 9 shows the change in battery capacity when the PC and TE shown in FIG. 7 are used alone.
That is, in the second embodiment, the case where the initial driveable time Tpc0 of the PC alone is longer than the initial driveable time Tte0 of the TE alone (Tpc0> Tte0) is shown.
In the second embodiment, it is assumed that TE is set to a charging mode that operates with power supplied from a PC and charges its own battery with the supplied power.
However, after the PC and TE start operation, the TE also uses the power supplied from the PC to charge the TE battery until the current PC drive time Tc becomes equal to or less than the TE drive time Te. After Tc ≦ Te, the operation is performed using only the electric power supplied from the TE's own battery.

図9において、時間TがゼロからPoの時点までは、Tc>Teであり、駆動時間Poの時点で、Tc=Teになったとする。
まず、0<時間T<Poの場合、TEは、PCからの供給電力で動作し、かつTEのバッテリーの充電を行っていたが、PCは、自己のバッテリーから供給される電力を使用してPCの動作を行いかつ、その供給電力の一部をTE側にも与えているので、PCのバッテリー容量は、9000mAhから7000mAh以下にまで急速に、減少している。
一方、この間(0<T<Po)、TEは、PCから供給される電力を使用してバッテリーの充電を行うため、2000mAh近くにまで、TEのバッテリー容量が増加している。
また、T=Poのとき、PCのバッテリー容量が減少した結果、PCが単独動作をした場合のPCが駆動可能な時間Tcも減少するのに対し、TEのバッテリー容量が増加した結果、TEが単独動作をした場合のTEが駆動可能な時間Teは増加するので、Tc=Teとなる。
In FIG. 9, it is assumed that Tc> Te from time T to time point Po, and Tc = Te at time point drive time Po.
First, when 0 <time T <Po, the TE operates with the power supplied from the PC and charges the battery of the TE, but the PC uses the power supplied from its own battery. Since the PC is operated and a part of the supplied power is also given to the TE side, the battery capacity of the PC is rapidly decreasing from 9000 mAh to 7000 mAh or less.
On the other hand, during this period (0 <T <Po), TE charges the battery using the power supplied from the PC, so the battery capacity of TE has increased to nearly 2000 mAh.
Further, when T = Po, the battery capacity of the PC is reduced. As a result, the time Tc during which the PC can be driven when the PC operates alone is reduced, whereas the battery capacity of TE is increased. Since the time Te in which TE can be driven in the case of single operation increases, Tc = Te.

T=Po以降、仮にPCからの供給電力を使用してTEのバッテリーの充電をすることを中止しなければ、その充電にかかる電力消費分だけ早くPCのバッテリーの容量が低下することになり、TEよりもPCの方が早く動作不能となってしまう可能性が高くなる。
したがって、TEが動作可能であっても、先にPCが動作不能となってPCおよびTEを含むシステム全体が動作できなくなる状態を回避するために、Tc=Teとなった後、すなわち図9の駆動時間Po以降(T≧Po)は、TEは、PCからの供給電力を使用せずに、TEの自己のバッテリー25からの供給電力のみを使用して動作するようにする。
すなわち、供給電力切替部15によって、電力供給元をバッテリー25側に切り替えることにより、USBケーブル3を介して供給された電力を消費しないようにする。
これにより、T≧Poの部分では、PCのバッテリー容量は、PC単体動作での消費に基づいて減少していくので、PCのバッテリーが放電してしまいPCの動作が不能となるまでの時間Tpc1は、図9に示すように、5時間程度となる。
これは、図8の従来例2と比較すると、従来のPCが動作不能となるまでの時間(Tpc1)が3時間程度であったのに対して、図9の実施例2では、それよりも2時間程度長いことになる。
After T = Po, if the charging of the TE battery is not stopped using the power supplied from the PC, the capacity of the PC battery will decrease as soon as the power consumed for the charging, There is a higher possibility that the PC becomes inoperable earlier than TE.
Therefore, even if TE is operable, after Tc = Te, that is, in FIG. 9, in order to avoid a situation where the PC cannot be operated first and the entire system including the PC and TE cannot be operated. After the driving time Po (T ≧ Po), the TE operates using only the power supplied from its own battery 25 without using the power supplied from the PC.
That is, the power supplied from the USB cable 3 is not consumed by switching the power supply source to the battery 25 side by the supply power switching unit 15.
As a result, in the portion where T ≧ Po, the PC battery capacity decreases based on the consumption of the single PC operation, so the time Tpc1 until the PC battery is discharged and the PC operation is disabled. Is about 5 hours as shown in FIG.
Compared with the conventional example 2 in FIG. 8, the time until the conventional PC becomes inoperable (Tpc1) was about 3 hours, whereas in the example 2 in FIG. It will be about 2 hours long.

また、TEについては、T≧Poの部分では、自己のバッテリーからの供給電力のみで動作するので、TEのバッテリー容量は、破線と同様の割合で減少するが、TEのバッテリーが放電してTEの動作が不能となるまでの時間Tte1は、図9に示すように、5時間程度となる。図8の従来例2と比較すると、TEの単独での動作可能な時間は、従来例2よりも短くなる。
しかし、PCとTEとを含むシステム全体での動作が可能な時間を考えると、図9の実施例2では、TEおよびPCとも5時間程度(=Tte1=Tpc1)であるので、システム全体の動作可能時間も5時間程度が確保できる。
一方、図8の従来例2では、TEの駆動時間Tte1は10時間であるが、PCの駆動時間Tpc1が3時間程度にまで短くなるので、システム全体の動作可能時間は、3時間程度しか確保できないことになる。
よって、実施例2に示したように、TEにおける電力消費の形態を切り替えることにより、TEによるPCからの供給電力の消費を制限して、PC単独での動作可能時間の低下を抑制し、PCとTEとを含むシステム全体としての動作時間を従来よりも長くすることができる。
As for TE, when T ≧ Po, it operates only with the power supplied from its own battery, so the battery capacity of TE decreases at the same rate as the broken line, but the TE battery discharges and TE The time Tte1 until the operation becomes impossible is about 5 hours as shown in FIG. Compared with Conventional Example 2 of FIG. 8, the time during which TE can operate alone is shorter than that of Conventional Example 2.
However, considering the time in which the entire system including PC and TE can be operated, in Example 2 in FIG. 9, both TE and PC are about 5 hours (= Tte1 = Tpc1). The possible time can be secured about 5 hours.
On the other hand, in the conventional example 2 of FIG. 8, although the TE drive time Tte1 is 10 hours, the PC drive time Tpc1 is reduced to about 3 hours, so that the entire system operable time is secured only about 3 hours. It will not be possible.
Therefore, as shown in the second embodiment, by switching the power consumption mode in the TE, the consumption of power supplied from the PC by the TE is limited, and the decrease in the operable time of the PC alone is suppressed. As a whole, the operation time of the system including TE and TE can be made longer than before.

(この発明の実施例3)
図10に、この発明の実施例3におけるバッテリー容量の変化のグラフを示す。
図10の破線グラフも、図7のグラフを示しており、図7〜図9と同様に、PCの単独での当初の駆動時間Tpc0が、TEの単独での当初の駆動時間Tte0よりも長い場合(Tpc0>Tte0)を示している。
実施例3では、TEは、PCからの供給電力を使用して動作をするが、その供給電力で自己のバッテリー25の充電を行わないモードに設定されているものとする。
すなわち、実施例3では、実施例2とは異なり、充電モードでないものとする。
ただし、実施例2と同様に、現在のPC駆動時間TcがTE駆動時間Te以下になるまで、PCからの供給電力を使用してTEの動作を行わせ、Tc≦Teとなった後は、TEは、TEの自己のバッテリー25からの供給電力のみを使用して動作するものとする。
(Embodiment 3 of the present invention)
FIG. 10 shows a graph of changes in battery capacity in Example 3 of the present invention.
The broken line graph of FIG. 10 also shows the graph of FIG. 7, and the initial drive time Tpc0 of the PC alone is longer than the initial drive time Tte0 of the TE alone, as in FIGS. The case (Tpc0> Tte0) is shown.
In the third embodiment, it is assumed that the TE operates using power supplied from the PC, but is set to a mode in which the battery 25 is not charged with the supplied power.
In other words, unlike the second embodiment, the third embodiment is not in the charging mode.
However, as in the second embodiment, the TE operation is performed using the power supplied from the PC until the current PC driving time Tc becomes equal to or less than the TE driving time Te, and after Tc ≦ Te, It is assumed that the TE operates using only power supplied from the battery 25 of the TE itself.

図10において、駆動時間T=0からT=Poの時点までの範囲は、Tc>Teであり、T=Poとなった時点で、Tc=Teになったとする。
0<時間T<Poの場合、TEは、PCからの供給電力で動作するが、自己のバッテリーの充電は行わない。
この範囲では、TEは、自己のバッテリー25からの電力は消費せず、バッテリー25の充電もしないので、TEのバッテリー容量は変化がないが、PCは、PC単独での動作とTEへの電力供給のためにPCのバッテリー容量を消費するので、破線で示したPC単独使用による容量変化のグラフよりも、早くPCのバッテリー容量が減少することになる。
T=Poのとき、PC駆動時間Tcが、TE駆動時間Teに等しくなったとすると、PCのバッテリーの電力消費を抑えるために、供給電力切替部15によって電力供給元を、自己のバッテリー25に切り替える。
これにより、PCからの供給電力は、TEで消費されないようになるので、T=Po以降は、PCのバッテリー容量は、PC単独でのバッテリー容量変化のグラフとほぼ同様に減少していく。
In FIG. 10, the range from the drive time T = 0 to the time point T = Po is Tc> Te, and it is assumed that Tc = Te when T = Po.
When 0 <time T <Po, TE operates with power supplied from the PC, but does not charge its own battery.
In this range, the TE does not consume power from its own battery 25 and does not charge the battery 25, so the battery capacity of the TE does not change, but the PC operates independently of the PC and power to the TE. Since the battery capacity of the PC is consumed for the supply, the battery capacity of the PC is reduced faster than the graph of the capacity change due to the use of the PC alone shown by the broken line.
When T = Po, if the PC driving time Tc becomes equal to the TE driving time Te, the power supply source is switched to the own battery 25 by the supply power switching unit 15 in order to suppress the power consumption of the PC battery. .
As a result, the power supplied from the PC is not consumed by the TE. Therefore, after T = Po, the battery capacity of the PC decreases almost in the same manner as the graph of the change in battery capacity of the PC alone.

一方、T=Po以降、TEは、自己のバッテリー25からの供給電力のみによって動作をするので、TEのバッテリー容量は、破線で示したTE単独でのバッテリー容量変化のグラフと同様に、減少していく。
図10において、PCについては、PC単独動作によって動作不能となるまでの当初の駆動可能時間(Tpc0)が6時間程度であったのに対し、実施例3のPCの駆動可能時間Tpc1は、5時間程度にまで減少する。
しかし、図8の従来例2と比較すると、従来例2では、PCが動作不能となるまでの時間(Tpc1)は、3時間程度であったので、実施例3の方がPCの動作可能時間が2時間程度長いことになる。
また、TEについては、TEが動作不能となる時間(Tte1)は、図8の従来例2よりも短いが、5時間程度にまで長くなる。
さらに、PCとTEとを含むシステム全体の動作時間を比較すると、図8の従来例2が3時間程度であるのに対し、図10の実施例3では5時間程度となり、システム全体の動作時間を、従来よりも2時間程度長くすることができる。
よって、実施例3の場合も、図10に示したように、PCとTEのバッテリーの駆動可能時間を考慮してTEにおける電力消費の形態を切りかえることにより、TEによるPCからの供給電力の消費を制限して、PC単独での動作時間が短くなるのを抑制し、PCおよびTEを含むシステム全体の動作可能時間を従来よりも長くすることができる。
On the other hand, after T = Po, TE operates only with the power supplied from its own battery 25, so the battery capacity of TE decreases as in the graph of the change in battery capacity of TE alone indicated by the broken line. To go.
In FIG. 10, for the PC, the initial drivable time (Tpc0) until it becomes inoperable by the single PC operation is about 6 hours, whereas the drivable time Tpc1 for the PC of the third embodiment is 5 Decrease to about hours.
However, in comparison with the conventional example 2 in FIG. 8, in the conventional example 2, the time until the PC becomes inoperable (Tpc1) was about 3 hours. Will be about 2 hours longer.
For TE, the time (Tte1) during which TE becomes inoperable is shorter than Conventional Example 2 in FIG. 8, but is longer to about 5 hours.
Further, when the operation time of the entire system including PC and TE is compared, the conventional example 2 in FIG. 8 is about 3 hours, whereas the embodiment 3 in FIG. 10 is about 5 hours. Can be made about 2 hours longer than before.
Therefore, also in the case of the third embodiment, as shown in FIG. 10, the power consumption of the PC by the TE is changed by switching the power consumption mode in the TE in consideration of the driveable time of the PC and TE batteries. , The operation time of the entire PC including the PC and the TE can be made longer than before.

<電子機器TEの供給電力切替処理>
図4に、この発明の電子機器TEにおける供給電力切替処理の一実施例のフローチャートを示す。
ステップS1において、制御部11が、待機タイマーTmに、初期値T0を設定する。
待機タイマーTmは、PC駆動時間Tcを取得する時間間隔をカウントするものである。
ステップS2において、待機タイマーTmがタイムアウトしたか否かを監視する。初期値T0に相当する時間が経過するのを確認し、その時間が経過し待機タイマーTmがタイムアウトした場合は、ステップS3へ進む。
<Supply power switching process of electronic device TE>
FIG. 4 shows a flowchart of one embodiment of the supply power switching process in the electronic apparatus TE of the present invention.
In step S1, the control unit 11 sets an initial value T0 in the standby timer Tm.
The standby timer Tm counts the time interval for acquiring the PC drive time Tc.
In step S2, it is monitored whether or not the standby timer Tm has timed out. It is confirmed that the time corresponding to the initial value T0 has elapsed, and when the time has elapsed and the standby timer Tm has timed out, the process proceeds to step S3.

ステップS3において、PC駆動時間取得部17が、PCから、PC駆動時間Tcを取得する。
上記したように、USBケーブルを介したデータ通信により、たとえば、PCに要求情報を送信して、その要求情報に対する返信として、PC駆動時間Tcを受信してもよい。
ここでのPC駆動時間Tcは、PCの現在のバッテリー容量から計算されたPCのバッテリー単独動作による駆動可能時間に相当する。
ステップS4において、TE駆動時間取得部18が、現在の自己のバッテリー容量を取得して、所定の計算式を用いてそのバッテリー容量に対応するTE駆動時間Teを計算する。ここでのTE駆動時間Teは、TEをTEのバッテリーのみで単独動作させた場合に、動作不能となるまでの残りの駆動可能時間に相当する。
In step S3, the PC drive time acquisition unit 17 acquires the PC drive time Tc from the PC.
As described above, for example, request information may be transmitted to a PC by data communication via a USB cable, and the PC drive time Tc may be received as a reply to the request information.
The PC drive time Tc here corresponds to the driveable time by the PC battery single operation calculated from the current battery capacity of the PC.
In step S4, the TE drive time acquisition unit 18 acquires the current battery capacity of itself and calculates the TE drive time Te corresponding to the battery capacity using a predetermined calculation formula. The TE drive time Te here corresponds to the remaining driveable time until the TE becomes inoperable when the TE is operated solely with the TE battery.

ステップS5において、時間比較部19が、取得した2つの駆動可能時間の関係が、Tc<Teか否かを判断する。
Tc<Teの場合、ステップS6へ進み、そうでない場合ステップS7へ進む。
Tc<Teの場合、TEよりもPCの方が残りの動作時間が短いので、TEがPCからの供給電力を消費したとすると、PCの動作可能時間をより短くさせることになり、好ましくない。
そこで、ステップS6において、供給電力切替部15によって、電力供給元を自己のバッテリー25に切り替える。これにより、PCからの供給電力は使用せずに、TEの自己のバッテリー25からの供給電力を使用して、TEの所定の機能を実行させる。
その後、ステップS1へ戻る。
In step S5, the time comparison unit 19 determines whether or not the relationship between the acquired two drivable times is Tc <Te.
If Tc <Te, the process proceeds to step S6, and if not, the process proceeds to step S7.
In the case of Tc <Te, the remaining operation time of the PC is shorter than that of the TE. Therefore, if the TE consumes the power supplied from the PC, the PC operable time is shortened, which is not preferable.
Therefore, in step S <b> 6, the supply power switching unit 15 switches the power supply source to the own battery 25. As a result, the power supplied from the PC's own battery 25 is used without using the power supplied from the PC, and a predetermined function of the TE is executed.
Then, it returns to step S1.

一方、Tc≧Teの場合、PCの方がTEよりも残りの動作時間が長いので、PCからの供給電力を使用して、TEを動作させる。
ステップS7において、制御部11が、予め設定されたバッテリー25のモードが充電モードか否かをチェックする。
充電モードに設定されている場合は、ステップS9へ進み、充電モードでない場合は、ステップS8へ進む。
上記したように、充電モードの場合は、PCからの供給電力の一部分を使用して、TEのバッテリー25の充電を行う。充電モードでない場合は、TEのバッテリー25の充電は行わない。
On the other hand, when Tc ≧ Te, the remaining operation time of the PC is longer than that of the TE, so the TE is operated using the power supplied from the PC.
In step S7, the control unit 11 checks whether or not the preset mode of the battery 25 is the charging mode.
If the charging mode is set, the process proceeds to step S9. If not, the process proceeds to step S8.
As described above, in the charging mode, the TE battery 25 is charged using a part of the power supplied from the PC. When not in the charging mode, the TE battery 25 is not charged.

ステップS8およびS9のいずれの場合も、供給電力切替部15は、電力供給元を、接続部16側のPCからの供給電力に切り替える。
ステップS8においては、充電モードでないので、USBケーブル3を介して与えられたPCからの供給電力を使用して、TEのバッテリー25の充電を行わずに、TEの動作を行わせることになる。
ステップS9においては、充電モードなので、PCからの供給電力を使用して、TEの動作と、TEのバッテリー25の充電を行う。
ステップS8またはS9の後、ステップS1へ戻る。
In both cases of steps S8 and S9, the supply power switching unit 15 switches the power supply source to the supply power from the PC on the connection unit 16 side.
In step S8, since the charging mode is not set, the TE operation is performed without charging the TE battery 25 by using the power supplied from the PC provided through the USB cable 3.
In step S9, since the charging mode is selected, the TE operation and the charging of the TE battery 25 are performed using the power supplied from the PC.
After step S8 or S9, the process returns to step S1.

ステップS5において、Tc<Teでない限り、ステップS8またはS9において、PCからの供給電力を使用して、TEの動作を行わせることになるが、その後、PCのバッテリー容量が低下し、Tc<Teとなった場合には、ステップS6へ進み、PCからの供給電力は使用せずに、TEの自己のバッテリー25からの供給電力を使用して、TEの動作を行わせることになる。
以上の処理を行わせることにより、PCのバッテリー残量の低下を抑制し、PCとTEのバッテリーの使用によるそれぞれのバッテリー容量の減少を適切に制御することができ、PCとTEとを含むシステム全体の動作時間を可能な限り長くすることができる。
In step S5, unless Tc <Te, the power supply from the PC is used to perform TE operation in step S8 or S9. Thereafter, the battery capacity of the PC decreases, and Tc <Te. In this case, the process proceeds to step S6, and the TE operation is performed using the power supplied from the battery 25 of the TE itself without using the power supplied from the PC.
By performing the above processing, it is possible to suppress a decrease in the remaining amount of the battery of the PC, and to appropriately control the decrease in the respective battery capacities due to the use of the PC and TE batteries, and a system including the PC and the TE The overall operation time can be made as long as possible.

<付記>
この発明は、次のような構成を備えた電子機器および情報処理システムである。
(付記1)蓄電池と、外部からの電力供給を受けることが可能な通信ケーブルを接続する接続部と、前記通信ケーブルを介してバッテリーを備えた情報処理装置から、その情報処理装置が、前記バッテリーからの供給電力のみを用いて単独で動作可能な第1駆動時間Tcを取得する第1駆動時間取得部と、前記蓄電池からの供給電力のみを用いて単独で動作可能な第2駆動時間Teを取得する第2駆動時間取得部と、所定の機能を実行させる動作実行部と、前記動作実行部が機能を実行するのに使用する電力を、前記蓄電池からの供給電力と、前記通信ケーブルを介して供給された電力のどちらか一方に切り替える供給電力切替部と、前記取得された第1駆動時間Tcと第2駆動時間Teとの大小関係に基づいて、前記通信ケーブルを介して供給された電力の消費を制限するために、前記供給電力切替部によって使用する供給電力を切り替えさせる制御部とを備えたことを特徴とする電子機器。
これによれば、電子機器において、通信ケーブルを介して供給された電力の消費を制限するように、使用する供給電力を切り替えるので、情報処理装置の動作可能時間の減少を抑制し、電子機器と情報処理装置を含む情報処理システム全体としての動作可能時間を長くすることができる。
<Appendix>
The present invention is an electronic apparatus and an information processing system having the following configuration.
(Supplementary note 1) An information processing apparatus comprising: a storage battery; a connection unit for connecting a communication cable capable of receiving external power supply; and a battery via the communication cable. A first drive time acquisition unit that acquires a first drive time Tc that can be operated independently using only the power supplied from the battery, and a second drive time Te that can be operated independently using only the power supplied from the storage battery. A second driving time acquisition unit to acquire, an operation execution unit for executing a predetermined function, and an electric power used by the operation execution unit to execute the function, supply power from the storage battery, and the communication cable The power supply switching unit that switches to one of the power supplied in the above and the magnitude relationship between the first drive time Tc and the second drive time Te acquired via the communication cable In order to limit the supply power consuming the electronic apparatus, characterized by comprising a control section to switch the power supply to be used by the power supply switching unit.
According to this, in the electronic device, since the supply power to be used is switched so as to limit the consumption of the power supplied via the communication cable, the reduction in the operable time of the information processing device is suppressed, and the electronic device The operable time of the entire information processing system including the information processing apparatus can be extended.

(付記2)前記取得された第1駆動時間Tcと第2駆動時間Teとを比較する時間比較部を備え、前記比較の結果、第1駆動時間Tc<第2駆動時間Teの場合には、前記供給電力切替部が、前記蓄電池からの供給電力を使用するように切り替えることを特徴とする付記1に記載の電子機器。
これによれば、電子機器は、自己の蓄電池からの供給電力を使用し、通信ケーブルを介して供給された電力は使用しないので、情報処理装置は、そのバッテリーからの供給電力を自己の動作のためだけに使用することができ、情報処理装置の動作可能時間が短くなることを抑制して、情報処理システム全体としての動作可能時間の減少も少なくすることができる。
(Supplementary Note 2) A time comparison unit that compares the acquired first drive time Tc and the second drive time Te is provided. As a result of the comparison, when the first drive time Tc <the second drive time Te, The electronic device according to appendix 1, wherein the supply power switching unit switches to use the supply power from the storage battery.
According to this, since the electronic device uses the power supplied from its own storage battery and does not use the power supplied via the communication cable, the information processing apparatus uses the power supplied from the battery for its own operation. Therefore, it is possible to suppress the reduction of the operable time of the information processing system as a whole by suppressing the reduction of the operable time of the information processing apparatus.

(付記3)前記時間比較部による比較の結果、第1駆動時間Tc>第2駆動時間Teの場合には、前記第1駆動時間Tcが、前記第2駆動時間Te以下になるまで、前記供給電力切替部が、前記通信ケーブルを介して供給された電力を使用するように切り替え、前記通信ケーブルを介して供給された電力を使用して、前記動作実行部が所定の機能を実行することを特徴とする付記2に記載の電子機器。
これによれば、電子機器は、通信ケーブルを介して供給された電力を使用し、充電池の電力は使用しないので、動作可能時間を長くすることができ、情報処理装置そのものの動作可能時間は短くなるが、情報処理システム全体としての動作可能時間を長くすることができる。電子機器の充電池の充電をしないので、電子機器において、情報処理装置から供給される電力の消費量は充電池の充電をする場合に比べて少なく、充電池の充電をする場合よりも情報処理装置そのものの動作可能時間も長くできる。
(Supplementary note 3) When the first drive time Tc> the second drive time Te as a result of the comparison by the time comparison unit, the supply is continued until the first drive time Tc becomes equal to or less than the second drive time Te. The power switching unit switches to use the power supplied via the communication cable, and the operation executing unit executes a predetermined function using the power supplied via the communication cable. The electronic device according to Appendix 2, which is characterized.
According to this, since the electronic device uses the power supplied via the communication cable and does not use the power of the rechargeable battery, the operable time can be lengthened, and the operable time of the information processing apparatus itself is Although shortened, the operable time of the entire information processing system can be extended. Since the rechargeable battery of the electronic device is not charged, the amount of power supplied from the information processing device in the electronic device is less than when the rechargeable battery is charged. The operating time of the device itself can be lengthened.

(付記4)前記蓄電池の充電を行う充電部をさらに備え、前記時間比較部による比較の結果、第1駆動時間Tc>第2駆動時間Teの場合には、前記第1駆動時間Tcが、前記第2駆動時間Te以下になるまで、前記供給電力切替部が前記通信ケーブルを介して供給された電力を使用するように切り替え、前記通信ケーブルを介して供給された電力を使用して、前記動作実行部が所定の機能を実行し、かつ前記充電部が前記蓄電池の充電を行うことを特徴とする付記2に記載の電子機器。
これによれば、電子機器は、通信ケーブルを介して供給された電力を使用して、蓄電池の充電を行うので、充電を行わない場合よりも、電子機器の動作可能時間を長くすることができ、情報処理システム全体としての動作可能時間も長くすることができる。
(Additional remark 4) It further has a charge part which charges the storage battery, and as a result of comparison by the time comparison part, when the first drive time Tc> the second drive time Te, the first drive time Tc is The supply power switching unit switches to use the power supplied via the communication cable until the second drive time Te or less, and the operation using the power supplied via the communication cable is performed. The electronic device according to appendix 2, wherein the execution unit performs a predetermined function, and the charging unit charges the storage battery.
According to this, since the electronic device uses the power supplied via the communication cable to charge the storage battery, the operation time of the electronic device can be made longer than when the electronic device is not charged. In addition, the operable time of the information processing system as a whole can be extended.

(付記5)前記蓄電池の充電の許可あるいは禁止を設定するための入力部を備え、前記入力部によって、蓄電池の充電を禁止する設定がされた場合には、前記充電部は蓄電池の充電を行わないようにすることを特徴とする付記4に記載の電子機器。
これによれば、ユーザ自らの意思で、電子機器の充電池の充電を行わないように設定することにより、情報処理装置からの供給電力を使用した充電を行わないようにするので、情報処理装置の動作可能時間を長くすることができる。
(Supplementary Note 5) An input unit for setting permission or prohibition of charging of the storage battery is provided, and when the setting for prohibiting charging of the storage battery is made by the input unit, the charging unit charges the storage battery. The electronic apparatus according to appendix 4, wherein the electronic apparatus is not included.
According to this, by setting the user's own intention not to charge the rechargeable battery of the electronic device, the charging using the power supplied from the information processing device is not performed. It is possible to lengthen the operable time.

(付記6)前記通信ケーブルを介して供給された電力を使用して、前記動作実行部が所定の機能を実行した後、第1駆動時間Tc≦第2駆動時間Teとなった場合には、前記供給電力切替部が、前記蓄電池からの供給電力を使用するように切り替えることを特徴とする付記3、4または5に記載の電子機器。
これによれば、蓄電池からの供給電力を使用するように切り替えるので、情報処理装置から供給される電力を電子機器側で消費しなくなり、情報処理装置の動作可能時間が短くなることを抑制することができる。
(Supplementary Note 6) When the first drive time Tc ≦ second drive time Te is satisfied after the operation execution unit executes a predetermined function using the power supplied via the communication cable, The electronic device according to appendix 3, 4 or 5, wherein the supply power switching unit switches to use the supply power from the storage battery.
According to this, since the power supplied from the storage battery is switched to use, the power supplied from the information processing device is not consumed on the electronic device side, and the operation time of the information processing device is prevented from being shortened. Can do.

(付記7)電力を供給することが可能な情報処理装置と、前記供給電力を受けることが可能な電子機器とが、前記供給電力を搬送可能な通信ケーブルを介して接続された情報処理システムであって、前記情報処理装置が、バッテリーと、前記バッテリーからの供給電力のみを用いて単独で動作可能な第1駆動時間Tcを算出する駆動時間算出部と、前記通信ケーブルを接続する第1接続部と、前記通信ケーブルを介して、前記算出された第1駆動時間Tcを前記電子機器へ送信する通信部と、前記通信ケーブルを介して、バッテリーからの供給電力の一部分を前記電子機器に供給する電力供給部とを備え、前記電子機器が、蓄電池と、前記通信ケーブルを接続する第2接続部と、前記情報処理装置から送られてきた第1駆動時間Tcを取得する第1駆動時間取得部と、前記蓄電池からの供給電力のみを用いて単独で動作可能な第2駆動時間Teを取得する第2駆動時間取得部と、所定の機能を実行させる動作実行部と、前記動作実行部が機能を実行するのに使用する電力を、前記蓄電池からの供給電力と、前記通信ケーブルを介して供給された電力のどちらか一方に切り替える供給電力切替部と、前記取得された第1駆動時間Tcと第2駆動時間Teとの大小関係に基づいて、前記通信ケーブルを介して供給された電力の消費を制限するために、前記供給電力切替部によって使用する供給電力を切り替えさせる制御部とを備えたことを特徴とする情報処理システム。 (Supplementary note 7) An information processing system in which an information processing apparatus capable of supplying power and an electronic device capable of receiving the supplied power are connected via a communication cable capable of carrying the supplied power The information processing apparatus includes a battery, a driving time calculation unit that calculates a first driving time Tc that can operate independently using only power supplied from the battery, and a first connection that connects the communication cable. A communication unit that transmits the calculated first drive time Tc to the electronic device via the communication cable, and supplies a part of the power supplied from the battery to the electronic device via the communication cable. The electronic device obtains the first drive time Tc sent from the information processing device, the second connection unit for connecting the storage battery, the communication cable, and the information processing device. A first drive time acquisition unit, a second drive time acquisition unit that acquires a second drive time Te that can operate independently using only the power supplied from the storage battery, and an operation execution unit that executes a predetermined function; A power supply switching unit that switches the power used by the operation execution unit to execute a function between the power supplied from the storage battery and the power supplied via the communication cable; and the acquired Based on the magnitude relationship between the first drive time Tc and the second drive time Te, the supply power used by the supply power switching unit is switched in order to limit the consumption of the power supplied via the communication cable. An information processing system comprising a control unit.

1 電子機器TE
2 情報処理装置PC
3 通信ケーブル(USBケーブル)
11 制御部
12 通信部
13 入力部
14 充電部
15 供給電力切替部
16 接続部
17 PC駆動時間取得部
18 TE駆動時間取得部
19 時間比較部
20 動作実行部
25 蓄電池(バッテリー)
26 記憶部
27 PC駆動時間Tc
28 TE駆動時間Te
29 待機タイマー値To
30 充電モードCH
51 制御部
52 表示部
53 通信部
54 入力部
55 充電部
56 接続部
57 PC駆動時間算出部
58 電力供給部
59 動作実行部
61 記憶部
62 PC駆動時間Tc
65 蓄電池(バッテリー)
1 Electronic equipment TE
2 Information processing equipment PC
3 Communication cable (USB cable)
DESCRIPTION OF SYMBOLS 11 Control part 12 Communication part 13 Input part 14 Charging part 15 Supply power switching part 16 Connection part 17 PC drive time acquisition part 18 TE drive time acquisition part 19 Time comparison part 20 Operation execution part 25 Storage battery (battery)
26 storage unit 27 PC drive time Tc
28 TE drive time Te
29 Standby timer value To
30 Charging mode CH
51 Control Unit 52 Display Unit 53 Communication Unit 54 Input Unit 55 Charging Unit 56 Connection Unit 57 PC Drive Time Calculation Unit 58 Power Supply Unit 59 Operation Execution Unit 61 Storage Unit 62 PC Drive Time Tc
65 Storage battery

Claims (7)

蓄電池と、
外部からの電力供給を受けることが可能な通信ケーブルを接続する接続部と、
前記通信ケーブルを介してバッテリーを備えた情報処理装置から、その情報処理装置が前記バッテリーからの供給電力のみを用いて単独で動作可能な第1駆動時間Tcを取得する第1駆動時間取得部と、
前記蓄電池からの供給電力のみを用いて単独で動作可能な第2駆動時間Teを取得する第2駆動時間取得部と、
所定の機能を実行させる動作実行部と、
前記動作実行部が機能を実行するのに使用する電力を、前記蓄電池からの供給電力と、前記通信ケーブルを介して供給された電力のどちらか一方に切り替える供給電力切替部と、
前記取得された第1駆動時間Tcと第2駆動時間Teとの大小関係に基づいて、前記通信ケーブルを介して供給された電力の消費を制限するために、前記供給電力切替部によって使用する供給電力を切り替えさせる制御部とを備えたことを特徴とする電子機器。
A storage battery,
A connection part for connecting a communication cable capable of receiving an external power supply; and
A first drive time acquisition unit that acquires, from an information processing device including a battery via the communication cable, a first drive time Tc that allows the information processing device to operate independently using only power supplied from the battery; ,
A second drive time acquisition unit that acquires a second drive time Te that can be operated independently using only power supplied from the storage battery;
An operation execution unit for executing a predetermined function;
A power supply switching unit that switches power used by the operation execution unit to execute a function between power supplied from the storage battery and power supplied via the communication cable;
Supply used by the supply power switching unit to limit the consumption of power supplied via the communication cable based on the magnitude relationship between the acquired first drive time Tc and second drive time Te. An electronic device comprising: a control unit that switches power.
前記取得された第1駆動時間Tcと第2駆動時間Teとを比較する時間比較部を備え、
前記比較の結果、第1駆動時間Tc<第2駆動時間Teの場合には、
前記供給電力切替部が、前記蓄電池からの供給電力を使用するように切り替えることを特徴とする請求項1に記載の電子機器。
A time comparison unit for comparing the acquired first drive time Tc and the second drive time Te;
As a result of the comparison, if the first driving time Tc <the second driving time Te,
The electronic device according to claim 1, wherein the supply power switching unit switches to use the supply power from the storage battery.
前記時間比較部による比較の結果、第1駆動時間Tc>第2駆動時間Teの場合には、前記第1駆動時間Tcが、前記第2駆動時間Te以下になるまで、前記供給電力切替部が、前記通信ケーブルを介して供給された電力を使用するように切り替え、
前記通信ケーブルを介して供給された電力を使用して、前記動作実行部が所定の機能を実行することを特徴とする請求項2に記載の電子機器。
As a result of the comparison by the time comparison unit, when the first drive time Tc> the second drive time Te, the supply power switching unit switches until the first drive time Tc becomes equal to or less than the second drive time Te. , Switch to use the power supplied via the communication cable,
The electronic apparatus according to claim 2, wherein the operation execution unit executes a predetermined function using electric power supplied via the communication cable.
前記蓄電池の充電を行う充電部をさらに備え、
前記時間比較部による比較の結果、第1駆動時間Tc>第2駆動時間Teの場合には、前記第1駆動時間Tcが、前記第2駆動時間Te以下になるまで、前記供給電力切替部が前記通信ケーブルを介して供給された電力を使用するように切り替え、
前記通信ケーブルを介して供給された電力を使用して、前記動作実行部が所定の機能を実行し、かつ前記充電部が前記蓄電池の充電を行うことを特徴とする請求項2に記載の電子機器。
Further comprising a charging unit for charging the storage battery,
As a result of the comparison by the time comparison unit, when the first drive time Tc> the second drive time Te, the supply power switching unit switches until the first drive time Tc becomes equal to or less than the second drive time Te. Switch to use the power supplied via the communication cable,
3. The electronic device according to claim 2, wherein the operation execution unit performs a predetermined function using the power supplied via the communication cable, and the charging unit charges the storage battery. 4. machine.
前記蓄電池の充電の許可あるいは禁止を設定するための入力部を備え、
前記入力部によって、蓄電池の充電を禁止する設定がされた場合には、前記充電部は蓄電池の充電を行わないようにすることを特徴とする請求項4に記載の電子機器。
An input unit for setting permission or prohibition of charging of the storage battery;
The electronic device according to claim 4, wherein when the input unit is set to prohibit charging of the storage battery, the charging unit does not charge the storage battery.
前記通信ケーブルを介して供給された電力を使用して、前記動作実行部が所定の機能を実行した後、第1駆動時間Tc≦第2駆動時間Teとなった場合には、前記供給電力切替部が、前記蓄電池からの供給電力を使用するように切り替えることを特徴とする請求項3、4または5に記載の電子機器。   When the first drive time Tc ≦ the second drive time Te after the operation execution unit executes a predetermined function using the power supplied via the communication cable, the supply power switching is performed. The electronic device according to claim 3, 4, or 5, wherein the unit switches to use power supplied from the storage battery. 電力を供給することが可能な情報処理装置と、前記供給電力を受けることが可能な電子機器とが、前記供給電力を搬送可能な通信ケーブルを介して接続された情報処理システムであって、
前記情報処理装置が、
バッテリーと、
前記バッテリーからの供給電力のみを用いて単独で動作可能な第1駆動時間Tcを算出する駆動時間算出部と、
前記通信ケーブルを接続する第1接続部と、
前記通信ケーブルを介して、前記算出された第1駆動時間Tcを前記電子機器へ送信する通信部と、
前記通信ケーブルを介して、バッテリーからの供給電力の一部分を前記電子機器に供給する電力供給部とを備え、
前記電子機器が、
蓄電池と、
前記通信ケーブルを接続する第2接続部と、
前記情報処理装置から送られてきた第1駆動時間Tcを取得する第1駆動時間取得部と、
前記蓄電池からの供給電力のみを用いて単独で動作可能な第2駆動時間Teを取得する第2駆動時間取得部と、
所定の機能を実行させる動作実行部と、
前記動作実行部が機能を実行するのに使用する電力を、前記蓄電池からの供給電力と、前記通信ケーブルを介して供給された電力のどちらか一方に切り替える供給電力切替部と、
前記取得された第1駆動時間Tcと第2駆動時間Teとの大小関係に基づいて、前記通信ケーブルを介して供給された電力の消費を制限するために、前記供給電力切替部によって使用する供給電力を切り替えさせる制御部とを備えたことを特徴とする情報処理システム。
An information processing system in which an information processing apparatus capable of supplying power and an electronic device capable of receiving the supplied power are connected via a communication cable capable of carrying the supplied power,
The information processing apparatus is
Battery,
A drive time calculation unit that calculates a first drive time Tc that can be operated independently using only power supplied from the battery;
A first connection for connecting the communication cable;
A communication unit that transmits the calculated first drive time Tc to the electronic device via the communication cable;
A power supply unit that supplies a part of the power supplied from the battery to the electronic device via the communication cable;
The electronic device is
A storage battery,
A second connection for connecting the communication cable;
A first drive time acquisition unit for acquiring a first drive time Tc sent from the information processing apparatus;
A second drive time acquisition unit that acquires a second drive time Te that can be operated independently using only power supplied from the storage battery;
An operation execution unit for executing a predetermined function;
A power supply switching unit that switches power used by the operation execution unit to execute a function between power supplied from the storage battery and power supplied via the communication cable;
Supply used by the supply power switching unit to limit the consumption of power supplied via the communication cable based on the magnitude relationship between the acquired first drive time Tc and second drive time Te. An information processing system comprising: a control unit that switches power.
JP2013211064A 2013-10-08 2013-10-08 Electronic apparatus and information processing system Pending JP2015076954A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013211064A JP2015076954A (en) 2013-10-08 2013-10-08 Electronic apparatus and information processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013211064A JP2015076954A (en) 2013-10-08 2013-10-08 Electronic apparatus and information processing system

Publications (1)

Publication Number Publication Date
JP2015076954A true JP2015076954A (en) 2015-04-20

Family

ID=53001423

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013211064A Pending JP2015076954A (en) 2013-10-08 2013-10-08 Electronic apparatus and information processing system

Country Status (1)

Country Link
JP (1) JP2015076954A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018037934A (en) * 2016-09-01 2018-03-08 株式会社シーピーアイテクノロジーズ Radio communication device
CN112736995A (en) * 2019-10-14 2021-04-30 贝里斯商基电力能科技有限公司台湾分公司 Universal serial bus power supply device with power supply switching function

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018037934A (en) * 2016-09-01 2018-03-08 株式会社シーピーアイテクノロジーズ Radio communication device
CN112736995A (en) * 2019-10-14 2021-04-30 贝里斯商基电力能科技有限公司台湾分公司 Universal serial bus power supply device with power supply switching function

Similar Documents

Publication Publication Date Title
TWI445277B (en) A charging system, a charging method, and an information processing device
US9467084B2 (en) Motor-driven appliance system and method for controlling the system
US8533509B2 (en) Device and method for controlling secondary battery
US7772807B2 (en) Method for charging portable electronic device
KR101723998B1 (en) Apparatus and method for controlling charging currnet in device using recargable battery
US10097021B2 (en) Charging device and charging method
WO2007122787A1 (en) Charging system, charging control program, and portable terminal
US11188135B2 (en) Battery controller, electronic device, battery pack, and battery controlling method
WO2014105230A1 (en) Power management system and method
US9436260B2 (en) Method and system for ensuring a residual battery capacity reaching a predetermined value before transitioning apparatus to power-saving mode
JP2009225632A (en) Charging control circuit, battery pack, and charging system
KR20110090212A (en) Apparatus and method for reducing time to charge battery in portable device
JP2006099354A (en) Data transfer control device and data transfer control method
US9252618B2 (en) Terminals, terminal systems and charging/discharging methods thereof
JP5721466B2 (en) Secondary battery charging device, secondary battery charging system, and secondary battery charging method
JP2015076954A (en) Electronic apparatus and information processing system
JP2013110853A (en) Power management device, base station, power management method and program
JP2015082917A (en) Electronic apparatus and information processing system
JP2017177324A (en) Electric equipment system
JP2007135362A (en) Mobile terminal device
US10459503B2 (en) Electronic system, terminal device, and function expansion device
JP2004180473A (en) Electronic apparatus system and power saving control method
CN112003362B (en) Control method of power supply system and related device
CN116565993A (en) Low-temperature charging control method for multi-battery pack, energy storage equipment and energy storage system
JP2008236856A (en) Charging system and method, and electronic apparatus