JP5162188B2 - Mobile communication terminal, startup method, and boot program - Google Patents
Mobile communication terminal, startup method, and boot program Download PDFInfo
- Publication number
- JP5162188B2 JP5162188B2 JP2007225832A JP2007225832A JP5162188B2 JP 5162188 B2 JP5162188 B2 JP 5162188B2 JP 2007225832 A JP2007225832 A JP 2007225832A JP 2007225832 A JP2007225832 A JP 2007225832A JP 5162188 B2 JP5162188 B2 JP 5162188B2
- Authority
- JP
- Japan
- Prior art keywords
- voltage
- program
- current
- secondary battery
- control means
- 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.)
- Expired - Fee Related
Links
Images
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02E—REDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
- Y02E60/00—Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
- Y02E60/10—Energy storage using batteries
Landscapes
- Mobile Radio Communication Systems (AREA)
- Telephone Function (AREA)
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
- Secondary Cells (AREA)
Description
この発明は、携帯機器、起動方法およびブートプログラムに関し、特に二次電池を電力源とする携帯機器に関する。 The present invention relates to a mobile device, a startup method, and a boot program, and more particularly to a mobile device using a secondary battery as a power source.
携帯電話機で代表される携帯機器は、電力源にリチウムイオン電池やニッケル水素電池等の二次電池が用いられる。このため、外部から電力の供給を受けて、二次電池を充電する必要がある。近年、携帯機器はUSB(Universal Serial Bus)コネクタを備えたものが普及しており、USBケーブルで接続された外部の機器から電力の供給を受けることが可能である。USBケーブルで接続された外部の機器から電力を受ける場合、規格により最初は100mAの電流の電力しか供給を受けることができない。外部の機器から供給される電力の電流値を増加させるためには、外部の機器が充電器であることを確認するか、または、外部の機器と通信してネゴシエーションした後でなければ、外部の機器から供給される電力の電流値を増加させることができない。USBケーブルで接続された外部の機器から受ける電力で、二次電池を充電する技術または携帯機器を駆動する技術は、例えば、特許文献1〜3に記載されている。
A mobile device represented by a mobile phone uses a secondary battery such as a lithium ion battery or a nickel metal hydride battery as a power source. For this reason, it is necessary to charge the secondary battery by receiving power from the outside. In recent years, portable devices equipped with a USB (Universal Serial Bus) connector have become widespread, and can be supplied with power from an external device connected by a USB cable. When receiving power from an external device connected by a USB cable, only a current of 100 mA can be supplied at first according to the standard. In order to increase the current value of the power supplied from the external device, make sure that the external device is a charger, or after communicating with the external device and negotiating The current value of the power supplied from the device cannot be increased. For example,
しかしながら、従来の技術は、二次電池が携帯機器を駆動させるのに十分な電力を蓄積している場合の技術に関する。二次電池が携帯機器を駆動させるのに必要最低限の電圧を出力することができない過放電状態の場合、端末装置の中央演算装置(CPU)が駆動することができず、外部の機器が充電器であることの確認、または、外部の機器との通信のいずれもすることができない。このため次の問題がある。 However, the conventional technique relates to a technique in the case where the secondary battery stores sufficient power to drive the portable device. If the secondary battery is in an overdischarged state that cannot output the minimum voltage required to drive the portable device, the central processing unit (CPU) of the terminal device cannot be driven and the external device is charged. Neither confirmation of the device nor communication with an external device can be performed. For this reason, there are the following problems.
外部の機器から供給される100mAの電流の電力が供給されれば、二次電池の電圧が上昇し、CPUを駆動させることができる。しかし、CPUは、起動した後、外部の機器が充電器であることを確認する前、または、外部の機器と通信する前に、ブートプログラムを実行しなければならず、その間のCPUの消費電力が外部の機器から供給される100mAの電流の電力よりも大きいので、外部の機器が充電器であることを確認する前、または、外部の機器と通信する前にCPUがリセットされてしまう。このため、いつまでたってもCPUを起動することができないといった問題がある。
この発明は上述した問題点を解決するためになされたもので、この発明の目的の一つは、二次電池が過放電状態であっても起動することが可能な携帯機器を提供することである。 The present invention has been made to solve the above-described problems, and one of the objects of the present invention is to provide a portable device that can be activated even when the secondary battery is in an overdischarged state. is there.
この発明のさらに他の目的は、二次電池が過放電状態であっても起動することが可能な起動方法を提供することである。 Still another object of the present invention is to provide a starting method capable of starting even when the secondary battery is in an overdischarged state.
この発明のさらに他の目的は、二次電池が過放電状態であっても起動することが可能なブートプログラムを提供することである。 Still another object of the present invention is to provide a boot program that can be activated even when the secondary battery is in an overdischarged state.
上述した目的を達成するためにこの発明のある局面によれば、携帯機器は、外部機器を接続可能な入力端子と、入力端子に接続された外部機器から電流の供給を受ける二次電池と、入力端子から二次電池に流れる電流を制御する電流制御手段と、電流制御手段を制御する処理を実行するための制御プログラムを含むブートプログラムを記憶するブートプログラム記憶手段と、二次電池から動作電圧以上の電圧が供給された場合に動作し、起動後にブートプログラムを実行する制御手段と、二次電池の出力電圧が動作電圧より高い起動電圧以上である場合に制御手段を起動させる起動手段と、を備え、制御手段は、起動手段により起動された後、記憶手段に記憶されたブートプログラムのうちの制御プログラムを実行し、起動電圧は、制御手段が起動してからブートプログラムのうち制御プログラムの実行を終了するまでに制御手段により消費される電力と、動作電圧とから定まり、制御プログラムは、入力端子に特定の外部機器が接続されたことを検出するステップと、検出ステップにより特定の外部機器が接続されたことが検出されない場合、二次電池の出力電圧が単純起動電圧になるまで待機するステップと、検出ステップにより特定の外部機器が接続されたことが検出されることに応じて、電流制御手段に入力端子から二次電池に流れる電流を第1電流から該第1電流より大きな第2電流に切換えさせるステップと、を制御手段に実行させ、単純起動電圧は、制御手段がブートプログラムの実行を終了するまでに制御手段により消費される電力と、動作電圧とから定まる。
According to an aspect of the present invention to achieve the above-described object, the portable device includes an input terminal to which an external device can be connected, a secondary battery that receives a supply of current from the external device connected to the input terminal, Current control means for controlling current flowing from the input terminal to the secondary battery, boot program storage means for storing a boot program including a control program for executing processing for controlling the current control means, and operating voltage from the secondary battery Control means that operates when the above voltage is supplied, and executes a boot program after activation, and activation means that activates the control means when the output voltage of the secondary battery is higher than the activation voltage higher than the operation voltage; And the control means executes the control program of the boot programs stored in the storage means after being activated by the activation means, and the activation voltage is the control means It is determined from the power consumed by the control means and the operating voltage from the start to the end of execution of the control program, and the control program detects that a specific external device is connected to the input terminal And when the detection step does not detect that a specific external device is connected , a step of waiting until the output voltage of the secondary battery reaches a simple start voltage, and a specific external device is connected by the detection step it in response to being detected, to execute the current flowing from the input terminal to the current control unit to the secondary battery from the first current a step to switch to a larger second current than the first current, to the control means, simple activation voltage, the electric power control means is consumed by the control unit before terminating the execution of the boot program, Ru Sadama from the operating voltage.
この局面に従えば、二次電池の出力電圧が動作電圧より高い起動電圧以上であることを条件に、制御手段が起動され、制御手段により、ブートプログラムのうちの制御プログラムが実行される。制御プログラムを実行する制御手段により、入力端子に特定の外部機器が接続されたことが検出されることに応じて、入力端子から二次電池に流れる電流が第1電流から第2電流に切換えられる。起動電圧は、制御手段が起動してからブートプログラムのうち制御プログラムの実行を終了するまでに制御手段により消費される電力と、動作電圧とから定まるので、制御手段が制御プログラムの実行を終了するまでに二次電池の出力電圧が動作電圧より低くなることがない。また、特定の外部機器が接続されたことが検出されない場合、二次電池の出力電圧が、ブートプログラムの実行が終了するまでに消費される電力と動作電圧とから定まる単純起動電圧になるまで待機するので、ブートプログラムを実行することができる。このため、特定の外部機器が接続されない場合であってもブートプログラムを最後まで実行することができ、携帯機器を起動することができる。また、入力端子から二次電池に流れる電流が第1電流から第2電流に切換えられた後は、制御手段が消費する電力を超える電力が入力端子から二次電池に供給されるので、制御手段が制御プログラムの実行を終了した後に二次電池の出力電圧が動作電圧より低くなることがない。その結果、二次電池が過放電状態であっても起動することが可能な携帯機器を提供することができる。
According to this aspect, the control means is activated on the condition that the output voltage of the secondary battery is equal to or higher than the activation voltage higher than the operating voltage, and the control program of the boot program is executed by the control means. The current flowing from the input terminal to the secondary battery is switched from the first current to the second current in response to detecting that the specific external device is connected to the input terminal by the control means that executes the control program. . Since the start-up voltage is determined from the power consumed by the control unit and the operating voltage from the start of the control unit to the end of the execution of the control program in the boot program, the control unit ends the execution of the control program. The output voltage of the secondary battery does not become lower than the operating voltage. Also, if it is not detected that a specific external device is connected, it will wait until the output voltage of the secondary battery reaches a simple startup voltage determined from the power consumed by the boot program and the operating voltage. Therefore, the boot program can be executed. For this reason, even when a specific external device is not connected, the boot program can be executed to the end, and the portable device can be activated. In addition, after the current flowing from the input terminal to the secondary battery is switched from the first current to the second current, power exceeding the power consumed by the control means is supplied from the input terminal to the secondary battery. After finishing the execution of the control program, the output voltage of the secondary battery does not become lower than the operating voltage. As a result, a portable device that can be activated even when the secondary battery is in an overdischarged state can be provided.
好ましくは、記憶手段は、不揮発性メモリであり、記憶手段とは別に、制御手段の作業領域として用いられる揮発性の作業用記憶手段をさらに備え、ブートプログラムは、記憶手段に記憶されているアプリケーションプログラムを作業用記憶手段に転送する処理を制御手段に実行させるための転送プログラムをさらに含み、制御手段は、制御プログラムを実行した後、転送プログラムを実行する。 Preferably, the storage means is a non-volatile memory, and further includes a volatile work storage means used as a work area of the control means separately from the storage means, and the boot program is stored in the storage means. It further includes a transfer program for causing the control means to execute processing for transferring the program to the working storage means, and the control means executes the transfer program after executing the control program.
この局面に従えば、制御手段により制御プログラムが実行された後に、転送プログラムが実行される。制御プログラムが実行されることにより、入力端子から二次電池に流れる電流が第1電流から第2電流に切換えられるので、転送プログラムを確実に実行させることができる。 According to this aspect, after the control program is executed by the control means, the transfer program is executed. By executing the control program, the current flowing from the input terminal to the secondary battery is switched from the first current to the second current, so that the transfer program can be reliably executed.
好ましくは、制御手段は、記憶手段に記憶されているアプリケーションプログラムを実行する。 Preferably, the control means executes an application program stored in the storage means.
この局面に従えば、アプリケーションプログラムを確実に実行させることができる。 According to this aspect, the application program can be surely executed.
好ましくは、起動電圧は、制御手段が起動してから制御プログラムの実行を終了した後に、二次電池の電圧が動作電圧以上となる電圧である。
好ましくは、単純起動電圧は、制御手段がブートプログラムの実行を終了した後に、二次電池の電圧が動作電圧以上となる電圧である。
好ましくは、電流切換手段は、入力端子に電圧が印加されることに応じて、入力端子から二次電池に第1電流を流し、制御手段により制御されて入力端子から二次電池に第2電流を流す。
Good Mashiku the starting voltage is, after the control unit has finished the execution of the control program from the start, a voltage the voltage of the secondary battery is in an operating voltage or more.
Preferably, the simple startup voltage is a voltage at which the voltage of the secondary battery becomes equal to or higher than the operating voltage after the control means finishes executing the boot program.
Preferably, the current switching means causes the first current to flow from the input terminal to the secondary battery in response to the voltage being applied to the input terminal, and is controlled by the control means to cause the second current from the input terminal to the secondary battery. Shed.
この発明の他の局面に従えば、起動方法は、携帯機器で実行される起動方法であって、携帯機器は、外部機器を接続可能な入力端子と、入力端子に接続された外部機器から電流の供給を受ける二次電池と、入力端子から二次電池に流れる電流を制御する電流制御手段と、アプリケーションプログラムを記憶する記憶手段と、電流制御手段を制御する処理を実行するための制御プログラムおよび転送プログラムを含むブートプログラムを記憶するブートプログラム記憶手段と、二次電池から動作電圧以上の電圧が供給された場合に動作し、起動後にブートプログラムを実行する制御手段と、二次電池の出力電圧が動作電圧より高い起動電圧以上である場合に制御手段を起動させる起動手段と、制御手段の作業領域として用いられる作業用記憶手段と、を備え、起動電圧は、制御手段が起動してからブートプログラムのうち制御プログラムの実行を終了するまでに制御手段により消費される電力と、動作電圧とから定まり、制御プログラムは、電流制御手段と通信するための設定を行うステップと、入力端子に特定の外部機器が接続されたか否かを検出するステップと、検出ステップにより特定の外部機器が接続されたことが検出されない場合、二次電池の出力電圧が単純起動電圧になるまで待機するステップと、検出ステップにより特定の外部機器が接続されたことが検出されることに応じて、電流制御手段に入力端子から二次電池に流れる電流を第1電流から該第1電流より電流値の大きな第2電流に切換えさせるステップと、を制御手段に実行させ、転送プログラムは、制御プログラムが実行された後に、アプリケーションプログラムを作業用記憶手段に転送するステップと、を制御手段に実行させ、単純起動電圧は、制御手段が転送するステップを実行する間に制御手段により消費される電力と、動作電圧とから定まる。
According to another aspect of the present invention, the activation method is an activation method executed in a portable device, and the portable device has an input terminal to which an external device can be connected and an electric current from the external device connected to the input terminal. A secondary battery that receives the supply of current, a current control means for controlling the current flowing from the input terminal to the secondary battery, a storage means for storing an application program, a control program for executing a process for controlling the current control means, and Boot program storage means for storing a boot program including a transfer program, control means for operating when a voltage higher than the operating voltage is supplied from the secondary battery, and executing the boot program after startup , and output voltage of the secondary battery There the activation means for activating the control means in the case where high starting voltage higher than the operating voltage, working memory hand used as a work area for the control unit When, with a starting voltage includes a power control unit is consumed by the control unit before terminating the execution of the control program of the boot program from the start, Sadamari from the operating voltage, the control program, the current control A step of performing settings for communicating with the means, a step of detecting whether or not a specific external device is connected to the input terminal, and a case where the detection step does not detect that a specific external device is connected. A current that flows from the input terminal to the secondary battery in the current control means in response to the detection of the step of waiting until the output voltage of the battery reaches the simple startup voltage and the detection step connecting the specific external device. and a step for shifting the larger second current having a current value than the first current from the first current, to execute the control means, the transfer program, the control pro After the ram has been executed, to execute a step of transferring the application program in the working memory means, to the control unit, simply starting voltage, the power control means is consumed by the control unit while performing the step of transferring If, Ru Sadama from the operating voltage.
この局面に従えば、二次電池が過放電状態であっても携帯機器を起動することが可能な起動方法を提供することができる。 If this situation is followed, the starting method which can start a portable apparatus even if a secondary battery is an overdischarge state can be provided.
この発明のさらに他の局面に従えば、ブートプログラムは、携帯機器で実行されるブートプログラムであって、携帯機器は、外部機器を接続可能な入力端子と、入力端子に接続された外部機器から電流の供給を受ける二次電池と、入力端子から二次電池に流れる電流を制御する電流制御手段と、アプリケーションプログラムを記憶する記憶手段と、電流制御手段を制御する処理を実行するための制御プログラムおよび転送プログラムを含むブートプログラムを記憶するブートプログラム記憶手段と、二次電池から動作電圧以上の電圧が供給された場合に動作し、起動後にブートプログラムを実行する制御手段と、二次電池の出力電圧が動作電圧より高い起動電圧以上である場合に制御手段を起動させる起動手段と、
制御手段の作業領域として用いられる作業用記憶手段と、を備え、起動電圧は、制御手段が起動してからブートプログラムのうち制御プログラムの実行を終了するまでに制御手段により消費される電力と、動作電圧とから定まり、制御プログラムは、電流制御手段と通信するための設定を行うステップと、検出ステップにより入力端子に特定の外部機器が接続されたか否かを検出するステップと、検出ステップにより特定の外部機器が接続されたことが検出されない場合、二次電池の出力電圧が単純起動電圧になるまで待機するステップと、検出ステップにより特定の外部機器が接続されたことが検出されることに応じて、電流制御手段に入力端子から二次電池に流れる電流を第1電流から該第1電流より電流値の大きな第2電流に切換えさせるステップと、を制御手段に実行させ、転送プログラムは、制御プログラムが実行された後に、アプリケーションプログラムを作業用記憶手段に転送するステップと、を制御手段に実行させ、単純起動電圧は、制御手段が転送するステップを実行する間に制御手段により消費される電力と、動作電圧とから定まる。
According to still another aspect of the present invention, the boot program is a boot program executed by a portable device, and the portable device includes an input terminal to which an external device can be connected and an external device connected to the input terminal. A secondary battery that receives a current supply, a current control unit that controls a current flowing from the input terminal to the secondary battery, a storage unit that stores an application program, and a control program for executing a process that controls the current control unit Boot program storage means for storing a boot program including a transfer program, a control means that operates when a voltage higher than the operating voltage is supplied from the secondary battery, and executes the boot program after startup, and the output of the secondary battery Starting means for starting the control means when the voltage is higher than the starting voltage higher than the operating voltage;
Working memory means used as a work area of the control means, and the startup voltage is the power consumed by the control means from the start of the control means to the end of execution of the control program in the boot program, The control program is determined based on the operating voltage, the control program is configured to perform settings for communicating with the current control means, the detection step detects whether a specific external device is connected to the input terminal, and the detection step specifies If it is not detected that the external device is connected, the step of waiting until the output voltage of the secondary battery reaches the simple startup voltage and the detection step detects that the specific external device is connected. The current control means switches the current flowing from the input terminal to the secondary battery from the first current to the second current having a current value larger than the first current. That a step is performed to the control unit, the transfer program, after the control program is executed, to execute a step of transferring the application program in the working memory means, to the control unit, simply starting voltage, the control means There the power consumed by the control unit while performing the step of transferring, Ru Sadama from the operating voltage.
この局面に従えば、二次電池が過放電状態であっても携帯機器を起動することが可能なブートプログラムを提供することができる。 According to this aspect, it is possible to provide a boot program capable of starting the portable device even when the secondary battery is in an overdischarged state.
以下、本発明の実施の形態について図面を参照して説明する。以下の説明では同一の部品には同一の符号を付してある。それらの名称および機能も同じである。したがってそれらについての詳細な説明は繰返さない。 Hereinafter, embodiments of the present invention will be described with reference to the drawings. In the following description, the same parts are denoted by the same reference numerals. Their names and functions are also the same. Therefore, detailed description thereof will not be repeated.
以下、携帯機器の一例として携帯電話機を例に説明する。図1は、本発明の実施の形態の一つにおける携帯電話機の外観を示す斜視図である。図1を参照して、携帯電話機1は、操作側部3と、表示側部2とを含む。操作側部3の内側面には、テンキーおよび通話キー等の操作キー14と、マイクロフォン13とが配置され、側面にUSBコネクタ51が配置される。表示側部2の内側面には、液晶表示装置(LCD)16と、レシーバとしての第1スピーカ11とが配置され、内側面に反対の外側面にはカメラ24(図2参照)が配置される。また、表示側部2の側面には、第2スピーカ12が配置される。なお、ここでは携帯電話機1がLCD16を備える例を示すが、LCD16に代えて、有機EL(ElectroLuminescence)ディスプレイを用いてもよい。操作側部3と表示側部2とは、ヒンジ機構で回転可能に連結され、操作側部3と表示側部2とは開閉自在である。
Hereinafter, a mobile phone will be described as an example of the mobile device. FIG. 1 is a perspective view showing an appearance of a mobile phone according to one embodiment of the present invention. Referring to FIG. 1,
図2は、本実施の形態における携帯電話機の機能の一例を示す機能ブロック図である。図2を参照して、携帯電話機1は、携帯電話機1の全体を制御するためのCPU21と、アンテナ22Aと接続された無線回路22と、音声データを処理するためのコーデック部28と、それぞれがコーデック部28に接続されたマイクロフォン13、第1スピーカ11および第2スピーカ12と、カメラ24と、ユーザの操作の入力を受付ける操作部25と、振動部26と、カードインターフェース(I/F)27と、LCD16の表示を制御するための表示制御部30と、CPU21で実行するプログラム等を記憶するための不揮発性メモリ31と、CPU21の作業領域として使用される揮発性メモリ32と、外部機器が接続される接続端子であるUSBコネクタ51と、USBドライバ回路53と、電源制御部35と、二次電池71と、を含む。
FIG. 2 is a functional block diagram illustrating an example of functions of the mobile phone according to the present embodiment. Referring to FIG. 2,
無線回路22は、CPU21により制御され、無線基地局と通信する。具体的には、アンテナ22Aにより受信された無線信号が入力され、無線信号を復調した音声信号をコーデック部28に出力する。また、無線回路22は、コーデック部28から音声信号が入力され、音声信号を変調した無線信号をアンテナ22Aに出力する。コーデック部28は、無線回路22から入力される音声信号を復号し、復号したデジタルの音声信号をアナログに変換し、増幅し、そして第1スピーカ11または第2スピーカ12に出力する。また、コーデック部28は、マイクロフォン13からアナログの音声信号が入力され、音声信号をデジタルに変換し、符号化し、そして符号化した音声信号を無線回路22に出力する。
The
不揮発性メモリ31は、NAND型のフラッシュメモリであり、CPU21で実行するプログラム、および、プログラムを実行するための変数等を記憶する。具体的には、ブートプログラムと、アプリケーションプログラムとを記憶する。
The
揮発性メモリは、Synchronous DRAM(Dynamic Random Access Memory)であり、CPU21の作業領域として用いられる。
The volatile memory is a synchronous DRAM (Dynamic Random Access Memory) and is used as a work area of the
CPU21は、後述する起動部61よりリセット信号が入力されると、起動する。この際、CPU21は、起動後、不揮発性メモリ31に記憶されているブートプログラムを実行する。ブートプログラムは、通信設定プログラムと制御プログラムと初期設定プログラムとを含む。通信設定プログラムは、入出力ポートの設定処理である。制御プログラムは、電源制御部55を制御する処理である。初期設定プログラムは、転送プログラムを含む。通信設定処理で実行される設定の他の設定処理をCPU21に実行させるための設定プログラムと、不揮発性メモリ31に記憶されているアプリケーションプログラムを揮発性メモリ32に転送する処理をCPU21に実行させるための転送プログラムとを含む。アプリケーションプログラムを不揮発性メモリ31から揮発性メモリ32に転送するのは、揮発性メモリ32の方が、不揮発性メモリ32よりもアクセス速度が速いためである。CPU21は、起動後、ブートプログラムのうちの制御プログラムを実行し、その後、転送プログラムを実行する。起動後ブートプログラムの実行が完了するまでの時間を起動時間Tという。CPU21は、ブートプログラムの実行が完了すると、揮発性メモリ32に記憶されたアプリケーションプログラムを実行可能となる。
The
表示制御部30は、CPU21により制御され、CPU21から入力される指示に従ってLCD16を制御して、LCD16に画像を表示させる。LCD16に表示させる画像は、動画像と静止画像とを含む。
The
カードI/F27には、着脱可能なフラッシュメモリ27Aが装着される。CPU21は、カードI/F27を介して、フラッシュメモリ27Aにアクセスが可能である。なお、ここではCPU21で実行するためのプログラムを不揮発性メモリ31に記憶しておく例を説明するが、プログラムをフラッシュメモリ27Aに記憶しておき、フラッシュメモリ27Aからプログラムを読み出して、CPU21で実行するようにしてもよい。プログラムを記憶する記録媒体としては、フラッシュメモリ27Aに限らず、フレキシブルディスク、カセットテープ、光ディスク(CD−ROM(Compact Disc
−ROM)/MO(Magnetic Optical Disc)/MD(Mini Disc)/DVD(Digital Versatile Disc))、ICカード、光カード、マスクROM(Read Only Memory)、EPROM(Erasable Programmable ROM)、EEPROM(Electronically Erasable and Programmable ROM))などの半導体メモリ等でもよい。
A
-ROM) / MO (Magnetic Optical Disc) / MD (Mini Disc) / DVD (Digital Versatile Disc)), IC card, optical card, mask ROM (Read Only Memory ROM), EPROM (Erasable Programmable ROM), EPROM (Erasable Programmable ROM) and Programmable ROM)).
また、携帯電話機1をインターネットに無線回路22を介して接続し、インターネットに接続されたコンピュータからプログラムをダウンロードして、CPU21で実行するようにしてもよい。ここでいうプログラムは、CPU21により直接実行可能なプログラムだけでなく、ソースプログラム、圧縮処理されたプログラム、暗号化されたプログラム等を含む。
Alternatively, the
カメラ24は、レンズおよびCMOS(Complementary Metal Oxide Semiconductor)センサ等の光電変換素子を備え、レンズで集光した光をCMOSセンサに結像し、CMOSセンサは受光した光を光電変換して画像データをCPU21に出力する。カメラ24は、CPU21により制御され、CPU21からの指示により撮像を開始して、得られる静止画データまたは動画データをCPU21に出力する。カメラ24は、光電変換した画像データの画質を向上させるための画像処理を実行する画像処理回路、画像データをアナログからデジタルに変換するA/D変換回路を備えている。CPU21は、カメラ24が出力する静止画データまたは動画データを表示制御部30に出力し、LCD16に表示させる、または、圧縮符号化方式で静止画データまたは動画データを符号化して、EEPROM34またはカードI/F27に装着されたフラッシュメモリ27Aに記憶する。
The
操作部25は、操作キー14と、ランプ25Aとを含む。操作キー14は、ユーザによる操作の入力を受け付け、受け付けた操作をCPU21に出力する。ランプ25Aは、CPU21により制御されて発光する。
The
USBコネクタ51には、充電器200またはUSB機器210が接続される。USB機器210は、USBコネクタを備え、携帯電話機1とUSBケーブルで接続可能な電子機器である。また、ここでのUSB機器210は、USBケーブルを介して携帯電話機1に電力を供給可能な機器である。
A
USBドライバ回路53は、CPU21により制御され、USBコネクタ51を介して接続されたUSB機器210と通信する。
The
二次電池71は、リチウムイオン電池、ニッケル水素電池またはニッカド電池等であり、携帯電話機1の全体に電力を供給する。
The
電源制御部35は、CPU21を起動するための起動部61と、二次電池71への充電電流を制御するための電流制御部65と、二次電池71の出力電圧を検出するための電圧検出部63と、を含む。
The power supply control unit 35 includes an
電圧検出部63は、二次電池71の出力電圧を計測し、二次電池71の出力電圧を、機器判別部67および起動部61に出力する。機器判別部67は、USBコネクタ51にUSBケーブルを介して接続された機器の種類を判別する。ここで、USBコネクタ51について説明する。
The
図3は、USBコネクタ51の一例を示す図である。USBコネクタ51は、VBUS、D−、D+、NCおよびGNDの5つの端子を含む。充電器200において、D−端子とD+端子とが短絡され、VBUS端子は例えば5Vの電圧が印加され、NC端子は200kΩの抵抗を介して接地される。一方、USB機器210は、VBUS端子に所定の電圧が印加され、D+端子とD−端子とは15kΩの抵抗を介して接地され、NC端子はOPEN(開放端子)となる。USB機器210と携帯電話機1とがUSBケーブルで接続される場合、D+端子とD−端子とを用いて通信信号が送受信される。
FIG. 3 is a diagram illustrating an example of the
図2に戻って、機器判別部67は、CPU21により制御され、USBコネクタ51に充電器200またはUSB機器210のどちらが接続されたかを検出する。機器判別部67は、USBコネクタ51のD+端子に予め決められた電圧を印加したときに、D−端子がD+端子と同じ電圧かGND電圧かを判断する。D−端子がD+端子と同じ電圧ならば充電器200が接続されたと判断し、D−端子がGND電圧ならばUSB機器210が接続されたと判断する。機器判別部67は、USBコネクタ51に充電器200が接続されたと判断すると、CPU21に充電器200が接続されたことを示す判別信号を出力する。また、機器判別部67は、USBコネクタ51にUSB機器210が接続されたと判断すると、CPU21にUSB機器210が接続されたことを示す判別信号を出力する。
Returning to FIG. 2, the
なお、NC端子を用いて、USBコネクタ51に充電器200とUSB機器210のいずれが接続されたかを判断するようにしてもよい。充電器200のNC端子は200kΩの抵抗を介して接地されており、USB機器210のNC端子はOPEN(開放端子)とする。したがって、NC端子に電圧を印加したときの電流が所定の値となる場合は充電器200が接続されたことを検出し、NC端子に印加した電圧が検出される場合はUSB機器が接続されたことを検出する。
Note that it may be determined which of the
電流制御部65は、USBコネクタ51を介して接続された充電器200またはUSB機器210から供給される電力の電流を制御する。電流制御部65は、CPU21により制御されるが、CPU21が動作していない状態でも駆動する。電流制御部65は、USBコネクタ51を介して接続された充電器200またはUSB機器210から電力が供給されると、換言すれば、VBUS端子に5V以上の電圧が印加されると、100mAの電流を二次電池71に出力するとともに、起動部61に接続信号を出力する。接続信号は、USBコネクタ51に充電器200またはUSB機器210のいずれかが接続されたことを示す信号である。また、電流制御部65は、CPU21から切換信号が入力されると、100mAより大きな電流、例えば、500mA以上の電流を二次電池71に出力する。
The
起動部61は、接続信号が入力されると、電圧検出部63から入力される電圧値(二次電池71の出力電圧の値)が、早期起動電圧V3以上であることを条件に、CPU21を起動する。電圧検出部63から入力される電圧値が早期起動電圧V3未満ならば、電圧検出部63から早期起動電圧V3以上の電圧値が入力されるまで待機する。起動部61は、CPU21を起動するために、CPU21にリセット信号を出力する。
When the connection signal is input, the
早期起動電圧V3は、CPU21がブートプログラムのうち通信設定プログラムと制御プログラムとを実行するために消費する電力と、動作電圧V1とにより定まる。換言すれば、起動電圧V3は、CPU21がブートプログラムのうち通信設定プログラムと制御プログラムとを実行した後であっても、二次電池71の出力電圧が動作電圧V1以上となる値である。
The early startup voltage V3 is determined by the power consumed by the
CPU21は、起動部61からリセット信号が入力されると、不揮発性メモリ31に記憶されているブートプログラムの通信設定プログラムと制御プログラムとを実行する。
When the reset signal is input from the
図4は、不揮発性メモリに記憶されるプログラムを説明するための図である。図4を参照して、不揮発性メモリ31は、ブートプログラム151と、複数のアプリケーションプログラム161,163とを記憶する。ここでは、2つのアプリケーションプログラム161,163を記憶する例を示すが、記憶するアプリケーションプログラムの数は、1以上あればよく、アプリケーションプログラムの数を限定するものではない。
FIG. 4 is a diagram for explaining a program stored in the nonvolatile memory. Referring to FIG. 4, the
ブートプログラム151は、通信設定プログラム153と、制御プログラム155と、初期設定プログラム157とを含む。通信設定プログラム153は、CPU21が電源制御部55と通信するための設定をする処理を定義する。制御プログラム155は、電源制御部55を制御する処理を定義する。具体的には、制御プログラム155は、CPU21が機器判別部67を制御して、二次電池71の出力電圧が単純起動電圧V2より小さい場合に、USBコネクタ51に充電器200またはUSB機器210のいずれが接続されたことを検出させ、機器判別部67から判別信号を受信する処理を定義する。さらに、制御プログラムは、判別信号が充電機器210が接続されていることを示す場合、電流制御部65に切換信号を出力する処理を定義し、判別信号がUSB機器210が接続されていることを示す場合、二次電池71の出力電圧が単純起動電圧V2となるまで待機する処理と、を定義する。単純起動電圧V2は、CPU21がブートプログラム151の残りの初期設定プログラム157を実行することにより消費する電力と、動作電圧V1とにより定まる。換言すれば、単純起動電圧V2は、CPU21がブートプログラム151のうちの初期設定プログラム157を実行した後であっても、二次電池71の出力電圧が動作電圧V1以上となる値である。なお、CPU21がブートプログラムを途中から実行するのではなく、最初から実行する場合には、単純起動電圧V2は、CPU21がブートプログラム151のすべてを実行することにより消費する電力と、動作電圧V1とにより定まる。この場合、CPU21がブートプログラム151のすべてを実行した後であっても、二次電池71の出力電圧が動作電圧V1以上となるように単純起動電圧V2が定められる。
The
図2に戻って、機器判別部67は、CPU21から機器を判別するように制御されると、判別信号をCPU21に出力するので、CPU21は機器判別部67から入力される判別信号に基づいて、USBコネクタ51に充電器200およびUSB機器210のいずれが接続されているかを判別する。CPU21は、判別信号が充電機器210が接続されていることを示す場合、電流制御部65の切換信号を出力する。その後、ブートプログラム151の残りの初期設定プログラム157を実行する。電流制御部65は、CPU21から切換信号が入力されると、100mAより大きな500mAの電流を二次電池71に出力する。このため、二次電池71の出力電圧が動作電圧V1を下回ることがないので、携帯電話機1を起動することができる。
Returning to FIG. 2, when the
一方、CPU21は、判別信号がUSB機器210が接続されていることを示す場合、電圧検出部63が出力する電圧値(二次電池71の出力電圧の値)が、単純起動電圧V2以上になるまで待機する。CPU21が待機している状態における消費電力は低く、ゼロとみなせる。このため、二次電池71に100mAの電流が流れるので、二次電池71の蓄電容量が増加するとともに、出力電圧が増加する。
On the other hand, when the determination signal indicates that the
CPU21は、電圧検出部63が出力する電圧値(二次電池71の出力電圧の値)が、単純起動電圧V2以上になると、ブートプログラム151の残りの初期設定プログラム157を実行した後に、USBコネクタ51にUSB機器が接続されている場合、USB機器210と通信し、ネゴシエーションした後に、電流制御部65に切換信号を出力する。
When the voltage value output from the voltage detector 63 (the value of the output voltage of the secondary battery 71) is equal to or higher than the simple startup voltage V2, the
図5は、CPUで実行される起動処理の流れの一例を示すフローチャートである。起動処理は、起動部61よりリセット信号が入力されることに応じて、CPU21によって実行される処理である。図5を参照して、CPU21は、リセット信号が入力されると、ブートプログラム151に含まれる通信設定プログラム153を実行する(ステップS01)。これにより、CPU21は、電力制御部51と通信することが可能になる。そして、ブートプログラム151に含まれる制御プログラム155を実行する(ステップS02)。制御プログラム155を実行することによりCPU21により実行される処理については後述する。次のステップS03においては、初期設定プログラム157を実行し、処理をステップS04に進める。初期設定ブートプログラムは、不揮発性メモリ31に記憶されているアプリケーションプログラム161,163を揮発性メモリ32に転送する処理を含む。
FIG. 5 is a flowchart illustrating an example of a flow of activation processing executed by the CPU. The activation process is a process executed by the
そして、ステップS04においては、USBコネクタ51に接続された接続機器が充電器200か否かを判断する(ステップS03)。USBコネクタ51に充電器200が接続されているならば処理を終了するが、そうでなくUSB機器210が接続されているならば処理をステップS05に進める。
In step S04, it is determined whether or not the connected device connected to the
ステップS05においては、USBドライバ回路53を制御して、USB機器210と通信し、USB機器210に500mAの電流の電力を出力するようネゴシエーションする。そして、電流値を切り換える(ステップS06)。具体的には、電源制御部55と通信し、電流制御部65に切換信号を出力する。これにより、二次電池71に500mAの電流の電力が供給される。
In step S05, the
図6は、制御処理の流れの一例を示すフローチャートである。制御処理は、図5のステップS02において実行される処理である。図6を参照して、CPU21は、接続機器を検出する(ステップS11)。電源制御部55と通信し、電源制御部55にUSBコネクタ51に接続されている接続機器が充電器200およびUSB機器210のいずれであるかを検出させる。そして、接続機器が充電器200か否かを判断する(ステップS12)。接続機器が充電器200ならば処理をステップS13に進め、接続機器が充電器200でなくUSB機器210ならば処理をステップS14に進める。
FIG. 6 is a flowchart illustrating an example of the flow of control processing. The control process is a process executed in step S02 of FIG. Referring to FIG. 6,
ステップS13においては、二次電池71に流れる電流値を変更し、処理を起動処理に戻す。具体的には、電流制御部65に切換信号を出力し、二次電池71に500mAの電流が流れるように制御する。
In step S13, the value of the current flowing through the
一方、ステップS14においては、二次電池71の出力電圧を計測する。電源制御部55と通信し、電源制御部55に二次電池71の出力電圧を計測させる。そして、二次電池71の出力電圧が単純起動電圧V2以上か否かを判断する(ステップS15)。二次電池71の出力電圧が単純起動電圧V2以上ならば処理を起動処理に戻し、二次電池71の出力電圧が単純起動電圧V2未満ならば処理をステップS14に戻す。換言すれば、二次電池の出力電圧が単純起動電圧V2以上になるまで待機する。二次電池の出力電圧が単純起動電圧V2以上であれば、ブートプログラム151の残りの初期設定プログラム157を実行しても二次電池71の出力電圧が動作電圧V1よりも低くなることがないからである。
On the other hand, in step S14, the output voltage of the
図7は、二次電池の出力電圧の推移の一例を示す図である。時刻t0において二次電池71の出力電圧は、過放電状態の電圧である。充電器200またはUSB機器210から100mAの電流の電力が二次電池71に供給されるので、出力電圧が徐々に増加する(時刻0〜時刻t1)。
FIG. 7 is a diagram illustrating an example of transition of the output voltage of the secondary battery. At time t0, the output voltage of the
出力電圧が早期起動電圧V3になるとき(時刻t1)において、CPU21にリセット信号が入力され、CPU21がブートプログラムのうち通信設定プログラムと制御プログラムとを実行する。充電器200またはUSB機器210から供給される100mAの電流の電力は、CPU21が動作する場合に消費される電力よりも小さいので、二次電池71が放電し、出力電圧が減少する。ただし、CPU21がブートプログラムのうち通信設定プログラムと制御プログラムとを実行した後(時刻t3)に、二次電池71の出力電圧は、動作電圧V1よりも高い。早期起動電圧V3を、CPU21がブートプログラムのうち通信設定プログラムと制御プログラムを実行した後であっても、二次電池71の出力電圧が動作電圧V1以上となる値としているからである。このため、CPU21は、ブートプログラムのうち通信設定プログラムと制御プログラムを実行している間(期間T2)に、シャットダウンすることがない。
When the output voltage reaches the early startup voltage V3 (time t1), a reset signal is input to the
CPU21は、通信プログラムおよび制御プログラムを実行することにより、USBコネクタ51に充電器200が接続されていることを検出すると、電流制御部65に500mAの電流を流すように制御する。このため500mAの電流の電力が二次電池71に供給される。充電器200から供給される電力の一部がCPU21により電力が消費されるが、500mAの電流の電力は、CPU21が動作する場合に消費される電力よりも大きいので、二次電池71の出力電圧が増加する。この場合における二次電池17の出力電圧を図中では実線で示す。CPU21において、ブートプログラムの残りの初期設定プログラム157を実行する時間をT3とすれば、CPU21がブートプログラムのすべての実行を終了するときは時刻t4となる。
When the
一方、CPU21は、通信プログラムおよび制御プログラムを実行することにより、USBコネクタ51にUSB機器210が接続されていることを検出すると、CPU21は、待機状態となる。この場合、電流制御部65において100mAの電流の電力が二次電池71に供給される。CPU21が待機する状態における消費電力は小さいので、USB機器210から100mAの電流の電力が二次電池71に供給され、出力電圧が徐々に増加する。USBコネクタ51にUSB機器210が接続された場合における二次電池17の出力電圧を図中では点線で示す。
On the other hand, when the
そして、出力電圧が単純起動電圧V2になるとき(時刻t3)において、CPU21がブートプログラム151のうち残りの初期設定プログラム157を実行し、不揮発性メモリ31に記憶されているアプリケーションプログラム161,163を揮発性メモリ32に転送する処理を実行する。USB機器210から供給される100mAの電流の電力は、CPU21が動作する場合に消費される電力よりも小さいので、二次電池71が放電し、出力電圧が減少する。ただし、CPU21が初期設定プログラム157を実行した後(時刻t5)に、二次電池71の出力電圧は、動作電圧V1よりも高い。単純起動電圧V2を、CPU21が初期設定プログラム157を実行した後であっても、二次電池71の出力電圧が動作電圧V1以上となる値としているからである。このため、CPU21は、初期設定プログラム157を実行し、不揮発性メモリ31に記憶されているアプリケーションプログラム161,163を揮発性メモリ32に転送する処理を実行している間(期間T3)に、シャットダウンすることがない。
When the output voltage becomes the simple startup voltage V2 (time t3), the
CPU21が初期設定プログラム157の実行を終了すると(時刻t5)、CPU21は、USB機器210と通信が可能となるので、USB機器210とネゴシエーションした後に、電流制御部65において500mAの電流の電力を二次電池71に供給するように制御する。USB機器210から供給される電力の一部がCPU21により電力が消費されるが、500mAの電流の電力は、CPU21が動作する場合に消費される電力よりも大きいので、二次電池71の出力電圧が増加する。
When the
USBコネクタ51に充電器200が接続された場合に、CPU21がアプリケーションプログラムを実行可能となる時刻t4は、USBコネクタ51にUSB機器210が接続された場合に、CPU21がアプリケーションプログラムを実行可能となる時刻t5よりも早い。このため、充電器200を接続した方が、USB機器210を接続するよりも早く、携帯電話機1を使用可能な状態にすることができる。
When the
以上説明したように本実施の形態における携帯電話機1は、二次電池71の出力電圧が動作電圧V1より高い早期起動電圧V3以上であることを条件に、CPU21が起動され、CPU21により、ブートプログラム151のうちの通信設定プログラム153と制御プログラム157とが実行される。制御プログラムを実行するCPU21により、USBコネクタ51に充電器200が接続されたことが検出されることに応じて、USBコネクタ51から二次電池71に流れる電流が100mA(第1電流)から500mA(第2電流)に切換えられる。早期起動電圧V3は、CPU21が起動してからブートプログラム151のうち通信設定プログラム153と制御プログラム155との実行を終了するまでにCPU21により消費される電力と、動作電圧V1とから定まるので、CPU21が制御プログラム155の実行を終了するまでに二次電池71の出力電圧が動作電圧V1より低くなることがない。また、USBコネクタ51から二次電池71に流れる電流が100mA(第1の電流)から500mA(第2電流)に切換えられた後は、CPU21が消費する電力を超える電力がUSBコネクタ51から二次電池71に供給されるので、CPU21が制御プログラム155の実行を終了した後に二次電池71の出力電圧が動作電圧V3より低くなることがない。従って、二次電池71が過放電状態であっても携帯電話機1を起動することができる。
As described above, in the
また、CPU21は、制御プログラム155を実行した後に、転送プログラムを含む初期設定プログラム157を実行するので、USBコネクタ51から二次電池71に流れる電流を100mA(第1電流)から500mA(第2電流)に切換えた後に、初期設定プログラム157を実行する。このため、二次電池71が過放電状態であっても充電器200をUSBコネクタ51に接続すれば、CPU21は、初期設定プログラム157を確実に実行することができる。
Further, since the
さらに、CPU21が、初期設定プログラム157を実行した後は、揮発性メモリ32にアプリケーションプログラムが記憶されるので、二次電池71が過放電状態であっても充電器200をUSBコネクタ51に接続すれば、CPU21にアプリケーションプログラムを実行させることができる。
Furthermore, since the application program is stored in the
また、制御プログラムを実行するCPU21は、充電器200が接続されたことが検出されずUSB機器210が接続されたことを検出すると、二次電池71の出力電圧が単純起動電圧V2になるまで待機する。単純起動電圧V2は、二次電池71の出力電圧が、ブートプログラム151の残りの初期設定プログラム157の実行が終了するまでにCPU21により消費される電力と動作電圧とから定まるので、CPU21は、ブートプログラム151の残りの初期設定プログラム157を実行することができる。このため、USBコネクタ51にUSB機器210が接続される場合であってもブートプログラムを最後まで実行することができ、携帯電話機1を起動することができる。
Further, when the
なお、本実施の形態においては、電流制御部65は、VBUS端子が+5V以上になると、100mAの電流を二次電池71に出力するようにしたが、USBコネクタ51を介して接続された充電器200またはUSB機器210から電流が供給されたことを検出すると、100mAの電流を二次電池に出力するようにしてもよい。
In the present embodiment, the
また、図5および図6に示した起動処理を実行するための起動方法および起動方法をコンピュータに実行させるための起動プログラムとして発明を捉えることができるのは言うまでもない。 Needless to say, the invention can be understood as a startup method for executing the startup process shown in FIGS. 5 and 6 and a startup program for causing the computer to execute the startup method.
今回開示された実施の形態はすべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は上記した説明ではなくて特許請求の範囲によって示され、特許請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。 The embodiment disclosed this time should be considered as illustrative in all points and not restrictive. The scope of the present invention is defined by the terms of the claims, rather than the description above, and is intended to include any modifications within the scope and meaning equivalent to the terms of the claims.
<付記>
(1) 前記起動電圧は、前記制御手段が起動してから前記制御プログラムの実行を終了した後に、前記二次電池の電圧が前記動作電圧以上となる電圧である、請求項1に記載の携帯機器。
(2) 前記電流切換手段は、前記入力端子に電圧が印加されることに応じて、前記入力端子から前記二次電池に第1電流を流し、前記制御手段により制御されて前記入力端子から前記二次電池に前記第2電流を流す、請求項1に記載の携帯機器。
(3)前記単純起動電圧は、前記制御手段が前記ブートプログラムの実行を終了した後に、前記二次電池の電圧が前記動作電圧以上となる電圧である、請求項4に記載の携帯機器
<Appendix>
(1) The mobile phone according to
(2) The current switching means causes a first current to flow from the input terminal to the secondary battery in response to a voltage being applied to the input terminal, and is controlled by the control means to control the input terminal from the input terminal. The portable device according to
(3) The portable device according to
1 携帯電話機、2 表示側部、3 操作側部、11 第1スピーカ、12 第2スピーカ、13 マイクロフォン、14 操作キー、21 CPU、22 無線回路、22A アンテナ、24 カメラ、25 操作部、25A ランプ、26 振動部、27 カードI/F、27A フラッシュメモリ、28 コーデック部、30 表示制御部、31 不揮発性メモリ、32 揮発性メモリ、35 電源制御部、51 USBコネクタ、53 USBドライバ回路、55 電源制御部、61 起動部、62 しきい値変更部、63 電圧検出部、65 電流制御部、67 機器判別部、71 二次電池、200 充電器、210 USB機器。
DESCRIPTION OF
Claims (8)
前記入力端子に接続された外部機器から電流の供給を受ける二次電池と、
前記入力端子から前記二次電池に流れる電流を制御する電流制御手段と、
前記電流制御手段を制御する処理を実行するための制御プログラムを含むブートプログラムを記憶するブートプログラム記憶手段と、
前記二次電池から動作電圧以上の電圧が供給された場合に動作し、起動後に前記ブートプログラムを実行する制御手段と、
前記二次電池の出力電圧が前記動作電圧より高い起動電圧以上である場合に前記制御手段を起動させる起動手段と、を備え、
前記制御手段は、前記起動手段により起動された後、前記記憶手段に記憶された前記ブートプログラムのうちの前記制御プログラムを実行し、
前記起動電圧は、前記制御手段が起動してから前記ブートプログラムのうち前記制御プログラムの実行を終了するまでに前記制御手段により消費される電力と、前記動作電圧とから定まり、
前記制御プログラムは、前記入力端子に特定の外部機器が接続されたことを検出するステップと、
前記検出ステップにより前記特定の外部機器が接続されたことが検出されない場合、前記二次電池の出力電圧が単純起動電圧になるまで待機するステップと、
前記検出ステップにより前記特定の外部機器が接続されたことが検出されることに応じて、前記電流制御手段に前記入力端子から前記二次電池に流れる電流を第1電流から該第1電流より大きな第2電流に切換えさせるステップと、を前記制御手段に実行させ、
前記単純起動電圧は、前記制御手段が前記ブートプログラムの実行を終了するまでに前記制御手段により消費される電力と、前記動作電圧とから定まる、携帯機器。 An input terminal to which an external device can be connected;
A secondary battery that receives a supply of current from an external device connected to the input terminal;
Current control means for controlling current flowing from the input terminal to the secondary battery;
Boot program storage means for storing a boot program including a control program for executing processing for controlling the current control means;
Control means that operates when a voltage higher than the operating voltage is supplied from the secondary battery, and executes the boot program after startup,
Starting means for starting the control means when the output voltage of the secondary battery is higher than the starting voltage higher than the operating voltage,
The control means executes the control program out of the boot programs stored in the storage means after being started by the start means,
The startup voltage is determined from the power consumed by the control unit from the start of the control unit to the end of execution of the control program in the boot program, and the operating voltage.
The control program detecting that a specific external device is connected to the input terminal;
When the detection step does not detect that the specific external device is connected, waiting until the output voltage of the secondary battery becomes a simple startup voltage;
In response to detecting that the specific external device is connected by the detecting step, a current flowing from the input terminal to the secondary battery is increased from the first current to the current control means to be larger than the first current. Switching to the second current, causing the control means to execute ,
The simple starting voltage, the electric power and the control means is consumed by the control unit before terminating the execution of the boot program, that Sadama from said operating voltage, the portable device.
前記記憶手段とは別に、前記制御手段の作業領域として用いられる揮発性の作業用記憶手段をさらに備え、
前記ブートプログラムは、前記記憶手段に記憶されているアプリケーションプログラムを前記作業用記憶手段に転送する処理を前記制御手段に実行させるための転送プログラムをさらに含み、
前記制御手段は、前記制御プログラムを実行した後、前記転送プログラムを実行する、請求項1に記載の携帯機器。 The storage means is a nonvolatile memory,
Aside from the storage means, further comprising volatile work storage means used as a work area of the control means,
The boot program further includes a transfer program for causing the control unit to execute a process of transferring the application program stored in the storage unit to the working storage unit,
The portable device according to claim 1, wherein the control unit executes the transfer program after executing the control program.
前記携帯機器は、
外部機器を接続可能な入力端子と、
前記入力端子に接続された外部機器から電流の供給を受ける二次電池と、
前記入力端子から前記二次電池に流れる電流を制御する電流制御手段と、
アプリケーションプログラムを記憶する記憶手段と、
前記電流制御手段を制御する処理を実行するための制御プログラムおよび転送プログラムを含むブートプログラムを記憶するブートプログラム記憶手段と、
前記二次電池から動作電圧以上の電圧が供給された場合に動作し、起動後に前記ブートプログラムを実行する制御手段と、
前記二次電池の出力電圧が前記動作電圧より高い起動電圧以上である場合に前記制御手段を起動させる起動手段と、
前記制御手段の作業領域として用いられる作業用記憶手段と、を備え、
前記起動電圧は、前記制御手段が起動してから前記ブートプログラムのうち前記制御プログラムの実行を終了するまでに前記制御手段により消費される電力と、前記動作電圧とから定まり、
前記制御プログラムは、前記電流制御手段と通信するための設定を行うステップと、
前記入力端子に特定の外部機器が接続されたか否かを検出するステップと、
前記検出ステップにより前記特定の外部機器が接続されたことが検出されない場合、前記二次電池の出力電圧が単純起動電圧になるまで待機するステップと、
前記検出ステップにより前記特定の外部機器が接続されたことが検出されることに応じて、前記電流制御手段に前記入力端子から前記二次電池に流れる電流を第1電流から該第1電流より電流値の大きな第2電流に切換えさせるステップと、を前記制御手段に実行させ、
前記転送プログラムは、前記制御プログラムが実行された後に、前記アプリケーションプログラムを前記作業用記憶手段に転送するステップを前記制御手段に実行させ、
前記単純起動電圧は、前記制御手段が前記転送するステップを実行する間に前記制御手段により消費される電力と、前記動作電圧とから定まる起動方法。 A startup method executed on a mobile device,
The portable device is
An input terminal to which an external device can be connected;
A secondary battery that receives a supply of current from an external device connected to the input terminal;
Current control means for controlling current flowing from the input terminal to the secondary battery;
Storage means for storing application programs;
Boot program storage means for storing a boot program including a control program and a transfer program for executing processing for controlling the current control means;
Control means that operates when a voltage higher than the operating voltage is supplied from the secondary battery, and executes the boot program after startup,
Starting means for starting the control means when the output voltage of the secondary battery is equal to or higher than the starting voltage higher than the operating voltage;
Working storage means used as a work area of the control means,
The startup voltage is determined from the power consumed by the control unit from the start of the control unit to the end of execution of the control program in the boot program, and the operating voltage.
The control program performs a setting for communicating with the current control means;
Detecting whether a specific external device is connected to the input terminal;
When the detection step does not detect that the specific external device is connected, waiting until the output voltage of the secondary battery becomes a simple startup voltage;
In response to detecting that the specific external device is connected by the detection step, the current flowing from the input terminal to the secondary battery from the first current to the current control means is changed from the first current to the current control means. Causing the control means to execute a step of switching to a second current having a large value,
The transfer program causes the control means to execute a step of transferring the application program to the working storage means after the control program is executed.
The simple start voltage is a start method determined from the power consumed by the control means while the control means executes the transferring step and the operating voltage.
前記携帯機器は、
外部機器を接続可能な入力端子と、
前記入力端子に接続された外部機器から電流の供給を受ける二次電池と、
前記入力端子から前記二次電池に流れる電流を制御する電流制御手段と、
アプリケーションプログラムを記憶する記憶手段と、
前記電流制御手段を制御する処理を実行するための制御プログラムおよび転送プログラムを含むブートプログラムを記憶するブートプログラム記憶手段と、
前記二次電池から動作電圧以上の電圧が供給された場合に動作し、起動後に前記ブートプログラムを実行する制御手段と、
前記二次電池の出力電圧が前記動作電圧より高い起動電圧以上である場合に前記制御手段を起動させる起動手段と、
前記制御手段の作業領域として用いられる作業用記憶手段と、を備え、
前記起動電圧は、前記制御手段が起動してから前記ブートプログラムのうち前記制御プログラムの実行を終了するまでに前記制御手段により消費される電力と、前記動作電圧とから定まり、
前記制御プログラムは前記電流制御手段と通信するための設定を行うステップと、
前記検出ステップにより前記入力端子に特定の外部機器が接続されたか否かを検出するステップと、
前記検出ステップにより前記特定の外部機器が接続されたことが検出されない場合、前記二次電池の出力電圧が単純起動電圧になるまで待機するステップと、
前記検出ステップにより前記特定の外部機器が接続されたことが検出されることに応じて、前記電流制御手段に前記入力端子から前記二次電池に流れる電流を第1電流から該第1電流より電流値の大きな第2電流に切換えさせるステップと、を前記制御手段に実行させ、
前記転送プログラムは、前記制御プログラムが実行された後に、前記アプリケーションプログラムを前記作業用記憶手段に転送するステップを前記制御手段に実行させ、
前記単純起動電圧は、前記制御手段が前記転送するステップを実行する間に前記制御手段により消費される電力と、前記動作電圧とから定まるブートプログラム。
A boot program executed on a mobile device,
The portable device is
An input terminal to which an external device can be connected;
A secondary battery that receives a supply of current from an external device connected to the input terminal;
Current control means for controlling current flowing from the input terminal to the secondary battery;
Storage means for storing application programs;
Boot program storage means for storing a boot program including a control program and a transfer program for executing processing for controlling the current control means;
Control means that operates when a voltage higher than the operating voltage is supplied from the secondary battery, and executes the boot program after startup,
Starting means for starting the control means when the output voltage of the secondary battery is equal to or higher than the starting voltage higher than the operating voltage;
Working storage means used as a work area of the control means,
The startup voltage is determined from the power consumed by the control unit from the start of the control unit to the end of execution of the control program in the boot program, and the operating voltage.
The control program performs a setting for communicating with the current control means;
Detecting whether or not a specific external device is connected to the input terminal by the detecting step;
When the detection step does not detect that the specific external device is connected, waiting until the output voltage of the secondary battery becomes a simple startup voltage;
In response to detecting that the specific external device is connected by the detection step, the current flowing from the input terminal to the secondary battery from the first current to the current control means is changed from the first current to the current control means. Causing the control means to execute a step of switching to a second current having a large value,
The transfer program causes the control means to execute a step of transferring the application program to the working storage means after the control program is executed.
The simple startup voltage is a boot program determined from the power consumed by the control means while the control means executes the transferring step and the operating voltage.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2007225832A JP5162188B2 (en) | 2007-08-31 | 2007-08-31 | Mobile communication terminal, startup method, and boot program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2007225832A JP5162188B2 (en) | 2007-08-31 | 2007-08-31 | Mobile communication terminal, startup method, and boot program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2009060717A JP2009060717A (en) | 2009-03-19 |
| JP5162188B2 true JP5162188B2 (en) | 2013-03-13 |
Family
ID=40555933
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2007225832A Expired - Fee Related JP5162188B2 (en) | 2007-08-31 | 2007-08-31 | Mobile communication terminal, startup method, and boot program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP5162188B2 (en) |
Families Citing this family (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8630592B2 (en) | 2009-04-14 | 2014-01-14 | Qualcomm Incorporated | System and method for triggering a wireless connection |
| JP5661041B2 (en) | 2009-10-08 | 2015-01-28 | レノボ・イノベーションズ・リミテッド(香港) | Portable terminal device, power supply system, power supply method to portable terminal device, and power supply program |
| JP2012128769A (en) * | 2010-12-17 | 2012-07-05 | Toshiba Corp | Memory system |
| JP5708481B2 (en) * | 2011-02-07 | 2015-04-30 | 株式会社Jvcケンウッド | Mobile terminal, data acquisition method and program |
| CN103064489B (en) * | 2011-10-21 | 2016-03-30 | 华为终端有限公司 | A kind of method and terminal of carrying out internal circuit selection according to USB interface state |
| JP5997442B2 (en) * | 2011-12-22 | 2016-09-28 | 株式会社アコーズ | Health management system consisting of exercise meter and personal computer |
| KR101844287B1 (en) * | 2012-02-03 | 2018-04-02 | 삼성전자 주식회사 | Method and apparatus for charging battery |
| JP6010995B2 (en) * | 2012-04-17 | 2016-10-19 | ソニー株式会社 | Charging device, charging device control method, electric vehicle, power storage device, and power system |
Family Cites Families (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP3427341B2 (en) * | 1997-03-14 | 2003-07-14 | 株式会社ケンウッド | Charge control circuit |
| JP4131844B2 (en) * | 2003-09-10 | 2008-08-13 | 京セラ株式会社 | Mobile device |
| JP4522738B2 (en) * | 2004-03-31 | 2010-08-11 | 京セラ株式会社 | Power-on reset device and electronic device |
| JP3963470B2 (en) * | 2004-11-09 | 2007-08-22 | 株式会社東芝 | Mobile terminal and control method of the terminal |
| JP2007068333A (en) * | 2005-08-31 | 2007-03-15 | Sony Corp | Power supply dedicated device, terminal, power supply system, and power supply method |
-
2007
- 2007-08-31 JP JP2007225832A patent/JP5162188B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2009060717A (en) | 2009-03-19 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP5162188B2 (en) | Mobile communication terminal, startup method, and boot program | |
| JP5162187B2 (en) | Mobile terminal and activation method | |
| US8055311B2 (en) | Mobile communication terminal driven by power received from secondary battery, charge mode switching method and charge mode switching program executed in mobile communication terminal | |
| CN101330336A (en) | Device Adaptive Connection Establishment Method and System for Mobile Terminal | |
| EP3133520B1 (en) | Communication apparatus, method for controlling the same, and program | |
| CN104111719A (en) | Method and device for controlling battery to be disconnected from main equipment | |
| US8606201B2 (en) | Mobile communication terminal, and method and program for switching transmission power | |
| CN112119565A (en) | Power polarity detection for accessory mode change | |
| JP6117965B1 (en) | Portable information terminal cover and portable information terminal program | |
| JP2007148937A (en) | Portable information terminal | |
| JP2011034306A (en) | Information processor and power supply control method | |
| JP3869683B2 (en) | Rechargeable telephone terminal power supply control device | |
| CN109391766A (en) | Electronic device and its control method and recording medium | |
| CN107734316A (en) | Portrait layout projecting method and terminal device | |
| CN103762390A (en) | Charging method and action electronic device | |
| JP4645145B2 (en) | The camera module | |
| CN106713705A (en) | Communication apparatus and control method for the communication apparatus | |
| JP5188843B2 (en) | Mobile communication terminal | |
| US8392131B2 (en) | Portable electronic device and method for controlling the same | |
| JP2005244633A (en) | Cradle | |
| JP2005124317A (en) | Bus powered device | |
| KR200350310Y1 (en) | mult-function device for USB | |
| JP2006085248A (en) | Mobile device with host function | |
| JP5604134B2 (en) | Portable electronic device and device system | |
| JP5698063B2 (en) | Mobile terminal and program thereof |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20100115 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20101014 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110111 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20120124 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20120326 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20121127 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20121217 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 5162188 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20151221 Year of fee payment: 3 |
|
| LAPS | Cancellation because of no payment of annual fees |