JP2002055731A - Power control method and recording and reproducing device - Google Patents

Power control method and recording and reproducing device

Info

Publication number
JP2002055731A
JP2002055731A JP2000244704A JP2000244704A JP2002055731A JP 2002055731 A JP2002055731 A JP 2002055731A JP 2000244704 A JP2000244704 A JP 2000244704A JP 2000244704 A JP2000244704 A JP 2000244704A JP 2002055731 A JP2002055731 A JP 2002055731A
Authority
JP
Japan
Prior art keywords
task
clock
cpu
recording
processing
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
JP2000244704A
Other languages
Japanese (ja)
Inventor
Hirokazu Imazeki
浩和 今関
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 JP2000244704A priority Critical patent/JP2002055731A/en
Publication of JP2002055731A publication Critical patent/JP2002055731A/en
Pending legal-status Critical Current

Links

Landscapes

  • Power Sources (AREA)

Abstract

PROBLEM TO BE SOLVED: To reduce power consumption by stopping the supply of any clock to a CPU when a task processing is in a waiting state in a device for controlling recording and reproduction by a controller equipped with a microcomputer having a CPU. SOLUTION: This power consumption control processing method of a device to be operated with a battery as a power source for switching and processing plural tasks comprises a step for switching tasks based on the priority order of those tasks and/or the processed situations of those tasks, a step for stopping an operating clock to be supplied to a CPU when the priority order of the switched task is the lowest, and a step for supplying the operating clock to the CPU for continuing the operation when a request for the processing of the task whose priority order is higher than that of the task leading to the stop of the operating clock.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、電力制御方法及び
記録再生装置に関するものであり、詳しくは複数のタス
クで動作するポータブル機器において、通常のタスクよ
り優先順位が低いタスクを用意し、他のタスクが動作し
ていないときに、この最も優先順位の低いタスクに制御
を渡し省電モードに遷移するようにして消費電力を削減
する電力制御方法及び記録再生装置を提供する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a power control method and a recording / reproducing apparatus, and more particularly, to a portable device which operates with a plurality of tasks, prepares a task having a lower priority than a normal task, and performs other tasks. Provided is a power control method and a recording / reproducing apparatus which reduce power consumption by transferring control to a task having the lowest priority when the task is not operating and shifting to a power saving mode.

【0002】[0002]

【従来の技術】従来技術における電池を使用したポータ
ブル機器において、消費電流を削減するため、マイコン
が周辺回路に対して動作状態をチェックして動作してい
ないときは電源を切るように制御するものが周知であ
る。
2. Description of the Related Art In a portable device using a battery according to the prior art, in order to reduce current consumption, a microcomputer checks the operating state of peripheral circuits and controls so that the power is turned off when the microcomputer is not operating. Is well known.

【0003】例えば、同一出願人の特開平6−9652
0号公報に開示されている電源削減手法は、データ検出
手段からの再生データのバッフアとして、単位時間内の
再生データの読出しビットレートが、単位時間内の再生
データの記憶ビットレートより小さく設定されている記
憶手段を有しており、記憶手段から読み出された再生デ
ータを再生信号処理手段において再生音響信号として出
力するようにすると共に、特にデータ読出し手段におけ
る全部又は一部の回路部位に対して、クロックを遮断す
ることのできるスイッチ手段を設け、制御手段は、記憶
手段における再生データ蓄積量に応じてスイッチ手段を
開閉し、データ読出し手段の動作不要期間はデータ読出
し手段が動作を停止し電力消費しないように構成する。
[0003] For example, Japanese Patent Application Laid-Open No. 6-9652 of the same applicant.
In the power reduction method disclosed in Japanese Patent Publication No. 0, the read bit rate of the reproduced data per unit time is set to be lower than the storage bit rate of the reproduced data within the unit time as a buffer for the reproduced data from the data detecting means. The reproduction data read out from the storage means is output as a reproduction sound signal in the reproduction signal processing means, and especially for all or some circuit parts in the data reading means. Switch means capable of interrupting the clock is provided, the control means opens and closes the switch means in accordance with the amount of data stored in the storage means, and stops the operation of the data read means during the non-operation period of the data read means. Configure so that power is not consumed.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、従来技
術で説明した消費電流を削減する手法において、消費電
源の削減対策を進めていくに従ってマイコン自身の消費
電流がかなりの比率を示すようになってきており、マイ
コンが周辺回路の応答を待ったり、入力ブロックの制御
をしていない等のマイコン自身が単なる処理要求が発生
するのを待つためのループ動作といったアイドル状態の
ときに消費する消費電力を削減できないという問題があ
る。
However, in the method for reducing the current consumption described in the prior art, the current consumption of the microcomputer itself has become a considerable ratio as the measures for reducing the power consumption have been advanced. Reduces power consumption when the microcomputer is in an idle state, such as in a loop operation in which the microcomputer itself waits for a response to a peripheral circuit or does not control an input block, or simply waits for a processing request to occur. There is a problem that can not be.

