JP2000047749A - Electronic equipment, and operation state switching method for electronic equipment - Google Patents

Electronic equipment, and operation state switching method for electronic equipment

Info

Publication number
JP2000047749A
JP2000047749A JP10215470A JP21547098A JP2000047749A JP 2000047749 A JP2000047749 A JP 2000047749A JP 10215470 A JP10215470 A JP 10215470A JP 21547098 A JP21547098 A JP 21547098A JP 2000047749 A JP2000047749 A JP 2000047749A
Authority
JP
Japan
Prior art keywords
mode
power supply
state
supply circuit
switching
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP10215470A
Other languages
Japanese (ja)
Inventor
Yoshio Sasaki
義雄 佐々木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sony Corp
Original Assignee
Sony Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sony Corp filed Critical Sony Corp
Priority to JP10215470A priority Critical patent/JP2000047749A/en
Publication of JP2000047749A publication Critical patent/JP2000047749A/en
Pending legal-status Critical Current

Links

Landscapes

  • Calculators And Similar Devices (AREA)

Abstract

PROBLEM TO BE SOLVED: To stably switch the output current of a power circuit when the electronic equipment is switched between its normal state and standby state. SOLUTION: When the electronic equipment is switched from the normal state to the standby state, a master clock 131 supplied in the normal state is stopped and a microcomputer power circuit operation mode switching signal XSTBY121 is outputted in a subclock operation state to switch the power source operation circuit mode to a small-current mode. When the equipment is switched from the standby state to the normal state, the microcomputer power circuit operation mode switching signal XSTBY121 is outputted in the sublock operation state to switch the power source operation circuit mode to a large-current mode, and then the master clock 131 begins to be supplied, so that the normal state is entered.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は電子機器の動作状態
の切替えに関し、特に通常状態と待機状態との切替え時
に電源回路の出力電流を安定して切替える電子機器及び
電子機器の動作状態切替え方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to switching of an operating state of an electronic device, and more particularly to an electronic device and a method of switching an operating state of an electronic device, which stably switch an output current of a power supply circuit when switching between a normal state and a standby state. .

【0002】[0002]

【従来の技術】従来からマイコンが搭載された電子機器
は、マイコンが電子機器の被制御部のコントロールを行
う通常状態である通常モードと、処理を停止した待機状
態である待機モードとを有するものが多い。待機モード
では、省エネルギーのため、できる限り消費電力を抑え
ることが必要とされている。特にバッテリーで駆動する
電子機器では、バッテリーの消費をできる限り抑えるこ
とが必須である。 このような電子機器に搭載されたマ
イコンは、周波数が高いマスタークロックと周波数が低
いサブクロックの2種類のクロックで動作可能である場
合が多い。この場合、マスタークロックは、電子機器の
主要機能を実行する通常処理を行うためのクロックであ
る。また、サブクロックは、主に時計機能等を作動させ
るためのクロックである。
2. Description of the Related Art Conventionally, an electronic device equipped with a microcomputer has a normal mode in which the microcomputer controls a controlled part of the electronic device in a normal mode, and a standby mode in which the microcomputer stops a process. There are many. In the standby mode, it is necessary to reduce power consumption as much as possible for energy saving. In particular, it is essential for battery-operated electronic devices to minimize battery consumption. A microcomputer mounted in such an electronic device can often operate with two types of clocks, a high-frequency master clock and a low-frequency subclock. In this case, the master clock is a clock for performing a normal process for executing a main function of the electronic device. The subclock is a clock for mainly operating a clock function and the like.

【0003】電子機器が通常モードの場合、通常動作を
実行するために、マイコンにはマスタークロックが供給
され動作している。また、必要に応じてサブクロックも
供給されている。
When an electronic device is in a normal mode, a master clock is supplied to a microcomputer to perform a normal operation. Also, a sub clock is supplied as needed.

【0004】一方、電子機器が待機モードの場合は、通
常動作を実行する必要はないため、マスタークロックの
供給は停止している。待機モードは一般的に、さらにサ
ブクロックモードとスリープモードに分けられる。サブ
クロックモードは、マスタークロックは停止しているが
サブクロックは動作している状態であり、時計機能を常
時作動させる必要がある場合等に使用される。また、ス
リープモードは、マスタークロック、サブクロック共に
停止している状態である。
On the other hand, when the electronic device is in the standby mode, the supply of the master clock is stopped because it is not necessary to execute the normal operation. The standby mode is generally further divided into a sub clock mode and a sleep mode. The sub clock mode is a state in which the master clock is stopped but the sub clock is operating, and is used when it is necessary to always operate the clock function. In the sleep mode, both the master clock and the sub clock are stopped.

【0005】マイコンの消費電流は、クロックの周波数
に比例するため、マスタークロックが停止している待機
モードでは、通常モードよりも消費電流がかなり少なく
なる。このため、マイコンに電源を供給する電源回路
は、通常モード時は大電流を出力することが必要である
が、待機モード時は必要ない。
Since the current consumption of the microcomputer is proportional to the frequency of the clock, the current consumption is considerably smaller in the standby mode in which the master clock is stopped than in the normal mode. For this reason, the power supply circuit that supplies power to the microcomputer needs to output a large current in the normal mode, but not in the standby mode.

