JPH06187064A - Method and device for controlling clock - Google Patents

Method and device for controlling clock

Info

Publication number
JPH06187064A
JPH06187064A JP4334031A JP33403192A JPH06187064A JP H06187064 A JPH06187064 A JP H06187064A JP 4334031 A JP4334031 A JP 4334031A JP 33403192 A JP33403192 A JP 33403192A JP H06187064 A JPH06187064 A JP H06187064A
Authority
JP
Japan
Prior art keywords
clock
temperature
clock signal
signal
cpu
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.)
Withdrawn
Application number
JP4334031A
Other languages
Japanese (ja)
Inventor
Rei 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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co Ltd
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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP4334031A priority Critical patent/JPH06187064A/en
Publication of JPH06187064A publication Critical patent/JPH06187064A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To make continuous operations possible by preventing the abnormal operation or fault of the device while suppressing the temperature increase of the device, and preventing the processing of a CPU from being interrupted by the temperature increase of the device. CONSTITUTION:A CPU controller for controlling a CPU 116 is provided with temperature sensors 101-10N for detecting the temperature of a circuit 117 to be controlled by the CPU 116, basic clock and down clock preparation parts 112 and 113 for generating clock signals in different cycles, and control part 111 for outputting a clock switching signal 131 by comparing the outputs of the temperature sensors 101-10N with a set value. Further, a clock selector part 115 is provided to selectively output either a basic clock signal 132 or a low-speed clock signal 133 corresponding to the clock switching signal 131, and the cycle of a clock signal 135 is switched corresponding to temperature state signals 121-12N.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、CPU制御装置におけ
るクロック制御方法及びクロック制御装置に関するもの
である。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a clock control method and a clock control device in a CPU control device.

【0002】[0002]

【従来の技術】一般に、中央処理装置(以下、CPUと
いう)はCPU制御装置により制御が行われている。そ
して、このCPU制御装置は一定周期のクロック信号を
CPUに供給し、このクロック信号に同期させて処理を
行っている。そして、前記CPUの温度上昇による異常
動作や故障を防ぐために、従来、CPUの温度上昇を検
知することによりCPUを停止するという処理を行って
いる。
2. Description of the Related Art Generally, a central processing unit (hereinafter referred to as CPU) is controlled by a CPU control unit. Then, this CPU control device supplies a clock signal of a constant cycle to the CPU and performs processing in synchronization with this clock signal. Then, in order to prevent abnormal operation or failure due to the temperature rise of the CPU, conventionally, a process of stopping the CPU by detecting the temperature rise of the CPU is performed.

【0003】以下、従来のクロック制御方法及びその制
御装置について説明する。図9は従来のクロック制御装
置のブロック図であり、図10は従来のクロック制御装
置のフローチャートである。図9において、201は温
度センサ、202は制御部、203は基本クロック作成
部、204はCPU、205は被制御回路、211は温
度状態信号、212は停止信号、213は基本クロック
信号である。
A conventional clock control method and its control device will be described below. FIG. 9 is a block diagram of a conventional clock controller, and FIG. 10 is a flowchart of the conventional clock controller. In FIG. 9, 201 is a temperature sensor, 202 is a control unit, 203 is a basic clock generation unit, 204 is a CPU, 205 is a controlled circuit, 211 is a temperature state signal, 212 is a stop signal, and 213 is a basic clock signal.

【0004】温度センサ201の出力である温度状態信
号211は制御部202に入力され、この制御部202
の出力である停止信号212はCPU204に入力され
ている。温度センサ201は、クロック制御装置が設置
されている装置の任意の部分に取り付けられ、その部分
の温度を測定している。そして、制御部202はこの温
度センサ201の出力である温度状態信号211を入力
し、その温度状態信号211をあらかじめ設定されてい
る設定値と比較する。この比較により、装置内の温度上
昇を検出することができる。
The temperature state signal 211 output from the temperature sensor 201 is input to the control unit 202, and the control unit 202
The stop signal 212, which is the output of, is input to the CPU 204. The temperature sensor 201 is attached to an arbitrary part of the device in which the clock control device is installed and measures the temperature of that part. Then, the control unit 202 inputs the temperature state signal 211 which is the output of the temperature sensor 201 and compares the temperature state signal 211 with a preset set value. By this comparison, it is possible to detect the temperature rise in the device.

【0005】この温度上昇が設定値を超えた場合に、制
御部202はCPU204に停止信号212を出力し
て、制御部202の動作を停止している。また、基本ク
ロック作成部203より出力される基本クロック信号2
13はCPU204及びその他の被制御回路205に入
力されている。なお、図9のブロック図に示されるクロ
ック制御装置は、任意の装置の中に取り込まれて使用さ
れるものである。
When the temperature rise exceeds the set value, the control unit 202 outputs a stop signal 212 to the CPU 204 to stop the operation of the control unit 202. In addition, the basic clock signal 2 output from the basic clock generation unit 203
13 is input to the CPU 204 and other controlled circuits 205. The clock control device shown in the block diagram of FIG. 9 is used by being incorporated in an arbitrary device.

【0006】以下、図10のフローチャートに従って従
来のクロック制御装置の説明を行う。 ステップS20:一般に、通常の動作状態においては、
CPU204は基本クロック信号213に同期して処理
を実施している。 ステップS21:クロック制御装置が設置されている装
置内の温度が設定温度を超えたか否かの判定を行う。こ
の判定においては、クロック制御装置が設置されている
装置内に取り付けられた温度センサ201の温度状態信
号211を、あらかじめ設定しておいた設定値T1と比
較することによって行われる。
A conventional clock control device will be described below with reference to the flowchart of FIG. Step S20: Generally, in a normal operating state,
The CPU 204 executes processing in synchronization with the basic clock signal 213. Step S21: It is determined whether or not the temperature inside the device in which the clock control device is installed exceeds the set temperature. This determination is performed by comparing the temperature state signal 211 of the temperature sensor 201 installed in the device in which the clock control device is installed with the preset value T1.

【0007】なお、この設定値T1は、温度センサ20
1が取り付けられた位置における設定温度に対応して定
められるものである。つまり、CPU204の動作中に
クロック制御装置が設置されている装置内の温度が上昇
した場合には、温度センサ201はこの温度上昇を検出
し、温度状態信号211を制御ブロック202に入力す
る。
The set value T1 is determined by the temperature sensor 20.
1 is determined in accordance with the set temperature at the position where 1 is attached. That is, when the temperature inside the device in which the clock control device is installed rises during the operation of the CPU 204, the temperature sensor 201 detects this rise in temperature and inputs the temperature state signal 211 to the control block 202.

【0008】制御部202はあらかじめ任意に設定され
た設定温度T1に対応して定められている設定値信号と
前記温度状態信号211の比較を行い、検出温度Tが設
定温度T1以上(T>T1)に上昇した場合は停止信号
212をCPU204に出力し、ステップS22に進
む。一方、制御ブロック202における設定温度T1と
検出温度Tの比較において、検出温度Tが設定温度T1
以下(T<T1)の場合は基本クロック信号213に同
期して処理を続行する。
The control unit 202 compares the set temperature signal 211 set with a preset value signal corresponding to a preset temperature T1 arbitrarily set, and the detected temperature T is equal to or higher than the preset temperature T1 (T> T1). ), The stop signal 212 is output to the CPU 204, and the process proceeds to step S22. On the other hand, in the comparison between the set temperature T1 and the detected temperature T in the control block 202, the detected temperature T is the set temperature T1.
In the following case (T <T1), the processing is continued in synchronization with the basic clock signal 213.