【0005】従って、動作状態によりマイコン自身の電
源を制御して消費電力を削減することに解決しなければ
ならない課題を有する。
[0005] Therefore, there is a problem which must be solved by controlling the power supply of the microcomputer itself according to the operation state to reduce the power consumption.

【0006】[0006]

【課題を解決するための手段】上記課題を解決するため
に、本発明に係る電力制御方法及び記録再生装置は次に
示す手法及び構成にすることである。
In order to solve the above problems, a power control method and a recording / reproducing apparatus according to the present invention have the following methods and configurations.

【0007】(1)電池を電源として動作すると共に複
数のタスクを切り替えて処理する装置の消費電力制御処
理方法において、上記タスクの優先順位及び/又はタス
クの処理状況に基いてタスクを切り替えるステップと、
上記切り替えられたタスクの優先順位が最も低いタスク
であった場合には、CPUへ供給される動作クロックを
停止させるステップと、上記動作クロックを停止させる
タスクよりも高い優先順位のタスク処理要求があった場
合には上記CPUに対して動作クロックを供給して動作
を継続させるステップとからなる電力制御方法。 (2)上記CPUへ供給される動作クロックを停止させ
るステップの他に、周辺の回路に供給する周辺クロック
を停止させるステップを有することを特徴とする(1)
に記載の電力制御方法。 (3)上記装置は、デジタルコンテンツを記録及び/又
は再生することができる記録再生装置であることを特徴
とする(1)に記載の電力制御方法。 (4)上記CPUは、マイコンに搭載されているもので
あることを特徴とする(1)に記載の電力制御方法。
(1) In a power consumption control method for a device which operates using a battery as a power source and switches and processes a plurality of tasks, a step of switching tasks based on the priority of the tasks and / or the processing status of the tasks. ,
If the switched task has the lowest priority, there is a step of stopping the operation clock supplied to the CPU and a task processing request having a higher priority than the task of stopping the operation clock. Supplying an operation clock to the CPU to continue the operation when the power supply is performed. (2) In addition to the step of stopping the operation clock supplied to the CPU, the method further comprises a step of stopping the peripheral clock supplied to peripheral circuits. (1)
3. The power control method according to 1. (3) The power control method according to (1), wherein the device is a recording / reproducing device capable of recording and / or reproducing digital content. (4) The power control method according to (1), wherein the CPU is mounted on a microcomputer.

【0008】(5)電池を電源として動作する記録再生
装置において、上記記録再生装置の動作を制御するため
の複数のタスクを処理するタスク処理手段と、上記タス
ク処理手段にタスクの優先順位に基いて処理するタスク
を指示するタスク供給手段と、上記タスク処理手段に動
作クロックを供給するクロック供給手段と、上記タスク
処理手段が処理するタスクが処理優先順位の最も低いス
リープタスクであった場合には上記クロック供給手段に
上記タスク処理手段への動作クロックの供給を停止する
指示を出すクロック停止要求手段と、上記タスク処理手
段がスリープ中に上記記録再生装置の動作を制御する新
たなタスクが発生した場合には上記クロック供給手段に
上記タスク処理手段への動作クロックの供給を再開する
指示を出すクロック供給要求手段とを備える記録再生装
置。
(5) In a recording / reproducing apparatus which operates by using a battery as a power supply, a task processing means for processing a plurality of tasks for controlling the operation of the recording / reproducing apparatus; A task supplying means for instructing a task to be processed, a clock supplying means for supplying an operation clock to the task processing means, and a task processed by the task processing means being a sleep task having the lowest processing priority. Clock stop requesting means for instructing the clock supply means to stop supplying the operation clock to the task processing means, and a new task for controlling the operation of the recording / reproducing apparatus has occurred while the task processing means is in sleep. In this case, a clock for instructing the clock supply means to resume supply of the operation clock to the task processing means is provided. Recording and reproducing apparatus and a supply request means.

