JP2837609B2 - Power control method - Google Patents
Power control methodInfo
- Publication number
- JP2837609B2 JP2837609B2 JP5147472A JP14747293A JP2837609B2 JP 2837609 B2 JP2837609 B2 JP 2837609B2 JP 5147472 A JP5147472 A JP 5147472A JP 14747293 A JP14747293 A JP 14747293A JP 2837609 B2 JP2837609 B2 JP 2837609B2
- Authority
- JP
- Japan
- Prior art keywords
- power supply
- control
- battery
- reset
- supply controller
- 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
- 238000000034 method Methods 0.000 title claims description 11
- 230000002093 peripheral effect Effects 0.000 claims description 86
- 238000012546 transfer Methods 0.000 claims description 38
- 238000001514 detection method Methods 0.000 claims description 21
- 238000007599 discharging Methods 0.000 claims description 14
- 238000006243 chemical reaction Methods 0.000 claims description 13
- 230000010355 oscillation Effects 0.000 claims description 3
- 230000000873 masking effect Effects 0.000 claims description 2
- 238000010586 diagram Methods 0.000 description 27
- 238000012544 monitoring process Methods 0.000 description 9
- 238000012545 processing Methods 0.000 description 9
- 101100041125 Arabidopsis thaliana RST1 gene Proteins 0.000 description 5
- 101100443250 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) DIG1 gene Proteins 0.000 description 5
- 230000001360 synchronised effect Effects 0.000 description 5
- 230000000630 rising effect Effects 0.000 description 4
- 101100443251 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) DIG2 gene Proteins 0.000 description 3
- 101100041128 Schizosaccharomyces pombe (strain 972 / ATCC 24843) rst2 gene Proteins 0.000 description 3
- 230000005856 abnormality Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 2
- 230000007257 malfunction Effects 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- OJIJEKBXJYRIBZ-UHFFFAOYSA-N cadmium nickel Chemical compound [Ni].[Cd] OJIJEKBXJYRIBZ-UHFFFAOYSA-N 0.000 description 1
- 230000003111 delayed effect Effects 0.000 description 1
- 230000006866 deterioration Effects 0.000 description 1
- 238000003708 edge detection Methods 0.000 description 1
- 230000020169 heat generation Effects 0.000 description 1
- 238000012905 input function Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 229910052987 metal hydride Inorganic materials 0.000 description 1
- 238000013021 overheating Methods 0.000 description 1
- 230000002441 reversible effect Effects 0.000 description 1
- 239000000758 substrate Substances 0.000 description 1
Landscapes
- Power Sources (AREA)
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
Description
【0001】[0001]
【産業上の利用分野】本発明はバッテリ充・放電機能を
備えた携帯可能な電子装置の電源制御方式に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a power supply control method for a portable electronic device having a battery charge / discharge function.
【0002】近年,バッテリ充・放電の制御を1チップ
マイクロコンピュータにより制御するノートパソコン
(パーソナルコンピュータ),ワードプロセッサ等のよ
うな携帯可能な電子装置が広く利用されるようになっ
た。このような電子装置は充電可能な二次電池をバッテ
リとして備え,バッテリを電源として電子装置が動作し
てバッテリが放電されるとAC電源が接続された時に充
電制御を行うことができる。このような電子装置のバッ
テリは過充電により劣化したり,発熱により周辺の回路
に影響を与えるので,バッテリの充・放電制御を正確に
行うことが望まれている。In recent years, portable electronic devices such as notebook personal computers (personal computers), word processors, and the like, in which battery charge / discharge control is controlled by a one-chip microcomputer, have been widely used. Such an electronic device includes a rechargeable secondary battery as a battery. When the battery is discharged by operating the electronic device using the battery as a power source, charging control can be performed when an AC power source is connected. Since the battery of such an electronic device deteriorates due to overcharging or affects peripheral circuits due to heat generation, it is desired to accurately control the charge and discharge of the battery.
【0003】[0003]
【従来の技術】図20は電子装置のバッテリ充・放電制
御の構成例を示す図である。ノートパソコン等の電子装
置の電源は,AC電源により接続して使用する場合は,
ACアダプタ90において入力AC電圧(例えばAC1
00V)をDC(直流)電圧に変換し,DC−DCコン
バータ91へ入力され,ここで電子装置のシステム回路
(図示せず)で必要とする電圧に変換されて出力され
る。電子装置を携帯して使用する場合,ニッケル・カド
ミウム電池やニッケル水素電池等のバッテリ92を放電
してDC−DCコンバータ91から電源電圧を発生す
る。2. Description of the Related Art FIG. 20 is a diagram showing a configuration example of battery charge / discharge control of an electronic device. When using the power supply of an electronic device such as a notebook personal computer by connecting it with an AC power supply,
In the AC adapter 90, the input AC voltage (for example, AC1
00V) is converted into a DC (direct current) voltage, input to a DC-DC converter 91, and converted into a voltage required by a system circuit (not shown) of the electronic device and output. When the electronic device is carried and used, a battery 92 such as a nickel-cadmium battery or a nickel-metal hydride battery is discharged to generate a power supply voltage from the DC-DC converter 91.
【0004】バッテリ92を放電する場合は,1チップ
マイコン(マイクロコンピュータ)等で構成する制御回
路95からの制御により駆動回路93を介して放電用の
スイッチSW2をオンに駆動する。ここで駆動回路93
を介してスイッチを駆動するのは,スイッチSW2によ
りオン,オフ制御されるバッテリ電圧が制御回路95で
扱う電圧より高い高耐圧素子であるため,制御回路95
から直接制御することができないからである。When discharging the battery 92, a discharge switch SW2 is turned on via a drive circuit 93 under the control of a control circuit 95 constituted by a one-chip microcomputer (microcomputer) or the like. Here, the driving circuit 93
Is driven by a high withstand voltage element whose battery voltage that is turned on and off by the switch SW2 is higher than the voltage handled by the control circuit 95.
Because it cannot be controlled directly from the
【0005】ACアダプタ90の出力を電源として電子
装置が動作している時,バッテリ92を充電することが
できる。この充電動作は,電圧検出回路94によりDC
−DCコンバータ91の出力変化を検出した上でバッテ
リ満充電を判断し,充電用のスイッチSW1をオフとす
るよう駆動回路93を制御する。When the electronic device is operating using the output of the AC adapter 90 as a power supply, the battery 92 can be charged. This charging operation is performed by the
-A change in the output of the DC converter 91 is detected, the battery is fully charged, and the drive circuit 93 is controlled to turn off the charging switch SW1.
【0006】また,1チップマイコンの制御回路95
は,システム回路が動作する前にDC−DCコンバータ
91からの電源供給を検出して動作しなければならない
ので,電源供給時に電子装置のシステムが動作しないよ
うにシステム回路をリセットするリセット回路96が設
けられている。A control circuit 95 for a one-chip microcomputer is also provided.
Must operate by detecting the power supply from the DC-DC converter 91 before the system circuit operates. Therefore, the reset circuit 96 for resetting the system circuit so that the system of the electronic device does not operate at the time of power supply is provided. Is provided.
【0007】[0007]
【発明が解決しようとする課題】上記したように,従来
は1チップマイコンによりノートパソコン等の電子装置
の電源制御を行う場合,外部に各種のアナログ回路部品
を多く必要としているが,それらの部品点数が多くなる
とそれらを搭載する基板の実装面積が大きくなり,重量
も増大するため,電子装置の小型化及び軽量化が困難に
なると共にコストが上昇するという問題がある。As described above, conventionally, when the power supply of an electronic device such as a notebook personal computer is controlled by a one-chip microcomputer, many analog circuit components are required externally. As the number of points increases, the mounting area of the substrate on which they are mounted increases, and the weight also increases. Therefore, there is a problem that it is difficult to reduce the size and weight of the electronic device and the cost increases.
【0008】また,アナログ部品が点在すると,アナロ
グ部品間の信号にクロックノイズが載ったりして誤動作
を起こすことがある。さらに,複数のアナログ部品(例
えばオペアンプ)を個別の部品として使用すると,アナ
ログ部品毎に精度がばらばらであるため装置の動作精度
が悪化するという問題がある。Further, if analog parts are scattered, a malfunction may occur due to clock noise on signals between the analog parts. Furthermore, when a plurality of analog components (for example, operational amplifiers) are used as individual components, there is a problem that the operation accuracy of the device is deteriorated because the accuracy varies among the analog components.
【0009】また,バッテリを制御回路の制御により放
電を行って電子装置のシステム回路を動作させている
時,バッテリ電圧がドロップし過ぎると過放電が生じて
バッテリの劣化を招くという問題がある。さらにバッテ
リへの充電動作時に制御回路のマイコンが暴走するとバ
ッテリが過充電を起こし,過熱によりバッテリの発火を
起こす可能性がある。In addition, when the battery is discharged under the control of the control circuit to operate the system circuit of the electronic device, if the battery voltage drops too much, there is a problem that overdischarge occurs and the battery is deteriorated. Further, if the microcomputer of the control circuit runs away during the charging operation of the battery, the battery may be overcharged and the battery may be ignited due to overheating.
【0010】本発明はノートパソコンのようなバッテリ
充・放電制御機能を備えた電子装置における電源制御の
周辺回路を小型化すると共に精度を向上することができ
る電源制御方式を提供することを第1の目的とし,第2
に制御回路によるバッテリの過放電や過充電の動作を防
止することがてきる電源制御方式を提供することを第2
の目的とする。A first object of the present invention is to provide a power supply control system capable of reducing the size of a peripheral circuit for power supply control and improving accuracy in an electronic device such as a notebook personal computer having a battery charge / discharge control function. And the second
A second object of the present invention is to provide a power supply control method capable of preventing a battery from being over-discharged or over-charged by a control circuit.
The purpose of.
【0011】[0011]
【課題を解決するための手段】図1は本発明の第1の原
理構成図,図2は本発明の第2の原理構成図である。図
1及び図2において,1は電源制御コントローラ,2は
1チップの電源制御用の周辺回路,3はバッテリ,4は
DC−DCコンバータ,5aはバッテリへの充電動作の
オン・オフを切替える充電スイッチ(充電SWで表
す),5bはバッテリ3からの放電動作のオン・オフを
切替える放電スイッチ(放電SWで表す),6は制御デ
ータ線,7はウオッチドッグタイマをクリアする信号
線,8はリセット線,9は図示されない電子装置のシス
テム電圧を検出するシステム電圧検出部である。FIG. 1 is a block diagram showing a first principle of the present invention, and FIG. 2 is a block diagram showing a second principle of the present invention. 1 and 2, reference numeral 1 denotes a power supply controller, 2 denotes a peripheral circuit for one-chip power supply control, 3 denotes a battery, 4 denotes a DC-DC converter, and 5a denotes charging for switching on / off a charging operation of the battery. A switch (represented by a charge SW); 5b, a discharge switch (represented by a discharge SW) for switching on / off of a discharge operation from the battery 3; 6, a control data line; 7, a signal line for clearing a watchdog timer; The reset line 9 is a system voltage detector for detecting a system voltage of an electronic device (not shown).
【0012】電源制御コントローラ1内の10はプログ
ラムによる処理を行う処理部,11は周辺回路2内の各
部への制御データを設定したり,周辺回路2で検出した
信号を受け取るための転送制御部,12は外部から入力
する信号により処理部10等の各部をリセットするリセ
ット部である。Reference numeral 10 in the power supply controller 1 denotes a processing unit for performing processing according to a program, and reference numeral 11 denotes a transfer control unit for setting control data to each unit in the peripheral circuit 2 and receiving a signal detected by the peripheral circuit 2. , 12 are reset units for resetting each unit such as the processing unit 10 by a signal input from the outside.
【0013】周辺回路2は主として制御対象となる外部
との間でアナログ信号により動作するアナログ回路によ
り構成され,電源制御コントローラ1との間で制御信号
や検出データの送受信を転送制御部20を介して行われ
る。周辺回路2の外部との間でアナログ信号を用いる回
路として図1の第1の原理構成では2a〜2eが設けら
れ,2aはDC−DCコンバータの電圧を検出するDC
電圧検出部,2bはDC−DCコンバータの制御出力を
発生するDC制御部,2cは充電SW5aを制御する充
電スイッチ(SW)制御部,2dは放電SW5bを制御
する放電スイッチ(SW)制御部,2eはバッテリ電圧
検出部である。また,図2の第2の原理構成ではDC−
DCコンバータ4の制御に関係するDC電圧検出部2a
及びDC制御部2bが設けられていない。The peripheral circuit 2 is mainly composed of an analog circuit which operates by an analog signal with an external device to be controlled, and transmits and receives a control signal and detection data to and from the power supply controller 1 via a transfer control unit 20. Done. In the first principle configuration of FIG. 1, 2a to 2e are provided as a circuit using an analog signal with the outside of the peripheral circuit 2, and 2a is a DC for detecting the voltage of the DC-DC converter.
A voltage detection unit, 2b is a DC control unit that generates a control output of the DC-DC converter, 2c is a charge switch (SW) control unit that controls the charge SW 5a, 2d is a discharge switch (SW) control unit that controls the discharge SW 5b, 2e is a battery voltage detecting unit. In the second principle configuration of FIG.
DC voltage detector 2a related to control of DC converter 4
And the DC control unit 2b is not provided.
【0014】また,図1の周辺回路2内の20〜22
は,電源制御コントローラ1との間で信号を送受するた
めの構成であり,20は電源制御コントローラ1との間
でデータをやりとりする転送制御部,21はウオッチド
ッグタイマ(WDT),22は電源制御コントローラ1
及び内部にリセット信号を発生するリセット出力部であ
る。図2の周辺回路2は電源制御コントローラ1から制
御データ線6を介して充・放電の制御データが入力され
る転送制御部200が設けられ,ウオッチドッグタイマ
(WDT)210は図1と同様に設けられ,リセット出
力部220はシステム電圧検出部9からのドロップ電圧
の検出または一定レベル以上の電圧の検出によっても駆
動される。Also, 20 to 22 in the peripheral circuit 2 of FIG.
Is a configuration for transmitting and receiving signals to and from the power supply controller 1, 20 is a transfer controller for exchanging data with the power supply controller 1, 21 is a watchdog timer (WDT), and 22 is a power supply. Control controller 1
And a reset output section for internally generating a reset signal. The peripheral circuit 2 of FIG. 2 is provided with a transfer control unit 200 to which charge / discharge control data is input from the power supply controller 1 via the control data line 6. A watchdog timer (WDT) 210 is provided in the same manner as in FIG. The reset output unit 220 is also driven by detection of a drop voltage from the system voltage detection unit 9 or detection of a voltage higher than a certain level.
【0015】本発明はノートパソコン等の電子装置の電
源制御の周辺回路を1チップ化して,これを電源制御コ
ントローラにより制御することにより電源制御の周辺回
路の省スペース化と低コスト化及び精度を向上するもの
である。また,電源の立ち上げ時や電圧レベルの異常を
検出した場合に電源制御コントローラをリセットするよ
うにすると共に外部にウオッチドッグタイマを設け電源
制御コントローラに異常が発生するとウオッチドッグタ
イマによりリセットをかけることによる暴走を防ぐもの
である。According to the present invention, the peripheral circuit for power supply control of an electronic device such as a notebook personal computer is integrated into one chip and controlled by a power supply controller, thereby saving space, cost and accuracy of the peripheral circuit for power supply control. It will improve. In addition, the power supply controller is reset when the power is turned on or when an abnormality in the voltage level is detected, and a watchdog timer is provided externally to reset the power supply controller when an abnormality occurs. This is to prevent runaway due to.
【0016】[0016]
【作用】図1の第1の原理構成では,DC−DCコンバ
ータ4はACアダプタからの直流電源が供給されるか,
または放電スイッチ5bがオンに駆動された時にバッテ
リ3の電圧が入力することによりDC−DC変換をし
て,直流出力を電子装置のシステム回路(図示せず)へ
供給する。放電スイッチ5bは電源制御コントローラ1
の制御信号が転送制御部11から制御データ線6を介し
て周辺回路2の転送制御部20に送られ,ここから放電
スイッチ制御部2dに供給されてオンになる。DC−D
Cコンバータ4の出力電圧はDC電圧検出部2aで検出
され,検出値は周辺回路2から電源制御コントローラ1
へ制御データ線6を介して送られて判別され,DC−D
Cコンバータへの制御信号は逆の経路を通って電源制御
コントローラ1から周辺回路2へ送られてDC制御部2
bからDC−DCコンバータ4へ送られて制御動作が行
われる。In the first principle configuration shown in FIG. 1, whether the DC-DC converter 4 is supplied with DC power from the AC adapter,
Alternatively, when the voltage of the battery 3 is input when the discharge switch 5b is driven ON, the DC-DC conversion is performed, and the DC output is supplied to a system circuit (not shown) of the electronic device. The discharge switch 5b is connected to the power controller 1
Is transmitted from the transfer control unit 11 to the transfer control unit 20 of the peripheral circuit 2 via the control data line 6, and is supplied to the discharge switch control unit 2d from there to be turned on. DC-D
The output voltage of the C converter 4 is detected by the DC voltage detector 2a, and the detected value is transmitted from the peripheral circuit 2 to the power supply controller 1
Is sent through the control data line 6 to the DC-D
The control signal to the C converter is sent from the power supply controller 1 to the peripheral circuit 2 through the reverse path,
b to the DC-DC converter 4 to perform the control operation.
【0017】バッテリ3の充電は充電スイッチ5aをオ
ンにする制御信号が電源制御コントローラ1から送られ
ると,周辺回路2の充電スイッチ制御部2cが動作して
充電スイッチ5aをオンに駆動する。充電が実行される
と,バッテリ3の充電電圧は周辺回路2のバッテリ電圧
検出部2eで検出され,転送制御部20から電源制御コ
ントローラ1の転送制御部11に送られる。処理部10
で充電電圧の変化を識別して満充電を検出すると,制御
信号が周辺回路2へ送られ,これを受けた周辺回路2の
充電スイッチ制御部2cが充電SW5aをオフにするよ
う駆動される。For charging the battery 3, when a control signal for turning on the charge switch 5a is sent from the power supply controller 1, the charge switch control section 2c of the peripheral circuit 2 operates to drive the charge switch 5a on. When the charging is performed, the charging voltage of the battery 3 is detected by the battery voltage detecting unit 2 e of the peripheral circuit 2, and is transmitted from the transfer control unit 20 to the transfer control unit 11 of the power supply controller 1. Processing unit 10
When a change in charging voltage is identified and full charge is detected, a control signal is sent to the peripheral circuit 2, and the charge switch control unit 2c of the peripheral circuit 2 is driven to turn off the charging SW 5a.
【0018】ウオッチドッグタイマ21は,電源制御コ
ントローラ1から信号線7へ送られるバルス信号により
起動し,以後一定周期で電源制御コントローラ1から信
号線7へパルス信号が入力するとタイマがリセットする
が,電源制御コントローラ1の処理部10が暴走等によ
る異常動作により一定周期で入力しない時はタイムオー
バとなりリセット出力部22を駆動する。リセット出力
部22は,この他にバッテリ電圧検出部2eから一定レ
ベル以上または一定レベルよりドロップした電圧が検出
されると駆動される。リセット出力部22は,駆動され
ると電源制御コントローラ1及び電子装置のシステム回
路に対しリセット線8からリセット信号を発生する。こ
の時,リセット出力部22は転送制御部20内の入力機
能をマスクする。The watchdog timer 21 is started by a pulse signal sent from the power supply controller 1 to the signal line 7, and the timer is reset when a pulse signal is input from the power supply controller 1 to the signal line 7 at a constant period. When the processing unit 10 of the power supply controller 1 does not input at a fixed cycle due to an abnormal operation due to runaway or the like, the time is over and the reset output unit 22 is driven. The reset output unit 22 is driven when a voltage that is equal to or higher than a certain level or drops from a certain level is detected from the battery voltage detection unit 2e. The reset output unit 22 generates a reset signal from the reset line 8 to the power supply controller 1 and the system circuit of the electronic device when driven. At this time, the reset output unit 22 masks the input function in the transfer control unit 20.
【0019】リセット線8からリセット信号が電源制御
コントローラ1のリセット部12へ入力すると,リセッ
ト部12から処理部10を含む電源制御コントローラ1
内の各部をリセットして暴走を止めると共にシステム回
路の誤動作を防止する。また,リセット部12は駆動さ
れると転送制御部11の出力線を省電力化する。When a reset signal is input from the reset line 8 to the reset unit 12 of the power supply controller 1, the power supply controller 1 including the processing unit 10
Resets each part inside to stop runaway and to prevent malfunction of the system circuit. When the reset unit 12 is driven, the output line of the transfer control unit 11 saves power.
【0020】次に図2の第2の原理構成は,前記図1の
構成と異なる主要な点は,DC−DCコンバータ4の制
御を行うための構成を備えてなく,周辺回路2内には図
1に示す2a,2bが設けられてない。電源制御コント
ローラ1の制御は,DC−DCコンバータ4の制御を行
わないために負荷が少なくなる。周辺回路2のその他の
構成及び電源制御コントローラ1の基本構成は上記図1
と同様であるため説明を省略する。Next, the second principle configuration of FIG. 2 is different from the configuration of FIG. 1 in the point that the peripheral circuit 2 does not include a configuration for controlling the DC-DC converter 4. 2a and 2b shown in FIG. 1 are not provided. Since the control of the power supply controller 1 does not control the DC-DC converter 4, the load is reduced. The other configuration of the peripheral circuit 2 and the basic configuration of the power supply controller 1 are shown in FIG.
The description is omitted because it is the same as.
【0021】[0021]
【実施例】図3は本発明の実施例の構成図であり,上記
図1に示す第1の原理構成に対応するが,図2に示す第
2の原理構成と共通する機能については同様の構成によ
り実施することができる。FIG. 3 is a block diagram of an embodiment of the present invention, which corresponds to the first principle configuration shown in FIG. 1, but has the same functions as those of the second principle configuration shown in FIG. It can be implemented by the configuration.
【0022】図3において,30はAC電源が入力して
直流電圧を変換するACアダプタ,31〜34は図1の
1〜4に対応し,35a,35bは図1の5a,5bに
対応し,36〜38は図1の6〜8にそれぞれ対応す
る。すなわち,31はマイコン(マイクロコンピュー
タ)及び外部とのインタフェースを備えた各制御部によ
り構成された電源制御コントローラ,32は電源制御用
の周辺回路,33はバッテリ,34はDC−DCコンバ
ータ,35aは充電スイッチ(SW),35bは放電ス
イッチ(SW),36はシリアルな制御データが伝送さ
れる制御データ線,37はウオッチドッグタイマ(WD
T)パルスを伝送する信号線,38は電源制御コントロ
ーラ31のコンピュータをリセットする信号を伝送する
リセット線である。また,39はノートパソコン等の電
子装置内の論理処理を行うシステム回路,40は電源制
御コントローラ31から電源が供給される液晶等の表示
部であり,9は図1,図2と同様のシステム電圧検出部
である。In FIG. 3, reference numeral 30 denotes an AC adapter for inputting AC power and converting a DC voltage, 31 to 34 correspond to 1 to 4 in FIG. 1, and 35a and 35b correspond to 5a and 5b in FIG. , 36 to 38 respectively correspond to 6 to 8 in FIG. That is, 31 is a power supply controller composed of a microcomputer (microcomputer) and each control unit having an interface with the outside, 32 is a peripheral circuit for power control, 33 is a battery, 34 is a DC-DC converter, and 35a is A charge switch (SW), 35b is a discharge switch (SW), 36 is a control data line for transmitting serial control data, and 37 is a watchdog timer (WD).
T) a signal line for transmitting a pulse, and a reset line 38 for transmitting a signal for resetting the computer of the power supply controller 31. Reference numeral 39 denotes a system circuit for performing logical processing in an electronic device such as a notebook personal computer, and reference numeral 40 denotes a display unit such as a liquid crystal to which power is supplied from a power supply controller 31. Reference numeral 9 denotes a system similar to that shown in FIGS. It is a voltage detector.
【0023】電源制御コントローラ31において,31
0は周辺回路32で検出したバッテリ33の充電電圧
や,DC−DCコンバータ34の出力電圧の検出値を識
別し,対応する制御データを発生して送出する周辺回路
制御部(図1の転送制御部11を含む)である。311
はシステム電源制御部であり,電子装置のシステム回路
39への電源供給をパワースイッチ(SW)41のオン
・オフの入力に応じて制御すると共にクロック電源42
を制御してクロック発振器43の駆動・停止を制御し,
更にシステム回路39へのシステムリセットの出力を制
御する。データチェック部312は,周辺回路32の折
り返しデータ部32fからの折り返しデータと周辺回路
制御部310から周辺回路32へ伝送したデータとを照
合して正常に伝送が行われたかのチェックを行う回路で
ある。In the power supply controller 31, 31
0 indicates a peripheral circuit control unit (the transfer control unit shown in FIG. 1) which identifies the charge voltage of the battery 33 detected by the peripheral circuit 32 and the detection value of the output voltage of the DC-DC converter 34, and generates and transmits corresponding control data. Part 11). 311
Denotes a system power control unit, which controls power supply to the system circuit 39 of the electronic device in accordance with ON / OFF input of a power switch (SW) 41 and a clock power supply 42.
To control the driving and stopping of the clock oscillator 43,
Further, the output of the system reset to the system circuit 39 is controlled. The data check unit 312 is a circuit that checks whether or not the transmission has been normally performed by comparing the loopback data from the loopback data unit 32f of the peripheral circuit 32 with the data transmitted from the peripheral circuit control unit 310 to the peripheral circuit 32. .
【0024】周辺回路32内の32a〜32dはそれぞ
れ図1の2a〜2dに対応し,32eはバッテリ電圧を
デジタル信号に変換するA−D変換部であり,32fは
折り返しデータ部である。折り返しデータ部32fは電
源制御コントローラ31から送られて来たデータが転送
制御部320で受け取られると,その内容を折り返しデ
ータ部に転送して,ここから折り返し線を介して電源制
御コントローラ31のデータチェック部312に伝送す
る。転送制御部320,ウオッチドッグタイマ(WD
T)監視部321,リセット回路322は図1の20〜
22の各部に対応する。Reference numerals 32a to 32d in the peripheral circuit 32 correspond to 2a to 2d in FIG. 1, 32e is an A / D converter for converting a battery voltage into a digital signal, and 32f is a return data unit. When the data sent from the power supply controller 31 is received by the transfer control unit 320, the return data unit 32f transfers the content to the return data unit, and from there, returns the data of the power supply controller 31 via the return line. The data is transmitted to the check unit 312. Transfer controller 320, watchdog timer (WD
T) The monitoring unit 321 and the reset circuit 322 are 20 to
22.
【0025】DC−DCコンバータ34はACアダプタ
30からの直流電源またはバッテリ33から放電SW3
5bを介する電源により動作し,発生したDC電源は電
源制御コントローラ31,周辺回路32及びシステム回
路39へ供給され,そのDC電圧は周辺回路32の電圧
検出部32aで検出され,転送制御部320(図1の2
0),制御データ線を介して電源制御コントローラ31
へ送られ,周辺回路制御部310へ入力して,予定され
たDC電圧になるよう制御データが作成され,制御デー
タ線36を介して周辺回路32の転送制御部320へシ
リアルに伝送され,ここからDC制御部32bへ送られ
てDC−DCコンバータ34の出力電圧を制御する信号
が発生する。The DC-DC converter 34 is a DC power supply from the AC adapter 30 or a discharge SW3 from the battery 33.
5b, the generated DC power is supplied to the power controller 31, the peripheral circuit 32, and the system circuit 39. The DC voltage is detected by the voltage detector 32a of the peripheral circuit 32, and the transfer controller 320 ( 1 of FIG.
0), power supply controller 31 via control data line
The control data is sent to the peripheral circuit control unit 310 to generate control data so as to have a predetermined DC voltage. The control data is serially transmitted to the transfer control unit 320 of the peripheral circuit 32 via the control data line 36. Is sent to the DC controller 32b to generate a signal for controlling the output voltage of the DC-DC converter 34.
【0026】バッテリ33の充電及び放電動作は,電源
制御コントローラ31の周辺回路制御部310から転送
制御部320へ制御データが送られることにより,充電
制御部32cまたは充電制御部32cが駆動され,対応
する充電SW35aまたは放電SW35bがオンに切替
えられる。充電時のバッテリ33の電圧はA−D変換部
32eでデジタル信号に変換され転送制御部320に送
られて,ここから電源制御コントローラ31へ送られ
て,充電制御が行われる。The charging and discharging operations of the battery 33 are performed by transmitting control data from the peripheral circuit control unit 310 of the power supply controller 31 to the transfer control unit 320, thereby driving the charge control unit 32c or the charge control unit 32c. The charging SW 35a or discharging SW 35b to be turned on is switched on. The voltage of the battery 33 at the time of charging is converted into a digital signal by the A / D converter 32e, sent to the transfer controller 320, and then sent to the power controller 31 to perform charging control.
【0027】バッテリ33の充電動作においてバッテリ
充電時の電圧降下(−ΔV)を検出すると満充電と判断
して充電SW35aをオフする。リセット回路322
は,WDT監視部321からの出力によりリセット信号
を発生すると共に,システム電圧検出部9によりシステ
ム電圧が一定レベル以下にドロップしたことを検出した
時にその検出出力によってリセット信号を発生する。リ
セット信号は電源制御コントローラ31へ送出されると
共にシステム回路39へも供給され,それぞれをリセッ
トする。また,この時リセットの種類を表す信号が発生
する。When a voltage drop (−ΔV) during battery charging is detected in the charging operation of the battery 33, it is determined that the battery is fully charged, and the charging SW 35a is turned off. Reset circuit 322
Generates a reset signal based on the output from the WDT monitor 321 and generates a reset signal based on the detected output when the system voltage detector 9 detects that the system voltage has dropped below a certain level. The reset signal is sent to the power supply controller 31 and also supplied to the system circuit 39 to reset each of them. At this time, a signal indicating the type of reset is generated.
【0028】電源制御コントローラ31は周辺回路32
からリセット信号を受け取ると,内部の各制御部(マイ
コン)をリセットし,暴走状態を停止させたり,充電動
作中の過充電や,放電動作中の過放電動作を停止され,
同時に周辺回路32内の充電SW35aまたは放電SW
35bを制御するレジスタをクリアして各SW35a,
35bをオフにする。また,リセット信号の受信により
周辺回路制御部310の制御データ線36の出力ポート
をハイインピーダンス状態にする。The power supply controller 31 includes a peripheral circuit 32
When a reset signal is received from the controller, the internal control units (microcomputers) are reset to stop the runaway state, stop overcharging during charging, and stop overdischarging during discharging.
At the same time, the charging SW 35a or the discharging SW in the peripheral circuit 32
Clear the register that controls 35b, and switch SW35a,
Turn off 35b. Further, the output port of the control data line 36 of the peripheral circuit control unit 310 is set to a high impedance state by receiving the reset signal.
【0029】図4は電源制御コントローラと周辺回路間
の制御データ線の構成を示す。この制御データ線36は
上記図3の電源制御コントローラ31内の周辺回路制御
部310と周辺回路32の転送制御部320との間に設
けられ,転送制御部320内にはシリアルデータをライ
ト(周辺回路制御部310から転送制御部320へ書き
込む)するためのレジスタ320a及びリード(転送制
御部320のデータを周辺回路制御部310へ読み込
む)するためのレジスタ320bが設けられている。FIG. 4 shows a configuration of a control data line between the power supply controller and peripheral circuits. The control data line 36 is provided between the peripheral circuit control unit 310 in the power supply controller 31 of FIG. 3 and the transfer control unit 320 of the peripheral circuit 32, and serial data is written in the transfer control unit 320 (peripheral). A register 320a for writing from the circuit control unit 310 to the transfer control unit 320 and a register 320b for reading (reading data of the transfer control unit 320 into the peripheral circuit control unit 310) are provided.
【0030】制御データ線36は,36a〜36dの4
本の線で構成され,線36aはシリアル同期クロック
線,36bはシリアルライトデータ線,36cはライト
データを転送制御部320内のレジスタ320aに設定
するタイミング信号を伝送するシリアルデータラッチ
線,36dは周辺回路からのデータを電源制御コントロ
ーラに転送するためのシリアルリードデータ線である。The control data line 36 is connected to four of 36a to 36d.
The line 36a is a serial synchronous clock line, 36b is a serial write data line, 36c is a serial data latch line for transmitting a timing signal for setting write data to a register 320a in the transfer control unit 320, and 36d is a serial data latch line. This is a serial read data line for transferring data from a peripheral circuit to the power supply controller.
【0031】図5は図4に示す各線の信号の波形例であ
り,(2) に示すシリアル同期クロックがシリアル同期ク
ロック線36aを介して周辺回路制御部310から送ら
れると,転送制御部320のレジスタ320bの8ビッ
トのデータが図5の(1) に示すようにシリアルリードデ
ータ線36dを介して送信される。また,データのライ
ト動作は,(2) に示すシリアル同期クロックに同期して
シリアルライトデータ線36bを介して図5の(3) に示
す8ビットのデータが送信されると, 転送制御部320
ではシリアル同期クロックの立ち上がりで取り込まれて
レジスタ320aへ順次入力され,図5の(4) に示すシ
リアルデータラッチ信号の立ち上がりによりレジスタ3
20aに8ビットデータがセットされる。セットされる
データとして,周辺回路の各部動作状態を設定するデー
タや,周辺回路における動作を指示するコマンド等があ
る。FIG. 5 shows an example of the waveform of each line shown in FIG. 4. When the serial synchronous clock shown in (2) is sent from the peripheral circuit control unit 310 via the serial synchronous clock line 36a, the transfer control unit 320 Is transmitted via the serial read data line 36d as shown in FIG. 5 (1). The data write operation is performed when the 8-bit data shown in (3) of FIG. 5 is transmitted via the serial write data line 36b in synchronization with the serial synchronization clock shown in (2).
At the rising edge of the serial synchronous clock, the data is fetched and sequentially input to the register 320a, and the register 3a is input at the rising edge of the serial data latch signal shown in FIG.
8-bit data is set in 20a. The data to be set include data for setting the operation state of each part of the peripheral circuit, commands for instructing the operation of the peripheral circuit, and the like.
【0032】電源制御コントローラ(周辺回路制御部3
10)から周辺回路(転送制御部320)の状態を設定
するデータ(コマンドを含む)について説明する。この
実施例では,設定されるデータは8ビットであり,上記
図5の(3) に示すシリアルライトデータとして送られ,
周辺回路32内の図4に示す回路の一つに供給される。
例えば,充電SW32cや放電SW32dをオンまたは
オフにしたり,A−D変換回路が複数個設けられている
時,その中の一つの回路を指定して動作させるデータ等
である。Power supply controller (peripheral circuit controller 3)
Data (including commands) for setting the state of the peripheral circuit (transfer control unit 320) from 10) will be described. In this embodiment, the data to be set is 8 bits, and is transmitted as the serial write data shown in (3) of FIG.
It is supplied to one of the circuits shown in FIG.
For example, it is data that turns on or off the charge SW 32c or the discharge SW 32d, or specifies and operates one of the A / D conversion circuits when a plurality of A / D conversion circuits are provided.
【0033】図6に電源制御コントローラから周辺回路
へ送られる8ビットデータの構成例を示す。この例で
は,ビット0〜3の下位4ビットはデータアドレスであ
り,これにより設定されるデータのアドレス(設定先ま
たは意味)を表し,ビット4〜7の上位4ビットはデー
タ内容であり,設定される内容(機能)を表す。FIG. 6 shows a configuration example of 8-bit data sent from the power supply controller to the peripheral circuit. In this example, the lower 4 bits of bits 0 to 3 are a data address, which indicates the address of the data to be set (setting destination or meaning), and the upper 4 bits of bits 4 to 7 are data contents. Indicates the content (function) to be performed.
【0034】図7はデータの転送順序が示され,図7の
A.に示すように最下位ビット(LSBで示すbit
0)を先頭にデータアドレスがbit3まで送られ,そ
の後にデータのbit4〜7が順次転送される。周辺回
路の転送制御部320のレジスタ320aに設定された
データはデコードされて対応する処理が行われる。FIG. 7 shows the data transfer order. As shown in the figure, the least significant bit (bit indicated by LSB)
The data address is sent up to bit 3 starting with 0), and then bits 4 to 7 of the data are sequentially transferred. The data set in the register 320a of the transfer control unit 320 of the peripheral circuit is decoded and the corresponding processing is performed.
【0035】図6に示すA−D変換機能(コマンド)の
データを電源制御コントローラから周辺回路に設定する
場合,下位4ビット(bit0〜bit3)を全て
“0”(0h:hは16進表示)にしてA−D変換機能
を表し,上位4ビット(bit4〜bit7)の中のb
it4を“1”にしてA−D変換のスタートを指示し,
bit5〜bit7の各ビットでA−D変換回路のセレ
クトを行う。この場合に転送される8ビットの順序を図
7のB.に示す。When the data of the AD conversion function (command) shown in FIG. 6 is set from the power supply controller to the peripheral circuit, all the lower 4 bits (bit0 to bit3) are set to "0" (0h: h is hexadecimal display). ) Represents the A / D conversion function, and b in the upper 4 bits (bit 4 to bit 7)
It4 is set to "1" to start the A / D conversion.
The AD conversion circuit is selected by each bit of bit5 to bit7. The order of the eight bits transferred in this case is shown in FIG. Shown in
【0036】また,図6に示す「充電制御」を設定する
場合,下位4ビットを2hとして充電制御であることを
表し,上位4ビットで複数の充電スイッチ「充電1〜充
電4」の制御を指定することができ,その中の何れのス
イッチをオンまたはオフにするかを各ビットの“1”ま
たは“0”により表す。また,ダミーコードは,後述
(図8で説明)するが,データアドレス(bit0〜b
it3)を1h(hは16進の表示)としてダミコード
であることを表し,上位4ビットを全て“1”にする。
同様に「クロック制御」等の他の各種の機能を設定する
ことができる。When the "charging control" shown in FIG. 6 is set, the lower 4 bits are set to 2h to indicate that the charging is controlled, and the upper 4 bits control the plurality of charging switches "charging 1 to charging 4". Which of the switches is turned on or off is represented by "1" or "0" of each bit. The dummy code is described later (described with reference to FIG. 8).
it3) is 1h (h is a hexadecimal notation) to indicate a Dami code, and all upper 4 bits are set to "1".
Similarly, various other functions such as “clock control” can be set.
【0037】図8は電源制御コントローラから周辺回路
のデータを読み取る時の信号構成を示す図である。読み
取りの場合,図4,図5に示すデータ制御線36a〜3
6dが用いられ,図8にはその中の2つの線の信号を示
し,a.はシリアルライトデータ(線36b),b.は
シリアルリードデータ(線36d)である。FIG. 8 is a diagram showing a signal structure when data of a peripheral circuit is read from the power supply controller. In the case of reading, the data control lines 36a-3a shown in FIGS.
6d is used, and FIG. 8 shows the signals of the two lines therein, a. Is serial write data (line 36b), b. Is serial read data (line 36d).
【0038】周辺回路32内の状態(例えば,A−D変
換部の変換値)を電源制御コントローラが読み取る場
合,最初にシリアルライトデータ線上に電源制御コント
ローラ側から,リードコマンドを周辺回路へ転送す
る。このリードコマンドには,コマンドの機能(この
場合,リード)とリードの対象となる回路(例えば,ど
のA−D変換回路)が指定される。これを受け取った周
辺回路(転送制御部320)は,対応するA−D変換回
路の変換値をレジスタ320bに設定する。When the power supply controller reads the state in the peripheral circuit 32 (for example, the converted value of the A / D converter), a read command is first transferred to the peripheral circuit from the power supply controller side on the serial write data line. . In the read command, a function of the command (in this case, read) and a circuit to be read (for example, which AD conversion circuit) is specified. The peripheral circuit (the transfer control unit 320) that has received this sets the conversion value of the corresponding A / D conversion circuit in the register 320b.
【0039】この後,図8のa.に示すようにシリアル
ライトデータとしてダミーコマンド(この内容はコマ
ンドとして意味を持たない)が,電源制御コントローラ
から送出されると,周辺回路ではこのダミーコマンドの
受信に同期して,レジスタ320bのA−D変換値がリ
ードデータとしてシリアルリードデータ線に出力さ
れ,電源制御コントローラへ転送される。この時,ダミ
ーコマンドとリードデータは,上記に説明した図4
に示すようにシリアル同期クロックに同期して送・受信
される。Thereafter, a. When a dummy command (this content has no meaning as a command) is transmitted from the power supply controller as serial write data as shown in FIG. The D-converted value is output as read data to the serial read data line and transferred to the power supply controller. At this time, the dummy command and the read data are the same as those in FIG.
As shown in (1), transmission and reception are performed in synchronization with the serial synchronization clock.
【0040】次にウオッチドッグタイマ(WDT)と電
源制御コントローラのリセットの関係について図9を用
いて説明する。図9のa.はウオッチドッグタイマ(W
DT)用のパルスであり,このパルスは,図3の電源制
御コントローラ31からウオッチドッグタイマ(WD
T)監視部321に対し,一定パルス幅t1(例えば,
50μs)を持ち一定間隔t2(例えば,200ms)
で出力される。周辺回路32のWDT監視部321は,
正常にパルスが出力されているかどうかを監視し,正常
に出力が発生しないと図9のb.に示すようにリセット
信号を発生する。このリセット信号は図4のWDT監視
部321でパルス間隔が時間t2を越えたことを検出し
た時発生する出力によりリセット回路322を駆動して
発生する。図9のb.はリセット回路322から発生す
るリセット信号である。このリセット信号により電源制
御コントローラ31はリセットされる。この時,図4の
リセット回路322から出力するリセットの種類を表す
信号(ステータス信号)は図9のc.に示すようにハイ
(High) レベルとなる。Next, the relationship between the watchdog timer (WDT) and the reset of the power supply controller will be described with reference to FIG. FIG. Is a watchdog timer (W
DT), and this pulse is supplied from the power supply controller 31 of FIG. 3 to the watchdog timer (WD).
T) For the monitoring unit 321, a constant pulse width t1 (for example,
50 μs) and a constant interval t2 (for example, 200 ms)
Is output. The WDT monitoring unit 321 of the peripheral circuit 32
It is monitored whether or not the pulse is output normally. If the output is not generated normally, b. A reset signal is generated as shown in FIG. This reset signal is generated by driving the reset circuit 322 by an output generated when the WDT monitor 321 in FIG. 4 detects that the pulse interval has exceeded the time t2. B of FIG. Is a reset signal generated from the reset circuit 322. The power supply controller 31 is reset by this reset signal. At this time, the signal (status signal) indicating the type of reset output from the reset circuit 322 in FIG. As shown in FIG.
【0041】なお,電源立ち上げ時に出力するリセット
の場合,リセットの種類を示すステータス信号は,ロー
(Low) レベルである。これによって,電源制御コントロ
ーラ31がリセットされた時の要因を分析することがで
きる。In the case of a reset output at power-on, the status signal indicating the type of reset is low.
(Low) level. As a result, it is possible to analyze the cause when the power supply controller 31 is reset.
【0042】図3の周辺回路32のリセット回路から発
生するリセット信号は,電子装置のシステム回路39に
も出力され,システム回路を初期化する。電源制御コン
トローラ31内ではこのリセット信号を受けると,周辺
回路制御部310内の出力ポート(周辺回路への制御デ
ータ線への出力ポート)を図10に示す構成によりハイ
インピーダンスにする。The reset signal generated from the reset circuit of the peripheral circuit 32 shown in FIG. 3 is also output to the system circuit 39 of the electronic device to initialize the system circuit. Upon receiving this reset signal in the power supply controller 31, the output port in the peripheral circuit control section 310 (output port to the control data line to the peripheral circuit) is made high impedance by the configuration shown in FIG.
【0043】すなわち,図10は電源制御コントローラ
の出力ポートの構成であり,周辺回路と接続する複数の
線路(図4の制御データ線の36a〜36d)に対応し
て同じ回路が設けられている。図中,DVは信号aを線
路へ出力するドライバ,Gはドライバを制御するゲート
である。FFはフリップフロップ回路であり,リセット
信号の入力によりセットされ,そのセット出力がドライ
バDVのゲートへ入力すると,ドライバDVはハイイン
ピーダンス状態に設定される。これにより,線路に対し
抵抗Rを介して供給される電源(5V)からの電流が低
下して電力消費が抑制される。That is, FIG. 10 shows the configuration of the output port of the power supply controller. The same circuit is provided corresponding to a plurality of lines (control data lines 36a to 36d in FIG. 4) connected to the peripheral circuit. . In the figure, DV is a driver for outputting a signal a to the line, and G is a gate for controlling the driver. FF is a flip-flop circuit, which is set by the input of a reset signal. When the set output is input to the gate of the driver DV, the driver DV is set to a high impedance state. As a result, the current from the power supply (5 V) supplied to the line via the resistor R is reduced, and power consumption is suppressed.
【0044】また,リセット信号により電源制御コント
ローラ31内のシステム電源制御部(図3の311)の
リセット制御によりクロック発振を停止して消費電力を
抑制し,電源制御コントローラが暴走した時にもシステ
ムの被害を最小限にする。Also, the clock oscillation is stopped by reset control of the system power control unit (311 in FIG. 3) in the power control controller 31 by the reset signal to suppress power consumption, and the system is controlled even when the power control controller goes out of control. Minimize damage.
【0045】図11はパワースイッチ押下によるシステ
ム立ち上げ時の電源制御コントローラにおける各部の信
号波形図である。図11のd.のようにパワー(Power)
スイッチを押下すると, a.に示すようなタイミングで
図のような波形のシステムリセット信号が電源制御コン
トローラ31(図3参照)のシステム電源制御部311
から発生する。このシステムリセット信号により,シス
テム回路39は一定時間リセット状態になるが,システ
ムリセット信号の立ち上げによりクロック電源42が図
11のc.に示すようにオンに設定され,これによりク
ロック発振部43が発振動作を開始する。このクロック
発振部43の発振が安定するとa.に示すシステムリセ
ット信号が解除されてシステム回路39を正常に立ち上
げることができる。FIG. 11 is a signal waveform diagram of each part in the power supply controller when the system is started by pressing the power switch. D of FIG. Power as
When the switch is pressed, a. The system reset signal having the waveform shown in the figure is generated at the timing shown in FIG. 3 by the system power controller 311 of the power controller 31 (see FIG. 3).
Arising from The system reset signal causes the system circuit 39 to be in a reset state for a certain period of time. As shown in (1), the clock oscillating unit 43 starts oscillating. When the oscillation of the clock oscillator 43 is stabilized, a. Is released, and the system circuit 39 can be started up normally.
【0046】図12はシリアルライトデータの折り返し
チェックのタイミング関係を示す図である。電源制御コ
ントローラ31から図12のa.のシリアル同期クロッ
クに同期して,b.に示すシリアルライトデータが周辺
回路32へ転送されると,周辺回路32内の転送制御部
320で受け取った信号がそのまま折り返しデータ部3
2fへ図12のc.に示すような信号となって供給さ
れ,d.に示すシリアルデータラッチ信号により転送制
御部320内及び折り返しデータ部32fにセットされ
る。この折り返しデータ部32fのデータは電源制御コ
ントローラ31のデータチェック部312に供給される
と,データチェック部312はライトデータと折り返し
データとを照合することにより正常に転送されたか否か
をチェックできる。FIG. 12 is a diagram showing the timing relationship of the return check of serial write data. From the power supply controller 31 to a. In synchronization with the serial synchronization clock of b. Is transferred to the peripheral circuit 32, the signal received by the transfer control unit 320 in the peripheral circuit 32
2f to FIG. Is supplied as a signal as shown in FIG. Are set in the transfer control section 320 and the return data section 32f by the serial data latch signal shown in FIG. When the data of the return data section 32f is supplied to the data check section 312 of the power supply controller 31, the data check section 312 can check whether the write data and the return data have been transferred normally by collating the write data with the return data.
【0047】図13は周辺回路の他の構成例である。こ
の構成には上記図2に示す本発明の第2の基本構成にお
ける周辺回路に対応しその主要部が示されている。図1
3において,200,210,220,9は上記図2の
同じ符号の回路に対応し,200は転送制御部,210
はウオッチドッグタイマ(WDT),220はリセット
出力部であり,9は電圧検出部(図2のシステム電圧検
出部に対応)である。転送制御部200内の201はデ
ータ変換回路,202はレジスタである。FIG. 13 shows another configuration example of the peripheral circuit. This configuration corresponds to the peripheral circuit in the second basic configuration of the present invention shown in FIG. 2 and shows the main part thereof. FIG.
3, reference numerals 200, 210, 220, and 9 correspond to the circuits having the same reference numerals in FIG.
Denotes a watchdog timer (WDT), 220 denotes a reset output unit, and 9 denotes a voltage detection unit (corresponding to the system voltage detection unit in FIG. 2). Reference numeral 201 in the transfer control unit 200 denotes a data conversion circuit, and reference numeral 202 denotes a register.
【0048】転送制御部200は電源制御コントローラ
から,充・放電の状態を設定する制御データを図4の3
6a〜36dと同様の制御データ線を介して,シリアル
同期クロック,シリアルライトデータ,及びシリアルデ
ータラッチの各信号を受け取り,各ビットは変換回路2
01で検出されて直並列変換され,最後にレジスタ20
2に設定される。The transfer control unit 200 receives control data for setting the charging / discharging state from the power supply controller, as shown in FIG.
6a to 36d, the respective signals of the serial synchronization clock, serial write data, and serial data latch are received via the control data line.
01, and is converted to serial / parallel.
Set to 2.
【0049】図14は充・放電制御部の構成例であり,
上記図13の構成により設定されたデータにより充・放
電される構成を示す。図14に示すレジスタ202に電
源制御コントローラからのデータが設定されると,その
各ビットの内容に応じて,クロック(CK)信号に同期
してフリップフロップ回路FF1,FF2がセットまた
はリセットされる。フリップフロップ回路FF1,FF
2の何れか一方がセットされると,出力端子Qから対応
する放電SW(図2の5b)または充電SW(図2の5
a)がオンに駆動されて放電動作または充電動作が開始
される。充電または放電を停止する場合には,電源制御
コントローラから,停止させるための制御データがレジ
スタ202に設定される。また,各フリップフロップ回
路FF1,FF2は,リセット出力部(図13の22
0)から発生するリセット信号(RST)によりレジス
タの状態に関係なくリセットされ,充電SWや放電SW
はオフ状態となる。FIG. 14 shows an example of the configuration of the charge / discharge control unit.
FIG. 14 shows a configuration in which charging / discharging is performed by data set by the configuration of FIG. When the data from the power supply controller is set in the register 202 shown in FIG. 14, the flip-flop circuits FF1 and FF2 are set or reset in synchronization with the clock (CK) signal according to the content of each bit. Flip-flop circuits FF1, FF
2 is set, the corresponding discharge SW (5b in FIG. 2) or charge SW (5 in FIG.
a) is driven on to start a discharging operation or a charging operation. When charging or discharging is stopped, control data for stopping the charging or discharging is set in the register 202 from the power supply controller. Each of the flip-flop circuits FF1 and FF2 is connected to a reset output unit (22 in FIG. 13).
0) is reset regardless of the state of the register by the reset signal (RST) generated from
Is turned off.
【0050】図15は周辺回路のデータ入力部の構成例
であり,図13の変換回路201の入力側に設けられ,
電源制御コントローラからのデータ入力のための各線
(制御データ線)に対応して設けられている複数の回路
の一つである。FIG. 15 shows an example of the configuration of the data input section of the peripheral circuit, which is provided on the input side of the conversion circuit 201 in FIG.
This is one of a plurality of circuits provided corresponding to each line (control data line) for data input from the power supply controller.
【0051】RV1〜RVnはそれぞれ電源制御コント
ローラからの信号を受信するレシーバ,DTは立ち上が
り検出回路である。レシーバRV1は電源制御コントロ
ーラから一定周期で入力するパルス(ウオッチドッグタ
イマ用)をリセット解除後,最初に入力するパルスを受
信し,レシーバRV2〜RVnは制御データ線(シリア
ル同期クロック線,シリアルデータライト線,シリアル
データラッチ線等)を有効とする。レシーバRV1の入
力フローティング端子に上記リセット回路(図13の2
20)からリセット信号が供給されると,レシーバRV
1をマスクする。RV1 to RVn are receivers for receiving signals from the power supply controller, and DT is a rise detection circuit. The receiver RV1 receives the first input pulse after resetting the pulse (for the watchdog timer) input from the power supply controller at a fixed cycle, and the receivers RV2 to RVn control the control data lines (serial synchronous clock line, serial data write). Line, serial data latch line, etc.). The reset circuit (2 in FIG. 13) is connected to the input floating terminal of the receiver RV1.
When the reset signal is supplied from 20), the receiver RV
1 is masked.
【0052】つまり,各レシーバRV2〜RVnはリセ
ットにより各入力フローティング端子に信号が供給され
てマスクがかけられる。このマスクされた状態では受信
ができなくなるが,リセット信号が解除された後,電源
制御コントローラからの最初のパルスがレシーバRV1
に入力すると,立ち上がり検出回路DTでパルスの立ち
上がりが検出され,その検出出力によりレシーバRV2
〜RVnのマスクを解除してデータの受信が可能とな
る。That is, a signal is supplied to each input floating terminal of each of the receivers RV2 to RVn by reset, and masking is performed. In this masked state, reception becomes impossible, but after the reset signal is released, the first pulse from the power supply controller is output to the receiver RV1.
, The rising edge of the pulse is detected by the rising edge detection circuit DT, and the detection output indicates that the receiver RV2
~ RVn is released and data can be received.
【0053】図16はDC電源と電圧検出部の出力の波
形図である。図16のa.はDC電源(図2のDC−D
Cコンバータから出力されるDC電圧)の波形であり,
縦軸がDC電圧,横軸が時間である。b.はシステム電
圧検出部の検出波形であり,縦軸がリセット駆動信号
(*RSTで表す極性が反転した信号),横軸が時間で
ある。DC電圧が時間t0で立ち上がって,電圧V1に
なった時間t1に電圧検出部からの,リセット駆動信号
が立ち上がり,予め決められた電圧V2(>V1)まで
上昇するとリセット信号が無くなる。この後,DC電圧
がドロップして電圧V2より低くなると,その期間(時
間t3〜t4)はリセット駆動信号が発生する。FIG. 16 is a waveform diagram of the output of the DC power supply and the voltage detector. FIG. Is a DC power supply (DC-D in FIG. 2)
(DC voltage output from the C converter)
The vertical axis is DC voltage, and the horizontal axis is time. b. Represents a detection waveform of the system voltage detection unit, the vertical axis represents a reset drive signal (a signal of which polarity is represented by * RST inverted), and the horizontal axis represents time. When the DC voltage rises at time t0 and becomes the voltage V1, the reset drive signal from the voltage detector rises at time t1. When the DC drive voltage rises to a predetermined voltage V2 (> V1), the reset signal disappears. Thereafter, when the DC voltage drops and becomes lower than the voltage V2, a reset drive signal is generated during that period (time t3 to t4).
【0054】図17はリセット回路の構成図である。こ
のリセット回路(図13の220)は,システム電圧検
出部(DC検出部)からの上記図16に示すリセット駆
動信号aと,ウオッチドッグタイマ(図13のWDT)
からのリセット駆動信号bをオア回路221で受けて,
何れからのリセット駆動信号が発生すると,RST1で
示す第1のリセット信号をシステム回路(電子装置)へ
出力してシステム回路にリセットをかける。また,オア
回路221の出力(RST1)はカウンタ223へ入力
され,ここで一定時間遅延される。従って,オア回路2
22には信号RST1とカウンタ223の出力が入力さ
れるため,信号RST1より幅の広い第2のリセット信
号RST2が発生する。このリセット信号RST2は,
電源制御コントローラへ送られて,内部のマイコンをリ
セットする等に働きをする。FIG. 17 is a configuration diagram of the reset circuit. The reset circuit (220 in FIG. 13) is provided with the reset drive signal a shown in FIG. 16 from the system voltage detector (DC detector) and a watchdog timer (WDT in FIG. 13).
Receiving the reset drive signal b from the OR circuit 221,
When a reset drive signal is generated from any of them, a first reset signal indicated by RST1 is output to the system circuit (electronic device) to reset the system circuit. The output (RST1) of the OR circuit 221 is input to the counter 223, where it is delayed for a certain time. Therefore, OR circuit 2
Since the signal RST1 and the output of the counter 223 are input to 22, a second reset signal RST2 wider than the signal RST1 is generated. This reset signal RST2 is
It is sent to the power supply controller and works to reset the internal microcomputer.
【0055】次に図18は周辺回路の上記に説明したウ
オッチドッグタイマ(WDT),DC電源監視によるリ
セット発行の動作フローである。最初に電源がオンされ
ると(図18のS1),一旦周辺回路のリセットが解除
される(同S2)。この後,電源制御コントローラのマ
イコンをリセットするリセット信号(図17のRST
2)が単発の信号として発行される(図18のS
3))。Next, FIG. 18 is a flowchart showing the operation of the peripheral circuit for issuing a reset by monitoring the above-described watchdog timer (WDT) and monitoring the DC power supply. When the power is first turned on (S1 in FIG. 18), the reset of the peripheral circuit is released once (S2). Thereafter, a reset signal for resetting the microcomputer of the power supply controller (RST in FIG. 17)
2) is issued as a single-shot signal (S in FIG. 18).
3)).
【0056】一方,リセット信号の発行と並行してDC
電源監視(システム電圧検出部9による)が行われ,D
C電源のドロップが有るか否かを判別する(図18のS
25)。ドロップが検出された場合は電源制御回路へリ
セット発行を行い(同S16),その後も監視を行う。On the other hand, in parallel with the issuance of the reset signal, DC
Power supply monitoring (by the system voltage detector 9) is performed, and D
It is determined whether there is a drop of the C power supply (S in FIG. 18).
25). If a drop is detected, a reset is issued to the power supply control circuit (S16), and monitoring is performed thereafter.
【0057】また,上記S3において電源制御コントロ
ーラを一旦リセットして一定時間後にリセットが解除さ
れて,電源制御コントローラからのパルス(WDT用)
が入力されたか否かを判別し(同S4),入力された場
合には,入力ポートを開放し(同S5),データ入力を
開始する(同S6)。この後データ入力があるか否かの
判別を行い(同S7),ある場合はそのデータ入力によ
るデータ命令(充電SW,放電SWのオンまたはオフ)
を実行し(同S8),S7に戻り他のデータ入力を待
つ。In step S3, the power supply controller is reset once, and the reset is released after a lapse of a predetermined time, and a pulse (for WDT) from the power supply controller is issued.
It is determined whether or not has been input (S4), and if it has been input, the input port is opened (S5) and data input is started (S6). Thereafter, it is determined whether or not there is a data input (S7), and if so, a data command based on the data input (ON or OFF of the charge SW and discharge SW).
(S8) and returns to S7 to wait for another data input.
【0058】上記S4において,パルス入力が有る場合
には,同時にウオッチドッグタイマ(WDT)も起動さ
れ,周辺回路内に設けられた一定時間毎に出力を発生す
るタイマからタイマ割込みが発生したか判別する(図1
8のS9)。この割込が発生した場合はウオッチドッグ
のカウンタを+1する(同S10)。タイマ割込みが無
い場合及びウオッチドッグタイマのカウンタを+1した
後,電源制御回路からのパルス(WDT用)入力が有る
か判別する(同S11)。パルス入力があると,ウオッ
チドッグのカウンタをクリアし,続いて(パルス入力が
無い場合も)ウオッチドッグのカウンタが予め設定され
た一定値以上になったか判別する(同S13)。一定値
以上になってない場合は,S9へ戻るが,一定値以上に
なった場合は,タイムオーバとなったことによりリセッ
トが発行される(同S14)。この後,S4の処理に移
行して引続きウオッチドッグタイマによる監視が行われ
る。In step S4, when there is a pulse input, a watchdog timer (WDT) is also started at the same time, and it is determined whether a timer interrupt is generated from a timer provided in the peripheral circuit and generating an output at regular intervals. (Figure 1
8 S9). When this interrupt occurs, the counter of the watchdog is incremented by 1 (S10). When there is no timer interrupt and after incrementing the counter of the watchdog timer by 1, it is determined whether there is a pulse (for WDT) input from the power supply control circuit (S11). If there is a pulse input, the counter of the watchdog is cleared, and subsequently (even when there is no pulse input), it is determined whether or not the counter of the watchdog has exceeded a preset predetermined value (S13). If not, the process returns to S9. If the value exceeds the certain value, a reset is issued due to time-out (S14). Thereafter, the process shifts to the process of S4, and monitoring by the watchdog timer is continuously performed.
【0059】図19は電源投入時,WDTの動作及び電
圧ダウンの各状態によるリセット発行のタイミングチャ
ートである。a.に示すようにDC電源がオンして電圧
の上昇が開始すると,b.の(1) により表す波形のリセ
ット駆動信号(図16のb.と同じ*RST信号)が発
生し,c.に示すように電源の立ち上がり時にで示す
リセット信号(図17のRST1,RST2)が発生す
る。このリセット信号が解除された後,d.に示すよう
に電源制御コントローラからのパルス入力(WDT用)
に,P1,P2が入力する。このパルス入力がある間
は,g.に示すウオッチドッグタイマ(WDT)は何ら
出力を発生せず,e.に示すデータ入力(電源制御コン
トローラから)があるとこれを受信する。図の例では,
最初にD1で示すデータが入力すると,f.に示すよう
にデータにより指示された充・放電のSWを制御する動
作が行われる。FIG. 19 is a timing chart for issuing a reset in each state of the operation of the WDT and the voltage reduction when the power is turned on. a. When the DC power supply is turned on and the voltage starts increasing as shown in b. A reset drive signal (* RST signal same as b. In FIG. 16) having a waveform represented by (1) of FIG. As shown in (1), reset signals (RST1 and RST2 in FIG. 17) are generated when the power supply rises. After the reset signal is released, d. Pulse input from power supply controller as shown in (for WDT)
, P1 and P2 are input. While this pulse is input, g. The watchdog timer (WDT) shown in FIG. When there is a data input (from the power supply controller) shown in FIG. In the example shown,
When data indicated by D1 is input first, f. The operation for controlling the charge / discharge SW instructed by the data is performed as shown in FIG.
【0060】図19の例では,電源制御コントローラか
らのパルスが,P2が入力された後一定時間入力されな
いと,g.に示すようにウオッチドッグタイマ(WD
T)から出力が発生する。この出力により,b.の(2)
に示すリセット駆動信号(*RST信号)が発生し,
c.ので示すリセット信号が発生する。このリセット
信号の発生により,この時のf.に示す充・放電のSW
の制御動作はリセット(開放)され,充電または放電の
動作を中止する(データ入力も同様に停止する)。In the example shown in FIG. 19, if a pulse from the power supply controller is not inputted for a predetermined time after P2 is inputted, g. Watchdog timer (WD)
An output is generated from T). With this output, b. of 2)
The reset drive signal (* RST signal) shown in
c. Therefore, a reset signal is generated. The generation of this reset signal causes f. Charge / discharge SW shown in
Is reset (open), and the charging or discharging operation is stopped (the data input is also stopped).
【0061】こののリセット信号が解除された後,D
C電源の電圧がa.の後部に示すように一定レベル以下
に短時間でもダウンすると,b.の(3) で示すリセット
駆動信号が発生する。これに対応してc.のに示すリ
セット信号が発生する。このため,e.のD2で示すデ
ータ入力の動作は停止し及びf.に示す充・放電のSW
の制御動作はリセットされる。After the reset signal is released, D
If the voltage of the C power supply is a. As shown at the back of the figure, if the voltage falls down to a certain level or less for a short time, b. The reset drive signal shown in (3) is generated. Correspondingly, c. A reset signal shown in FIG. Therefore, e. Stops the operation of data input indicated by D2, and f. Charge / discharge SW shown in
Is reset.
【0062】なお,上記図13〜図19の構成は,上記
図1の第1の原理構成を実施する場合に適用することが
でき,同様に図3乃至図12に示す構成は図2に示す第
2の原理構成を実施する場合に適用することができるこ
とは明らかである。The configurations shown in FIGS. 13 to 19 can be applied to the case where the first principle configuration shown in FIG. 1 is implemented. Similarly, the configurations shown in FIGS. 3 to 12 are shown in FIG. Obviously, it can be applied to the case where the second principle configuration is implemented.
【0063】[0063]
【発明の効果】本発明によればノートパソコン等のよう
にバッテリの充・放電機能を備えた電子装置において,
電源周辺の回路を1チップの回路として構成し,これを
マイコンで構成する電源制御コントローラにより制御す
ることにより,装置全体の小型化,省スペース化及び低
コスト化を実現することができる。また,充・放電の制
御においてノイズに対して誤った制御をせず,アナログ
回路の精度のバラツキを少なくすることができる。According to the present invention, in an electronic device having a battery charge / discharge function, such as a notebook personal computer,
By configuring a circuit around the power supply as a one-chip circuit and controlling the circuit by a power supply controller configured by a microcomputer, it is possible to realize a reduction in size, space, and cost of the entire apparatus. In addition, erroneous control of noise in charge / discharge control is not performed, and variation in accuracy of the analog circuit can be reduced.
【0064】更に,バッテリの充・放電制御をプログラ
ムにより行う電源制御装置において,DC電圧がドロッ
プまたは電源制御装置の暴走時にリセットをかけること
により,システムの暴走を防止すると共にバッテリの過
充電,過放電を防いでバッテリの劣化や発火を防止する
ことができる。Further, in a power supply control device which performs charge / discharge control of a battery by a program, resetting is performed when the DC voltage drops or the power supply control device runs away, thereby preventing the system from running away and overcharging and overcharging the battery. Discharge can be prevented to prevent battery deterioration and ignition.
【0065】また,制御装置のリセット直後に制御装置
からの出力ポートが不安定になっても,周辺回路の入力
をマスクするため制御装置からのデータを誤認識するこ
とがない。Further, even if the output port from the control device becomes unstable immediately after the reset of the control device, the input from the peripheral circuit is masked so that the data from the control device is not erroneously recognized.
【図1】本発明の第1の原理構成図である。FIG. 1 is a first principle configuration diagram of the present invention.
【図2】本発明の第2の原理構成図である。FIG. 2 is a second principle configuration diagram of the present invention.
【図3】本発明の実施例の構成図であり,FIG. 3 is a configuration diagram of an embodiment of the present invention;
【図4】電源制御コントローラと周辺回路間の制御デー
タ線の構成を示す図である。FIG. 4 is a diagram showing a configuration of a control data line between a power supply controller and peripheral circuits.
【図5】図4に示す各線の信号の波形例を示す図であ
る。5 is a diagram illustrating an example of a signal waveform of each line illustrated in FIG. 4;
【図6】電源制御コントローラから周辺回路へ送られる
8ビットデータの構成例を示す図である。FIG. 6 is a diagram illustrating a configuration example of 8-bit data sent from a power supply controller to a peripheral circuit.
【図7】データの転送順序を示す図である。FIG. 7 is a diagram showing a data transfer order.
【図8】電源制御コントローラから周辺回路のデータを
読み取る時の信号構成を示す図である。FIG. 8 is a diagram showing a signal configuration when reading data of a peripheral circuit from a power supply controller.
【図9】WDTと電源制御コントローラのリセットの関
係を示す図である。FIG. 9 is a diagram illustrating a relationship between a WDT and a reset of a power supply controller.
【図10】電源制御コントローラの出力ポートの構成図
である。FIG. 10 is a configuration diagram of an output port of a power supply controller.
【図11】パワースイッチ押下によるシステム立ち上げ
時の電源制御コントローラにおける各部の信号波形図で
ある。FIG. 11 is a signal waveform diagram of each unit in the power supply controller when the system is started by pressing the power switch.
【図12】シリアルライトデータの折り返しチェックの
タイミング関係を示す図である。FIG. 12 is a diagram showing a timing relationship of a return check of serial write data.
【図13】周辺回路の他の構成例を示す図である。FIG. 13 is a diagram illustrating another configuration example of the peripheral circuit.
【図14】充・放電制御部の構成例を示す図である。FIG. 14 is a diagram illustrating a configuration example of a charge / discharge control unit.
【図15】周辺回路のデータ入力部の構成例を示す図で
ある。FIG. 15 is a diagram illustrating a configuration example of a data input unit of a peripheral circuit.
【図16】DC電源と電圧検出部の出力の波形図であ
る。FIG. 16 is a waveform diagram of an output of a DC power supply and a voltage detection unit.
【図17】リセット回路の構成図である。FIG. 17 is a configuration diagram of a reset circuit.
【図18】周辺回路のWDT,DC電源監視によるリセ
ット発行の動作フローである。FIG. 18 is an operation flow of issuing a reset by monitoring WDT and DC power of peripheral circuits.
【図19】電源投入時,WDTの動作及び電圧ダウンの
各状態によるリセット発行のタイミングチャートであ
る。FIG. 19 is a timing chart of reset issuance in each state of the operation of the WDT and the voltage drop when the power is turned on.
【図20】従来例の説明図である。FIG. 20 is an explanatory diagram of a conventional example.
1 電源制御コントローラ, 10 処理部 11 転送制御部 12 リセット部 2 電源制御用の周辺回路 20 転送制御部 2a DC電圧検出部 2b DC制御部 2c 充電スイッチ(SW)制御部 2d 放電スイッチ(SW)制御部 2e バッテリ電圧検出部 3 バッテリ 4 DC−DCコンバータ 5a 充電スイッチ(SW) 5b 放電スイッチ(SW) 6 制御データ線 7 バルス(ウオッチドッグタイマ用) 8 リセット線 9 システム電圧検出部 DESCRIPTION OF SYMBOLS 1 Power supply controller, 10 Processing part 11 Transfer control part 12 Reset part 2 Peripheral circuit for power supply control 20 Transfer control part 2a DC voltage detection part 2b DC control part 2c Charge switch (SW) control part 2d Discharge switch (SW) control Unit 2e battery voltage detection unit 3 battery 4 DC-DC converter 5a charge switch (SW) 5b discharge switch (SW) 6 control data line 7 pulse (for watchdog timer) 8 reset line 9 system voltage detection unit
───────────────────────────────────────────────────── フロントページの続き (72)発明者 森田 剛 神奈川県大和市深見西四丁目2番49号 株式会社ピーエフユー大和工場内 (72)発明者 森村 高明 神奈川県大和市深見西四丁目2番49号 株式会社ピーエフユー大和工場内 (56)参考文献 特開 平4−107716(JP,A) 特開 平7−5958(JP,A) 特開 平5−103429(JP,A) 実開 昭62−88426(JP,U) (58)調査した分野(Int.Cl.6,DB名) G06F 1/26 - 1/32 H02J 7/00 - 7/12 H02J 7/34 - 7/36──────────────────────────────────────────────────続 き Continuing on the front page (72) Inventor Tsuyoshi Morita 4-49 Fukami Nishi, Yamato-shi, Kanagawa Prefecture PF Yamato Plant Co., Ltd. (72) Takaaki Morimura 4-49 Fukami Nishi, Yamato-shi, Kanagawa Prefecture No. 56 Inside the PF Yamato Plant (56) References JP-A-4-107716 (JP, A) JP-A-7-5958 (JP, A) JP-A-5-103429 (JP, A) Jpn. 88426 (JP, U) (58) Field surveyed (Int. Cl. 6 , DB name) G06F 1/26-1/32 H02J 7/00-7/12 H02J 7/34-7/36
Claims (6)
な電子装置の電源制御方式において,前記電子装置への
電源を供給する外部電源またはバッテリにより駆動され
るDC−DCコンバータと,バッテリの放電及びDC−
DCコンバータの出力によるバッテリの充電の各制御を
行う電源制御コントローラと,前記電源制御コントロー
ラと制御データ線により接続され,バッテリの充・放電
を行うスイッチを制御する充・放電のスイッチ制御部,
バッテリの電圧を検出するバッテリ電圧検出部と,前記
電源制御コントローラから送られてくる制御データを受
け取って前記各部の動作状態を設定するレジスタを備え
る1チップの電源制御用の周辺回路とを備え,前記電源
制御コントローラから前記周辺回路に対し制御データを
設定してバッテリの充・放電制御を行うことを特徴とす
る電源制御方式。1. A power supply control method for a portable electronic device having a battery charge / discharge function, comprising: a DC-DC converter driven by an external power supply or a battery for supplying power to the electronic device; And DC-
A power supply controller for controlling each of charging of the battery by the output of the DC converter; a charge / discharge switch control unit connected to the power supply controller and the control data line for controlling a switch for charging / discharging the battery;
A battery voltage detection unit for detecting a voltage of a battery; and a one-chip power supply control peripheral circuit including a register for receiving control data sent from the power supply controller and setting an operation state of each unit, A power supply control method, comprising: setting control data from the power supply controller to the peripheral circuit to perform charge / discharge control of a battery.
な電子装置の電源制御方式において,前記電子装置のシ
ステム回路へ電源を供給する外部電源またはバッテリに
より駆動されるDC−DCコンバータと,前記DC−D
Cコンバータの電圧制御を行うと共にバッテリの放電及
びDC−DCコンバータの出力によるバッテリの充電の
各制御を行う電源制御コントローラと,前記電源制御コ
ントローラと制御データ線により接続され,DC−DC
コンバータのDC電圧検出部,DC−DCコンバータを
制御する信号を出力するDC制御部,バッテリ充・放電
スイッチを制御する充・放電のスイッチ制御部,バッテ
リの電圧を検出するバッテリ電圧検出部と,前記電源制
御コントローラから送られてくる制御データを受信して
前記各部の動作状態を設定すると共に前記DC電圧検出
部による検出値を前記電源制御コントローラへ送る転送
制御部を備えた1チップの周辺回路とを備え,前記電源
制御コントローラは周辺回路から前記周辺回路の各部の
状態を設定して,DC−DCコンバータの変換制御と電
池の充・放電の制御を行うことを特徴とする電源制御方
式。2. A power supply control method for a portable electronic device having a battery charge / discharge function, comprising: a DC-DC converter driven by an external power supply or a battery for supplying power to a system circuit of the electronic device; DC-D
A power supply controller that controls the voltage of the C converter and controls each of the discharging of the battery and the charging of the battery by the output of the DC-DC converter; and a DC-DC connected to the power supply controller and a control data line.
A DC voltage detector of the converter, a DC controller for outputting a signal for controlling the DC-DC converter, a charge / discharge switch controller for controlling a battery charge / discharge switch, a battery voltage detector for detecting the voltage of the battery; One-chip peripheral circuit including a transfer control unit that receives control data sent from the power supply controller, sets an operation state of each unit, and sends a detection value of the DC voltage detection unit to the power supply controller. And a power supply controller that sets a state of each part of the peripheral circuit from a peripheral circuit and controls conversion of a DC-DC converter and control of charging and discharging of a battery.
路は,前記電源制御コントローラから一定周期で発生す
るパルス信号を入力し,該パルスが一定周期で入力しな
いと出力を発生するウオッチドッグタイマと,前記ウオ
ッチドッグタイマからの出力またはバッテリの電圧ドロ
ップの検出信号の何れかによりリセット信号を発生する
と共にリセットの種別を表す信号を発生するリセット出
力部を備え,前記電源制御コントローラ及び電子装置の
システム回路は前記リセット信号によりリセットされる
ことを特徴とする電源制御方式。3. The watchdog timer according to claim 1, wherein the peripheral circuit receives a pulse signal generated at a constant cycle from the power supply controller, and generates an output if the pulse signal is not input at a fixed cycle. A reset output unit for generating a reset signal in accordance with one of an output from the watchdog timer and a detection signal of a voltage drop of a battery, and generating a signal indicating a type of reset. A power supply control method, wherein the circuit is reset by the reset signal.
ローラの外部に電源スイッチを備え,該電源スイッチに
よる電源投入時に前記電源制御コントローラから前記電
子装置のシステム回路に対しリセット信号を供給し,シ
ステム回路へのクロック発振動作が安定状態となる一定
時間後にリセットを解除することを特徴とする電源制御
方式。4. The system circuit according to claim 3, further comprising a power switch provided outside the power control controller, wherein when the power is turned on by the power switch, a reset signal is supplied from the power control controller to a system circuit of the electronic device. A power supply control method characterized in that a reset is released after a certain period of time when the clock oscillation operation of the clock becomes stable.
路は,前記リセット出力部から発生するリセット信号を
前記転送制御部に供給して前記制御データ線を介する入
力電源制御コントローラからの信号をマスクし,電源制
御コントローラは前記周辺回路からのリセット信号によ
り前記制御データ線から周辺回路へ出力する信号をマス
クすることを特徴とする電源制御方式。5. The control circuit according to claim 3, wherein the peripheral circuit supplies a reset signal generated from the reset output section to the transfer control section to mask a signal from an input power supply controller via the control data line. And a power control controller masking a signal output from the control data line to the peripheral circuit by a reset signal from the peripheral circuit.
御コントローラにデータチェック部を設け,前記周辺回
路に転送制御部と接続されたデータ折り返し部と,デー
タ折り返し部と前記電源制御コントローラとの接続手段
を設け,前記電源制御コントローラは,周辺回路に対し
設定データを送信すると前記接続手段を介して周辺回路
からの折り返しデータを前記データチェック部において
チェックすることを特徴とする電源制御方式。6. The power supply controller according to claim 1, further comprising a data check unit provided in the power supply controller, a data return unit connected to a transfer control unit in the peripheral circuit, and a connection between the data return unit and the power supply controller. Power supply control means, wherein the power supply controller checks the return data from the peripheral circuit via the connection means in the data check unit when the power supply controller transmits setting data to the peripheral circuit.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP5147472A JP2837609B2 (en) | 1993-06-18 | 1993-06-18 | Power control method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP5147472A JP2837609B2 (en) | 1993-06-18 | 1993-06-18 | Power control method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH07141066A JPH07141066A (en) | 1995-06-02 |
| JP2837609B2 true JP2837609B2 (en) | 1998-12-16 |
Family
ID=15431167
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP5147472A Expired - Fee Related JP2837609B2 (en) | 1993-06-18 | 1993-06-18 | Power control method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2837609B2 (en) |
Families Citing this family (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6859013B2 (en) * | 2002-04-03 | 2005-02-22 | Black & Decker Inc. | Battery charger with protection circuitry |
| JP4393954B2 (en) | 2004-09-09 | 2010-01-06 | Okiセミコンダクタ株式会社 | Microcomputer |
| JP5284672B2 (en) | 2008-04-15 | 2013-09-11 | 株式会社マキタ | Charging device and charging system |
| JP6702145B2 (en) * | 2016-11-08 | 2020-05-27 | トヨタ自動車株式会社 | Processor |
| US12424858B2 (en) | 2019-06-27 | 2025-09-23 | Panasonic Energy Co., Ltd. | Battery pack, and abnormality monitoring method for same |
-
1993
- 1993-06-18 JP JP5147472A patent/JP2837609B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPH07141066A (en) | 1995-06-02 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR100198906B1 (en) | Feeding device and feeding method for information processing equipment, information processing equipment | |
| JP3611316B2 (en) | ELECTRIC DEVICE, COMPUTER DEVICE, POWER SWITCHING DEVICE, AND POWER SWITCHING METHOD | |
| US5218607A (en) | Computer having a resume function and operable on an internal power source | |
| EP0553862B1 (en) | Portable electronic device having a radio transmit-receive unit and a computer unit | |
| KR100370641B1 (en) | Method and apparatus for supporting power conservation operation modes | |
| US6714016B2 (en) | Method for displaying information concerning power consumption and electronic device | |
| US5923099A (en) | Intelligent backup power controller | |
| US20080018486A1 (en) | Communication device, semiconductor integrated circuit device, and communication system | |
| US6442443B1 (en) | Information processing apparatus and power saving apparatus | |
| US5475271A (en) | Power source control system for electronic device and expansion unit connected thereto | |
| JP3687740B2 (en) | Power supply system, computer apparatus, and maximum power control method | |
| EP0404061A2 (en) | Computer having a resume function and operable on an internal power source | |
| JP2983111B2 (en) | Electrical equipment | |
| JP3718769B2 (en) | Intelligent battery | |
| JP4331999B2 (en) | ELECTRIC DEVICE, COMPUTER DEVICE, POWER SUPPLY METHOD, AND PROGRAM | |
| JP3900469B2 (en) | ELECTRIC DEVICE, COMPUTER DEVICE, INTELLIGENT BATTERY, AND BATTERY CONTROL METHOD | |
| JPH09215213A (en) | Over-discharge prevention device | |
| US7502635B1 (en) | Method and computer for remote communication while operating in a power-saving mode | |
| EP0560510A1 (en) | Battery operated computer and method for managing battery power in battery operated computer | |
| US5410712A (en) | Computer system equipped with extended unit including power supply | |
| JP2837609B2 (en) | Power control method | |
| US7039826B2 (en) | Circuit for controlling the clock supplied to a state controller in a data transfer control device according to states of first and second devices | |
| JP2000270472A (en) | Electric power unit | |
| US6067027A (en) | Low power plug-in card removal detection | |
| JP3678185B2 (en) | ELECTRIC DEVICE, COMPUTER DEVICE, INTELLIGENT BATTERY, BATTERY DIAGNOSIS METHOD, PROGRAM, AND STORAGE MEDIUM |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313532 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
| LAPS | Cancellation because of no payment of annual fees |