【0009】ステップS22:CPU204は停止信号
212の入力によって、その処理を直ちに停止する。そ
して、装置の温度が降下するまで停止状態を続ける。装
置の温度の降下の判定は前記ステップS21によって行
われ、検出温度が設定温度以下と判定されたときにはス
テップS20に戻り、再び基準クロック信号による動作
を行う。
Step S22: The CPU 204 immediately stops its processing when the stop signal 212 is input. Then, the stopped state is continued until the temperature of the device drops. The determination of the temperature drop of the device is performed in step S21. When the detected temperature is determined to be equal to or lower than the set temperature, the process returns to step S20 and the operation based on the reference clock signal is performed again.

【0010】前記の動作によって、装置の温度上昇によ
る異常動作や故障を防いでいる。
By the above operation, abnormal operation and failure due to the temperature rise of the device are prevented.

【0011】[0011]

【発明が解決しようとする課題】しかしながら、前記従
来のクロック制御装置では、温度上昇によりCPUの動
作を停止してしまうために処理が断続的となり、連続的
な処理が必要なシステムには使用できないという問題点
がある。本発明は、前記した従来のクロック制御装置の
問題点を解決して、温度上昇時において、装置の温度上
昇を抑えて装置の異常動作や故障を防ぎ、かつ装置の温
度上昇によるCPUの処理の中断を防止し、連続的な動
作が可能なクロック制御方法及び制御装置を提供するこ
とを目的とする。
However, the conventional clock control device cannot be used in a system that requires continuous processing because the operation of the CPU is stopped due to the temperature rise and the processing is intermittent. There is a problem. The present invention solves the above-mentioned problems of the conventional clock control device, suppresses the temperature rise of the device at the time of temperature rise, prevents abnormal operation and failure of the device, and improves the processing of the CPU due to the temperature rise of the device. An object of the present invention is to provide a clock control method and a control device capable of preventing interruption and capable of continuous operation.

【0012】[0012]

【課題を解決するための手段】本発明は、前記目的を達
成するために、CPUを制御するCPU制御方法におい
て、CPU及びCPUによって制御される装置の温度を
検出して検出温度を得た後、その検出温度を設定温度と
比較してCPUの動作の同期をとるためのクロック信号
を切り替えるものであり、温度上昇時にはクロック周期
の遅いクロック信号に切り替え、逆に温度下降時にはク
ロック周期の速いクロック信号に切り替えるものであ
る。
In order to achieve the above object, the present invention provides a CPU control method for controlling a CPU after detecting the temperatures of the CPU and a device controlled by the CPU to obtain a detected temperature. The detected temperature is compared with the set temperature to switch the clock signal for synchronizing the operation of the CPU. When the temperature rises, the clock signal is switched to the slow clock cycle, and conversely, when the temperature drops, the fast clock cycle is switched. It switches to a signal.

【0013】また、CPUを制御するCPU制御装置に
おいて、CPU及びCPUによって制御される装置の温
度を検出する温度センサと、周期の異なるクロック信号
を発生するクロック作成部と、温度センサの出力を設定
値と比較してクロック切替信号を出力する制御部と、ク
ロック切替信号によってクロック信号を選択して出力す
るクロックセレクタ部とからなり、検出温度に応じてク
ロックの周期を切り替えるものであり、クロックセレク
タ部におけるクロック信号の選択は、前記クロック切替
信号から得られるタイミング信号により行うことができ
る。また、制御部はその切替え時において、温度上昇時
にはクロック周期の遅いクロック信号に切り替え、温度
下降時にはクロック周期の速いクロック信号に切り替え
るように制御するものである。
Further, in a CPU control device for controlling the CPU, a temperature sensor for detecting the temperature of the CPU and the device controlled by the CPU, a clock generation unit for generating clock signals having different cycles, and an output of the temperature sensor are set. A clock selector that outputs a clock switching signal in comparison with a value and a clock selector that selects and outputs the clock signal according to the clock switching signal, and switches the clock cycle according to the detected temperature. The selection of the clock signal in the unit can be performed by the timing signal obtained from the clock switching signal. Further, at the time of switching, the control unit controls to switch to a clock signal with a slow clock cycle when the temperature rises and to switch to a clock signal with a fast clock cycle when the temperature falls.

【0014】[0014]

【作用】本発明のクロック制御方法及びその制御装置に
よれば、温度上昇時において、温度センサがその温度上
昇を検知して設定温度を超えた場合には、切替信号及び
切替えのタイミング信号を発して基本クロック信号から
クロック周期の遅い低速クロック信号への切替えを行う
ことができ、また、装置の温度が下降した場合には、再
び切替信号及び切替えのタイミング信号を発してクロッ
ク周期の遅い低速クロック信号から基本クロック信号へ
の切替えを行うことができる。
According to the clock control method and the control device of the present invention, when the temperature sensor detects the temperature rise and exceeds the set temperature when the temperature rises, a switching signal and a switching timing signal are issued. It is possible to switch from the basic clock signal to a low-speed clock signal with a slow clock cycle, and when the temperature of the device drops, the switching signal and the switching timing signal are issued again to send a low-speed clock signal with a slow clock cycle. The signal can be switched to the basic clock signal.

【0015】これにより、装置の温度上昇を抑えて装置
の異常動作や故障を防ぎ、かつ装置の温度上昇によるC
PUの処理の中断を防止し、連続的な動作が可能とな
る。
As a result, the temperature rise of the device is suppressed to prevent abnormal operation and failure of the device, and C
It is possible to prevent interruption of processing of the PU and enable continuous operation.

【0016】[0016]

【実施例】以下、本発明の実施例について図面を参照し
ながら詳細に説明する。図1は本発明のクロック制御装
置のブロック図であり、図2は本発明のクロック制御装
置のフローチャートである。図1において、101〜1
0Nは温度センサ、111は制御部、112は基本クロ
ック作成部、113はダウンクロック作成部、114は
タイミング作成部、115はクロックセレクタ部、11
6はCPU、117は被制御回路、121〜12Nは温
度状態信号、131はクロック切替信号、132は基本
クロック信号、133は低速クロック信号、134はタ
イミング信号、135はクロック信号である。
Embodiments of the present invention will now be described in detail with reference to the drawings. FIG. 1 is a block diagram of the clock control device of the present invention, and FIG. 2 is a flowchart of the clock control device of the present invention. In FIG. 1, 101 to 1
0N is a temperature sensor, 111 is a control unit, 112 is a basic clock generation unit, 113 is a down clock generation unit, 114 is a timing generation unit, 115 is a clock selector unit, 11
6 is a CPU, 117 is a controlled circuit, 121 to 12N are temperature state signals, 131 is a clock switching signal, 132 is a basic clock signal, 133 is a low speed clock signal, 134 is a timing signal, and 135 is a clock signal.

【0017】温度センサ101〜10Nは、CPU11
6及びCPU116によって制御される被制御回路11
7等の装置に設置され、装置の温度を検出するものであ
る。温度センサ101〜10Nの設置位置は、装置の複
数箇所に設置することができ、その設置位置の温度状態
を温度状態信号121〜12Nとして制御部111に送
信する。
The temperature sensors 101 to 10N are the CPU 11
6 and controlled circuit 11 controlled by CPU 116
It is installed in a device such as 7 and detects the temperature of the device. The installation positions of the temperature sensors 101 to 10N can be installed at a plurality of places of the apparatus, and the temperature condition of the installation position is transmitted to the control unit 111 as temperature condition signals 121 to 12N.

【0018】制御部111は、温度センサ101〜10
Nから送信される温度状態信号121〜12Nをあらか
じめ定めておいた設定温度T1と比較するものであり、
例えばコンパレータ(図示されていない)等により作成
されている。前記比較結果に従って、制御部111はク
ロック切替信号131をタイミング作成部114に送信
する。このクロック切替信号131は、基本クロック信
号と低速クロック信号の切替えを行うものである。
The control unit 111 includes temperature sensors 101-10.
The temperature condition signals 121 to 12N transmitted from N are compared with a preset temperature T1.
For example, it is created by a comparator (not shown) or the like. According to the comparison result, the control unit 111 transmits the clock switching signal 131 to the timing creation unit 114. The clock switching signal 131 switches between the basic clock signal and the low speed clock signal.