【0006】図5は、従来の電源回路の回路図である。
電源回路113は、電流を平滑化するC1、C2、C3
と、ツェナダイオードD1、抵抗R1、トランジスタT
R1とから構成され、電源入力Vを入力し、マイコン用
電源を生成しマイコンに出力している。ツェナダイオー
ドD1にR1から電流を流すことにより、TR1のベー
ス電圧が電源入力の電圧に関わらずほぼ一定となり、出
力を安定化させている。マイコンが通常モードである場
合は、大電流が必要であり、最大電流に対して電圧が下
がらないようにR1の抵抗値を小さくしているが、R1
を小さくすると、電源回路で消費される電流が多くな
る。出力電流が小さい待機モードの場合においても同じ
ように電流が流れるため、消費される電流が通常モード
時と同じになる。
FIG. 5 is a circuit diagram of a conventional power supply circuit.
The power supply circuit 113 includes C1, C2, and C3 for smoothing the current.
And a Zener diode D1, a resistor R1, a transistor T
R1; a power supply input V; a power supply for the microcomputer; and output to the microcomputer. By passing a current from R1 to the Zener diode D1, the base voltage of TR1 becomes almost constant regardless of the voltage of the power supply input, and the output is stabilized. When the microcomputer is in the normal mode, a large current is required, and the resistance value of R1 is reduced so that the voltage does not decrease with respect to the maximum current.
Is smaller, the current consumed by the power supply circuit increases. Even in the standby mode in which the output current is small, the current flows in the same manner, so that the consumed current is the same as in the normal mode.

【0007】このため、通常モードと待機モードでは、
この抵抗値を動作モードにより切替えることにより、通
常モードでは電流を多く流す大電流モードとし、待機モ
ードでは電流を少なくする小電流モードとしているもの
がある。
For this reason, in the normal mode and the standby mode,
By switching this resistance value depending on the operation mode, there is a mode in which the normal mode is a large current mode in which a large amount of current flows, and the standby mode is a small current mode in which the current is small.

【0008】このような電流モード切替えを行う従来の
電子機器の動作状態切替えについて説明する。図6は、
従来の電子機器の動作状態切替え方法のフローチャート
である。
A description will now be given of the operation state switching of a conventional electronic device that performs such a current mode switching. FIG.
9 is a flowchart of a conventional method for switching the operation state of an electronic device.

【0009】処理が開始される(S301)と、マイコ
ンを搭載した電子機器はリセット処理が行われる(S3
02)。リセット処理により、マイコンの動作状態は通
常モード、電源回路動作モードは、大電流モードとな
る。
When the process is started (S301), the electronic device equipped with the microcomputer performs a reset process (S3).
02). By the reset processing, the operation state of the microcomputer becomes the normal mode, and the power supply circuit operation mode becomes the large current mode.

【0010】通常モード状態では、待機モードへの移行
要求が有るかどうかのチェックが行われる(S30
3)。待機モードへの移行要求がなかった場合は、通常
処理である被制御部のコントロールが行われる(S30
4)。被制御部のコントロール(S304)が終了する
と、経路P315を経由して、再び待機モードへの移行
要求チェック(S303)から処理が開始されるとい
う、ループ処理が実行される。
In the normal mode state, it is checked whether there is a request to shift to the standby mode (S30).
3). If there is no request to shift to the standby mode, control of the controlled unit, which is a normal process, is performed (S30).
4). When the control of the controlled unit (S304) is completed, a loop process is executed in which the process is started again from the transition request check to the standby mode (S303) via the path P315.

【0011】待機モードへの移行要求があった場合に
は、電源回路に対して、電源回路動作モードを小電流モ
ードとするように、電源回路切替え指令が出される(X
STBY=" L" )(S305)。そして電源回路動作
モードが小電流モードになった後、マスタークロックを
停止し、待機モードであるサブクロックモードへ移行す
る(S306)。さらに、スリープモード要求があれば
(S307)、サブクロックを停止してスリープモード
へ移行する(S308)。そしてスリープモードが解除
されれば(S309)、サブクロックを発振させてサブ
クロックモードへ移行する(S310)。
When a request to shift to the standby mode is issued, a power supply circuit switching command is issued to the power supply circuit so that the power supply circuit operation mode is set to the small current mode (X
STBY = “L”) (S305). Then, after the power supply circuit operation mode is changed to the small current mode, the master clock is stopped, and the mode shifts to the sub clock mode which is the standby mode (S306). Further, if there is a sleep mode request (S307), the sub clock is stopped and the mode shifts to the sleep mode (S308). Then, when the sleep mode is released (S309), the sub clock is oscillated to shift to the sub clock mode (S310).

【0012】サブクロックモードは、通常処理を停止
し、サブクロックのみで動作している状態であり、サブ
クロックモード解除要求があるかどうかをチェックする
(S311)。サブクロックモード解除要求がなかった
場合は、経路P314を経由して、再びスリープモード
の要求チェック(S307)処理が開始される。サブク
ロックモード解除要求があった場合には、マスタークロ
ックを発振させて通常モードへ移行する(S312)。
そして、通常モードへ移行した後、電源回路動作モード
を大電流モードとするように、切替え指令が出される
(XSTBY=" H" )(S313)。通常モードへ移
行後、経路P315を経由して、通常モード処理である
待機モード要求チェック(S303)へ進む。
In the subclock mode, the normal processing is stopped and the operation is performed only by the subclock, and it is checked whether there is a subclock mode release request (S311). If there is no subclock mode release request, the sleep mode request check (S307) process is started again via the path P314. If there is a subclock mode release request, the master clock is oscillated to shift to the normal mode (S312).
Then, after shifting to the normal mode, a switching command is issued so that the power supply circuit operation mode is set to the large current mode (XSTBY = “H”) (S313). After the transition to the normal mode, the process proceeds to the standby mode request check (S303), which is the normal mode processing, via the path P315.

【0013】[0013]