【0009】このように、マイコンが処理待ちの状態の
時にCPUのクロックを停止させることができるため、
システムが動作中でも頻繁にCPUのクロックを停止さ
せることができるようになり、その分電力消費を削減す
ることができるため、特に電池で駆動する装置において
はバッテリーの蓄電状態を引き伸ばすことが可能にな
る。
As described above, the clock of the CPU can be stopped when the microcomputer is in the processing waiting state.
Since the clock of the CPU can be stopped frequently even while the system is operating, power consumption can be reduced by that amount, so that the power storage state of the battery can be extended especially in a device driven by a battery. .

【0010】[0010]

【発明の実施の形態】次に、本発明に係る電力制御方法
及び記録再生装置の実施の形態について図面を参照して
説明する。
Next, an embodiment of a power control method and a recording / reproducing apparatus according to the present invention will be described with reference to the drawings.

【0011】電力制御方法を具現化するための電力制御
機能を備えた電子機器、実施例においてMD(Mini
Disc)の記録再生装置は、図1に示すように、電
池から構成されている電源部110と、記録媒体からな
るデータ書込/読出し部120と、データ書込/読出し部
120のディスク状記録媒体121の回転制御をするサ
ーボ部130と、ディスク状記録媒体121に記録され
ている信号を読出しデコードするRFデコーダ部140
と、音声圧縮デコーダ部150と、増幅部160と、音
声出力部170と、システムコントローラ180とから
構成されている。
An electronic apparatus having a power control function for realizing a power control method, and in an embodiment, an MD (Mini)
As shown in FIG. 1, the recording / reproducing apparatus of Disc) includes a power supply unit 110 composed of a battery, a data writing / reading unit 120 composed of a recording medium, and a disk-shaped recording / writing unit of the data writing / reading unit 120. A servo unit 130 for controlling the rotation of the medium 121 and an RF decoder unit 140 for reading and decoding signals recorded on the disk-shaped recording medium 121
, An audio compression decoder section 150, an amplification section 160, an audio output section 170, and a system controller 180.

【0012】データ書込/読出し部120は、ディスク
状記録媒体121と、このディスク状記録媒体121に
デジタルコンテンツデータを書き込み又は再生するため
のヘッド部122を備えた構成となっている。
The data writing / reading section 120 has a disk-shaped recording medium 121 and a head section 122 for writing or reproducing digital content data on or from the disk-shaped recording medium 121.

【0013】音声圧縮デコーダ部150は、音声信号を
圧縮して記録されたデータを元の状態に伸張するATR
AC(Adaptive Transform Aco
ustic Coding)デコーダ151と、ディス
ク状記録媒体121の回転速度と音声圧縮率とのデータ
入力量と出力量との差を補償するためのデータバッフア
であるショックプルーフメモリ152とから構成されて
いる。
The audio compression decoder 150 is an ATR for compressing an audio signal and expanding recorded data to an original state.
AC (Adaptive Transform Aco)
and a shock proof memory 152 which is a data buffer for compensating for a difference between a data input amount and an output amount between the rotational speed of the disk-shaped recording medium 121 and the audio compression ratio.

【0014】システムコントローラ180は、周辺回路
及びマイコン190に供給する周辺クロック181及び
CPUクロック(動作クロック)182を制御するクロ
ック制御部183と、CPU(Central Pro
cessing Unit)184と、割込みをコント
ロールするINT(Interrupt)コントローラ
185、タイマ186、ROM187、RAM188、
DMA189を備えたマイコン190と、周辺回路に電
源の供給を制御するスイッチ191とから構成されてい
る。このマイコン190やクロック制御部183は、周
辺回路や、サーボ部130への電源の供給を制御する構
成となっており、直接関係ないタスクが動作していると
きには電源をオフにして停止した状態にする。例えば、
サーボ部130による回転制御が必要ないときにはスイ
ッチ190aをオフにしてサーボ部130への電源供給
を停止する。又、周辺部の例えばキー入力に直接関係な
いタスクが処理している間においてはキー入力に必要な
電源を供給するスイッチ191bをオフにしてキー入力
を待機状態にする。このように電源制御を行うマイコン
190を備えたシステムコントローラ180は、動作制
御態様に応じた様々なタスクが用意されており、それぞ
れのタスクには優先順位が付けられ、それぞれのタスク
によって処理するジョブが異なる。
A system controller 180 includes a clock controller 183 for controlling a peripheral clock 181 and a CPU clock (operation clock) 182 supplied to the peripheral circuit and the microcomputer 190, and a CPU (Central Pro).
processing unit) 184, an INT (Interrupt) controller 185 for controlling an interrupt, a timer 186, a ROM 187, a RAM 188,
It comprises a microcomputer 190 having a DMA 189 and a switch 191 for controlling the supply of power to peripheral circuits. The microcomputer 190 and the clock control unit 183 are configured to control the supply of power to the peripheral circuits and the servo unit 130. When a task that is not directly related is operating, the power is turned off and stopped. I do. For example,
When the rotation control by the servo unit 130 is not required, the switch 190a is turned off to stop the power supply to the servo unit 130. Also, while a task in the peripheral area, for example, which is not directly related to key input, is processing, the switch 191b for supplying power required for key input is turned off to put the key input in a standby state. As described above, the system controller 180 including the microcomputer 190 that performs power control is provided with various tasks according to the operation control mode. Each task is assigned a priority, and a job processed by each task is performed. Are different.