【0019】タイミング作成部114は、クロック切替
信号131を受けてクロック信号135の切替えを行う
ためのタイミングを定めるタイミング信号134をクロ
ックセレクタ部115に送信する。また、クロックセレ
クタ部115には、前記タイミング作成部114からの
タイミング信号の他に、基本クロック作成部112から
の基本クロック信号132とダウンクロック作成部11
3からの低速クロック信号133が入力されており、タ
イミング信号に従って基本クロック信号132と低速ク
ロック信号133の何れかを選択してクロック信号13
5として出力する。
The timing generation unit 114 receives the clock switching signal 131 and transmits a timing signal 134 for determining the timing for switching the clock signal 135 to the clock selector unit 115. Further, in the clock selector 115, in addition to the timing signal from the timing generator 114, the basic clock signal 132 from the basic clock generator 112 and the down clock generator 11 are provided.
3 is input, and either the basic clock signal 132 or the low speed clock signal 133 is selected according to the timing signal to select the clock signal 13
Output as 5.

【0020】なお、ダウンクロック作成部113はカウ
ンタ等により構成され、基本クロック信号132を分周
して基本クロック信号132より遅い周期の低速クロッ
ク信号133を作成するものであり、タイミング作成部
114はフリップフロップ等により構成され、クロック
切替信号131によりクロック切替えのタイミング信号
134を作成する。
The down clock generating section 113 is composed of a counter or the like and divides the basic clock signal 132 to generate a low speed clock signal 133 having a cycle slower than that of the basic clock signal 132. The clock switching signal 131 is composed of a flip-flop or the like and generates a clock switching timing signal 134.

【0021】そして、クロックセレクタ部115から出
力されるクロック信号135は、CPU116あるいは
被制御回路117に入力され、このクロック信号135
によって同期がとられることになる。以下、図1及び図
2の本発明のクロック制御装置のフローチャートに従っ
て説明する。
Then, the clock signal 135 output from the clock selector unit 115 is input to the CPU 116 or the controlled circuit 117, and this clock signal 135 is input.
Will be synchronized by. Hereinafter, description will be made according to the flowcharts of the clock control device of the present invention shown in FIGS.

【0022】ステップS1:通常の動作状態において
は、CPU116及び被制御回路117は基本クロック
信号132に同期して処理を実施している。 ステップS2:制御部111は、温度センサ101〜1
0Nから送信される温度状態信号121〜12Nをあら
かじめ定めておいた設定温度T1と比較し、温度センサ
101〜10Nの検出温度Tが設定温度T1を超えた場
合(T>T1)には、ステップS3においてクロック切
替信号131を出力する。一方、温度センサ101〜1
0Nの検出温度Tが設定温度T1を超えていない場合
(T<T1)には、ステップS1に戻ってCPU116
及び被制御回路117を基本クロック信号132に同期
して駆動する。
Step S1: In a normal operation state, the CPU 116 and the controlled circuit 117 carry out the processing in synchronization with the basic clock signal 132. Step S2: The control unit 111 controls the temperature sensors 101 to 1
If the detected temperature T of the temperature sensors 101 to 10N exceeds the set temperature T1 (T> T1), the temperature state signals 121 to 12N transmitted from 0N are compared with a preset set temperature T1. In S3, the clock switching signal 131 is output. On the other hand, the temperature sensors 101 to 1
When the detected temperature T of 0 N does not exceed the set temperature T1 (T <T1), the process returns to step S1 and the CPU 116
The controlled circuit 117 is driven in synchronization with the basic clock signal 132.

【0023】設定温度T1は、温度センサ101〜10
Nから送信される温度状態信号121〜12Nに対して
1つの設定温度とすることも、また温度センサ101〜
10Nに対応して個々に設定することもできる。設定温
度T1を温度センサ101〜10Nに対応して個々に設
定する場合には、例えば、温度に対する許容度の小さい
位置においては低い設定温度とし、また温度に対する許
容度の大きい位置においては高い設定温度とする等、装
置上の位置の温度に対する重要度に応じてその設定温度
T1を定めることができる。
The set temperature T1 is determined by the temperature sensors 101 to 10
It is also possible to set one set temperature for the temperature state signals 121 to 12N transmitted from N.
It can also be set individually for 10N. When the set temperatures T1 are individually set corresponding to the temperature sensors 101 to 10N, for example, a low set temperature is set at a position where the temperature tolerance is small, and a high set temperature is set at a position where the temperature tolerance is large. The set temperature T1 can be determined according to the importance of the position of the device with respect to the temperature.

【0024】また、この設定温度T1は、クロック信号
135を基本クロック信号132から低速クロック信号
133に切り替えるときの設定温度であり、クロック信
号135を低速クロック信号133から基本クロック信
号132に切り替えるときの設定温度は設定温度T1よ
り低温の設定温度T2に設定される。以下、この設定温
度T1と設定温度T2の二つの設定温度について、図3
のクロック信号の温度ヒステリシス図、及び図4のクロ
ック信号の温度による切替図によって説明する。
The set temperature T1 is a set temperature when the clock signal 135 is switched from the basic clock signal 132 to the low speed clock signal 133, and when the clock signal 135 is switched from the low speed clock signal 133 to the basic clock signal 132. The set temperature is set to a set temperature T2 lower than the set temperature T1. Hereinafter, the two set temperatures of the set temperature T1 and the set temperature T2 will be described with reference to FIG.
The temperature hysteresis diagram of the clock signal and the switching diagram according to the temperature of the clock signal of FIG.

【0025】図1の制御部111における温度の比較に
おいては、設定温度に図3に示すような温度ヒステリシ
スを持たせる。この温度ヒステリシスは、クロック切替
信号131のチャタリングを防止するためのものであ
る。図3において、装置の温度が低温から設定温度T2
までは図ので示される基本クロック信号のクロック周
波数であり、設定温度T2から設定温度T1までは図の
で示される基本クロック信号のクロック周波数であ
り、設定温度T1を超えると図ので示されるように低
速クロック信号のクロック周波数に移動する。この移動
の方向は不可逆的であり、図ので示される矢印の方向
である。
In comparison of the temperatures in the control unit 111 of FIG. 1, the set temperature is given a temperature hysteresis as shown in FIG. This temperature hysteresis is for preventing chattering of the clock switching signal 131. In FIG. 3, the temperature of the apparatus is from low temperature to set temperature T2
Is the clock frequency of the basic clock signal shown by in the figure, and the set temperature T2 to the set temperature T1 is the clock frequency of the basic clock signal shown by in the figure. When the set temperature T1 is exceeded, as shown by Move to the clock frequency of the clock signal. The direction of this movement is irreversible and is the direction of the arrow indicated by in the figure.

【0026】さらに温度が上昇して設定温度T1以上で
は、図ので示されるように低速クロック信号のクロッ
ク周波数である。温度が降下して設定温度T1から設定
温度T2までは図ので示される基本クロック信号のク
ロック周波数である。さらに設定温度T1を超えて降下
すると図ので示されるように基本クロック信号のクロ
ック周波数に移動する。図の及び図のの移動の方向
は不可逆的であり、図の及び図ので示される矢印の
方向である。
When the temperature further rises and is equal to or higher than the set temperature T1, the clock frequency of the low-speed clock signal is as shown in the figure. The temperature falls and the set temperature T1 to the set temperature T2 is the clock frequency of the basic clock signal shown by in the figure. Further, when the temperature drops below the set temperature T1, it moves to the clock frequency of the basic clock signal as shown in the figure. The directions of movement of the figures and of figures are irreversible and are the directions of the arrows indicated by and of the figures.