【発明が解決しようとする課題】しかし、従来の電子機
器及び電子機器の動作状態切替え方法は、マイコンへ電
源を供給する電源回路の動作モードの切替えを、マスタ
ークロックの供給される通常モードで行っているため、
マイコンの動作が不安定となるという問題がある。
However, in a conventional electronic device and a method for switching the operation state of the electronic device, the operation mode of a power supply circuit for supplying power to a microcomputer is switched in a normal mode in which a master clock is supplied. Because
There is a problem that the operation of the microcomputer becomes unstable.

【0014】例えば、図6の区間aの通常モードから待
機モードへ移行する間、及び区間bの待機モードから通
常モードへ移行する間において、電源回路動作モードが
小電流モードであるのに、大電流が必要な通常モードで
行われる処理が実行されることとなり、電源の電圧降下
が大きくなり、動作が不安定となる。
For example, during the transition from the normal mode to the standby mode in the section a in FIG. 6 and the transition from the standby mode to the normal mode in the section b, the power supply circuit operation mode is the small current mode, The process performed in the normal mode that requires a current is executed, the voltage drop of the power supply increases, and the operation becomes unstable.

【0015】本発明はこのような点に鑑みてなされたも
のであり、電子機器の通常状態と待機状態の切替え時
に、電源回路の出力電流を安定的に切替える、電子機器
及び電子機器の動作状態切替え方法を提供することを目
的とする。
SUMMARY OF THE INVENTION The present invention has been made in view of the foregoing, and has been made in view of the above circumstances. When an electronic device is switched between a normal state and a standby state, the output current of a power supply circuit is stably switched. It is an object to provide a switching method.

【0016】[0016]

【課題を解決するための手段】本発明では上記課題を解
決するために、通常状態と待機状態とを有する電子機器
において、電源回路動作モード切替え信号により大電流
モードと小電流モードとの切替えが可能な電源回路と、
周波数の高いマスタークロックと周波数の低いサブクロ
ックとを生成するクロック生成回路と、前記マスターク
ロックが停止した状態で前記電源回路動作モード切替え
信号を出力して電子機器の通常状態と待機状態との切替
えを行う制御部と、を設けたことを特徴とする電子機
器、が提供される。
According to the present invention, in order to solve the above-mentioned problems, in an electronic device having a normal state and a standby state, switching between a large current mode and a small current mode is performed by a power supply circuit operation mode switching signal. A possible power supply circuit,
A clock generation circuit for generating a high-frequency master clock and a low-frequency subclock, and switching between the normal state and the standby state of the electronic device by outputting the power supply circuit operation mode switching signal while the master clock is stopped And an electronic device provided with a control unit that performs the following.

【0017】このような構成の電子機器は、通常状態と
待機状態との切替え時、マスタークロックを停止したサ
ブクロック動作状態で電源回路動作モード切替え信号を
出力して電源動作回路モードを切替える。
In the electronic device having such a configuration, when switching between the normal state and the standby state, the power supply circuit operation mode switching signal is output in the sub clock operation state in which the master clock is stopped to switch the power supply operation circuit mode.

【0018】また、通常状態と待機状態とを有する電子
機器の動作状態切替え方法において、マスタークロック
が供給され電源回路動作モードは大電流モードである通
常状態で前記マスタークロックの供給を停止し、サブク
ロックのみで動作している状態で電源回路動作モードを
小電流モードに切替えて電子機器の動作状態を通常状態
から待機状態に切替える手順と、サブクロックのみが供
給され電源回路動作モードは小電流モードである待機状
態で前記電源回路動作モードを大電流モードに切替え、
前記マスタークロックの供給を開始して電子機器の動作
状態を待機状態から通常状態に切替える手順と、を有す
ることを特徴とする電子機器の動作状態切替え方法、が
提供される。
In the method of switching the operation state of an electronic device having a normal state and a standby state, the supply of the master clock is stopped in a normal state in which a master clock is supplied and a power supply circuit operation mode is a large current mode. A procedure in which the power supply circuit operation mode is switched from the normal state to the standby state by switching the power supply circuit operation mode to the small current mode while operating only with the clock, and a power supply circuit operation mode in which only the subclock is supplied and the power supply circuit operation mode is the small current mode Switching the power supply circuit operation mode to the high current mode in the standby state,
Switching the operation state of the electronic device from the standby state to the normal state by starting supply of the master clock, and a method of switching the operation state of the electronic device.

【0019】このような手順の電子機器の動作状態切替
え方法は、通常状態から待機状態への移行は、電源回路
動作モードが大電流モードである時にマスタークロック
を停止し、その後、電源回路動作モードを小電流モード
として、待機状態に移行する。また、待機状態から通常
状態への移行は、電源回路動作モードを大電流モードと
し、その後、マスタークロックを供給して通常状態に移
行する。
According to the method for switching the operation state of an electronic device in such a procedure, the transition from the normal state to the standby state is performed by stopping the master clock when the power supply circuit operation mode is the large current mode, and thereafter, Is set to the small current mode, and shifts to the standby state. In the transition from the standby state to the normal state, the power supply circuit operation mode is set to the large current mode, and then the master clock is supplied to transition to the normal state.

【0020】[0020]