【0015】図2は、優先順位のついたタスクの処理形
態を示したものであり、イベントの優先順位によって、
処理するタスクが割り付けされている。例えば、イベン
トが「音の出力」の時には、タスク1が処理され(ST
11)、メモリ152内に蓄えられている再生データが
所定量以下となったと判断された場合には、タスク1
(ST11)は一旦中断されてデータ入力するための
「I/Oディスク」を駆動させるタスク3の処理が行わ
れ(ST12)、メモリ152内に所定量以上の再生デ
ータがディスク状記録媒体121から読み込まれること
で、このタスク3の処理が終了すると、再びタスク1の
処理が行われる(ST13)。このタスク1の処理が終
了すると、タスク1及びタスク3の処理中に処理を待た
されていた第4番目のタスク4が処理され(ST1
4)、途中から優先順位の高いタスク1の処理要求があ
るとタスク4は途中で処理を中断してタスク1の処理を
優先して行う(ST15)。そして、このタスク1の処
理が終了すると、優先順位の高いタスクがないことを確
認して途中で中断しているタスク4の処理を行う(ST
16)。全てのタスクが処理されると優先順位が最も低
い「Sleep」状態のタスクが起動される(ST1
7)。この「Sleep」状態のタスクは、全てのタス
クの処理がない状態であるから、CPU184からの指
示に基いてクロック制御部183は、CPU184に供
給している動作クロック(CPUクロック)182の供
給を停止する。
FIG. 2 shows a processing form of a task with a priority.
The task to be processed is assigned. For example, when the event is “sound output”, task 1 is processed (ST
11) If it is determined that the reproduction data stored in the memory 152 has reached a predetermined amount or less, the task 1
In (ST11), processing of task 3 for driving an “I / O disk” for data input is performed (ST12), and reproduction data of a predetermined amount or more is stored in the memory 152 from the disk-shaped recording medium 121. When the processing of task 3 is completed by being read, the processing of task 1 is performed again (ST13). When the processing of the task 1 is completed, the fourth task 4 that has been waiting for the processing during the processing of the tasks 1 and 3 is processed (ST1).
4) If there is a processing request for task 1 having a higher priority in the middle, task 4 interrupts the processing in the middle and gives priority to the processing of task 1 (ST15). When the processing of the task 1 is completed, it is confirmed that there is no task with a higher priority, and the processing of the task 4 interrupted in the middle is performed (ST4).
16). When all tasks are processed, the task in the “Sleep” state having the lowest priority is started (ST1).
7). Since the task in the “Sleep” state has no processing of all tasks, the clock control unit 183 supplies the operation clock (CPU clock) 182 supplied to the CPU 184 based on an instruction from the CPU 184. Stop.

【0016】停止した状態でタスク2の処理が発生する
と、INTコントローラ185の指示によりクロック制
御部183がCPUクロック182の供給をCPU18
4に対して開始する。CPUクロック182の供給が開
始すると、CPU184が動作を再開してタスク2を処
理し(ST18)、その処理が終了すると、次のタスク
3を処理し(ST19)、その処理が終了すると再び処
理すべきタスクが存在しないため「Sleep」状態に
なり、CPUクロック182の供給をクロック制御部1
83は再び停止する(ST20)。
When the processing of task 2 occurs in a stopped state, the clock control unit 183 sends the CPU clock 182 in accordance with an instruction from the INT controller 185.
Start for 4. When the supply of the CPU clock 182 starts, the CPU 184 resumes the operation and processes the task 2 (ST18). When the processing is completed, the next task 3 is processed (ST19). When the processing is completed, the processing is performed again. Since there is no task to be performed, the state is set to “Sleep”, and the supply of the CPU clock 182 is controlled by the clock control unit 1.
83 stops again (ST20).