【0027】次に前記温度ヒステリシスによる、クロッ
ク信号の温度による切替えの状態を図4によって説明す
る。なお、図4の(a)の〜は図3の〜と対応
している。はじめに、装置の温度が設定温度T2より低
温の場合には、図3のに示すように基本クロック信号
により同期がとられる。この状態から温度が上昇して温
度T2から温度T1の間では、図3のに示すようにク
ロック周波数は基本クロック信号であるから、クロック
周波数に変化はなく図4(b)のIのように基本クロッ
ク信号により同期がとられる。
Next, the switching state of the clock signal depending on the temperature due to the temperature hysteresis will be described with reference to FIG. In addition, (a) of FIG. 4 corresponds to (a) of FIG. First, when the temperature of the device is lower than the set temperature T2, synchronization is achieved by the basic clock signal as shown in FIG. From this state, when the temperature rises and the temperature is between T2 and T1, the clock frequency is the basic clock signal as shown in FIG. 3, so there is no change in the clock frequency, and as shown by I in FIG. 4B. Synchronization is achieved by the basic clock signal.

【0028】次に、温度が設定温度T1を超えると図3
のに示すようにクロック周波数は基本クロック信号か
ら低速クロック信号に切り替えられ、図4の(b)のII
のように低速クロック信号により同期がとられる。図3
のに示すように、温度が設定温度T1以上において
は、クロック周波数は低速クロック信号であり、またこ
の状態から温度が降下して図3のに示されるように温
度が設定温度T2までの間も低速クロック信号となり、
結局、図4の〜においては、図4の(b)のIIに示
すように低速クロック信号により同期がとられる。
Next, when the temperature exceeds the set temperature T1, FIG.
The clock frequency is switched from the basic clock signal to the low-speed clock signal as shown in, and II of FIG.
As described above, the low-speed clock signal is used for synchronization. Figure 3
As shown in, the clock frequency is a low-speed clock signal when the temperature is equal to or higher than the set temperature T1, and the temperature drops from this state until the temperature reaches the set temperature T2 as shown in FIG. Becomes a low-speed clock signal,
After all, in FIGS. 4A to 4C, synchronization is achieved by the low-speed clock signal as indicated by II in FIG. 4B.

【0029】さらに、温度が降下して温度T2となると
図3のに示されるようにクロック周波数は低速クロッ
ク信号から基本クロック信号に移動する。これによって
図4の(b)のIIIに示されるように基本クロック信号
により同期がとられる。これによって、低速クロック信
号と基本クロック信号の間の切替えにおけるチャタリン
グを防止することができる。
Further, when the temperature drops to the temperature T2, the clock frequency shifts from the low speed clock signal to the basic clock signal as shown in FIG. As a result, synchronization is achieved with the basic clock signal as shown by III in FIG. This can prevent chattering in switching between the low speed clock signal and the basic clock signal.

【0030】ステップS3:前記ステップS2におい
て、温度センサ101〜10Nの検出温度Tが設定温度
T1を超えた場合には、制御部111はクロック切替信
号131を発生する。このクロック切替信号131は、
クロック信号を基本クロック信号132から低速クロッ
ク信号133に切り替えるためのものであり、タイミン
グ作成部114に送出される。
Step S3: In the step S2, when the detected temperature T of the temperature sensors 101 to 10N exceeds the set temperature T1, the control section 111 generates the clock switching signal 131. This clock switching signal 131 is
It is for switching the clock signal from the basic clock signal 132 to the low-speed clock signal 133, and is sent to the timing generation unit 114.

【0031】ステップS4:タイミング作成部114に
より作成されるタイミング信号134は、前記クロック
切替信号131に基づいて実際に基本クロック信号13
2と低速クロック信号113の切替えを行うタイミング
をとるものであり、このステップにおいてこの切替えの
タイミングを監視する。これは、切替え時にクロック波
形に異常が出ないようにするためである。
Step S4: The timing signal 134 generated by the timing generation unit 114 is actually the basic clock signal 13 based on the clock switching signal 131.
2 and the low-speed clock signal 113 is switched, and the switching timing is monitored in this step. This is to prevent abnormalities in the clock waveform during switching.

【0032】基本クロック信号132と低速クロック信
号133の信号の切替え時において、クロック信号の間
隔にずれがない時点を計り、その時点においてステップ
S5の処理を行う。 ステップS5:このステップにおいて、タイミング作成
部114はタイミング信号134をクロックセレクタ部
115に送信して、基本クロック信号132と低速クロ
ック信号133の選択を行う。
At the time of switching between the basic clock signal 132 and the low-speed clock signal 133, the time when there is no difference in the intervals of the clock signals is measured, and the processing of step S5 is performed at that time. Step S5: In this step, the timing generation unit 114 transmits the timing signal 134 to the clock selector unit 115 to select the basic clock signal 132 and the low speed clock signal 133.

【0033】ここで、このタイミング信号の機能につい
て説明する。図5はクロック切替信号により選択される
クロック信号図であり、図6はタイミング信号により選
択されるクロック信号図である。はじめに、図5によっ
て、クロック信号をクロック切替信号により選択した場
合の状態を説明する。図5において、(a)は基本クロ
ック信号132、(b)は低速クロック信号133、
(c),(e),(g),(i)はクロック切替信号1
31、(d),(f),(h),(j)はクロック信号
135を示している。そして、クロック信号135
(d),(f),(h),(j)はそれぞれクロック切
替信号131(c),(e),(g),(i)によって
選択されるものであり、それぞれ(A),(B),
(C),(D)によって表すものとする。
Here, the function of the timing signal will be described. FIG. 5 is a clock signal diagram selected by the clock switching signal, and FIG. 6 is a clock signal diagram selected by the timing signal. First, a state in which the clock signal is selected by the clock switching signal will be described with reference to FIG. In FIG. 5, (a) is the basic clock signal 132, (b) is the low-speed clock signal 133,
(C), (e), (g) and (i) are clock switching signals 1
Reference numerals 31, (d), (f), (h), and (j) indicate the clock signal 135. Then, the clock signal 135
(D), (f), (h), and (j) are selected by the clock switching signals 131 (c), (e), (g), and (i), respectively, and are (A) and (A), respectively. B),
It shall be represented by (C) and (D).

【0034】ここで、(b)で示される低速クロック信
号133は、(a)で示される基本クロック信号132
を3分の1に分周したものとし、例えば、図(a)のt
0,t3において信号が出力されるものとする。 (A)の場合について:(c)に示されるように、基本
クロック信号132の時刻t0の直前の時刻t10にお
いてクロック切替信号131が発生すると、(d)のク
ロック信号135は時刻t0から低速クロック信号13
3を出力する。
Here, the low-speed clock signal 133 shown in (b) is the basic clock signal 132 shown in (a).
Is divided into 1/3 and, for example, t in FIG.
It is assumed that a signal is output at 0 and t3. In the case of (A): As shown in (c), when the clock switching signal 131 is generated at time t10 immediately before the time t0 of the basic clock signal 132, the clock signal 135 in (d) is the low-speed clock from the time t0. Signal 13
3 is output.

【0035】この場合には、(d)に示されるように、
クロック信号135の切替え前後の基本クロック信号1
32と低速クロック信号133の時間間隔はtとなって
いる。 (B)の場合について:(e)に示されるように、
(a)のクロック信号132の時刻t0と時刻t1の間
の時刻t11においてクロック切替信号131が発生す
ると、(f)で示されるクロック信号135は時刻t3
から低速クロック信号133を出力する。
In this case, as shown in (d),
Basic clock signal 1 before and after switching the clock signal 135
The time interval between 32 and the low-speed clock signal 133 is t. For (B): As shown in (e),
When the clock switching signal 131 is generated at the time t11 between the time t0 and the time t1 of the clock signal 132 of (a), the clock signal 135 shown in (f) is changed to the time t3.
Outputs the low-speed clock signal 133.