【発明の実施の形態】以下、本発明の実施の形態を図面
を参照して説明する。図1は、本発明の一実施の形態で
ある電子機器のブロック図である。この電子機器は、電
源を供給する電源入力Vと、電源入力Vを受け制御部(
マイコン) 120用の電源を生成する電源回路110
と、電源回路110により電源を供給され電子機器全体
の制御を行うマイコン120と、マイコン120に供給
するクロックを生成するクロック生成回路130、マイ
コンによってコントロールされる電子機器の主要機能部
である被制御部140とから構成される。このような電
子機器としては、CDプレイヤー、TV、VTR、ラジ
オ等がある。また、電源回路110への電源入力供給
は、AC電源やバッテリー等がある。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram of an electronic device according to an embodiment of the present invention. The electronic device receives a power supply input V for supplying power and a power supply input V, and a control unit (
Power supply circuit 110 for generating power supply for microcomputer 120
A microcomputer 120 that is supplied with power by the power supply circuit 110 and controls the entire electronic device; a clock generation circuit 130 that generates a clock to be supplied to the microcomputer 120; And a unit 140. Such electronic devices include CD players, TVs, VTRs, radios and the like. The power supply to the power supply circuit 110 includes an AC power supply and a battery.

【0021】電源回路110は、電源入力Vを入力し
て、マイコン120駆動用の電源を生成して供給する。
また、電源回路110は、電源回路動作モードとして、
大電流を供給する大電流モードと、小電流を供給する小
電流モードの2種類のモードがある。この電源回路動作
モードの切替えは、制御部120より出力される電源回
路動作モード切替え信号(XSTBY)121の指示に
従って行われる。
The power supply circuit 110 receives a power supply input V and generates and supplies power for driving the microcomputer 120.
The power supply circuit 110 has a power supply circuit operation mode
There are two types of modes, a large current mode for supplying a large current and a small current mode for supplying a small current. The switching of the power supply circuit operation mode is performed according to the instruction of the power supply circuit operation mode switching signal (XSTBY) 121 output from the control unit 120.

【0022】マイコン120は、電源回路110から電
源供給を受けて動作する。マイコン120の動作状態に
は、マイコン120が電子機器の被制御部140のコン
トロールを行う通常モードと、このような通常処理を停
止している待機モードとに分類される。この動作状態の
選択は、外部からマイコン120に入力する動作モード
切替え信号により行われる。マイコン120が動作する
ための動作クロックは、クロック生成回路130によっ
て供給される。通常モードの場合には、周波数の高いマ
スタークロック131と、必要に応じて周波数の低いサ
ブクロック132が供給され、所定の処理を行ってい
る。一方、待機モードの場合は、マスタークロック13
1は停止し、必要に応じてサブクロック132が供給さ
れ、通常処理は停止されている。
The microcomputer 120 operates by receiving power supply from the power supply circuit 110. The operation states of the microcomputer 120 are classified into a normal mode in which the microcomputer 120 controls the controlled unit 140 of the electronic device and a standby mode in which such normal processing is stopped. The selection of the operation state is performed by an operation mode switching signal input to the microcomputer 120 from the outside. An operation clock for operating the microcomputer 120 is supplied by the clock generation circuit 130. In the case of the normal mode, a master clock 131 having a high frequency and a sub-clock 132 having a low frequency are supplied as necessary to perform predetermined processing. On the other hand, in the case of the standby mode, the master clock 13
1 is stopped, the subclock 132 is supplied as needed, and the normal processing is stopped.

【0023】このように、マイコン120の動作状態
は、マスタークロック131が動作している通常モード
と、マスタークロック131が停止している待機モード
に分けることができる。待機モードは一般的に、さらに
サブクロックモードとスリープモードに分けられる。サ
ブクロックモードは、マスタークロック131は供給が
停止されているがサブクロック132は供給されている
状態であり、時計機能を常時作動させる必要がある場合
等に使用される。また、スリープモードは、マスターク
ロック131、サブクロック132ともに供給を停止し
ている状態である。
As described above, the operation state of the microcomputer 120 can be divided into a normal mode in which the master clock 131 is operating and a standby mode in which the master clock 131 is stopped. The standby mode is generally further divided into a sub clock mode and a sleep mode. The sub clock mode is a state in which the supply of the master clock 131 is stopped but the sub clock 132 is supplied, and is used when it is necessary to always operate the clock function. In the sleep mode, the supply of both the master clock 131 and the subclock 132 is stopped.

【0024】クロック生成回路130は、マイコン12
0に供給するクロックを生成している。生成するクロッ
クには、周波数が高いマスタークロック(数MHzから
数十MHz)131と、周波数が低いサブクロック(3
2kHz程度)132の2種類のクロックがある。マス
タークロック131は、マイコン120が通常モードを
実行するためのクロックであり、サブクロック132は
時計機能等を作動させるためのクロックである。
The clock generation circuit 130 includes the microcomputer 12
0 is generated. The generated clock includes a high-frequency master clock (several MHz to several tens of MHz) 131 and a low-frequency subclock (3
There are two types of clocks of 132). The master clock 131 is a clock for the microcomputer 120 to execute the normal mode, and the subclock 132 is a clock for operating the clock function and the like.

【0025】被制御部140は、マイコン120の指示
に従って動作する電子機器の主要機能部である。例え
ば、CDプレイヤーであれば、信号読み取り部、信号増
幅部、音声出力部といった機能を実現する。
The controlled unit 140 is a main functional unit of the electronic device that operates according to an instruction from the microcomputer 120. For example, a CD player implements functions such as a signal reading unit, a signal amplifying unit, and a sound output unit.

【0026】マイコンの消費電流は、クロックの周波数
に比例するため、マスタークロック131が動作してい
る通常モード時には大電流が必要となり、マスタークロ
ック131が停止し、サブクロック132のみが動作し
ているサブクロックモードでは、大電流は必要ない。こ
の場合、マスタークロックの周波数は、数MHzから数
十MHzであり、サブクロックの周波数は、32kHz
程度であるので、サブクロックモード時の消費電力は通
常モード時の100分の1程度である。
Since the current consumption of the microcomputer is proportional to the frequency of the clock, a large current is required in the normal mode in which the master clock 131 is operating, the master clock 131 stops, and only the sub clock 132 operates. In the sub clock mode, no large current is required. In this case, the frequency of the master clock is several MHz to several tens of MHz, and the frequency of the sub clock is 32 kHz.
Therefore, the power consumption in the sub clock mode is about 1/100 of that in the normal mode.

【0027】このため、マイコン120は、マスターク
ロック131が動作する通常モード時は、電源回路動作
モードを大電流モードとし、マスタークロック131が
停止する待機モード時は、電源回路動作モードを小電流
モードとしている。
Therefore, the microcomputer 120 sets the power supply circuit operation mode to the large current mode in the normal mode in which the master clock 131 operates, and sets the power supply circuit operation mode to the small current mode in the standby mode in which the master clock 131 stops. And

【0028】次に、本発明の一実施の形態である電源回
路について、詳しく説明する。図2は、本発明の一実施
の形態である電源回路111の回路図である。通常モー
ドでは、TR2がオフしている。この場合、ツェナーダ
イオードD1にR1から電流を流すことにより、TR1
のベース電圧が電源入力の電圧に関わらずほぼ一定とな
る。また、TR1のエミッタ端子はベース電圧−0.6
Vとなり、マイコン電源出力もほぼ一定となる。この
時、TR1のベースには(コレクタ電流≒出力電流)÷
hfe(電流増幅度)の電流が流れる。例えば、hfe
=100、出力電流が100mAの場合、ベースには約
1mAが流れる。hfeが同じで出力電流が1mAの場
合は、0.01mAがベースに流れる。ベースに流れる
電流はR1から供給されるので、R1、R2から流れる
電流が一定と考えた場合、ツェナーダイオードに流れる
電流が変化することになる。すなわち、出力電流が変化
することにより、D1の電流が変化する。ベースに流れ
る電流が、D1に流れる電流に対して、十分に小さけれ
ば、電圧変動は小さいが、無視できない場合は、電圧変
動が大きくなる。出力電流を多く取るためには、R1の
抵抗値を下げ、D1に多くの電流を常時流す必要があ
る。この電流は、この回路で消費されるため、消費電流
が少なくて済む場合には無駄な電流となる。そこで、出
力電流が多い場合と、少ない場合とで抵抗値の切替えを
行う。この切替え行う、電源回路動作モード切替え信号
が、XSTBYである。出力電流が少ない場合には、X
STBY=" L" として、TR3、TR2をオフし、R
2には電流が流れないようにする。すなわち、R1のみ
でD1及びTR1のベース電流を供給する。R1は抵抗
値を大きくしておき、D1に必要最小限の電流を流すよ
うな値に設定することにより、消費電流を少なく抑え
る。また、出力電流が多い場合は、XSTBY=" H"
として、TR3、TR2をオンし、R2に電流が流れる
ようにする。すなわち、R1//R2でD1及びTR1
のベース電流を供給する。R2の抵抗は出力電流が多い
場合(ベース電流大)でも電圧降下が少ない値とする。
Next, a power supply circuit according to an embodiment of the present invention will be described in detail. FIG. 2 is a circuit diagram of a power supply circuit 111 according to an embodiment of the present invention. In the normal mode, TR2 is off. In this case, a current is passed from the R1 to the Zener diode D1 to make the TR1
Is substantially constant regardless of the voltage of the power supply input. The emitter terminal of TR1 has a base voltage of -0.6.
V, and the microcomputer power output is also substantially constant. At this time, (collector current ≒ output current) is applied to the base of TR1.
A current of hfe (current amplification degree) flows. For example, hfe
= 100, when the output current is 100 mA, about 1 mA flows through the base. When hfe is the same and the output current is 1 mA, 0.01 mA flows to the base. Since the current flowing to the base is supplied from R1, if the current flowing from R1 and R2 is considered to be constant, the current flowing to the Zener diode will change. That is, when the output current changes, the current of D1 changes. If the current flowing through the base is sufficiently smaller than the current flowing through D1, the voltage fluctuation is small, but if it cannot be ignored, the voltage fluctuation becomes large. In order to obtain a large output current, it is necessary to lower the resistance value of R1 and constantly supply a large current to D1. Since this current is consumed by this circuit, it is a useless current if the current consumption is small. Therefore, the resistance value is switched between when the output current is large and when the output current is small. The power supply circuit operation mode switching signal for performing this switching is XSTBY. If the output current is small, X
STBY = “L”, TR3 and TR2 are turned off, and R
No current flows through 2. That is, the base current of D1 and TR1 is supplied only by R1. R1 has a large resistance value and is set to a value that allows the minimum necessary current to flow through D1, thereby reducing current consumption. When the output current is large, XSTBY = “H”
To turn on TR3 and TR2 so that current flows through R2. That is, D1 and TR1 in R1 // R2
Supply base current. The resistance of R2 has a small voltage drop even when the output current is large (base current is large).

【0029】次に、以上のような構成の電子機器の切替
え動作及び電子機器の動作状態切替え方法について説明
する。図3は、本発明に係る電子機器の動作状態切替え
方法のフローチャートである。
Next, the switching operation of the electronic device having the above configuration and the method of switching the operation state of the electronic device will be described. FIG. 3 is a flowchart of a method for switching an operation state of an electronic device according to the present invention.

【0030】本発明に係る電子機器の処理が開始される
(S201)と、最初にリセット処理が行われる(S2
02)。このリセット処理により、電子機器の動作状態
は通常モード、電源回路動作モードは大電流モードとな
る。
When the processing of the electronic device according to the present invention is started (S201), first, a reset processing is performed (S2).
02). By this reset processing, the operation state of the electronic device becomes the normal mode, and the power supply circuit operation mode becomes the large current mode.