【0017】このようにして、処理形態のタスクによる
処理が全てなくなると、「Sleep」状態のタスクに
渡る。「Sleep」状態のタスクになると、CPU1
84へのクロックが停止し、CPU184自体の活動が
停止することにより、所謂、マイコン190がアイドリ
ング状態になるようなときはCPU184自体のクロッ
クを停止してその活動を停止することができるのであ
り、アイドリングでインタラプト等を検出するために複
数ステップをループしている所謂アイドリング状態で電
力を消費せずに処理要求を待つことが可能となるもので
ある。
As described above, when all the processes by the tasks in the processing mode are eliminated, the task is shifted to the "Sleep" state. When the task is in the “Sleep” state, the CPU 1
By stopping the clock to 84 and stopping the activity of the CPU 184 itself, when the so-called microcomputer 190 enters an idling state, the clock of the CPU 184 itself can be stopped to stop its activity. It is possible to wait for a processing request without consuming power in a so-called idling state in which a plurality of steps are looped to detect an interrupt or the like by idling.

【0018】次に、上述した図1に示すMDの記録再生
装置において、実際にMDにおけるタスク管理について
図3及図4を参照して説明する。
Next, with reference to FIGS. 3 and 4, the task management in the MD in the MD recording / reproducing apparatus shown in FIG. 1 will be described.

【0019】タスクは、図3に示すように、本体表示部
210やリモコン表示部220への表示を管理する表示
管理タスク230、キー割込み240及びタイマー割込
み250等による割込みに応じてモードを変換するため
のモード遷移タスク260、オーディオ部270への出
力及びオーディオ部270への割込み280を管理する
オーディオ管理タスク290、TOC(Table O
f Contents)管理タスク300、ディスク状
記録媒体の回転制御をするメカ部310及びサーボの割
込み320を管理するサーボ管理タスク330、スリー
プタスク340とから構成されている。
As shown in FIG. 3, the task converts the mode according to the display management task 230 for managing the display on the main body display unit 210 and the remote control display unit 220, the key interrupt 240, the timer interrupt 250, and the like. Mode transition task 260, an audio management task 290 for managing output to the audio unit 270 and interruption 280 to the audio unit 270, TOC (Table O).
f Contents) management task 300, a mechanical unit 310 for controlling the rotation of the disk-shaped recording medium, a servo management task 330 for managing a servo interrupt 320, and a sleep task 340.

【0020】モード遷移タスク260は、システム全体
を管理するタスクでキー割込み240又はタイマー割込
み250から起動され与えられた指示に基いて他のタス
クに対して指示を与える。例えば、キー割込み240か
ら「PLAY」の指示がきた場合、TOC管理タスク3
00に対して再生を指示し表示管理タスク230に状態
が再生になったことを通知する。TOC管理タスク30
0は、再生表示を受けるとサーボ管理タスク330に対
して読込みアドレスを指定してディスク状記録媒体であ
るディスクの読込み指示を与え、読込みの終了がサーボ
管理タスク330より通知されるとオーディオ管理タス
ク290に対して音出しの指示を与える。表示管理タス
ク230は、再生時の表示に切替えるために表示データ
を作成し本体表示部210及びリモコン表示部220に
表示させる。各タスク間の指示は、イベントを通して行
われる。サーボ管理タスク330はメカ部310に対し
てディスクからの読出しを指示しサーボ割込み320か
ら終了が通知される。オーディオ管理タスク290はオ
ーディオ部270に対して音出しを指示しオーディオ割
込280みから終了が通知される。このようにして、タ
スクにより種々の処理がなされるのであり、図1に示す
構成と対比すると、オーディオ管理タスク290はオー
デイオ部270に相当する増幅部160及び音声出力部
170を制御し、サーボ管理タスク330はメカ部31
0に相当するデータ書込/読出し部120及びサーボ部
130を制御することになる。
The mode transition task 260 is a task for managing the entire system, and is activated by the key interrupt 240 or the timer interrupt 250 and gives an instruction to another task based on the given instruction. For example, when an instruction of “PLAY” is received from the key interrupt 240, the TOC management task 3
00, and instructs the display management task 230 that the state has changed to reproduction. TOC management task 30
0 designates a read address to the servo management task 330 when receiving the playback display, and gives a read instruction of the disk which is the disk-shaped recording medium. 290 is given a sound output instruction. The display management task 230 creates display data in order to switch to the display at the time of reproduction, and causes the main body display unit 210 and the remote control display unit 220 to display the display data. Instructions between tasks are performed through events. The servo management task 330 instructs the mechanical unit 310 to read data from the disk, and is notified of the end by the servo interrupt 320. The audio management task 290 instructs the audio unit 270 to output sound, and the audio interrupt 280 notifies the end of the sound. In this way, various processes are performed by the tasks. Compared with the configuration shown in FIG. 1, the audio management task 290 controls the amplifying unit 160 and the audio output unit 170 corresponding to the audio unit 270, and performs the servo management. Task 330 is the mechanical unit 31
It controls the data writing / reading unit 120 and the servo unit 130 corresponding to 0.