【0036】この場合には、クロック信号の切替え前後
の基本クロック信号132と低速クロック信号133の
時間間隔は3tとなっている。 (C)の場合について:(g)に示されるように、
(a)の基本クロック信号132の時刻t1と時刻t2
の間の時刻t12においてクロック切替信号131が発
生すると、(h)で示されるクロック信号135は時刻
t3から低速クロック信号133を出力する。
In this case, the time interval between the basic clock signal 132 and the low-speed clock signal 133 before and after the switching of the clock signal is 3t. In the case of (C): As shown in (g),
Time t1 and time t2 of the basic clock signal 132 in (a)
When the clock switching signal 131 is generated at time t12 during the period, the clock signal 135 shown in (h) outputs the low-speed clock signal 133 from time t3.

【0037】この場合には、クロック信号135の切替
え前後の基本クロック信号132と低速クロック信号1
33の時間間隔は2tとなっている。 (D)の場合について:(i)に示されるように、
(a)の基本クロック信号132の時刻t2と時刻t3
の間の時刻t13においてクロック切替信号131が発
生すると、(j)で示されるクロック信号135は時刻
t3から低速クロック信号133を出力する。
In this case, the basic clock signal 132 and the low-speed clock signal 1 before and after the switching of the clock signal 135.
The time interval of 33 is 2t. In case of (D): As shown in (i),
Time t2 and time t3 of the basic clock signal 132 in (a)
When the clock switching signal 131 is generated at time t13 during the period, the clock signal 135 shown in (j) outputs the low-speed clock signal 133 from time t3.

【0038】この場合には、クロック信号の切替え前後
の基本クロック信号132と低速クロック信号133の
時間間隔は1tとなっている。したがって、クロック切
替信号131の発生の時刻によって、クロック信号13
5の切替え前後の基本クロック信号132と低速クロッ
ク信号133の時間間隔に相違が生じることになる。
In this case, the time interval between the basic clock signal 132 and the low-speed clock signal 133 before and after the clock signal switching is 1t. Therefore, depending on the time of generation of the clock switching signal 131, the clock signal 13
The difference between the time intervals of the basic clock signal 132 and the low-speed clock signal 133 before and after the switching of No. 5 will occur.

【0039】次に、図6によって、クロック信号をタイ
ミング信号により選択した場合の状態を説明する。図6
において、(a)は基本クロック信号132、(b)は
低速クロック信号133、(c),(f),(i),
(l)はクロック切替信号131、(d),(g),
(j),(m)はタイミング信号134、(e),
(h),(k),(n)はクロック信号135を示して
いる。そして、クロック信号135(e),(h),
(k),(n)はそれぞれタイミング信号134
(d),(g),(j),(m)によって選択されるも
のであり、それぞれ(A),(B),(C),(D)に
よって表すものとする。
Next, the state when the clock signal is selected by the timing signal will be described with reference to FIG. Figure 6
, (A) is the basic clock signal 132, (b) is the low-speed clock signal 133, (c), (f), (i),
(L) is the clock switching signal 131, (d), (g),
(J) and (m) are timing signals 134, (e),
(H), (k) and (n) show the clock signal 135. The clock signals 135 (e), (h),
(K) and (n) are timing signals 134, respectively.
It is selected by (d), (g), (j), and (m), and is represented by (A), (B), (C), and (D), respectively.

【0040】ここで、(b)で示される低速クロック信
号133は、(a)で示される基本クロック信号132
を3分の1に分周したものとし、例えば、(a)のt
0,t3において信号が出力されるものとする。この図
6で示すタイミング信号134は、クロック信号135
の切替え前後の基本クロック信号132と低速クロック
信号133の時間間隔を3tとする場合とする。このた
めにタイミング信号134の発生のタイミングを、例え
ばクロック切替信号131の発生後の始めの基本クロッ
ク信号132から時間2tが経った時点とする。
Here, the low-speed clock signal 133 shown in (b) is the basic clock signal 132 shown in (a).
Is divided into 1/3, for example, t in (a)
It is assumed that a signal is output at 0 and t3. The timing signal 134 shown in FIG. 6 is the clock signal 135.
It is assumed that the time interval between the basic clock signal 132 and the low-speed clock signal 133 before and after the switching is set to 3t. For this reason, the timing of generation of the timing signal 134 is, for example, the point in time 2t after the first basic clock signal 132 after the generation of the clock switching signal 131.

【0041】なお、このタイミング信号134の発生の
タイミングは、この例に限らず他の時点とすることも可
能である。 (A)の場合について:(c)に示されるように、クロ
ック信号132の時刻t0に直前の時刻t10において
クロック切替信号131が発生すると、(d)のタイミ
ング信号134を時刻t2において発生させる。(e)
のクロック信号135はこのタイミング信号134によ
り時刻t3から低速クロック信号133を出力する。
The timing of generation of the timing signal 134 is not limited to this example, and it is possible to use another timing. In the case of (A): As shown in (c), when the clock switching signal 131 is generated at time t10 immediately before time t0 of the clock signal 132, the timing signal 134 of (d) is generated at time t2. (E)
The clock signal 135 of 1 outputs the low-speed clock signal 133 from time t3 according to the timing signal 134.

【0042】この場合には、クロック信号の切替え前後
の基本クロック信号132と低速クロック信号133の
時間間隔は3tとなっている。 (B)の場合について:(f)に示されるように、基本
クロック信号132の時刻t0と時刻t1との間との間
の時刻t11においてクロック切替信号131が発生す
ると、(g)のタイミング信号134を時刻t1から時
間間隔2tの後の時刻t3において発生させる。(h)
のクロック信号135はこのタイミング信号134によ
り時刻t3から低速クロック信号133を出力する。
In this case, the time interval between the basic clock signal 132 and the low-speed clock signal 133 before and after the switching of the clock signal is 3t. In the case of (B): As shown in (f), when the clock switching signal 131 is generated at the time t11 between the time t0 and the time t1 of the basic clock signal 132, the timing signal (g) is generated. 134 is generated at time t3, which is a time interval 2t after time t1. (H)
The clock signal 135 of 1 outputs the low-speed clock signal 133 from time t3 according to the timing signal 134.

【0043】この場合には、クロック信号135の切替
え前後の基本クロック信号132と低速クロック信号1
33の時間間隔は3tとなっている。 (C)の場合について:(i)に示されるように、基本
クロック信号132の時刻t1と時刻t2との間 の時
刻t12においてクロック切替信号131が発生する
と、(j)のタイミング信号134を時刻t2から時間
間隔2tの後の時刻t4において発生させる。(k)の
クロック信号135はこのタイミング信号134により
時刻t6から低速クロック信号133を出力する。
In this case, the basic clock signal 132 and the low-speed clock signal 1 before and after the switching of the clock signal 135.
The time interval of 33 is 3t. Case (C): As shown in (i), when the clock switching signal 131 is generated at time t12 between the time t1 and the time t2 of the basic clock signal 132, the timing signal 134 of (j) is changed to the time. It is generated at time t4 after time interval 2t from t2. The clock signal 135 of (k) outputs the low-speed clock signal 133 from time t6 according to the timing signal 134.