【0031】通常モードの状態では、待機モードへの移
行要求があるかどうかのチェックが行われる(S20
3)。待機モードへの移行要求がなかった場合は、通常
処理である被制御部のコントロールが行われる(S20
4)。被制御部のコントロール(S204)が終了する
と、経路P215を経由して、再び待機モードへの移行
要求チェック(S203)から処理が開始されるとい
う、ループ処理が実行される。
In the normal mode state, it is checked whether there is a request to shift to the standby mode (S20).
3). If there is no request to shift to the standby mode, control of the controlled unit, which is a normal process, is performed (S20).
4). When the control of the controlled part (S204) ends, a loop process is executed in which the process is started again from the request to shift to the standby mode (S203) via the path P215.

【0032】待機モードへの移行要求があった場合に
は、クロック生成回路130のマスタークロックを停止
し、サブクロックモードへ移行する(S205)。その
後、電源回路に対して、電源回路動作モードを小電流モ
ードとするように、電源動作モード切替え指令が出され
る(XSTBY=" L" )(S206)。
If there is a request to shift to the standby mode, the master clock of the clock generation circuit 130 is stopped, and the mode shifts to the subclock mode (S205). Thereafter, a power supply operation mode switching command is issued to the power supply circuit so that the power supply circuit operation mode is set to the small current mode (XSTBY = “L”) (S206).