【0021】さて、本発明において、従来から採用され
ている上記タスクによる制御管理に加えて、全てのタス
クがイベントの受信待ち状態で且つ全ての割込み処理が
動作していないときにスリープタスクに制御を移し、マ
イコンのCPUのクロックを止めて省電モードに移行す
る。
In the present invention, in addition to the control management by the above-mentioned task which has been conventionally employed, the sleep task is controlled when all of the tasks are in an event reception waiting state and all the interrupt processes are not operating. To stop the clock of the CPU of the microcomputer and shift to the power saving mode.

【0022】このようにクロックを止めて省電モードに
移行するためには、上述したようにスリープタスクとス
リープタスク以外のタスク(通常タスク)に優先順位を
設けてスリープタスクの優先順位を低くする必要があ
る。
As described above, in order to stop the clock and shift to the power saving mode, the sleep task and the tasks other than the sleep task (normal tasks) are prioritized to lower the priority of the sleep task. There is a need.

【0023】例えば、図4に示すように、「PLAY」
中にオーディオ管理タスク290、サーボ管理タスク3
30、表示管理タスク230が動作可能な状態にある時
にレディキューに繋がれており、順番に制御が回ってき
て処理を行い、次のタスクに制御を渡す。処理が終了し
たタスクは、待ち状態になり他のタスク、割込みからイ
ベントを受信して動作可能な状態になったならばまたレ
ディキューに繋がれる。
For example, as shown in FIG.
Audio management task 290, servo management task 3 during
30, when the display management task 230 is in an operable state, it is connected to the ready queue, control is turned around in order to perform processing, and passes control to the next task. The task for which the processing has been completed is put into a waiting state, and is connected to the ready queue again when it becomes operable by receiving an event from another task or an interrupt.

【0024】そして、図5に示すように、これらの通常
タスクが全て待ち状態になると優先順位が低いスリープ
タスクが起動される。この状態では、マイコン190
(図1参照)としては何も処理していない状態なので割
込みが発生したら起動できる状態にしてマイコン190
をスリープさせる。即ち、優先度の一番低いスリープタ
スク340が起動されると、クロック制御部183はC
PU184へのCPUクロック182を停止させてマイ
コン190自体をスリープ状態にするのである。この状
態で、何か割込みが発生すると、クロック制御部183
からCPUクロック184が供給されて、マイコン19
0が立ち上がり割込み処理によって通常タスクにイベン
トがなげかけられれば、スリープタスクから通常タスク
に切り替わり処理が実行される。以上の制御を行うと、
マイコン190が処理を実行しているときだけ、マイコ
ン190のCPU184が動作していることになる。
Then, as shown in FIG. 5, when all of these normal tasks are in a waiting state, a sleep task having a lower priority is activated. In this state, the microcomputer 190
Since no processing is performed (see FIG. 1), the microcomputer 190 is set in a state where it can be started when an interrupt occurs, and
To sleep. That is, when the sleep task 340 having the lowest priority is activated, the clock control unit 183 sets C
The CPU clock 182 to the PU 184 is stopped to put the microcomputer 190 into a sleep state. In this state, if any interrupt occurs, the clock controller 183
CPU clock 184 is supplied from the microcomputer 19
When 0 rises and the normal task is interrupted by the interrupt processing, the sleep task is switched to the normal task and the processing is executed. By performing the above control,
Only when the microcomputer 190 is executing the process, the CPU 184 of the microcomputer 190 is operating.

【0025】[0025]

【発明の効果】以上説明したように、本発明に係る電力
制御方法及び記録再生装置は、マイコンが処理待ちの状
態の時にCPUのクロックを停止させることができるた
め、装置自体が動作中でも頻繁に省電モードを遂行する
ことができるようになり、その分の消費電力を削減する
ことができるという効果がある。
As described above, the power control method and the recording / reproducing apparatus according to the present invention can stop the clock of the CPU when the microcomputer is in the processing standby state, so that the power control method and the recording / reproducing apparatus are frequently used even when the apparatus itself is operating. The power saving mode can be performed, and the power consumption can be reduced accordingly.

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