【0044】この場合には、クロック信号135の切替
え前後の基本クロック信号132と低速クロック信号1
33の時間間隔は3tとなっている。 (D)の場合について:(l)に示されるように、基本
クロック信号132の時刻t2と時刻t3との間 の時
刻t13においてクロック切替信号131が発生する
と、(m)のタイミング信号134を時刻t3から時間
間隔2tの後の時刻t5において発生させる。(n)の
クロック信号135はこのタイミング信号134により
時刻t6から低速クロック信号133を出力する。
In this case, the basic clock signal 132 and the low-speed clock signal 1 before and after the switching of the clock signal 135.
The time interval of 33 is 3t. In the case of (D): As shown in (l), when the clock switching signal 131 is generated at the time t13 between the time t2 and the time t3 of the basic clock signal 132, the timing signal 134 of (m) is changed to the time. It is generated at time t5 after time interval 2t from t3. The clock signal 135 of (n) outputs the low-speed clock signal 133 from time t6 according to the timing signal 134.

【0045】この場合には、クロック信号135の切替
え前後の基本クロック信号132と低速クロック信号1
33の時間間隔は3tとなっている。したがって、タイ
ミング信号134を使用することによって、クロック切
替信号131の発生の時刻にかかわらずクロック信号1
35の切替え前後の基本クロック信号132と低速クロ
ック信号133の時間間隔を一定に保持することが可能
となる。
In this case, the basic clock signal 132 and the low-speed clock signal 1 before and after the switching of the clock signal 135.
The time interval of 33 is 3t. Therefore, by using the timing signal 134, the clock signal 1 is generated regardless of the time when the clock switching signal 131 is generated.
The time interval between the basic clock signal 132 and the low-speed clock signal 133 before and after the switching of 35 can be held constant.

【0046】ステップS6:前記ステップS5によって
タイミング信号134を発生してクロックセレクタ11
5に入力し、基本クロック信号132から低速クロック
信号133への切替えを行う。CPU116と被制御回
路117はこの低速クロック信号133によって同期が
とられることになる。
Step S6: The clock signal is generated by generating the timing signal 134 in the step S5.
5 to switch the basic clock signal 132 to the low-speed clock signal 133. The CPU 116 and the controlled circuit 117 are synchronized by the low speed clock signal 133.

【0047】ステップS7:低速クロック信号133に
よって同期をとることによって、CPU116と被制御
回路117は低速のクロック信号135で動作を行う。
これにより、CPU116の処理は一時的に低速度で運
転されるものの、処理の連続性は保たれ、かつ、低速処
理により消費電力が低下するため、発熱量が減少し、温
度が降下する。
Step S7: By synchronizing with the low speed clock signal 133, the CPU 116 and the controlled circuit 117 operate with the low speed clock signal 135.
As a result, although the processing of the CPU 116 is temporarily operated at a low speed, the continuity of the processing is maintained and the power consumption is reduced due to the low-speed processing, so that the heat generation amount is reduced and the temperature is lowered.

【0048】そこで、このステップS7において、前記
ステップS2と同じように温度センサ101〜10Nの
温度状態信号121〜12Nの検出温度Tと設定温度T
2との比較を行い、設定温度T2以下となったか否かの
判定を行う。このステップにおける設定温度を前記ステ
ップS2における設定温度T1よりも低温の設定温度T
2とするのは、前記ステップS2で説明したヒステリシ
ス特性によって、基本クロック信号132と低速クロッ
ク信号133の切替え時のチャタリング等の誤動作を防
止するためである。
Therefore, in step S7, the detected temperature T and the set temperature T of the temperature state signals 121 to 12N of the temperature sensors 101 to 10N are set in the same manner as in step S2.
2 is compared to determine whether or not the temperature has become equal to or lower than the set temperature T2. The set temperature in this step is lower than the set temperature T1 in step S2.
The reason why the value is set to 2 is to prevent malfunction such as chattering at the time of switching between the basic clock signal 132 and the low speed clock signal 133 due to the hysteresis characteristic described in step S2.

【0049】検出温度Tが設定温度T2以下に降下した
場合には、ステップS8に進み前記ステップS3と同様
にクロック切替信号131を発生させる。一方、検出温
度Tが設定温度T2以上で温度降下が不十分な場合に
は、低速クロック信号133による同期を続ける。な
お、前記ステップS2と同じように温度センサ101〜
10Nは複数個として、装置の任意の位置に設置するこ
とができる。
When the detected temperature T drops below the set temperature T2, the process proceeds to step S8, and the clock switching signal 131 is generated as in step S3. On the other hand, when the detected temperature T is equal to or higher than the set temperature T2 and the temperature drop is insufficient, the synchronization with the low-speed clock signal 133 is continued. It should be noted that the temperature sensor 101-
A plurality of 10N can be installed at any position of the apparatus.

【0050】また、設定温度T2は、前記設定温度T1
と同様に温度センサ101〜10Nから送信される温度
状態信号121〜12Nに対して1つの設定温度とする
ことも、また温度センサ101〜10Nに対応して個々
に設定することもできる。設定温度T2を温度センサ1
01〜10Nに対応して個々に設定する場合には、例え
ば、温度に対する許容度の小さい位置においては低い設
定温度とし、また温度に対する許容度の大きい位置にお
いては高い設定温度とする等、装置上の位置の温度に対
する重要度に応じてその設定温度T2を定めることがで
きる。
The set temperature T2 is the set temperature T1.
Similarly, the temperature state signals 121 to 12N transmitted from the temperature sensors 101 to 10N can be set to one set temperature, or can be individually set corresponding to the temperature sensors 101 to 10N. Set temperature T2 to temperature sensor 1
In the case of individually setting in correspondence with 01 to 10 N, for example, a low setting temperature is set at a position where the temperature tolerance is low, and a high setting temperature is set at a position where the temperature tolerance is high. The set temperature T2 can be determined according to the degree of importance of the position at the temperature.

【0051】ここで、図7の本発明のクロック制御装置
の比較器の第1の構成図、及び図8の本発明のクロック
制御装置の比較器の第2の構成図によって本発明のクロ
ック制御装置の比較器の構成について説明する。図7は
設定温度T1を一つとして、複数の温度センサ101〜
10Nの温度状態信号121〜12Nの複数の検出温度
Tを一つの設定温度T1と比較するものである。
Here, the clock control of the present invention will be described with reference to the first configuration diagram of the comparator of the clock control device of the present invention of FIG. 7 and the second configuration diagram of the comparator of the clock control device of the present invention of FIG. The configuration of the comparator of the device will be described. FIG. 7 shows a plurality of temperature sensors 101 to 101 with one set temperature T1.
The plurality of detected temperatures T of the 10N temperature state signals 121 to 12N are compared with one set temperature T1.

【0052】例えば、制御部111を一つの比較器Cと
メモリMとによって構成する。メモリMには、設定温度
T1が記憶されている。比較器Cは、複数の温度センサ
101〜10Nの温度状態信号121〜12Nとメモリ
Mからの設定温度T1に対応する信号を入力して、複数
の検出温度Tと一つの設定温度T1の比較を行い、その
出力であるクロック切替信号131をタイミング作成部
114に送信する。
For example, the control unit 111 is composed of one comparator C and one memory M. The memory M stores the set temperature T1. The comparator C inputs the temperature state signals 121 to 12N of the plurality of temperature sensors 101 to 10N and the signal corresponding to the set temperature T1 from the memory M, and compares the plurality of detected temperatures T with one set temperature T1. Then, the output, the clock switching signal 131, is transmitted to the timing generation unit 114.

【0053】また、図8は設定温度T1を複数として、
複数の温度センサ101〜10Nの温度状態信号121
〜12Nの複数の検出温度Tをそれぞれに対応する複数
の設定温度T1と比較するものである。図において、例
えば、制御部111を複数個の比較器C1〜CNと複数
個のメモリM1〜MNとによって構成する。メモリM1
〜MNには、それぞれ設定温度T1が設定され記憶され
ている。なお、これらの設定温度は全てを異ならせるこ
とも、また一部または全部を同一の設定温度とすること
も可能である。
In FIG. 8, the set temperatures T1 are plural,
Temperature state signals 121 of the plurality of temperature sensors 101 to 10N
It is intended to compare a plurality of detected temperatures T of up to 12N with a plurality of set temperatures T1 respectively corresponding thereto. In the figure, for example, the control unit 111 is composed of a plurality of comparators C1 to CN and a plurality of memories M1 to MN. Memory M1
A set temperature T1 is set and stored in each of the to MN. It should be noted that all of these set temperatures may be different, or some or all of them may be the same set temperature.