【0033】電源回路動作モードが小電流モードになっ
た後、さらに、スリープモード要求があれば(S20
7)、サブクロックを停止してスリープモードへ移行す
る(S208)。そしてスリープモードが解除されれば
(S209)、サブクロックを発振させてサブクロック
モードへ移行する(S210)。
After the power supply circuit operation mode is changed to the small current mode, if there is a sleep mode request (S20)
7) Stop the sub clock and shift to the sleep mode (S208). When the sleep mode is released (S209), the sub-clock is oscillated to shift to the sub-clock mode (S210).

【0034】サブクロックモードは、サブクロックのみ
で動作している状態であり、時計処理等の最小限の処理
を行い、サブクロックモード解除要求が有るかどうかを
チェックする(S211)。サブクロックモード解除要
求がなかった場合は、経路P214を経由して、再びス
リープモードの要求チェック(S207)処理が開始さ
れる。
The subclock mode is a state in which the subclock mode is only operated, and a minimum process such as a clock process is performed to check whether or not there is a subclock mode release request (S211). If there is no subclock mode release request, the sleep mode request check (S207) process is started again via the path P214.

【0035】通常モードへ移行する指令、すなわちサブ
クロックモード解除要求があった場合には、電源回路動
作モードを大電流モードとするように、電源回路動作モ
ード切替え指令が出される(XSTBY=" H" )(S
212)。その後、マスタークロックを発振させて通常
モードへ移行する(S213)。通常モードへ移行後、
経路P215を経由して、通常モード処理である待機モ
ード要求チェック(S203)へ進む。
When a command to shift to the normal mode, that is, a subclock mode release request is issued, a power circuit operation mode switching command is issued so that the power circuit operation mode is set to the large current mode (XSTBY = “H”). ") (S
212). Thereafter, the master clock is oscillated to shift to the normal mode (S213). After shifting to normal mode,
The processing proceeds to the standby mode request check (S203), which is the normal mode processing, via the path P215.

【0036】上記の説明では、スリープモードが設けら
れた機器としたが、スリープモードが設けられていない
機器の場合も同様の処理を行う。すなわち、図3のスリ
ープモード要求有無のチェック(S207)から、スリ
ープモード処理(S208〜S210)のステップが省
略される。
In the above description, the device is provided with the sleep mode. However, the same processing is performed for a device not provided with the sleep mode. That is, the steps of the sleep mode processing (S208 to S210) are omitted from the check of the presence or absence of the sleep mode request (S207) in FIG.

【0037】また、逆にサブクロックモードがない場合
も同様の処理を行う。すなわち、図3のスリープモード
要求有無のチェック(S207)と、サブクロックモー
ド解除要求有無のチェック(S211)が省略され、必
ずスリープモード処理(S208〜S210)が実行さ
れる。
Conversely, the same processing is performed when there is no sub clock mode. That is, the check of the presence or absence of the sleep mode request (S207) and the check of the presence or absence of the subclock mode release request (S211) in FIG. 3 are omitted, and the sleep mode processing (S208 to S210) is always executed.

【0038】また、上記の電源回路111の説明では、
電源回路動作モードの切替えをTR2とTR3から成る
切替え回路で行うとしたが、通常処理実行時に出力が"
H"となる信号を用いてもよい。図4は、本発明の他の
実施の形態である電子機器の電源回路の回路図である。
ダイオードD2に供給されるのは、通常モード時に"H"
で、待機モード時に" L" となる動作信号のひとつで
ある。通常モード、すなわち出力電流が多い場合は、こ
の信号OMSが" H" となり、ダイオードD2を通して
R2に電流が流れる。すなわち、R1//R2でD1及
びTR1のベース電流を供給する。一方、待機モード、
すなわち、出力電流が少ない場合には、この信号は"
L" となり、R2には電流が流れない。すなわち、R1
のみでD1及びTR1のベース電流を供給する。ダイオ
ードD2は、待機時に電流の逆流を防止するために必要
である。
In the above description of the power supply circuit 111,
The switching of the power supply circuit operation mode is performed by the switching circuit including TR2 and TR3.
A signal that becomes H "may be used. FIG. 4 is a circuit diagram of a power supply circuit of an electronic device according to another embodiment of the present invention.
The signal supplied to the diode D2 is "H" in the normal mode.
This is one of the operation signals that becomes “L” in the standby mode. In the normal mode, that is, when the output current is large, the signal OMS becomes "H", and a current flows to R2 through the diode D2. That is, the base currents of D1 and TR1 are supplied at R1 // R2. Meanwhile, standby mode,
That is, if the output current is low,
L ", and no current flows through R2.
Only supplies the base current of D1 and TR1. The diode D2 is necessary to prevent a current from flowing backward during standby.