【図1】本発明に係る記録再生装置の構成を略示的に示
した全体ブロック図である。
FIG. 1 is an overall block diagram schematically showing a configuration of a recording / reproducing apparatus according to the present invention.

【図2】同タスク処理を示した説明図である。FIG. 2 is an explanatory diagram showing the task processing.

【図3】MDの記録再生装置で動作するタスクを示した
説明図である。
FIG. 3 is an explanatory diagram showing tasks that operate on the MD recording / reproducing device.

【図4】図3における記録再生装置におけるタスクのレ
デイキューを示した説明図である。
FIG. 4 is an explanatory diagram showing a ready queue of a task in the recording / reproducing apparatus in FIG. 3;

【図5】図3における記録再生装置におけるタスクのレ
デイキューを示した説明図である。
FIG. 5 is an explanatory diagram showing a ready queue of a task in the recording / reproducing apparatus in FIG. 3;

【符号の説明】 110;電源部、120;データ書込/読出し部、13
0;サーボ部、140;RFデコーダ部、150;音声
圧縮デコーダ部、151;ATRACデコーダ部、15
2;メモリ、160;増幅部、170;音声出力部、1
80;システムコントローラ、181;周辺クロック、
182;CPUクロック、183;クロック制御部、1
84;CPU、185;INTコントローラ、186;
タイマ、187;ROM、188;RAM、189;D
MA、190;マイコン、191;スイッチ、190
a;スイッチ、190b;スイッチ、210;本体表示
部、220;リモコン表示部、230;表示管理タス
ク、240;キー割込み、250;タイマー割込み、2
60;モード遷移タスク、270;オーディオ部、28
0;オーディオ割込み、290;オーディオ管理タス
ク、300;TOC管理タスク、310;メカ部、32
0;サーボ割込み、330;サーボ管理タスク
[Description of Signs] 110; power supply unit, 120; data write / read unit, 13
0: Servo unit, 140; RF decoder unit, 150; Audio compression decoder unit, 151; ATRAC decoder unit, 15
2; memory, 160; amplifying section, 170; audio output section, 1
80; system controller; 181; peripheral clock;
182; CPU clock, 183; clock control unit, 1
84; CPU, 185; INT controller, 186;
Timer, 187; ROM, 188; RAM, 189; D
MA, 190; microcomputer, 191; switch, 190
a; switch, 190b; switch, 210; main body display section, 220; remote control display section, 230; display management task, 240; key interrupt, 250;
60; mode transition task, 270; audio section, 28
0; audio interrupt, 290; audio management task, 300; TOC management task, 310;
0: servo interrupt, 330: servo management task

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】電池を電源として動作すると共に複数のタ
スクを切り替えて処理する装置の消費電力制御処理方法
において、 上記タスクの優先順位及び/又はタスクの処理状況に基
いてタスクを切り替えるステップと、 上記切り替えられたタスクの優先順位が最も低いタスク
であった場合には、CPUへ供給される動作クロックを
停止させるステップと、 上記動作クロックを停止させるタスクよりも高い優先順
位のタスク処理要求があった場合には上記CPUに対し
て動作クロックを供給して動作を継続させるステップと
からなる電力制御方法。
1. A power consumption control method for an apparatus that operates using a battery as a power source and switches and processes a plurality of tasks, comprising: a step of switching tasks based on a priority of the tasks and / or a processing state of the tasks; If the switched task has the lowest priority, there is a step of stopping the operation clock supplied to the CPU, and a task processing request having a higher priority than the task of stopping the operation clock. Supplying an operation clock to the CPU to continue the operation when the power supply is performed.
【請求項2】上記CPUへ供給される動作クロックを停
止させるステップの他に、周辺の回路に供給する周辺ク
ロックを停止させるステップを有することを特徴とする
請求項1に記載の電力制御方法。
2. The power control method according to claim 1, further comprising a step of stopping a peripheral clock supplied to a peripheral circuit, in addition to the step of stopping the operation clock supplied to the CPU.
【請求項3】上記装置は、デジタルコンテンツを記録及
び/又は再生することができる記録再生装置であること
を特徴とする請求項1に記載の電力制御方法。
3. The power control method according to claim 1, wherein the device is a recording / reproducing device capable of recording and / or reproducing digital content.
【請求項4】上記CPUは、マイコンに搭載されている
ものであることを特徴とする請求項1に記載の電力制御
方法。
4. The power control method according to claim 1, wherein said CPU is mounted on a microcomputer.
【請求項5】電池を電源として動作する記録再生装置に
おいて、 上記記録再生装置の動作を制御するための複数のタスク
を処理するタスク処理手段と、 上記タスク処理手段にタスクの優先順位に基いて処理す
るタスクを指示するタスク供給手段と、 上記タスク処理手段に動作クロックを供給するクロック
供給手段と、 上記タスク処理手段が処理するタスクが処理優先順位の
最も低いスリープタスクであった場合には上記クロック
供給手段に上記タスク処理手段への動作クロックの供給
を停止する指示を出すクロック停止要求手段と、 上記タスク処理手段がスリープ中に上記記録再生装置の
動作を制御する新たなタスクが発生した場合には上記ク
ロック供給手段に上記タスク処理手段への動作クロック
の供給を再開する指示を出すクロック供給要求手段とを
備える記録再生装置。
5. A recording / reproducing apparatus which operates by using a battery as a power supply, a task processing means for processing a plurality of tasks for controlling the operation of the recording / reproducing apparatus, and a task processing means based on task priorities. A task supply unit for instructing a task to be processed; a clock supply unit for supplying an operation clock to the task processing unit; and a task to be processed by the task processing unit is a sleep task having the lowest processing priority. Clock stop requesting means for instructing the clock supply means to stop supplying the operation clock to the task processing means; and when a new task for controlling the operation of the recording / reproducing apparatus occurs while the task processing means is in sleep. A clock that instructs the clock supply means to resume supply of the operation clock to the task processing means Recording and reproducing apparatus and a sheet requesting means.
JP2000244704A 2000-08-11 2000-08-11 Power control method and recording and reproducing device Pending JP2002055731A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000244704A JP2002055731A (en) 2000-08-11 2000-08-11 Power control method and recording and reproducing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000244704A JP2002055731A (en) 2000-08-11 2000-08-11 Power control method and recording and reproducing device