【0054】比較器C1〜CNは、複数の温度センサ1
01〜10Nの温度状態信号121〜12NとメモリM
1〜MNからの設定温度T1に対応する信号を入力し
て、複数個の検出温度Tと複数個の設定温度T1の比較
を行い、その出力であるクロック切替信号131をタイ
ミング作成部114に送信する。通常、この複数の検出
温度Tと複数個の設定温度T1の比較を行ってクロック
切替信号131の発生は、装置の安定した動作を確保す
る上から設定温度T1を超えるものが一つでもあった場
合に行うように設定するが、その他、重要度に応じてあ
らかじめ定めた温度センサを優先するという設定や、設
定温度を超えた温度センサの個数があらかじめ設定して
おいた設定個数を超えたときとするという設定とするこ
とも可能である。
The comparators C1 to CN include a plurality of temperature sensors 1
01-10N temperature state signals 121-12N and memory M
A signal corresponding to the set temperature T1 from 1 to MN is input, a plurality of detected temperatures T and a plurality of set temperatures T1 are compared, and a clock switching signal 131 which is an output thereof is transmitted to the timing generation unit 114. To do. Usually, the plurality of detected temperatures T and the plurality of set temperatures T1 are compared to generate the clock switching signal 131. In order to ensure stable operation of the device, one of them exceeds the set temperature T1. However, if the number of temperature sensors that exceed the set temperature exceeds the preset number, the temperature sensor that has been set according to the importance is given priority. It is also possible to set it as.

【0055】ステップS8:このステップは前記ステッ
プS3と同様の処理を行うものであり、温度センサ10
1〜10Nの検出温度Tが設定温度T2以下となった場
合に、制御部111はクロック切替信号131を発生す
る。このクロック切替信号131は、クロック信号13
5を低速クロック信号133から基本クロック信号13
2に切り替えるためのものであり、タイミング作成部1
14に送出される。
Step S8: In this step, the same processing as in step S3 is performed, and the temperature sensor 10
When the detected temperature T of 1 to 10 N becomes equal to or lower than the set temperature T2, the control unit 111 generates the clock switching signal 131. The clock switching signal 131 is the clock signal 13
5 from the low speed clock signal 133 to the basic clock signal 13
It is for switching to 2, and the timing creation unit 1
14 is sent.

【0056】ステップS9:このステップは前記ステッ
プS4と同様の処理を行うものであり、タイミング作成
部114により作成されるタイミング信号134は、前
記クロック切替信号131に基づいて実際に基本クロッ
ク信号132と低速クロック信号133の切替えを行う
タイミングをとるものであり、このステップにおいてこ
の切替えのタイミングを監視し、基本クロック信号13
2と低速クロック信号133の信号の切替え時におい
て、クロック信号の間隔にずれがない時点を計り、その
時点においてステップS10の処理を行う。
Step S9: This step performs the same processing as step S4, and the timing signal 134 generated by the timing generation unit 114 is actually the basic clock signal 132 based on the clock switching signal 131. The timing of switching the low-speed clock signal 133 is taken, and the timing of this switching is monitored in this step, and the basic clock signal 13
2 and the low-speed clock signal 133 are switched, the time when there is no difference in the intervals of the clock signals is measured, and the process of step S10 is performed at that time.

【0057】ステップS10:このステップは前記ステ
ップS4と同様の処理を行うものであり、タイミング作
成部114はタイミング信号134をクロックセレクタ
部115に送信して、基本クロック信号132と低速ク
ロック信号133の選択を行う。 ステップS11:前記ステップS10によってタイミン
グ信号134を発生してクロックセレクタ115に入力
し、低速クロック信号133から基本クロック信号13
2への切替えを行う。
Step S10: In this step, the same processing as in step S4 is performed, and the timing generation section 114 transmits the timing signal 134 to the clock selector section 115, and the basic clock signal 132 and the low-speed clock signal 133 are transmitted. Make a choice. Step S11: The timing signal 134 is generated and input to the clock selector 115 by the step S10, and the low-speed clock signal 133 to the basic clock signal 13 are generated.
Switch to 2.

【0058】これによって、CPU116と被制御回路
117は再び基本クロック信号132によって同期がと
られ、通常動作速度での処理が行われることになる。こ
の後は、再びステップS2に戻り、検出温度Tと設定温
度T1の比較を行って、クロック信号を選択して温度制
御を行う。なお、本発明は上記実施例に限定されるもの
ではなく、本発明の趣旨に基づいて種々変形することが
可能であり、これらを本発明の範囲から排除するもので
はない。
As a result, the CPU 116 and the controlled circuit 117 are again synchronized by the basic clock signal 132, and the processing at the normal operating speed is performed. After that, the process returns to step S2 again, the detected temperature T is compared with the set temperature T1, the clock signal is selected, and the temperature control is performed. It should be noted that the present invention is not limited to the above-described embodiments, and various modifications can be made based on the spirit of the present invention, and these are not excluded from the scope of the present invention.

【0059】[0059]

【発明の効果】以上、詳細に説明したように本発明によ
れば、CPU制御装置において、装置内の温度を監視す
る温度センサと装置内部の温度に応じてクロック周期を
切り替える手段を設け、装置の温度が上昇した場合にク
ロック信号を遅い周期のクロック信号に切り替え、処理
速度を低速度に抑えることで装置の温度上昇を防ぎ、ま
た、温度が降下した場合には再度クロック周期の速いク
ロック信号に切り替えて処理を継続するため、装置の温
度が上昇しても連続した動作が保証されるものである。
As described above in detail, according to the present invention, the CPU control device is provided with a temperature sensor for monitoring the temperature inside the device and a means for switching the clock cycle according to the temperature inside the device. When the temperature rises, the clock signal is switched to a clock signal with a slow cycle to keep the processing speed low to prevent the equipment temperature from rising, and when the temperature drops, a clock signal with a fast clock cycle again. Since the processing is switched to and the processing is continued, continuous operation is guaranteed even if the temperature of the apparatus rises.

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

【図1】本発明のクロック制御装置のブロック図であ
る。
FIG. 1 is a block diagram of a clock control device of the present invention.

【図2】本発明のクロック制御装置のフローチャートで
ある。
FIG. 2 is a flowchart of the clock control device of the present invention.

【図3】本発明のクロック制御装置のクロック信号の温
度ヒステリシス図である。
FIG. 3 is a temperature hysteresis diagram of a clock signal of the clock control device of the present invention.

【図4】本発明のクロック制御装置のクロック信号の温
度による切替図である。
FIG. 4 is a switching diagram according to temperature of a clock signal of the clock control device of the present invention.

【図5】本発明のクロック制御装置のクロック切替信号
により選択されるクロック信号図である。
FIG. 5 is a clock signal diagram selected by a clock switching signal of the clock control device of the present invention.

【図6】本発明のクロック制御装置のタイミング信号に
より選択されるクロック信号図である。
FIG. 6 is a clock signal diagram selected by a timing signal of the clock control device of the present invention.

【図7】本発明のクロック制御装置の比較器の第1の構
成図である。
FIG. 7 is a first configuration diagram of a comparator of the clock control device of the present invention.

【図8】本発明のクロック制御装置の比較器の第2の構
成図である。
FIG. 8 is a second configuration diagram of a comparator of the clock control device of the present invention.