【0039】なお、上記の処理機能は、コンピュータに
よって実現することができる。その場合、マイコン動作
状態切替え部が有すべき機能の処理内容は、コンピュー
タで読み取り可能な記録媒体に記録されたプログラムに
記述しておく。そして、このプログラムをコンピュータ
で実行することにより、上記処理がコンピュータで実現
される。コンピュータで読み取り可能な記録媒体として
は、磁気記録装置や半導体メモリ等がある。市場を流通
させる場合には、CD−ROM(Compact DiskRead Only
Memory) やフロッピーディスク等の可搬型記録媒体に
プログラムを格納して流通させたり、ネットワークを介
して接続されたコンピュータの記憶装置に格納してお
き、ネットワークを通じて他のコンピュータに転送する
こともできる。コンピュータで実行する際には、コンピ
ュータ内のハードディスク装置等にプログラムを格納し
ておき、メインメモリにロードして実行する。
The above processing functions can be realized by a computer. In this case, the processing content of the function that the microcomputer operation state switching unit should have is described in a program recorded on a computer-readable recording medium. Then, by executing this program on a computer, the above processing is realized on the computer. Examples of the computer-readable recording medium include a magnetic recording device and a semiconductor memory. When distributing in the market, CD-ROM (Compact Disk Read Only)
The program may be stored and distributed in a portable recording medium such as a memory or a floppy disk, or stored in a storage device of a computer connected via a network, and transferred to another computer via the network. When the program is executed by the computer, the program is stored in a hard disk device or the like in the computer, and is loaded into the main memory and executed.

【0040】[0040]

【発明の効果】以上説明したように本発明では、通常状
態と待機状態との切替えは、マスタークロックが停止し
た状態で、電源回路動作モードを切替えることによって
行うため、電源回路動作モードが小電流モードでマスタ
ークロックが供給され電源が不安定となることを防止す
ることができる。さらに、安定して切替えが行われるた
め、待機時の電力を余分に見積もる必要がなく、最小限
に抑えることができる。
As described above, according to the present invention, the switching between the normal state and the standby state is performed by switching the power supply circuit operation mode while the master clock is stopped. It is possible to prevent the power supply from becoming unstable due to the supply of the master clock in the mode. Further, since the switching is performed stably, it is not necessary to extraly estimate the power during standby, and it is possible to minimize the power.

【0041】また、本発明のマイコン動作状態切替え方
法は、通常状態と待機状態との切替えは、マスタークロ
ックが停止した状態で、電源回路動作モードを切替える
ことによって行われるため、通常モード時には、必ず電
源回路動作モードが大電流モードとなっており、安定し
た動作を行うことができる。
In the microcomputer operating state switching method of the present invention, the switching between the normal state and the standby state is performed by switching the power supply circuit operating mode while the master clock is stopped. Since the power supply circuit operation mode is the large current mode, stable operation can be performed.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の一実施の形態である電子機器のブロッ
ク図である。
FIG. 1 is a block diagram of an electronic device according to an embodiment of the present invention.

【図2】本発明の一実施の形態である電子機器の電源回
路の回路図である。
FIG. 2 is a circuit diagram of a power supply circuit of an electronic device according to an embodiment of the present invention.

【図3】本発明の一実施の形態である電子機器の動作状
態切替え方法のフローチャートである。
FIG. 3 is a flowchart of a method for switching an operation state of an electronic device according to an embodiment of the present invention.

【図4】本発明の他の実施の形態である電子機器の電源
回路の回路図である。
FIG. 4 is a circuit diagram of a power supply circuit of an electronic device according to another embodiment of the present invention.

【図5】従来の電子機器の電源回路の回路図である。FIG. 5 is a circuit diagram of a power supply circuit of a conventional electronic device.

【図6】従来の電子機器の動作状態切替え方法のフロー
チャートである。
FIG. 6 is a flowchart of a conventional method for switching the operation state of an electronic device.

【符号の説明】[Explanation of symbols]