Publications (1)

Publication Number Publication Date
JP2002055731A true JP2002055731A (en) 2002-02-20

Family

ID=18735356

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000244704A Pending JP2002055731A (en) 2000-08-11 2000-08-11 Power control method and recording and reproducing device

Country Status (1)

Country Link
JP (1) JP2002055731A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010097282A (en) * 2008-10-14 2010-04-30 Autonetworks Technologies Ltd Controller and method of releasing resting state
WO2013001576A1 (en) * 2011-06-29 2013-01-03 Nec Corporation Multiprocessor system and method of saving energy therein

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010097282A (en) * 2008-10-14 2010-04-30 Autonetworks Technologies Ltd Controller and method of releasing resting state
WO2013001576A1 (en) * 2011-06-29 2013-01-03 Nec Corporation Multiprocessor system and method of saving energy therein
JP2014521131A (en) * 2011-06-29 2014-08-25 日本電気株式会社 Multiprocessor system and energy saving method thereof
US9323319B2 (en) 2011-06-29 2016-04-26 Nec Corporation Multiprocessor system and method of saving energy therein

Similar Documents

Publication Publication Date Title
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
US7243168B2 (en) Low power CD-ROM player with CD-ROM subsystem for portable computer capable of isolating digital computer bus from CD-ROM drive
JP4611210B2 (en) Non-main CPU / OS based operating environment
US6895448B2 (en) Low-power audio CD player for portable computers
JP2000305672A (en) Electronics compatible to multimedia
JP2002055731A (en) Power control method and recording and reproducing device
US7673156B1 (en) Multimedia electronic device
JP2912349B1 (en) Disk array control method and disk array device
JP2003187517A (en) Personal digital assistant
JP2006323761A (en) Computer device, communication device, and power consumption control method using same
US20080292271A1 (en) Visual and audio data recording and reproducing apparatus
JP2008269745A (en) Reproducing device, program, and reproducing method
JP2000039935A (en) Computer system
JPH03201261A (en) Power saving operation system for disk storage device
JP2001135009A (en) Optical disk device and its control method
JPH0887818A (en) Cd-rom driving apparatus
JP2010134858A (en) Data processing circuit
JPH11191262A (en) Power management device and method therefor
JP4461979B2 (en) Data recording / playback system
JP3702928B2 (en) CD-ROM drive operation control method
JP3788132B2 (en) Control method of air conditioner
JP2514540Y2 (en) Battery-powered circuit
KR19980028750U (en) Device for reducing power consumption of disc player
JPH0689499A (en) Semiconductor integrated circuit
JP3389364B2 (en) Signal processing circuit