【図9】従来のクロック制御装置のブロック図である。FIG. 9 is a block diagram of a conventional clock control device.

【図10】従来のクロック制御装置のフローチャートで
ある。
FIG. 10 is a flowchart of a conventional clock control device.

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

101〜10N 温度センサ 111 制御部 112 基本クロック作成部 113 ダウンクロック作成部 114 タイミング作成部 115 クロックセレクタ部 116 CPU 117 被制御回路 121〜12N 温度状態信号 131 クロック切替信号 132 基本クロック信号 133 低速クロック信号 134 タイミング信号 135 クロック信号 101-10N Temperature sensor 111 Control part 112 Basic clock creation part 113 Down clock creation part 114 Timing creation part 115 Clock selector part 116 CPU 117 Controlled circuit 121-12N Temperature condition signal 131 Clock switching signal 132 Basic clock signal 133 Low speed clock signal 134 Timing signal 135 Clock signal

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 CPUを制御するCPU制御方法におい
て、(a)CPU及びCPUによって制御される装置の
温度を検出して検出温度を得た後、(b)前記検出温度
を設定温度と比較し、(c)前記比較に基づいて、前記
CPUの動作の同期をとるためのクロック信号を切り替
えることを特徴とするクロック制御方法。
1. A CPU control method for controlling a CPU, comprising: (a) detecting a temperature of a CPU and a device controlled by the CPU to obtain a detected temperature; and (b) comparing the detected temperature with a set temperature. (C) A clock control method for switching a clock signal for synchronizing the operation of the CPU based on the comparison.
【請求項2】 前記クロック信号の切替えにおいて、温
度上昇時にはクロック周期の遅いクロック信号に切り替
える請求項1記載のクロック制御方法。
2. The clock control method according to claim 1, wherein, when the clock signal is switched, the clock signal is switched to a clock signal having a slow clock cycle when the temperature rises.
【請求項3】 前記クロック信号の切替えにおいて、温
度下降時にはクロック周期の速いクロック信号に切り替
える請求項1記載のクロック制御方法。
3. The clock control method according to claim 1, wherein when the temperature of the clock signal is switched, the clock signal is switched to a clock signal having a faster clock cycle.
【請求項4】 CPUを制御するCPU制御装置におい
て、(a)CPU及びCPUによって制御される装置の
温度を検出する温度センサと、(b)周期の異なるクロ
ック信号を発生するクロック作成部と、(c)前記温度
センサの出力を設定値と比較してクロック切替信号を出
力する制御部と、(d)前記クロック切替信号によって
前記クロック信号を選択して出力するクロックセレクタ
部とからなり、(e)前記検出温度に応じてクロックの
周期を切り替えることを特徴とするクロック制御装置。
4. A CPU control device for controlling a CPU, comprising: (a) a temperature sensor that detects the temperature of the CPU and the device controlled by the CPU; and (b) a clock generation unit that generates clock signals with different cycles. (C) a control unit that compares the output of the temperature sensor with a set value and outputs a clock switching signal; and (d) a clock selector unit that selects and outputs the clock signal according to the clock switching signal. e) A clock control device characterized in that the cycle of the clock is switched according to the detected temperature.
【請求項5】 前記クロックセレクタ部におけるクロッ
ク信号の選択は、前記クロック切替信号から得られるタ
イミング信号により行う請求項4記載のクロック制御装
置。
5. The clock control device according to claim 4, wherein the clock signal is selected in the clock selector unit by a timing signal obtained from the clock switching signal.
【請求項6】 前記クロック信号の選択において、温度
上昇時にはクロック周期の遅いクロック信号に切り替え
る請求項4又は5記載のクロック制御装置。
6. The clock control device according to claim 4, wherein in the selection of the clock signal, when the temperature rises, the clock signal is switched to a clock signal having a slow clock cycle.
【請求項7】 前記クロック信号の選択において、温度
下降時にはクロック周期の速いクロック信号に切り替え
る請求項4又は5記載のクロック制御装置。
7. The clock control device according to claim 4, wherein in the selection of the clock signal, the clock signal is switched to a clock signal having a fast clock cycle when the temperature drops.
JP4334031A 1992-12-15 1992-12-15 Method and device for controlling clock Withdrawn JPH06187064A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4334031A JPH06187064A (en) 1992-12-15 1992-12-15 Method and device for controlling clock

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4334031A JPH06187064A (en) 1992-12-15 1992-12-15 Method and device for controlling clock

Publications (1)

Publication Number Publication Date
JPH06187064A true JPH06187064A (en) 1994-07-08

Family

ID=18272734

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4334031A Withdrawn JPH06187064A (en) 1992-12-15 1992-12-15 Method and device for controlling clock

Country Status (1)

Country Link
JP (1) JPH06187064A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR960032148A (en) * 1995-02-28 1996-09-17 윌리엄 이. 힐러 Real time power conservation and temperature control equipment for computers
JPH08328688A (en) * 1995-05-31 1996-12-13 Nec Corp Temperature abnormarity processing system and data processing unit having temperature abnormarity processing function
KR20020034780A (en) * 2000-11-03 2002-05-09 윤종용 Portable Computer and indicating method thereof
US7353133B2 (en) * 2002-11-04 2008-04-01 Samsung Electronics Co., Ltd. Temperature-based CPU operation frequency controller of a CPU powered by a CPU power supply to protect against multiple circuit overheating
JP2013033469A (en) * 2011-07-29 2013-02-14 Samsung Electronics Co Ltd Method for controlling temperature of terminal and terminal supporting the same

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR960032148A (en) * 1995-02-28 1996-09-17 윌리엄 이. 힐러 Real time power conservation and temperature control equipment for computers
JPH08328688A (en) * 1995-05-31 1996-12-13 Nec Corp Temperature abnormarity processing system and data processing unit having temperature abnormarity processing function
KR20020034780A (en) * 2000-11-03 2002-05-09 윤종용 Portable Computer and indicating method thereof
US7353133B2 (en) * 2002-11-04 2008-04-01 Samsung Electronics Co., Ltd. Temperature-based CPU operation frequency controller of a CPU powered by a CPU power supply to protect against multiple circuit overheating
JP2013033469A (en) * 2011-07-29 2013-02-14 Samsung Electronics Co Ltd Method for controlling temperature of terminal and terminal supporting the same

Similar Documents

Publication Publication Date Title
US4347564A (en) Hierarchical-structure plant control system
EP3392724B1 (en) Synchronization control method and synchronization control system for a plurality of controlled components
KR960016506B1 (en) Clock generator with an automatic frequency change function
JP3424901B2 (en) Synchronization method and synchronization method for multiplex system controller
TWI583100B (en) Uninterruptible power supply device
US3594656A (en) Automatic clock frequency-switching system
US6653871B2 (en) Method of and circuit for controlling a clock
EP2783262A1 (en) Prioritized controller arbitration
JP3794312B2 (en) Power supply frequency control circuit
JPH06187064A (en) Method and device for controlling clock
US5278457A (en) Method and apparatus for adjusting clock signal of electronic apparatus
US20020130695A1 (en) System and method for dynamically controlling an integrated circuit&#39;s clock
JP2000324799A (en) Semiconductor power converter
JPH06104882A (en) Network synchronizing clock supply device
JPH088889A (en) External synchronization device
US5796272A (en) Frequency deviation detection circuit
KR102071884B1 (en) Load control device, current measurement method of load control device
JP2812114B2 (en) SCSI controller
US6715017B2 (en) Interruption signal generating apparatus
JPS62281766A (en) Controller for power converter
JPH0635739A (en) Switching control system
JPH07146729A (en) Device for preventing break down of computer system
KR0131067B1 (en) Temperature control device for automatic vending machine
JP2588290B2 (en) Data input / output system
JP2812100B2 (en) Small computer system interface controller

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20000307