110…電源回路、111…本発明の一実施の形態の電
源回路、112…本発明の他の実施の形態の電源回路、
113…従来の電源回路、120…制御部(マイコ
ン)、121…XSTBY(電源回路動作モード切替え
信号)、130…クロック生成回路、131…マスター
クロック、132…サブクロック、140…被制御部
110 power supply circuit, 111 power supply circuit of one embodiment of the present invention, 112 power supply circuit of another embodiment of the present invention,
Reference numeral 113: conventional power supply circuit, 120: control unit (microcomputer), 121: XSTBY (power supply circuit operation mode switching signal), 130: clock generation circuit, 131: master clock, 132: subclock, 140: controlled part

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 通常状態と待機状態とを有する電子機器
において、 電源回路動作モード切替え信号により大電流モードと小
電流モードとの切替えが可能な電源回路と、 周波数の高いマスタークロックと周波数の低いサブクロ
ックとを生成するクロック生成回路と、 前記マスタークロックが停止した状態で前記電源回路動
作モード切替え信号を出力して電子機器の通常状態と待
機状態との切替えを行う制御部と、を設けたことを特徴
とする電子機器。
An electronic device having a normal state and a standby state, a power supply circuit capable of switching between a large current mode and a small current mode by a power supply circuit operation mode switching signal, a high frequency master clock and a low frequency low frequency A clock generation circuit that generates a sub clock; and a control unit that outputs the power supply circuit operation mode switching signal in a state where the master clock is stopped to switch between a normal state and a standby state of the electronic device. Electronic equipment characterized by the above.
【請求項2】 前記電源回路動作モード切替え信号は、
所定の通常処理で生成される信号であって電子機器の動
作状態が通常状態の場合にオンし、待機状態の場合にオ
フする信号であることを特徴とする請求項1記載の電子
機器。
2. The power supply circuit operation mode switching signal,
2. The electronic device according to claim 1, wherein the signal is a signal generated in a predetermined normal process, the signal being turned on when the operation state of the electronic device is in a normal state, and being turned off in a standby state.
【請求項3】 通常状態と待機状態とを有する電子機器
の動作状態切替え方法において、 マスタークロックが供給され電源回路動作モードは大電
流モードである通常状態で前記マスタークロックの供給
を停止し、 サブクロックのみで動作している状態で電源回路動作モ
ードを小電流モードに切替えて電子機器の動作状態を通
常状態から待機状態に切替える手順と、 サブクロックのみが供給され電源回路動作モードは小電
流モードである待機状態で前記電源回路動作モードを大
電流モードに切替え、 前記マスタークロックの供給を開始して電子機器の動作
状態を待機状態から通常状態に切替える手順と、 を有することを特徴とする電子機器の動作状態切替え方
法。
3. A method for switching an operation state of an electronic device having a normal state and a standby state, wherein the supply of the master clock is stopped in a normal state in which a master clock is supplied and a power supply circuit operation mode is a large current mode. A procedure in which the power supply circuit operation mode is switched from the normal state to the standby state by switching the power supply circuit operation mode to the small current mode while operating only with the clock, and the power supply circuit operation mode in which only the subclock is supplied is the small current mode Switching the power supply circuit operation mode to the high current mode in the standby state, and starting supply of the master clock to switch the operation state of the electronic device from the standby state to the normal state. How to switch the operating state of the device.
【請求項4】 通常状態と待機状態とを有する電子機器
の動作状態切替え処理プログラムを記録したコンピュー
タ読み取り可能な記録媒体において、 マスタークロックが供給され電源回路動作モードは大電
流モードである通常状態で前記マスタークロックの供給
を停止し、 サブクロックのみで動作している状態で電源回路動作モ
ードを小電流モードに切替えて、電子機器の動作状態を
通常状態から待機状態に切替える手順と、 サブクロックのみが供給され電源回路動作モードは小電
流モードである待機状態で前記電源回路動作モードを大
電流モードに切替え、 前記マスタークロックの供給を開始して、電子機器の動
作状態を待機状態から通常状態に切替える手順と、 をコンピュータに実行させるプログラムを記録したコン
ピュータ読み取り可能な記録媒体。
4. A computer-readable recording medium on which an operation state switching processing program for an electronic device having a normal state and a standby state is recorded, wherein a master clock is supplied and a power supply circuit operation mode is a large current mode. Stopping the supply of the master clock, switching the power supply circuit operation mode to the small current mode while operating only with the subclock, and switching the operation state of the electronic device from the normal state to the standby state; and The power supply circuit operation mode is switched to the high current mode in the standby state where the power supply circuit operation mode is the small current mode, the supply of the master clock is started, and the operation state of the electronic device is changed from the standby state to the normal state. Read the computer that records the switching procedure and the program that causes the computer to execute Capacity recording medium.
JP10215470A 1998-07-30 1998-07-30 Electronic equipment, and operation state switching method for electronic equipment Pending JP2000047749A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10215470A JP2000047749A (en) 1998-07-30 1998-07-30 Electronic equipment, and operation state switching method for electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10215470A JP2000047749A (en) 1998-07-30 1998-07-30 Electronic equipment, and operation state switching method for electronic equipment

Publications (1)

Publication Number Publication Date
JP2000047749A true JP2000047749A (en) 2000-02-18

Family

ID=16672911

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10215470A Pending JP2000047749A (en) 1998-07-30 1998-07-30 Electronic equipment, and operation state switching method for electronic equipment

Country Status (1)

Country Link
JP (1) JP2000047749A (en)

Similar Documents

Publication Publication Date Title
JP2747971B2 (en) Power supply device for portable information processing equipment and driving method thereof
US6412075B1 (en) Portable computer with low power CD-player mode
US6931557B2 (en) Information processing apparatus, power control method and recording medium to control a plurality of driving units according to the type of data to be processed
US5850560A (en) Audio control circuit for a computer system system having an energy-saving feature
KR100424703B1 (en) Circuit arrangement for switching-over a receiver circuit in dram-memories
JP2000047749A (en) Electronic equipment, and operation state switching method for electronic equipment
US6552445B1 (en) Electronic apparatus and circuit board
US6085329A (en) Portable computer with low power CD-player mode
US7673156B1 (en) Multimedia electronic device
US7788507B2 (en) Control apparatus, electronic device and signal processing apparatus
JP2007316972A (en) Electronic equipment and connection confirmation method
JP6066872B2 (en) Disk unit
JP2005266843A (en) Input device
JP2000324719A (en) Electronic apparatus, control method therefor, and storage medium
JPH11327678A (en) Information processor
JPH08111932A (en) Power supply apparatus
JPH03196319A (en) Backup power unit
JP4289064B2 (en) Portable audio equipment
JPH09230967A (en) Circuit with power saving function
KR101290961B1 (en) Apparatus and method for controlling battery power consumption using mute interval in Audio Playing Divice
KR19990040828A (en) How to switch the power saving / active mode of the USB core
KR100471080B1 (en) circuit for power control in computer system
KR20000002302U (en) Battery power consumption prevention circuit
JPH10312631A (en) Sound reproducing device and information processing device
JPH0561559A (en) Electronic equipment with operating mode switchable switch