JP5595571B1 - Control device - Google Patents

Control device Download PDF

Info

Publication number
JP5595571B1
JP5595571B1 JP2013190108A JP2013190108A JP5595571B1 JP 5595571 B1 JP5595571 B1 JP 5595571B1 JP 2013190108 A JP2013190108 A JP 2013190108A JP 2013190108 A JP2013190108 A JP 2013190108A JP 5595571 B1 JP5595571 B1 JP 5595571B1
Authority
JP
Japan
Prior art keywords
processing load
clock frequency
control device
predetermined time
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.)
Expired - Fee Related
Application number
JP2013190108A
Other languages
Japanese (ja)
Other versions
JP2015054649A (en
Inventor
俊憲 松井
まどか 馬場
裕司 奥山
清宏 森田
彰彦 畠
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2013190108A priority Critical patent/JP5595571B1/en
Application granted granted Critical
Publication of JP5595571B1 publication Critical patent/JP5595571B1/en
Publication of JP2015054649A publication Critical patent/JP2015054649A/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

【課題】周辺環境に応じて演算処理手段の最適なクロック周波数を決定する。
【解決手段】車両内に設置される制御装置において、供給されるクロック周波数に同期してプログラムを実行する演算処理手段110と、現状の処理負荷を計測する処理負荷測定手段112と、制御内容に影響する情報を収集する情報収集手段114と、演算処理手段の処理負荷を推定する処理負荷推定手段115と、第1の所定時間間隔で演算処理手段が必要とするクロック周波数を決定するクロック周波数決定手段116と、クロック周波数決定手段の指示に従ったクロック周波数を発生するクロック発生手段117とを備え、クロック周波数決定手段は、第1の所定時間間隔内で、処理負荷推定手段が推定した処理負荷により次の第1の所定時間間隔で必要とされるクロック周波数を決定することで、車両環境に応じて最適なクロック周波数を設定することできる。
【選択図】図1
An optimum clock frequency of an arithmetic processing means is determined according to a surrounding environment.
In a control device installed in a vehicle, arithmetic processing means 110 for executing a program in synchronization with a supplied clock frequency, processing load measuring means 112 for measuring a current processing load, and control contents Information collecting means 114 for collecting influential information, processing load estimating means 115 for estimating the processing load of the arithmetic processing means, and clock frequency determination for determining a clock frequency required by the arithmetic processing means at a first predetermined time interval Means 116 and clock generation means 117 for generating a clock frequency in accordance with an instruction from the clock frequency determination means. The clock frequency determination means is a processing load estimated by the processing load estimation means within a first predetermined time interval. By determining the clock frequency required at the next first predetermined time interval, the optimum clock frequency can be set according to the vehicle environment. .
[Selection] Figure 1

Description

この発明は、車両に搭載される制御装置に関するもので、特に制御装置に設けられるプロセッサがデータ処理を行う際のクロック周波数を変更・決定することができる制御装置に関するものである。   The present invention relates to a control device mounted on a vehicle, and more particularly to a control device capable of changing and determining a clock frequency when a processor provided in the control device performs data processing.

制御装置に実装される通常のプロセッサでは、データ処理を行うためにプロセッサに設けられた各部の処理の同期を取るための基準となるクロック周波数が必要となる。このクロック周波数として高いクロック周波数を用いると、プロセッサ全体の処理速度が向上し処理量は増加できる。
しかしながらクロック周波数が高くなると、プロセッサの内部配線等を流れる信号がその速度に追従できなくなるため、プロセッサに供給する電圧を上げる必要がある。
In a normal processor mounted on a control device, a clock frequency that is a reference for synchronizing the processing of each unit provided in the processor is necessary to perform data processing. When a high clock frequency is used as this clock frequency, the processing speed of the entire processor is improved and the processing amount can be increased.
However, if the clock frequency is increased, the signal flowing through the internal wiring of the processor cannot follow the speed, so that it is necessary to increase the voltage supplied to the processor.

ただし、プロセッサの駆動電圧を増加させると、プロセッサ内で消費する電力量も増加することになる。これは電力消費量の増加のみならず、プロセッサ自身の発熱量も増加させかねない。
上記した理由から、プロセッサ自身の消費電力を低く抑えるには、負荷が少ない動作時のクロック周波数を低く抑えることが重要であり、こうすることで、制御装置の消費電力の削減にもつなげられる。
However, when the processor drive voltage is increased, the amount of power consumed in the processor also increases. This may increase not only the power consumption but also the heat generation of the processor itself.
For the above reasons, in order to keep the power consumption of the processor itself low, it is important to keep the clock frequency during operation with a low load low, and this leads to a reduction in power consumption of the control device.

従来から、データ処理を行うプロセッサの消費する電力を削減することができるクロック周波数変更方法に関して、集積回路装置の装置温度が変化するたびに装置のクロックレートを変更する周波数制御回路が知られている。この周波数制御回路は、装置温度の変化を検出する温度比較器回路と、温度の変化時間(閾値を超えた単位時間回数)を計測するアップ/ダウンカウンタと、アップ/ダウンカウンタの出力により、33,66,99,132MHz等、内部CPU/装置の周波数を選択するデコーダと、温度比較器回路からの通知頻度(単位時間長)を制御する更新信号で構成されている(例えば、特許文献1参照)。   2. Description of the Related Art Conventionally, a frequency control circuit that changes a clock rate of a device every time a device temperature of an integrated circuit device changes is known regarding a clock frequency changing method that can reduce power consumed by a processor that performs data processing. . This frequency control circuit includes a temperature comparator circuit that detects a change in the device temperature, an up / down counter that measures a temperature change time (number of unit times exceeding the threshold), and an output of the up / down counter. , 66, 99, 132 MHz, etc., and a decoder for selecting the frequency of the internal CPU / device, and an update signal for controlling the frequency of notification (unit time length) from the temperature comparator circuit (see, for example, Patent Document 1) ).

このようなシステム構成における従来のクロック周波数変更方法では、装置用クロック周波数レートが装置温度に反応する集積回路の使用を通して制御される。そして、集積回路には、装置温度が閾値を超えて変化するたびに装置のクロック周波数レートを変更する回路要素が付加されている。このように、装置クロック周波数レートは装置の温度によって調整され、温度が高い時には、クロック周波数を下げることにより消費する電力を削減するプロセッサを実装する装置を提供することができる。   In conventional clock frequency changing methods in such a system configuration, the device clock frequency rate is controlled through the use of an integrated circuit that is responsive to device temperature. The integrated circuit is added with a circuit element that changes the clock frequency rate of the device every time the device temperature changes beyond a threshold value. As described above, the device clock frequency rate is adjusted according to the temperature of the device, and when the temperature is high, it is possible to provide a device that implements a processor that reduces power consumption by lowering the clock frequency.

またデータ処理を行うプロセッサの消費する電力を削減することができる別のクロック周波数変更方法に関して、あるデータ処理を少なくとも1つ以上に分割した処理の1つに当たる実行単位が処理すべきデータを、該実行単位別に記憶する記憶部と、この記憶部に記憶されているデータの記憶量を監視するデータ量監視部と、このデータ量監視部が監視した記憶部に記憶されたデータ量情報をもとに、プロセッサに供給するクロック周波数を決定するクロック周波数決定部と、このクロック周波数決定部が決定したクロック周波数に従ってプロセッサを駆動するクロック周波数を発生するクロック周波数発生部とを備えたプロセッサが知られている(例えば、特許文献2参照)。   Further, regarding another clock frequency changing method capable of reducing the power consumed by the processor that performs data processing, the data to be processed by the execution unit corresponding to one of the processes obtained by dividing a certain data process into at least one or more, Based on a storage unit that stores data for each execution unit, a data amount monitoring unit that monitors the storage amount of data stored in the storage unit, and data amount information stored in the storage unit monitored by the data amount monitoring unit In addition, a processor having a clock frequency determining unit that determines a clock frequency to be supplied to the processor and a clock frequency generating unit that generates a clock frequency for driving the processor according to the clock frequency determined by the clock frequency determining unit is known. (For example, refer to Patent Document 2).

このようなシステム構成における従来のクロック周波数変更方法では、実行単位ごとに処理すべきデータを格納するための記憶部を備えたプロセッサにおいて、実行すべき実行
単位を決定する実行単位決定部とデータ量監視部が監視した記憶部に記憶されたデータ量情報をもとに、クロック周波数決定部が現在の処理に必要な能力に見合うクロック周波数を決定し、余剰の能力がある場合にはクロック周波数発生部が供給するクロック周波数を下げることにより消費する電力を削減するプロセッサを提供することができる。
In the conventional clock frequency changing method in such a system configuration, in a processor having a storage unit for storing data to be processed for each execution unit, an execution unit determination unit and a data amount for determining an execution unit to be executed Based on the data amount information stored in the storage unit monitored by the monitoring unit, the clock frequency determination unit determines the clock frequency that matches the capacity required for the current processing, and if there is surplus capacity, the clock frequency is generated. It is possible to provide a processor that reduces power consumption by lowering the clock frequency supplied by the unit.

特開平7−319575号公報(図3)JP-A-7-319575 (FIG. 3) 特開2004−295450号公報(図1)JP 2004-295450 A (FIG. 1)

しかしながら、従来技術を車両内外の状況・情報、運転者の操作に応じて処理内容、処理負荷が刻々と変わる自動車の制御装置に適用するためには、以下のような課題がある。
特許文献1に記載のクロック周波数変更方法では、装置温度に基づいてクロック周波数を変化させるが、自動車の制御装置では入力情報に応じて処理負荷が短期間に変化し、その処理負荷に応じて温度が変化する。そのため、温度に合わせてその時点のクロック周波数に変更しても、反映される時点でクロック周波数が最適な値からずれていたりする可能性が高い。また、入力情報が頻繁に変化し、温度変化が激しい場合には、クロック周波数更新を頻繁に実施する必要があり、本来実施したい制御処理に影響が出る可能性が高い。
However, in order to apply the prior art to a vehicle control device in which processing contents and processing load changes every moment according to the situation / information inside and outside the vehicle and the operation of the driver, there are the following problems.
In the clock frequency changing method described in Patent Document 1, the clock frequency is changed based on the device temperature. However, in the automobile control device, the processing load changes in a short time according to the input information, and the temperature depends on the processing load. Changes. For this reason, even if the clock frequency is changed to the current time according to the temperature, the clock frequency is likely to deviate from an optimal value at the time of reflection. In addition, when the input information changes frequently and the temperature changes drastically, it is necessary to update the clock frequency frequently, and there is a high possibility that the control processing that is originally intended to be affected.

一方で、特許文献2に記載のクロック周波数変更方法では、処理データ量により変更するクロック周波数をあらかじめ決めておくことができる。しかし、自動車の制御装置では、処理データ量は、入力情報に応じた処理内容にともなって変動するため、記録されている処理データ量だけでは、最適なクロック周波数を設定することが困難である。仮にクロック周波数が不足していれば、処理そのものが間に合わないということも起こりうる。   On the other hand, in the clock frequency changing method described in Patent Document 2, the clock frequency to be changed can be determined in advance according to the amount of processing data. However, in an automobile control device, the amount of processing data varies with the processing content corresponding to the input information, and therefore it is difficult to set an optimum clock frequency only with the amount of processing data recorded. If the clock frequency is insufficient, the processing itself may not be in time.

このように、自動車の制御装置にクロック周波数変更手法を適用して、最適クロック周波数で処理させることで省電力化を図ろうとしても、装置の温度などの周辺情報に応じてクロック周波数を変更させたり、データ量などのあらかじめ決められた処理量でクロック周波数を変更したりしても、車両の制御装置は、車両内外の状況・情報や運転者の操作に応じて処理内容・負荷が刻々と変わるため、最適なクロック周波数を設定できないという課題があった。   In this way, even if an attempt is made to save power by applying a clock frequency changing method to an automobile control device and processing at the optimum clock frequency, the clock frequency is changed according to peripheral information such as the temperature of the device. Even if the clock frequency is changed by a predetermined processing amount such as the amount of data, the vehicle control device is subject to processing content and load according to the situation / information inside and outside the vehicle and the driver's operation. Due to the change, there is a problem that an optimal clock frequency cannot be set.

この発明は上記のような課題を解決するためになされたものであり、車両内外の状況・情報や運転者の操作に応じて処理内容・負荷が刻々と変わる場合においても、制御装置が入手できる情報に応じて処理負荷を推測し、推測された処理負荷に最適なクロック周波数に変更させることで省電力を図る制御装置を得ることを目的とするものである。   The present invention has been made to solve the above-described problems, and the control device can be obtained even when the processing content / load changes momentarily according to the situation / information inside and outside the vehicle and the operation of the driver. An object of the present invention is to obtain a control device that saves power by estimating a processing load according to information and changing the clock frequency to an optimum clock frequency for the estimated processing load.

この発明に係る制御装置は、車両内に設置される制御装置において、供給されるクロックに同期して、プログラムを実行する演算処理手段と、プログラムを記憶する記憶手段と、自身の処理負荷を計測する処理負荷測定手段と、制御内容に影響する情報を収集する情報収集手段と、演算処理手段の処理負荷を推定する処理負荷推定手段と、第1の所定時間間隔で演算処理手段が必要とするクロック周波数を決定するクロック周波数決定手段と、クロック周波数決定手段の指示に従ったクロックを発生するクロック発生手段とを備え、クロック周波数決定手段は、第1の所定時間間隔内で処理負荷推定手段が推定した処理負荷により次の第1の所定時間間隔で必要とされるクロック周波数を決定し、クロック発生手段は、次の第1の所定時間間隔において、クロック周波数決定手段の指示に従ったクロックを生成するようにしたものである。   A control device according to the present invention measures, in a control device installed in a vehicle, arithmetic processing means for executing a program, storage means for storing the program, and its own processing load in synchronization with a supplied clock. Processing load measuring means, information collecting means for collecting information affecting control contents, processing load estimating means for estimating the processing load of the arithmetic processing means, and arithmetic processing means required at a first predetermined time interval A clock frequency determining means for determining a clock frequency; and a clock generating means for generating a clock in accordance with an instruction from the clock frequency determining means. The clock frequency determining means includes a processing load estimating means within a first predetermined time interval. The clock frequency required at the next first predetermined time interval is determined based on the estimated processing load, and the clock generation means In, in which so as to generate a clock in accordance with an instruction of the clock frequency determining means.

また、この発明に係る制御装置は、車両内に設置される制御装置において、供給されるクロックに同期して、プログラムを実行する演算処理手段と、プログラムを記憶する記憶手段と、自身の処理負荷を計測する処理負荷測定手段と、制御内容に影響する情報を収集する情報収集手段と、演算処理手段の処理負荷を推定する処理負荷推定手段と、第1の所定時間間隔で演算処理手段が必要とするクロック周波数を決定するクロック周波数決定手段と、クロック周波数決定手段の指示に従ったクロックを発生するクロック発生手段とを有する第1の制御装置と、第1の制御装置とネットワークで接続された第2の制御装置を備え、第1の制御装置は、第2の制御装置からネットワーク経由で情報を受信する第1の通信手段を設け、第2の制御装置は、ネットワーク経由で保有する情報を第1の制御装置へ送信する第2の通信手段を設け、第1の制御装置の情報収集手段は、制御内容に影響する情報を第1の通信手段から入手するようにすると共に、クロック周波数決定手段は、第1の所定時間間隔内で処理負荷推定手段が推定した処理負荷により次の第1の所定時間間隔で必要とされるクロック周波数を決定し、クロック発生手段は、次の第1の所定時間間隔において、クロック周波数決定手段の指示に従ったクロックを生成するようにしたものである。   Further, the control device according to the present invention is a control device installed in a vehicle, wherein the control processing means for executing the program in synchronization with the supplied clock, the storage means for storing the program, and its own processing load Processing load measuring means, information collecting means for collecting information affecting control contents, processing load estimating means for estimating the processing load of the arithmetic processing means, and arithmetic processing means at a first predetermined time interval are required. A first control device having a clock frequency determining means for determining a clock frequency and a clock generating means for generating a clock according to an instruction of the clock frequency determining means, and connected to the first control device via a network A second control device, the first control device is provided with a first communication means for receiving information from the second control device via a network, and the second control device; Provides a second communication means for transmitting information held via the network to the first control device, and the information collection means of the first control device obtains information affecting the control content from the first communication means. And the clock frequency determining means determines the clock frequency required in the next first predetermined time interval based on the processing load estimated by the processing load estimating means within the first predetermined time interval. The generating means generates a clock according to an instruction of the clock frequency determining means at the next first predetermined time interval.

この発明に係る制御装置によれば、制御装置に入力される各種情報より所定時間後の処理負荷を推測し、所定時間後に推測された処理負荷に適したクロック周波数に切り替えて演算処理部が実行することで、省電力化を図ることができる。   According to the control device of the present invention, the processing load after a predetermined time is estimated from various information input to the control device, and the arithmetic processing unit executes by switching to a clock frequency suitable for the processing load estimated after the predetermined time. By doing so, power saving can be achieved.

この発明の実施の形態1に係る制御装置を示すブロック構成図である。It is a block block diagram which shows the control apparatus which concerns on Embodiment 1 of this invention. この発明の実施の形態1に係る制御装置の処理フローを示すフローチャート図である。It is a flowchart figure which shows the processing flow of the control apparatus which concerns on Embodiment 1 of this invention. この発明の実施の形態1に係る制御装置の処理負荷の増減率を推定するテーブルを示す図である。It is a figure which shows the table which estimates the increase / decrease rate of the processing load of the control apparatus which concerns on Embodiment 1 of this invention. この発明の実施の形態1に係る制御装置のクロック周波数を推定するテーブルを示す図である。It is a figure which shows the table which estimates the clock frequency of the control apparatus which concerns on Embodiment 1 of this invention. この発明の実施の形態1に係る制御装置の処理を示すタイムチャート図である。It is a time chart figure which shows the process of the control apparatus which concerns on Embodiment 1 of this invention. この発明の実施の形態2に係る制御装置を示すブロック構成図である。It is a block block diagram which shows the control apparatus which concerns on Embodiment 2 of this invention. この発明の実施の形態2に係る制御装置の処理フローを示すフローチャート図である。It is a flowchart figure which shows the processing flow of the control apparatus which concerns on Embodiment 2 of this invention. この発明の実施の形態2に係る制御装置の処理負荷の増減率を推定するテーブルを示す図である。It is a figure which shows the table which estimates the increase / decrease rate of the processing load of the control apparatus which concerns on Embodiment 2 of this invention. この発明の実施の形態2に係る制御装置の処理を示すタイムチャート図である。It is a time chart figure which shows the process of the control apparatus which concerns on Embodiment 2 of this invention. この発明の実施の形態3に係る制御装置を示すブロック構成図である。It is a block block diagram which shows the control apparatus which concerns on Embodiment 3 of this invention. この発明の実施の形態3に係る制御装置の処理フローを示すフローチャート図である。It is a flowchart figure which shows the processing flow of the control apparatus which concerns on Embodiment 3 of this invention. この発明の実施の形態3に係る制御装置の処理を示すタイムチャート図である。It is a time chart figure which shows the process of the control apparatus which concerns on Embodiment 3 of this invention.

以下、この発明の制御装置の好適な実施の形態につき図面を用いて説明するが、各図において同一、または相当する部分については、同一符号を付して説明する。
なお、以下の実施の形態では、制御装置が車両に搭載されている場合について説明する。
Hereinafter, preferred embodiments of the control device of the present invention will be described with reference to the drawings. In the drawings, the same or corresponding parts will be described with the same reference numerals.
In the following embodiment, a case where the control device is mounted on a vehicle will be described.

実施の形態1.
まず、この発明の実施の形態1に係る制御装置を図1〜図5に基づいて説明する。図1はこの発明の実施の形態1に係る制御装置の構成を示すブロック図で、制御装置内に設けられるプロセッサのクロック周波数の変更が可能なエンジン制御装置(制御装置)100を示している。
図1において、エンジン制御装置100には、制御対象であるエンジンユニット101が接続される。
Embodiment 1 FIG.
First, a control device according to Embodiment 1 of the present invention will be described with reference to FIGS. FIG. 1 is a block diagram showing a configuration of a control device according to Embodiment 1 of the present invention, and shows an engine control device (control device) 100 capable of changing the clock frequency of a processor provided in the control device.
In FIG. 1, an engine unit 101 that is a control target is connected to the engine control apparatus 100.

エンジン制御装置100は、演算処理手段(以下、プロセッサと称する)110と、記憶装置(記憶手段)111と、処理負荷測定手段112と、アクセル開度測定手段113と、情報収集手段114と、処理負荷推定手段115と、クロック周波数決定手段116と、クロック発生手段117から構成される。処理負荷推定手段115は、プロセッサ110の処理負荷を推定するために処理負荷評価テーブル118を、クロック周波数決定手段116は、クロック周波数を決定するために、クロック周波数決定テーブル119をそれぞれ備える。
エンジン制御装置100には、上記の各手段以外にも必要な構成物を有しているが、この実施の形態1に直接関係しないので、その説明を省略する。
The engine control apparatus 100 includes an arithmetic processing means (hereinafter referred to as a processor) 110, a storage device (storage means) 111, a processing load measuring means 112, an accelerator opening measuring means 113, an information collecting means 114, a processing The load estimation means 115, the clock frequency determination means 116, and the clock generation means 117 are comprised. The processing load estimation unit 115 includes a processing load evaluation table 118 for estimating the processing load of the processor 110, and the clock frequency determination unit 116 includes a clock frequency determination table 119 for determining the clock frequency.
Although the engine control apparatus 100 has necessary components in addition to the above-described means, the description thereof is omitted because it is not directly related to the first embodiment.

プロセッサ110は、クロック発生手段117が発生するクロック周波数に同期し、記憶装置111に記録されるプログラムに基づいて、各種処理や演算を実施する。記憶装置111は不揮発性、揮発性メモリ等で構成されるデータやプログラムを記録する装置であり、エンジンユニット101への制御演算処理、制御演算必要データ、これらに直接関係しないその他処理・データ等が記録される。
なお、エンジンユニット101の制御演算処理は、アクセル開度等に連動したエンジンユニットへの空気流入量を調整するスロットル開度情報から、エンジンへの点火時期、燃料噴出量を決定するものであり、エンジン回転数の増加に伴い点火時期は早くなるため、処理負荷(処理頻度)が増加する。
The processor 110 performs various processes and operations based on a program recorded in the storage device 111 in synchronization with the clock frequency generated by the clock generation unit 117. The storage device 111 is a device that records data and programs composed of nonvolatile and volatile memories, etc., and includes control calculation processing for the engine unit 101, control calculation required data, and other processing / data not directly related to these. To be recorded.
The control calculation processing of the engine unit 101 is to determine the ignition timing and the fuel injection amount to the engine from the throttle opening information that adjusts the air inflow amount to the engine unit in conjunction with the accelerator opening and the like. As the engine speed increases, the ignition timing becomes earlier, so the processing load (processing frequency) increases.

処理負荷測定手段112は、プロセッサ110の単位時間当たりの処理負荷量を測定する。処理負荷推定手段115は、処理負荷測定手段112が測定したプロセッサ110の処理負荷量の変化量と、情報収集手段114がアクセル開度測定手段113から入手したアクセル開度から処理負荷評価テーブル118を利用して、第1の所定時間間隔でのプロセッサ110の処理負荷を推定する。
ここで第1の所定時間とは、処理負荷を推定する時間帯であり、あらかじめ設定しておく時間間隔とする。
The processing load measuring unit 112 measures the processing load amount of the processor 110 per unit time. The processing load estimation means 115 obtains the processing load evaluation table 118 from the change amount of the processing load of the processor 110 measured by the processing load measurement means 112 and the accelerator opening obtained by the information collection means 114 from the accelerator opening measuring means 113. Utilizing this, the processing load on the processor 110 at the first predetermined time interval is estimated.
Here, the first predetermined time is a time zone for estimating the processing load, and is a time interval set in advance.

次にクロック周波数決定手段116は、現在の第1の所定時間において処理負荷推定手段115が推定した処理負荷に基づいてクロック周波数決定テーブル119を用い、次にくる第1の所定時間(以下、次の第1の所定時間)に必要となるプロセッサ110の動作クロック周波数を決定する。クロック発生手段117は、クロック周波数決定手段116が決定した指示にしたがって、次の第1の所定時間間隔におけるクロック周波数を生成し、プロセッサ110へ供給する。   Next, the clock frequency determination means 116 uses the clock frequency determination table 119 based on the processing load estimated by the processing load estimation means 115 at the current first predetermined time, and uses the clock frequency determination table 119 to come next (hereinafter, the next predetermined time). The operation clock frequency of the processor 110 required for the first predetermined time is determined. The clock generation means 117 generates a clock frequency at the next first predetermined time interval in accordance with the instruction determined by the clock frequency determination means 116 and supplies it to the processor 110.

次に図2のフローチャートを用いて、第1の所定時間間隔におけるクロック周波数決定の流れについて説明する。
エンジン制御装置100において図2に示すフローチャートの処理を第1の所定時間間隔毎に2回以上実施し、次の第1の所定時間間隔でのプロセッサ110に必要とされるクロック周波数を決定する。ここでは実施回数を10回とする。
Next, the flow of determining the clock frequency in the first predetermined time interval will be described using the flowchart of FIG.
The engine control apparatus 100 performs the process of the flowchart shown in FIG. 2 at least once every first predetermined time interval, and determines the clock frequency required for the processor 110 at the next first predetermined time interval. Here, the number of implementations is 10 times.

ステップS200において、プロセッサ110は、現在の第1の所定時間において、クロック周波数の決定に関連する処理が何回実施されたのかを確認する。1回目の場合は、ステップS201へ進んで処理負荷を確認して処理を終了し、2回目の場合は、ステップS202へ進み、3回目以上の場合は、クロック周波数の決定に関連する処理を終了する。
ステップS201において、処理負荷測定手段112は、プロセッサ110の処理負荷を測定し、処理負荷推定手段115に通知する。ここでの処理負荷とは、あらかじめ設定しておく単位時間あたりに実施している処理・演算時間の割合とする。
In step S200, the processor 110 confirms how many times the processing related to the determination of the clock frequency has been performed in the current first predetermined time. If it is the first time, the process proceeds to step S201 to check the processing load and the process is terminated. If it is the second time, the process proceeds to step S202. If it is the third or more times, the process related to the determination of the clock frequency is terminated. To do.
In step S <b> 201, the processing load measurement unit 112 measures the processing load of the processor 110 and notifies the processing load estimation unit 115. The processing load here is a ratio of processing / calculation time performed per unit time set in advance.

ステップS202において、ステップS201と同様に、処理負荷測定手段112は、プロセッサ110の処理負荷を測定し、処理負荷推定手段115に通知する。
ステップS203において、処理負荷推定手段115は、前回のクロック周波数の決定に関連する処理で処理負荷測定手段112が測定したプロセッサ110の処理負荷との差分により変化量を算出する。
ステップS204において、情報収集手段114は、アクセル開度測定手段113が測定したドライバのアクセル踏み込み量となるアクセル開度を収集し、処理負荷推定手段115に通知する。
In step S202, as in step S201, the processing load measuring unit 112 measures the processing load of the processor 110 and notifies the processing load estimating unit 115 of it.
In step S203, the processing load estimation unit 115 calculates the amount of change based on the difference from the processing load of the processor 110 measured by the processing load measurement unit 112 in the process related to the previous determination of the clock frequency.
In step S <b> 204, the information collecting unit 114 collects the accelerator opening that is the accelerator depression amount of the driver measured by the accelerator opening measuring unit 113 and notifies the processing load estimating unit 115 of the accelerator opening.

ステップS205において、処理負荷推定手段115は、処理負荷測定手段112が測定したプロセッサ110の処理負荷の変化量と、情報収集手段114からのアクセル開度より処理負荷評価テーブル118を利用して、次の第1の所定時間でのプロセッサ110の処理負荷を推定する。
ステップS206において、クロック周波数決定手段116は、処理負荷推定手段115が推定したプロセッサ110の推定処理負荷よりクロック周波数決定テーブル119を利用して次の第1の所定時間で必要となるクロック周波数を決定する。
この決定されたクロック周波数は次の第1の所定時間間隔においてクロック発生手段117により生成され、このクロック周波数に同期してプロセッサ110は演算処理を実施することとなる。
In step S <b> 205, the processing load estimation unit 115 uses the processing load evaluation table 118 based on the amount of change in the processing load of the processor 110 measured by the processing load measurement unit 112 and the accelerator opening from the information collection unit 114. The processing load of the processor 110 at the first predetermined time is estimated.
In step S <b> 206, the clock frequency determination unit 116 determines a clock frequency required for the next first predetermined time using the clock frequency determination table 119 from the estimated processing load of the processor 110 estimated by the processing load estimation unit 115. To do.
The determined clock frequency is generated by the clock generation means 117 at the next first predetermined time interval, and the processor 110 performs arithmetic processing in synchronization with this clock frequency.

次にこの実施の形態1で使用する処理負荷評価テーブル118およびクロック周波数決定テーブル119について、図3および図4に基づいて説明する。
図3に示す処理負荷評価テーブル118は、処理負荷変化量とアクセル開度から、処理負荷増減率推測値を導出する。仮に現時点での処理負荷が40%であり、アクセル開度が50%であり、処理負荷変化量が「12」とすると、処理負荷評価テーブル118より処理負荷増減率推測値は+15%と導出される。
よって次の第1の所定時間間隔での処理負荷は、40%の15%増で46%と推定することになる。ここでは、処理負荷評価テーブルを用いて次の第1の所定時間での処理負荷を推測したが、処理負荷の推測方法はこれに限るものではない。
Next, the processing load evaluation table 118 and the clock frequency determination table 119 used in the first embodiment will be described with reference to FIGS.
The processing load evaluation table 118 shown in FIG. 3 derives a processing load increase / decrease rate estimated value from the processing load change amount and the accelerator opening. If the current processing load is 40%, the accelerator opening is 50%, and the processing load change amount is “12”, the estimated processing load increase / decrease rate is derived from the processing load evaluation table 118 as + 15%. The
Therefore, the processing load at the next first predetermined time interval is estimated to be 46%, an increase of 15% of 40%. Here, the processing load at the next first predetermined time is estimated using the processing load evaluation table, but the method of estimating the processing load is not limited to this.

次に図4に示すクロック周波数決定テーブル119は、処理負荷評価テーブル118より推定された処理負荷より、次の第1の所定時間間隔で必要とされるクロック周波数を決定する。仮に推定処理負荷が60%であれば、クロック周波数増減率は−20%となる。現在の第1の所定時間におけるクロック周波数が60MHzであれば、次の第1の所定時間間隔でのクロック周波数は、60MHzの20%減で48MHzとなる。
ただしここでは、クロック周波数決定テーブルを用いて次の第1の所定時間間隔でのクロック周波数を決定したが、決定方法もこれに限るものではない。
これ以外にもエンジン制御装置100では、エンジン制御本来の処理が実施されるが、この実施の形態1に直接関係しないので、その説明を省略する。
Next, the clock frequency determination table 119 shown in FIG. 4 determines the clock frequency required at the next first predetermined time interval from the processing load estimated from the processing load evaluation table 118. If the estimated processing load is 60%, the clock frequency increase / decrease rate is -20%. If the current clock frequency at the first predetermined time is 60 MHz, the clock frequency at the next first predetermined time interval is 48 MHz, which is a 20% decrease of 60 MHz.
However, here, the clock frequency at the next first predetermined time interval is determined using the clock frequency determination table, but the determination method is not limited to this.
In addition to this, in the engine control apparatus 100, the original processing of the engine control is performed, but since it is not directly related to the first embodiment, the description thereof is omitted.

このような構成を持つエンジン制御装置100におけるクロック周波数の決定に係る動作を、図5のタイムチャートに従って説明する。
図5において、tは時間単位であり、t00からt10において第1の所定時間T0、t10からt20において第1の所定時間T1が構成される。
また、この実施の形態1における第1の所定時間T0でクロック発生手段117が生成するクロック周波数は80MHzとする。
そして、またt00において、処理負荷は70%、アクセル開度は50%、t01において、処理負荷は60%、アクセル開度は40%であるとする。
The operation related to the determination of the clock frequency in the engine control apparatus 100 having such a configuration will be described with reference to the time chart of FIG.
In FIG. 5, t is a time unit, and a first predetermined time T0 is configured from t00 to t10, and a first predetermined time T1 is configured from t10 to t20.
Further, the clock frequency generated by the clock generation means 117 at the first predetermined time T0 in the first embodiment is 80 MHz.
At t00, the processing load is 70% and the accelerator opening is 50%. At t01, the processing load is 60% and the accelerator opening is 40%.

t00において、プロセッサ110は、第1の所定時間T0におけるクロック周波数の決定に関連する処理が何回実施されたのかを確認する(ステップS200)。ここでは、1回目の処理となるため、プロセッサ110の処理負荷を測定し、処理負荷推定手段115へ通知して(ステップS201)、クロック周波数の決定に関連する処理を終了する。ここでは、処理負荷は70%であったとする。   At t00, the processor 110 confirms how many times the processing related to the determination of the clock frequency at the first predetermined time T0 has been performed (step S200). Here, since it is the first processing, the processing load of the processor 110 is measured and notified to the processing load estimating means 115 (step S201), and the processing related to the determination of the clock frequency is ended. Here, it is assumed that the processing load is 70%.

t01において、プロセッサ110は、第1の所定時間T0におけるクロック周波数の決定に関連する処理が何回実施されたのかを確認する(ステップS200)。ここでは、2回目の処理のため、処理を継続する。
そして、処理負荷測定手段112は、プロセッサ110の処理負荷を測定し、処理負荷推定手段115へ通知する(ステップS202)。ここでは、処理負荷は60%であったとする。
At t01, the processor 110 confirms how many times the processing related to the determination of the clock frequency at the first predetermined time T0 has been performed (step S200). Here, the processing is continued for the second processing.
Then, the processing load measuring unit 112 measures the processing load of the processor 110 and notifies the processing load estimating unit 115 (step S202). Here, it is assumed that the processing load is 60%.

次に処理負荷推定手段115は、処理負荷の変化量を算出する(ステップS203)。ここでは70%から60%に変化していることから、10%の減少とする。
そして、アクセル開度測定手段113が測定したアクセル開度を収集し、処理負荷推定手段115に通知する(ステップS204)。ここでは、アクセル開度は40%とする。
次に、処理負荷推定手段115は、処理負荷評価テーブル118より処理負荷の変化量−10%とアクセル開度40%から、処理負荷増減推定値を−20%とする。よって、次の第1の所定時間後のプロセッサ110の処理負荷を、60%の20%減で48%とする(ステップS205)。
Next, the processing load estimation unit 115 calculates a change amount of the processing load (step S203). Here, since it has changed from 70% to 60%, it is assumed that the reduction is 10%.
Then, the accelerator opening measured by the accelerator opening measuring means 113 is collected and notified to the processing load estimating means 115 (step S204). Here, the accelerator opening is 40%.
Next, the processing load estimation means 115 sets the processing load increase / decrease estimated value to −20% from the processing load change amount −10% and the accelerator opening 40% from the processing load evaluation table 118. Therefore, the processing load on the processor 110 after the next first predetermined time is reduced by 20% from 60% to 48% (step S205).

そして、クロック周波数決定手段116は、プロセッサ110の推定処理負荷が48%であることより、クロック周波数決定テーブル119から次の第1の所定時間間隔T1におけるクロック周波数を−25%とし、80MHzの25%減となる60MHzとする(ステップS206)。
t02において、プロセッサ110は、第1の所定時間T0におけるクロック周波数の決定に関連する処理が何回実施されたのかを確認する(ステップS200)。ここでは、3回目となるため、一連のクロック周波数の決定に関連する処理を終了する。
Then, since the estimated processing load of the processor 110 is 48%, the clock frequency determination means 116 sets the clock frequency in the next first predetermined time interval T1 to −25% from the clock frequency determination table 119, and 25 of 80 MHz. It is set to 60 MHz that decreases by% (step S206).
At t02, the processor 110 confirms how many times the processing related to the determination of the clock frequency at the first predetermined time T0 has been performed (step S200). Here, since this is the third time, processing related to determination of a series of clock frequencies is terminated.

t03からt09までは、処理負荷測定手段112の処理実施回数は3回目以上となるため、同様にプロセッサ110は、クロック周波数の決定に関する処理を終了させる(ステップS200)。
t10において、クロック発生手段117は、第1の所定時間T1における発生するクロック周波数を60MHzに切り替える。そして、プロセッサ110は、第1の所定時間T1ではこのクロック周波数に同期して処理を実施する。
From t03 to t09, the number of times the processing load measuring means 112 has performed the process is the third or more. Similarly, the processor 110 ends the processing related to the determination of the clock frequency (step S200).
At t10, the clock generation means 117 switches the clock frequency generated at the first predetermined time T1 to 60 MHz. Then, the processor 110 performs processing in synchronization with this clock frequency for the first predetermined time T1.

次に、プロセッサ110は、第1の所定時間T1におけるクロック周波数の決定に関連する処理が何回実施されたのかを確認する(ステップS200)。ここでは、1回目の処理となるため、プロセッサ110の処理負荷を測定し、処理負荷推定手段115へ通知して(ステップS201)、クロック周波数の決定に関連する処理を終了する。
t11以降、第1の所定時間T0の時と同様の処理となるために説明は省略する。
Next, the processor 110 checks how many times the processing related to the determination of the clock frequency at the first predetermined time T1 has been performed (step S200). Here, since it is the first processing, the processing load of the processor 110 is measured and notified to the processing load estimating means 115 (step S201), and the processing related to the determination of the clock frequency is ended.
After t11, the processing is the same as that at the time of the first predetermined time T0, and the description thereof is omitted.

このようにして、エンジン制御装置100は、運転者の操作であるアクセル開度と、プロセッサ110の処理負荷の変化量より、次の第1の所定時間間隔T1においてプロセッサ110が必要とするクロック周波数を決定することができる。
このような制御装置では、入力情報として運転者の操作であるアクセル開度と、プロセッサの処理負荷の変化量より次の第1の所定時間間隔におけるクロック周波数を決定するため、運転者の操作に応じた処理負荷の変化を推測でき、その処理負荷に応じたクロック周波数を決定することができ省電力化を図ることができる。
In this way, the engine control device 100 determines the clock frequency required by the processor 110 in the next first predetermined time interval T1 from the accelerator opening that is the driver's operation and the amount of change in the processing load of the processor 110. Can be determined.
In such a control device, the driver's operation is performed in order to determine the clock frequency at the next first predetermined time interval from the accelerator opening that is the driver's operation and the amount of change in the processing load of the processor as input information. The change in the processing load can be estimated, the clock frequency corresponding to the processing load can be determined, and power saving can be achieved.

以上のように、実施の形態1によれば、車両内に設置される制御装置において、制御装置は、入力情報として情報収集手段が収集した運転者の操作情報と、処理負荷計測手段が計測した処理負荷の変化量より、処理負荷推定手段が次の第1の所定時間間隔における処理負荷の変化を推測し、その処理負荷に応じたクロック周波数で動作させることで、運転者の操作や、制御装置が持つ制御関連情報の変化を考慮した省電力化を図ることができる。
なお、制御内容に影響する入力情報として運転者の操作であるアクセル開度を用いて説明したが、これに限るものではない。制御装置が直接収集、保有している情報を用いて、それに合った処理負荷と、クロック周波数を導き出すテーブル等の手法を準備すれば、同様の効果が得られる。
As described above, according to the first embodiment, in the control device installed in the vehicle, the control device measures the driver operation information collected by the information collecting unit as input information and the processing load measuring unit measures Based on the amount of change in the processing load, the processing load estimating means estimates the change in the processing load at the next first predetermined time interval, and operates at the clock frequency corresponding to the processing load, so that the operation and control of the driver It is possible to save power in consideration of changes in control-related information of the device.
In addition, although it demonstrated using the accelerator opening which is a driver | operator's operation as input information which affects the control content, it is not restricted to this. By using information directly collected and held by the control device and preparing a method such as a table for deriving a processing load suitable for the information and a clock frequency, the same effect can be obtained.

実施の形態2.
次に、この発明の実施の形態2に係る制御装置を図6〜図9に基づいて説明する。図6はこの発明の実施の形態2に係る制御装置の構成を示すブロック図で、制御装置内に設けられるプロセッサのクロック周波数の変更が可能なエンジン制御装置(第1の制御装置)100と、エンジン制御装置(第1の制御装置)100と通信線(ネッワーク)400で接続されたABS(アンチロック・ブレーキシステム)制御装置(第2の制御装置)300の構成を示している。
Embodiment 2. FIG.
Next, a control device according to Embodiment 2 of the present invention will be described with reference to FIGS. FIG. 6 is a block diagram showing a configuration of a control device according to Embodiment 2 of the present invention, an engine control device (first control device) 100 capable of changing the clock frequency of a processor provided in the control device, 1 shows a configuration of an ABS (anti-lock / brake system) control device (second control device) 300 connected to an engine control device (first control device) 100 via a communication line (network) 400.

図6において、エンジン制御装置100の構成物のうち、図1に示した構成物と同じ符号の構成物は同一のものを示しているので、説明を省略する。エンジン制御装置100には、制御対象であるエンジンユニット101が接続される。また、ABS制御装置300には、制御対象であるブレーキユニット301が接続される。
エンジン制御装置100には、実施の形態1の図1で示したアクセル開度測定手段113が省略され、その代わりに、ABS制御装置300と通信することができる第1の通信手段120が設けられている。上記の各手段以外にも必要な構成物を有しているが、この実施の形態2に直接関係しないので、その説明を省略する。
In FIG. 6, among the components of the engine control device 100, the components having the same reference numerals as the components shown in FIG. The engine control apparatus 100 is connected to an engine unit 101 that is a control target. The ABS control device 300 is connected to a brake unit 301 that is a control target.
In the engine control apparatus 100, the accelerator opening degree measuring means 113 shown in FIG. 1 of the first embodiment is omitted, and a first communication means 120 capable of communicating with the ABS control apparatus 300 is provided instead. ing. Although necessary components are provided in addition to the above-described means, they are not directly related to the second embodiment and will not be described.

第1の通信手段120は、通信線400を介してABS制御装置300と通信することで、各種情報の送受信を実施する。ここでは、ABS制御装置300よりブレーキ操作情報を入手する。ブレーキ操作情報は、完全にブレーキが実施されている状態を100%とした%単位で取り扱うこととする。
処理負荷測定手段112は、第1のプロセッサ110の単位時間当たりの処理負荷量を測定する。処理負荷推定手段115は、処理負荷測定手段112が測定した第1のプロセッサ110の処理負荷量と、情報収集手段114が第1の通信手段120から入手したブレーキ操作情報の変化量から、処理負荷評価テーブル118を利用して、第1の所定時間間隔での第1のプロセッサ110の処理負荷を推定する。
The 1st communication means 120 implements transmission / reception of various information by communicating with the ABS control apparatus 300 via the communication line 400. FIG. Here, brake operation information is obtained from the ABS control device 300. The brake operation information is handled in units of%, where 100% is the state where the brake is completely applied.
The processing load measurement unit 112 measures the processing load amount per unit time of the first processor 110. The processing load estimation unit 115 calculates the processing load from the processing load amount of the first processor 110 measured by the processing load measurement unit 112 and the change amount of the brake operation information obtained from the first communication unit 120 by the information collection unit 114. Using the evaluation table 118, the processing load of the first processor 110 at the first predetermined time interval is estimated.

次にABS制御装置300の構成について説明する。ABS制御装置300は、第2の演算処理手段(プロセッサ)310と、第2の記憶装置(記憶手段)311と、第2の通信手段320をそれぞれ備える。
ABS制御装置300には、上記の各手段以外にも必要な構成物を有しているが、この実施の形態2に直接関係しないので、その説明を省略する。
Next, the configuration of the ABS control apparatus 300 will be described. The ABS control device 300 includes a second arithmetic processing unit (processor) 310, a second storage device (storage unit) 311, and a second communication unit 320.
The ABS control apparatus 300 has necessary components in addition to the above-described means. However, since it is not directly related to the second embodiment, the description thereof is omitted.

第2のプロセッサ310は、第2の記憶装置311に記録されるプログラムに基づいて、各種処理や演算を実施する。第2の記憶装置311は不揮発性、揮発性メモリ等で構成されるデータやプログラムを記録する装置であり、ブレーキユニット301に対する制御演算処理、制御演算必要データ、これらに直接関係しないその他処理・データ等が記録される。第2の通信手段320は、通信線400を介してエンジン制御装置100と通信することで、各種情報の送受信を実施する。ここでは、エンジン制御装置100へブレーキ操作情報を提供する。   The second processor 310 performs various processes and calculations based on a program recorded in the second storage device 311. The second storage device 311 is a device that records data and programs composed of nonvolatile and volatile memories, etc., and performs control calculation processing for the brake unit 301, control calculation required data, and other processing / data not directly related to these. Etc. are recorded. The second communication unit 320 communicates with the engine control apparatus 100 via the communication line 400 to transmit and receive various types of information. Here, the brake operation information is provided to the engine control apparatus 100.

次に図7のフローチャートを用いて、第1の所定時間間隔におけるクロック周波数決定の流れについて説明する。
エンジン制御装置100において、図7に示すフローチャートの処理を第1の所定時間間隔毎に2回以上実施し、次の第1の所定時間間隔での第1のプロセッサ110に必要とされるクロック周波数を決定する。ここでは実施回数を10回とする。
Next, the flow of determining the clock frequency in the first predetermined time interval will be described using the flowchart of FIG.
In the engine control apparatus 100, the processing of the flowchart shown in FIG. 7 is performed twice or more every first predetermined time interval, and the clock frequency required for the first processor 110 at the next first predetermined time interval. To decide. Here, the number of implementations is 10 times.

図7において、図2に示した処理と同じ符号の処理は同一のものであるため、適宜説明を省略する。
ステップS200において、プロセッサ110は、現在の第1の所定時間において、クロック周波数の決定に関連する処理が何回実施されたのかを確認する。1回目の場合は、ステップS500へ進んで、情報収集手段114は、ABS制御装置300より第1の通信手段120を介して受信したブレーキ操作量を入手し、処理負荷推定手段115に通知して処理を終了する。
In FIG. 7, the processes with the same reference numerals as the processes shown in FIG.
In step S200, the processor 110 confirms how many times the processing related to the determination of the clock frequency has been performed in the current first predetermined time. In the first case, the process proceeds to step S500, where the information collecting unit 114 obtains the brake operation amount received from the ABS control device 300 via the first communication unit 120, and notifies the processing load estimating unit 115 of it. The process ends.

2回目の場合は、ステップS202へ進み、処理負荷測定手段112は、プロセッサ110の処理負荷を測定し、処理負荷推定手段115に通知する。次に、ステップS501において、ステップS500と同様に、情報収集手段114は、ABS制御装置300より第1の通信手段120を介して受信したブレーキ操作量を入手し、処理負荷推定手段115に通知する。
ステップS502において、処理負荷推定手段115は、前回のクロック周波数の決定に関連する処理で第1の通信手段120が受信したブレーキ操作量との差分より変化量を算出する。
In the second case, the process load measuring unit 112 measures the process load of the processor 110 and notifies the process load estimating unit 115 of the process load. Next, in step S501, as in step S500, the information collection unit 114 obtains the brake operation amount received from the ABS control device 300 via the first communication unit 120 and notifies the processing load estimation unit 115 of it. .
In step S502, the processing load estimation unit 115 calculates the amount of change from the difference from the brake operation amount received by the first communication unit 120 in the process related to the previous determination of the clock frequency.

ステップS503において、処理負荷推定手段115は、処理負荷測定手段112が測定した第1のプロセッサ110の処理負荷と、情報収集手段114からのブレーキ操作量の変化量より処理負荷評価テーブル118を利用して、次の第1の所定時間での第1のプロセッサ110の処理負荷を推定する。
ステップS206において、クロック周波数決定手段116は、処理負荷推定手段115が推定した第1のプロセッサ110の推定処理負荷よりクロック周波数決定テーブル119を利用して次の第1の所定時間で必要となるクロック周波数を決定する。
In step S503, the processing load estimation unit 115 uses the processing load evaluation table 118 based on the processing load of the first processor 110 measured by the processing load measurement unit 112 and the amount of change in the brake operation amount from the information collection unit 114. Thus, the processing load of the first processor 110 at the next first predetermined time is estimated.
In step S206, the clock frequency determination unit 116 uses the clock frequency determination table 119 based on the estimated processing load of the first processor 110 estimated by the processing load estimation unit 115, and the clock required for the next first predetermined time. Determine the frequency.

このようにして決定されたクロック周波数は次の第1の所定時間間隔においてクロック発生手段117により生成され、このクロック周波数に同期して第1のプロセッサ110は演算処理を実施することとなる。
クロック周波数の決定に関連する処理が3回目以上の場合は、クロック周波数の決定に関連する処理を終了する。
The clock frequency determined in this way is generated by the clock generation means 117 at the next first predetermined time interval, and the first processor 110 performs arithmetic processing in synchronization with this clock frequency.
If the process related to the determination of the clock frequency is the third or more times, the process related to the determination of the clock frequency is terminated.

次にこの実施の形態2で使用する処理負荷評価テーブル118を図8に示す。
図8において、処理負荷評価テーブル118は第1のプロセッサ110の処理負荷と、
ブレーキ操作量の変化量情報から、処理負荷増減率推測値を導出する。仮に現時点での処理負荷が70%であり、ブレーキ操作量変化量が+10とすると、処理負荷評価テーブル118より処理負荷増減率推測値−30%が導出される。よって次の第1の所定時間間隔での処理負荷は、70%の30%減である49%となる。ここでは、処理負荷評価テーブルを用いて次の第1の所定時間での処理負荷を推測したが、処理負荷の推測方法はこれに限るものではない。
Next, the processing load evaluation table 118 used in the second embodiment is shown in FIG.
In FIG. 8, the processing load evaluation table 118 includes the processing load of the first processor 110,
A processing load increase / decrease rate estimated value is derived from the amount of change information of the brake operation amount. If the current processing load is 70% and the brake operation amount change amount is +10, a processing load increase / decrease rate estimated value of −30% is derived from the processing load evaluation table 118. Therefore, the processing load at the next first predetermined time interval is 49%, which is a 30% decrease of 70%. Here, the processing load at the next first predetermined time is estimated using the processing load evaluation table, but the method of estimating the processing load is not limited to this.

このような構成を持つエンジン制御装置100におけるクロック周波数の決定に係る動作を、図9のタイムチャートに従って説明する。
図9においてtは時間単位であり、t40からt50において第1の所定時間T4、t50からt60において第1の所定時間T5が構成される。
また、この実施の形態2におけるT4でクロック発生手段117が生成するクロック周波数は80MHzとする。
The operation related to the determination of the clock frequency in the engine control apparatus 100 having such a configuration will be described with reference to the time chart of FIG.
In FIG. 9, t is a unit of time, and a first predetermined time T4 is configured from t40 to t50, and a first predetermined time T5 is configured from t50 to t60.
The clock frequency generated by the clock generation means 117 at T4 in the second embodiment is 80 MHz.

そして、t40において、処理負荷は40%、ブレーキ操作量は70%、t41において、処理負荷は50%、ブレーキ操作量は60%とする。
t40において、第1のプロセッサ110は、第1の所定時間T4におけるクロック周波数の決定に関連する処理が何回実施されたのかを確認する(ステップS200)。ここでは、1回目の処理のため、第1の通信手段120がABS制御装置300より受信したブレーキ操作量を処理負荷推定手段115に通知し(ステップS500)、処理を終了する。
At t40, the processing load is 40% and the brake operation amount is 70%. At t41, the processing load is 50% and the brake operation amount is 60%.
At t40, the first processor 110 confirms how many times the processing related to the determination of the clock frequency at the first predetermined time T4 has been performed (step S200). Here, for the first processing, the first communication means 120 notifies the processing load estimation means 115 of the brake operation amount received from the ABS control device 300 (step S500), and the processing is terminated.

t41において、第1のプロセッサ110は、第1の所定時間T4におけるクロック周波数の決定に関連する処理が何回実施されたのかを確認する(ステップS200)。ここでは、2回目の処理のため、処理を継続する。
そして、処理負荷測定手段112は、第1のプロセッサ110の処理負荷を測定し処理負荷推定手段115へ通知する(ステップS202)。ここでは、処理負荷は50%であったとする。
At t41, the first processor 110 confirms how many times the processing related to the determination of the clock frequency at the first predetermined time T4 has been performed (step S200). Here, the processing is continued for the second processing.
Then, the processing load measuring unit 112 measures the processing load of the first processor 110 and notifies the processing load estimating unit 115 (step S202). Here, it is assumed that the processing load is 50%.

次に、第1の通信手段120は、ABS制御装置300より受信したブレーキ操作量を処理負荷推定手段115に通知(ステップS501)する。ここでは、ブレーキ操作量は60%とする。
そして、処理負荷推定手段115は、ブレーキ操作量の変化量を算出する(ステップS502)。ここでは70%から60%に変化していることから、10%の減少とする。
次に、処理負荷推定手段115は、処理負荷評価テーブル118より処理負荷50%とブレーキ操作量の変化量―10%から、処理負荷増減推定値を+20%とする。よって、次の第1の所定時間後の第1のプロセッサ110の処理負荷を、50%の20%増である60%とする(ステップS503)。
Next, the first communication unit 120 notifies the processing load estimation unit 115 of the brake operation amount received from the ABS control device 300 (step S501). Here, the brake operation amount is 60%.
Then, the processing load estimation unit 115 calculates the amount of change in the brake operation amount (step S502). Here, since it has changed from 70% to 60%, it is assumed that the reduction is 10%.
Next, the processing load estimation means 115 sets the processing load increase / decrease estimated value to + 20% from the processing load evaluation table 118 based on the processing load 50% and the change amount of the brake operation amount −10%. Therefore, the processing load of the first processor 110 after the next first predetermined time is set to 60%, which is a 20% increase of 50% (step S503).

そして、クロック周波数決定手段116は、第1のプロセッサ110の推定処理負荷が60%であることより、図4に示すクロック周波数決定テーブル119から次の第1の所定時間間隔T5におけるクロック周波数を−20%とし、80MHzの20%減である64MHzとする。
t42において、第1のプロセッサ110は、第1の所定時間T4におけるクロック周波数の決定に関連する処理が何回実施されたのかを確認する(ステップS200)。ここでは、3回目となるため、一連のクロック周波数の決定に関連する処理を終了する。
t43からt49までは、処理負荷測定手段112の処理実施回数は3回目以上となるため、同様に第1のプロセッサ110は、クロック周波数の決定に関する処理を終了させる(ステップS200)。
Then, since the estimated processing load of the first processor 110 is 60%, the clock frequency determination unit 116 determines the clock frequency at the next first predetermined time interval T5 from the clock frequency determination table 119 shown in FIG. 20% and 64 MHz which is a 20% decrease of 80 MHz.
At t42, the first processor 110 confirms how many times the processing related to the determination of the clock frequency at the first predetermined time T4 has been performed (step S200). Here, since this is the third time, processing related to determination of a series of clock frequencies is terminated.
From t43 to t49, the number of times the processing load measuring means 112 has executed the process is the third or more, and similarly, the first processor 110 ends the process related to the determination of the clock frequency (step S200).

t50において、クロック発生手段117は、第1の所定時間T5における発生するクロック周波数を64MHzに切り替える。そして、第1のプロセッサ110は、第1の所定時間T5ではこのクロック周波数に同期して処理を実施する。
次に、第1のプロセッサ110は、第1の所定時間T5におけるクロック周波数の決定に関連する処理が何回実施されたのかを確認する(ステップS200)。ここでは、1回目の処理のため、第1の通信手段120がABS制御装置300より受信したブレーキ操作量を処理負荷推定手段115に通知し(ステップS500)、処理を終了する。
t51以降、第1の所定時間T4の時と同様の処理となるために説明は省略する。
At t50, the clock generation means 117 switches the clock frequency generated at the first predetermined time T5 to 64 MHz. Then, the first processor 110 performs processing in synchronization with the clock frequency at the first predetermined time T5.
Next, the first processor 110 confirms how many times the processing related to the determination of the clock frequency at the first predetermined time T5 has been performed (step S200). Here, for the first processing, the first communication means 120 notifies the processing load estimation means 115 of the brake operation amount received from the ABS control device 300 (step S500), and the processing is terminated.
After t51, the processing is the same as that at the time of the first predetermined time T4, and the description thereof is omitted.

このようにして、エンジン制御装置100は、ABS制御装置300より受信したブレーキ操作量の変化量と、第1のプロセッサ110の処理負荷より次の第1の所定時間間隔において第1のプロセッサ110が必要とするクロック周波数を決定することができる。
このような制御装置では、入力情報として他の制御装置がもつブレーキ操作量の変化量と、第1のプロセッサの処理負荷より次の第1の所定時間間隔におけるクロック周波数を決定するため、車両全体の制御を考慮して一つの制御装置の処理負荷の変化を推測でき、その処理負荷に応じたクロック周波数で該当する制御装置を駆動させることで省電力化を図ることができる。
In this way, the engine control device 100 allows the first processor 110 to perform the first predetermined time interval from the change amount of the brake operation amount received from the ABS control device 300 and the processing load of the first processor 110. The required clock frequency can be determined.
In such a control device, the amount of change in the brake operation amount possessed by another control device as input information and the clock frequency at the next first predetermined time interval are determined from the processing load of the first processor. In consideration of this control, a change in the processing load of one control device can be estimated, and power can be saved by driving the corresponding control device at a clock frequency corresponding to the processing load.

以上のように、実施の形態2によれば、第1の制御装置は、第1の所定時間間隔において、第2の制御装置が保有する情報の変化量と、処理負荷計測手段が計測した処理負荷より、処理負荷推定手段が次の第1の所定時間間隔における処理負荷の変化を推測し、その処理負荷に応じたクロック周波数で動作させることで車両全体を考慮した省電力化を図ることができる。
なお、入力情報として運転者の操作であるブレーキ操作量の変化量を用いて説明したが、ブレーキ操作量の変化量と処理負荷の変化量を用いてもよい。ブレーキ操作量の変化量と、処理負荷の変化量から処理負荷を推定することで、推定精度をより高めることができる。
As described above, according to the second embodiment, the first control device, in the first predetermined time interval, changes the amount of information held by the second control device and the processing measured by the processing load measuring means. From the load, the processing load estimation means estimates a change in the processing load at the next first predetermined time interval, and operates at a clock frequency corresponding to the processing load, thereby saving power in consideration of the entire vehicle. it can.
In addition, although demonstrated using the variation | change_quantity of the brake operation amount which is a driver | operator's operation as input information, you may use the variation | change_quantity of a brake operation amount, and the variation | change_quantity of processing load. By estimating the processing load from the amount of change in the brake operation amount and the amount of change in the processing load, the estimation accuracy can be further increased.

また、入力情報として運転者の操作であるブレーキ操作量を用いて説明したが、これに限るものではない。第1の制御装置がネットワーク経由で車両内外の情報を直接入手する車両情報入手手段(例えば第2の制御装置)から受信している情報を用いて、それに合った処理負荷と、クロック周波数を導き出すテーブル等の手法を準備すれば、同様の効果が得られる。   Moreover, although it demonstrated using the brake operation amount which is a driver | operator's operation as input information, it is not restricted to this. Using the information received from the vehicle information acquisition means (for example, the second control device) that the first control device directly acquires the information inside and outside the vehicle via the network, the processing load and the clock frequency corresponding to the information are derived. If a method such as a table is prepared, the same effect can be obtained.

実施の形態3.
次に、この発明の実施の形態3に係る制御装置を図10〜図12に基づいて説明する。図10はこの発明の実施の形態3に係る制御装置の構成を示すブロック図で、制御装置内に設けられるプロセッサのクロック周波数の変更が可能なエンジン制御装置(第1の制御装置)100と、エンジン制御装置100に接続された制御対象であるエンジンユニット101が示されている。
Embodiment 3 FIG.
Next, a control device according to Embodiment 3 of the present invention will be described with reference to FIGS. FIG. 10 is a block diagram showing the configuration of a control device according to Embodiment 3 of the present invention. An engine control device (first control device) 100 capable of changing the clock frequency of a processor provided in the control device; An engine unit 101 that is a control target connected to the engine control apparatus 100 is shown.

図10において、図1に示した構成物と同じ符号の構成物は同一のものであり、実施の形態3の発明では、さらにクロック周波数変更中止手段130が設けられている。
クロック周波数変更中止手段130は、第2の所定時間において、処理負荷測定手段112が測定した現在のプロセッサ110の処理負荷と、処理負荷推定手段115が推定した次の第1の所定時間にけるプロセッサ110の処理負荷とを比較し、比較結果に応じて次の第1の所定時間におけるクロック周波数の変更を実施するか中止するかを決定する。
10, components having the same reference numerals as those shown in FIG. 1 are the same, and in the invention of the third embodiment, a clock frequency change stopping means 130 is further provided.
The clock frequency change canceling means 130 is a processor for the current first processing time measured by the processing load measuring means 112 and the next first predetermined time estimated by the processing load estimating means 115 at the second predetermined time. The processing load of 110 is compared, and it is determined whether or not to change the clock frequency in the next first predetermined time according to the comparison result.

次に図11のフローチャートを用いて、第1の所定時間間隔におけるクロック周波数決定の流れについて説明する。
エンジン制御装置100において、図11に示すフローチャートの処理を第1の所定時間間隔毎に2回以上実施し、次の第1の所定時間間隔でのプロセッサ110に必要とされるクロック周波数を決定する。ここでは実施回数を10回とする。
図11において、図2に示した処理と同じ符号の処理は同一のものであるため、説明を省略する。
Next, the flow of determining the clock frequency in the first predetermined time interval will be described using the flowchart of FIG.
In the engine control apparatus 100, the processing of the flowchart shown in FIG. 11 is performed twice or more at each first predetermined time interval, and the clock frequency required for the processor 110 at the next first predetermined time interval is determined. . Here, the number of implementations is 10 times.
In FIG. 11, the processes with the same reference numerals as the processes shown in FIG.

ステップS200において、プロセッサ110は、現在の第1の所定時間において、クロック周波数の決定に関連する処理が何回実施されたのかを確認する。1回目の場合は、ステップS201へ進んで処理負荷を確認して処理を終了し、2回目の場合は、ステップS202へ進み、5回目の場合は、ステップS901へ進み、5回目を除く3回目以上の場合は、クロック周波数の決定に関連する処理を終了する。   In step S200, the processor 110 confirms how many times the processing related to the determination of the clock frequency has been performed in the current first predetermined time. In the case of the first time, the process proceeds to step S201 to check the processing load and the process is terminated. In the second time, the process proceeds to step S202. In the case of the fifth time, the process proceeds to step S901, and the third time excluding the fifth time. In the above case, the processing related to the determination of the clock frequency is terminated.

ステップS901において、処理負荷測定手段112は、プロセッサ110の処理負荷を測定し、クロック周波数変更中止手段130に通知する。ここでの処理負荷とは、あらかじめ設定しておく単位時間あたりに実施している処理・演算時間の割合とする。
ステップS902において、クロック周波数変更中止手段130は、処理負荷推定手段115が推定した処理負荷を入手し、処理負荷測定手段112から通知された処理負荷と比較する。比較結果は、双方の差分の絶対値とし、所定の値より大きい場合は、ステップS903へ進み、所定の値より小さい場合は、クロック周波数の決定に関連する処理を終了する。
In step S <b> 901, the processing load measuring unit 112 measures the processing load of the processor 110 and notifies the clock frequency change stopping unit 130 of it. The processing load here is a ratio of processing / calculation time performed per unit time set in advance.
In step S <b> 902, the clock frequency change canceling unit 130 obtains the processing load estimated by the processing load estimating unit 115 and compares it with the processing load notified from the processing load measuring unit 112. The comparison result is the absolute value of the difference between the two, and if it is larger than the predetermined value, the process proceeds to step S903, and if it is smaller than the predetermined value, the process related to the determination of the clock frequency is terminated.

ステップS903において、クロック周波数変更中止手段130は、次の第1の所定時間でのクロック周波数の変更中止をクロック発生手段117へ通知する。
なお、この実施の形態3で使用する処理負荷評価テーブル118は図3に示したものを、クロック周波数決定テーブル119は図4に示したものをそれぞれ使用する。
これ以外にも制御装置100では、エンジン制御本来の処理が実施されるが、実施の形態3に直接関係しないので、その説明を省略する。
In step S903, the clock frequency change cancel unit 130 notifies the clock generation unit 117 of the clock frequency change stop at the next first predetermined time.
The processing load evaluation table 118 used in the third embodiment uses the one shown in FIG. 3, and the clock frequency determination table 119 uses the one shown in FIG.
In addition to this, in the control device 100, the original processing of engine control is performed, but since it is not directly related to the third embodiment, the description thereof is omitted.

このような構成を持つエンジン制御装置100におけるクロック周波数の決定に係る動作のうち、クロック周波数の変更を中止する場合について、図12のタイムチャートに従って説明する。
図12において、tは時間単位であり、t80からt90において第1の所定時間T8、t90からt100において第1の所定時間T9が構成される。
また、この実施の形態3におけるT8でクロック発生手段117が生成するクロック周波数は80MHzとする。
Of the operations related to the determination of the clock frequency in the engine control apparatus 100 having such a configuration, the case where the change of the clock frequency is stopped will be described with reference to the time chart of FIG.
In FIG. 12, t is a unit of time, and a first predetermined time T8 is configured from t80 to t90, and a first predetermined time T9 is configured from t90 to t100.
The clock frequency generated by the clock generation means 117 at T8 in the third embodiment is 80 MHz.

そして、またt80において、処理負荷は70%、アクセル開度は50%、t81において、処理負荷は60%、アクセル開度は40%、t84において、処理負荷は60%、アクセル開度は40%であるとする。また、クロック周波数変更中止手段130がクロック周波数の変更を中止するかどうかの閾値はここでは「10」とする。
t80において、プロセッサ110は、第1の所定時間T8におけるクロック周波数の決定に関連する処理が何回実施されたのかを確認する(ステップS200)。ここでは、1回目の処理となるため、プロセッサ110の処理負荷を測定し処理負荷推定手段115へ通知し(ステップS201)、クロック周波数の決定に関連する処理を終了する。ここでは、処理負荷は70%であったとする。
At t80, the processing load is 70%, the accelerator opening is 50%, at t81, the processing load is 60%, the accelerator opening is 40%, and at t84, the processing load is 60% and the accelerator opening is 40%. Suppose that Here, the threshold value for determining whether or not the clock frequency change canceling unit 130 stops changing the clock frequency is “10”.
At t80, the processor 110 confirms how many times the processing related to the determination of the clock frequency at the first predetermined time T8 has been performed (step S200). Here, since it is the first processing, the processing load of the processor 110 is measured and notified to the processing load estimating means 115 (step S201), and the processing related to the determination of the clock frequency is ended. Here, it is assumed that the processing load is 70%.

t81において、プロセッサ110は、第1の所定時間T8におけるクロック周波数の決定に関連する処理が何回実施されたのかを確認する(ステップS200)。ここでは、2回目の処理のため、処理を継続する。
処理負荷測定手段112は、プロセッサ110の処理負荷を測定し処理負荷推定手段115へ通知する(ステップS202)。ここでは、処理負荷は60%であったとする。
次に処理負荷推定手段115は、処理負荷の変化量を算出する(ステップS203)。ここでは70%から60%に変化していることから、10%の減少とする。
At t81, the processor 110 confirms how many times the processing related to the determination of the clock frequency at the first predetermined time T8 has been performed (step S200). Here, the processing is continued for the second processing.
The processing load measurement unit 112 measures the processing load of the processor 110 and notifies the processing load estimation unit 115 (step S202). Here, it is assumed that the processing load is 60%.
Next, the processing load estimation unit 115 calculates a change amount of the processing load (step S203). Here, since it has changed from 70% to 60%, it is assumed that the reduction is 10%.

そして、アクセル開度測定手段113が測定したアクセル開度を収集し、処理負荷推定手段115に通知する(ステップS204)。ここでは、40%とする。
次に、処理負荷推定手段115は、処理負荷評価テーブル118より処理負荷の変化量−10%とアクセル開度40%から、処理負荷増減率推定値を−20%とする。よって、次の第1の所定時間T9のプロセッサ110の処理負荷を、60%の20%減である48%とする(ステップS205)。
Then, the accelerator opening measured by the accelerator opening measuring means 113 is collected and notified to the processing load estimating means 115 (step S204). Here, it is 40%.
Next, the processing load estimation means 115 sets the estimated processing load increase / decrease rate to −20% from the processing load change amount −10% and the accelerator opening 40% from the processing load evaluation table 118. Therefore, the processing load of the processor 110 for the next first predetermined time T9 is set to 48%, which is a 20% decrease of 60% (step S205).

そして、クロック周波数決定手段116は、プロセッサ110の推定処理負荷が48%であることより、クロック周波数決定テーブル119から次の第1の所定時間間隔T9におけるクロック周波数を−25%とし、80MHzの25%減である60MHzとする(ステップS206)。
t82、t83において、プロセッサ110は、第1の所定時間T8におけるクロック周波数の決定に関連する処理が何回実施されたのかを確認する(ステップS200)。ここでは、それぞれ3回目、4回目となるため、一連のクロック周波数の決定に関連する処理を終了する。
Then, since the estimated processing load of the processor 110 is 48%, the clock frequency determination means 116 sets the clock frequency in the next first predetermined time interval T9 to −25% from the clock frequency determination table 119, and 25 of 80 MHz. It is set to 60 MHz, which is a% decrease (step S206).
At t82 and t83, the processor 110 confirms how many times the processing related to the determination of the clock frequency at the first predetermined time T8 has been performed (step S200). Here, since it is the third time and the fourth time, the processing related to the determination of a series of clock frequencies is terminated.

t84において、プロセッサ110は、第1の所定時間T8におけるクロック周波数の決定に関連する処理が何回実施されたのかを確認する(ステップS200)。ここでは、5回目となるため、処理を継続する。
処理負荷測定手段112は、プロセッサ110の処理負荷を測定しクロック周波数変更中止手段130へ通知する(ステップS901)。ここでは、処理負荷は60%であったとする。
At t84, the processor 110 checks how many times the processing related to the determination of the clock frequency at the first predetermined time T8 has been performed (step S200). Here, since it is the fifth time, the processing is continued.
The processing load measurement unit 112 measures the processing load of the processor 110 and notifies the clock frequency change stop unit 130 (step S901). Here, it is assumed that the processing load is 60%.

クロック周波数変更中止手段130は、処理負荷測定手段112が測定したプロセッサ110の処理負荷と処理負荷推定手段115がt81で推定したT9でのプロセッサ110の処理負荷を比較する(ステップS902)。ここでは、t84で測定したプロセッサ110の処理負荷は60%であり、t81で推定された処理負荷が48%であることから、閾値「10」を超えていることになり、次の第1の所定時間T9におけるクロック周波数の変更を中止することをクロック発生手段117へ通知する。   The clock frequency change stopping unit 130 compares the processing load of the processor 110 measured by the processing load measuring unit 112 with the processing load of the processor 110 at T9 estimated by the processing load estimating unit 115 at t81 (step S902). Here, the processing load of the processor 110 measured at t84 is 60%, and the processing load estimated at t81 is 48%, which means that the threshold value “10” is exceeded. The clock generation means 117 is notified that the change of the clock frequency at the predetermined time T9 is to be stopped.

t85からt89までは、プロセッサ110は、第1の所定時間T8におけるクロック周波数の決定に関連する処理が何回実施されたのかを確認する(ステップS200)。それぞれ6回目以上となるため、一連のクロック周波数の決定に関連する処理を終了する。
t90において、クロック発生手段117は、第1の所定時間T9における発生するクロック周波数の切り替えを実施せず、T8と同様に80MHzのままとする。そして、プロセッサ110は、第1の所定時間T9ではこのクロック周波数に同期して処理を実施する。
From t85 to t89, the processor 110 confirms how many times the processing related to the determination of the clock frequency at the first predetermined time T8 has been performed (step S200). Since each is the sixth or more times, the processing related to the determination of a series of clock frequencies is terminated.
At t90, the clock generation means 117 does not switch the generated clock frequency at the first predetermined time T9, and remains at 80 MHz as in T8. The processor 110 performs processing in synchronization with the clock frequency at the first predetermined time T9.

次に、プロセッサ110は、第1の所定時間T9におけるクロック周波数の決定に関連する処理が何回実施されたのかを確認する(ステップS200)。ここでは、1回目の処理となるため、プロセッサ110の処理負荷を測定し処理負荷推定手段115へ通知し(ステップS201)、クロック周波数の決定に関連する処理を終了する。
t91以降、第1の所定時間T8の時と同様の処理となるために説明は省略する。
Next, the processor 110 checks how many times the processing related to the determination of the clock frequency at the first predetermined time T9 has been performed (step S200). Here, since it is the first processing, the processing load of the processor 110 is measured and notified to the processing load estimating means 115 (step S201), and the processing related to the determination of the clock frequency is ended.
After t91, the processing is the same as that at the time of the first predetermined time T8, and thus description thereof is omitted.

このようにして、エンジン制御装置100は、運転者の操作であるアクセル開度と、プロセッサ110の処理負荷の変化量より次の第1の所定時間間隔におけるプロセッサ110が必要とするクロック周波数を決定することができるとともに、処理負荷のみを用いて、クロック周波数の変更中止を決定することができるため、変更中止判定にかかる時間を短くすることができる。   In this way, the engine control apparatus 100 determines the clock frequency required by the processor 110 in the next first predetermined time interval from the accelerator opening that is the operation of the driver and the amount of change in the processing load of the processor 110. In addition, since it is possible to determine the change cancellation of the clock frequency using only the processing load, it is possible to shorten the time required for the change stop determination.

このような制御装置では、入力情報として運転者の操作であるアクセル開度と、プロセッサの処理負荷の変化量より次の第1の所定時間間隔におけるクロック周波数を決定するため、運転者の操作に応じた処理負荷の変化を推測でき、その処理負荷に応じたクロック周波数を決定することができ省電力化を図ることができる。
さらに、また、このような制御装置では、第1の所定時間より短い第2の所定時間において、クロック周波数切り替えの判断を実施するため、クロック周波数推定後に急な割り込み事象等による処理負荷が想定しているよりも変動した場合にもクロック周波数が不足することや、クロック周波数が大幅に過剰になることを防止することができる。
また、クロック周波数切り替えの判断は、処理負荷のみを用いて実施するために、変更実施判定にかかる時間を短くすることができる。
In such a control device, the driver's operation is performed in order to determine the clock frequency at the next first predetermined time interval from the accelerator opening that is the driver's operation and the amount of change in the processing load of the processor as input information. The change in the processing load can be estimated, the clock frequency corresponding to the processing load can be determined, and power saving can be achieved.
Furthermore, in such a control device, since the determination of the clock frequency switching is performed in the second predetermined time shorter than the first predetermined time, a processing load due to a sudden interrupt event or the like after the clock frequency estimation is assumed. Even when the frequency fluctuates more than the above, it is possible to prevent the clock frequency from being insufficient or the clock frequency from becoming excessively large.
In addition, since the determination of the clock frequency switching is performed using only the processing load, the time required for the change execution determination can be shortened.

以上のように、実施の形態3によれば、制御装置は、入力情報として情報収集手段が収集した運転者の操作情報と、処理負荷計測手段が計測した処理負荷の変化量より、処理負荷推定手段は次の第1の所定時間間隔における処理負荷の変化を推測し、その処理負荷に応じたクロック周波数で動作させることで、運転者の操作や、第1の制御装置が持つ制御関連情報の変化を考慮した省電力化を図ることができる。
また、制御装置は、クロック周波数切り替えの判断を第1の所定時間より短い第2の所定時間に実施するため、クロック周波数推定後に急な割り込み事象等による処理負荷が想定しているよりも変動した場合でも、クロック周波数が不足することや、クロック周波数が大幅に過剰になることを防止することができる。
As described above, according to the third embodiment, the control device estimates the processing load based on the driver operation information collected by the information collecting unit as input information and the amount of change in the processing load measured by the processing load measuring unit. The means estimates the change in the processing load at the next first predetermined time interval and operates at the clock frequency corresponding to the processing load, so that the operation of the driver and the control related information possessed by the first control device can be obtained. Power saving can be achieved in consideration of changes.
In addition, since the control device performs the determination of the clock frequency switching at the second predetermined time shorter than the first predetermined time, the processing load due to a sudden interrupt event or the like after the clock frequency estimation has fluctuated more than expected. Even in this case, it is possible to prevent the clock frequency from becoming insufficient or the clock frequency from becoming excessively large.

また、上記実施の形態1、2、3において、クロック周波数の決定に関連する処理を第1の所定時間の最初に実施したがこれに限るものではない。クロック周波数変更までの余裕時間を見越したタイミングで実施すれば同様の効果は得られる。
なおこの発明は、その発明の範囲内において、各実施の形態を自由に組み合わせたり、各実施の形態を適宜、変形、省略することが可能である。
In the first, second, and third embodiments, the processing related to the determination of the clock frequency is performed at the beginning of the first predetermined time. However, the present invention is not limited to this. The same effect can be obtained if it is carried out at a timing that allows for an allowance time until the clock frequency is changed.
It should be noted that the present invention can be freely combined with each other within the scope of the invention, and each embodiment can be appropriately modified or omitted.

100:エンジン制御装置(第1の制御装置)、 101:エンジンユニット、
110:演算処理手段(プロセッサ)、 111:記憶装置(記憶手段)、
112:処理負荷測定手段、 213:アクセル開度測定手段、
114:情報収集手段、 115:処理負荷推定手段、
116:クロック周波数決定手段、 117:クロック発生手段、
118:処理負荷評価テーブル、 119:クロック周波数決定テーブル、
120:第1の通信手段、 130:クロック周波数変更中止手段、
300:ABS制御装置(第2の制御装置)、 301:ブレーキユニット、
310:第2の演算処理手段(プロセッサ)、 311:第2の記憶装置(記憶手段
)、
320:第2の通信手段、 400 通信線。
100: engine control device (first control device), 101: engine unit,
110: arithmetic processing means (processor), 111: storage device (storage means),
112: Processing load measuring means, 213: Accelerator opening degree measuring means,
114: Information collecting means 115: Processing load estimating means,
116: Clock frequency determining means, 117: Clock generating means,
118: Processing load evaluation table, 119: Clock frequency determination table,
120: First communication means 130: Clock frequency change stop means,
300: ABS control device (second control device), 301: Brake unit,
310: second arithmetic processing means (processor), 311: second storage device (storage means)
),
320: Second communication means, 400 communication line.

Claims (8)

車両内に設置される制御装置において、供給されるクロックに同期して、プログラムを実行する演算処理手段と、前記プログラムを記憶する記憶手段と、自身の処理負荷を計測する処理負荷測定手段と、制御内容に影響する情報を収集する情報収集手段と、前記演算処理手段の処理負荷を推定する処理負荷推定手段と、第1の所定時間間隔で前記演算処理手段が必要とするクロック周波数を決定するクロック周波数決定手段と、前記クロック周波数決定手段の指示に従ったクロックを発生するクロック発生手段とを備え、
前記クロック周波数決定手段は、第1の所定時間間隔内で前記処理負荷推定手段が推定した処理負荷により次の第1の所定時間間隔で必要とされるクロック周波数を決定し、前記クロック発生手段は、次の第1の所定時間間隔において、前記クロック周波数決定手段の指示に従ったクロックを生成することを特徴とする制御装置。
In a control device installed in a vehicle, an arithmetic processing means for executing a program in synchronization with a supplied clock, a storage means for storing the program, a processing load measuring means for measuring its own processing load, Information collecting means for collecting information affecting control contents, processing load estimating means for estimating the processing load of the arithmetic processing means, and a clock frequency required by the arithmetic processing means at a first predetermined time interval. A clock frequency determining means; and a clock generating means for generating a clock according to an instruction of the clock frequency determining means,
The clock frequency determining means determines a clock frequency required in the next first predetermined time interval based on the processing load estimated by the processing load estimating means within a first predetermined time interval, and the clock generating means A control device for generating a clock according to an instruction of the clock frequency determining means at the next first predetermined time interval.
前記処理負荷推定手段は、前記処理負荷測定手段が計測した処理負荷の変化と、前記情報収集手段が収集した情報により、次の第1の所定時間での処理負荷を推定することを特徴とする請求項1に記載の制御装置。   The processing load estimation unit estimates a processing load at the next first predetermined time based on a change in the processing load measured by the processing load measurement unit and information collected by the information collection unit. The control device according to claim 1. 前記処理負荷推定手段は、前記処理負荷測定手段が計測した処理負荷と、前記情報収集手段が収集した情報の変化により、次の第1の所定時間間隔での処理負荷を推定することを特徴とする請求項1に記載の制御装置。   The processing load estimation unit estimates a processing load at the next first predetermined time interval based on a processing load measured by the processing load measurement unit and a change in information collected by the information collection unit. The control device according to claim 1. 前記処理負荷推定手段は、前記処理負荷測定手段が計測した処理負荷の変化と、前記情報収集手段が収集した情報の変化により、次の第1の所定時間間隔での処理負荷を推定することを特徴とする請求項1に記載の制御装置。   The processing load estimation means estimates the processing load at the next first predetermined time interval based on a change in the processing load measured by the processing load measurement means and a change in the information collected by the information collection means. The control device according to claim 1, wherein 車両内外の情報を直接入手する車両情報入手手段を備え、前記情報収集手段は、制御内容に影響する情報を前記車両情報入手手段から収集することを特徴とする請求項1乃至請求項4のいずれか1項に記載の制御装置。   5. The vehicle information obtaining means for directly obtaining information inside and outside the vehicle, wherein the information collecting means collects information affecting the control contents from the vehicle information obtaining means. The control device according to claim 1. 前記クロック発生手段から発生するクロック周波数の変更を停止するクロック周波数変更中止手段を備え、前記クロック周波数変更中止手段は、前記処理負荷推定手段が推定した推定処理負荷と、前記第1の所定時間より短い第2の所定時間経過後に前記処理負荷測定手段が測定した処理負荷との比較結果により、前記第1の所定時間時にクロック周波数の変更を実施しないことを特徴とする請求項1乃至請求項5のいずれか1項に記載の制御装置。   Clock frequency change stop means for stopping the change of the clock frequency generated from the clock generation means, the clock frequency change stop means is based on the estimated processing load estimated by the processing load estimation means and the first predetermined time 6. The clock frequency is not changed during the first predetermined time based on a comparison result with the processing load measured by the processing load measuring means after a short second predetermined time has elapsed. The control device according to any one of the above. 車両内に設置される制御装置において、供給されるクロックに同期して、プログラムを実行する演算処理手段と、前記プログラムを記憶する記憶手段と、自身の処理負荷を計測する処理負荷測定手段と、制御内容に影響する情報を収集する情報収集手段と、前記演算処理手段の処理負荷を推定する処理負荷推定手段と、第1の所定時間間隔で前記演算処理手段が必要とするクロック周波数を決定するクロック周波数決定手段と、前記クロック周波数決定手段の指示に従ったクロックを発生するクロック発生手段とを有する第1の制御装置と、前記第1の制御装置とネットワークで接続された第2の制御装置を備え、
前記第1の制御装置は、前記第2の制御装置から前記ネットワーク経由で情報を受信する第1の通信手段を設け、前記第2の制御装置は、前記ネットワーク経由で保有する情報を前記第1の制御装置へ送信する第2の通信手段を設け、前記第1の制御装置の前記情報収集手段は、制御内容に影響する情報を前記第1の通信手段から入手するようにすると共に、前記クロック周波数決定手段は、第1の所定時間間隔内で前記処理負荷推定手段が推定した処理負荷により次の第1の所定時間間隔で必要とされるクロック周波数を決定し、前記クロック発生手段は、次の第1の所定時間間隔において、前記クロック周波数決定手
段の指示に従ったクロックを生成することを特徴とする制御装置。
In a control device installed in a vehicle, an arithmetic processing means for executing a program in synchronization with a supplied clock, a storage means for storing the program, a processing load measuring means for measuring its own processing load, Information collecting means for collecting information affecting control contents, processing load estimating means for estimating the processing load of the arithmetic processing means, and a clock frequency required by the arithmetic processing means at a first predetermined time interval. A first control device having a clock frequency determining means and a clock generating means for generating a clock according to an instruction of the clock frequency determining means, and a second control device connected to the first control device through a network With
The first control device includes first communication means for receiving information from the second control device via the network, and the second control device stores information held via the network. A second communication means for transmitting to the control device, wherein the information collecting means of the first control device obtains information affecting the control content from the first communication means, and the clock The frequency determining means determines a clock frequency required at the next first predetermined time interval based on the processing load estimated by the processing load estimating means within the first predetermined time interval, and the clock generating means And generating a clock according to an instruction of the clock frequency determination means at the first predetermined time interval.
前記第1の制御装置はエンジン制御装置とし、前記第2の制御装置は自動ブレーキ制御装置として、前記第2の制御装置の第2の通信手段からブレーキ操作情報を前記第1の制御装置の第1の通信手段へ送信するようにしたことを特徴とする請求項7に記載の制御装置。   The first control device is an engine control device, the second control device is an automatic brake control device, and brake operation information is received from the second communication means of the second control device. The control apparatus according to claim 7, wherein the control apparatus transmits to one communication means.
JP2013190108A 2013-09-13 2013-09-13 Control device Expired - Fee Related JP5595571B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013190108A JP5595571B1 (en) 2013-09-13 2013-09-13 Control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013190108A JP5595571B1 (en) 2013-09-13 2013-09-13 Control device

Publications (2)

Publication Number Publication Date
JP5595571B1 true JP5595571B1 (en) 2014-09-24
JP2015054649A JP2015054649A (en) 2015-03-23

Family

ID=51702103

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013190108A Expired - Fee Related JP5595571B1 (en) 2013-09-13 2013-09-13 Control device

Country Status (1)

Country Link
JP (1) JP5595571B1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7294771B2 (en) * 2018-04-02 2023-06-20 トヨタ自動車株式会社 In-vehicle device, clock setting method and program for in-vehicle device
JP2020149317A (en) * 2019-03-13 2020-09-17 株式会社デンソー Vehicle device
CN111267851B (en) * 2020-01-22 2021-07-06 东风小康汽车有限公司重庆分公司 Following distance updating method, vehicle cruise control method and device

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5798667A (en) * 1994-05-16 1998-08-25 At&T Global Information Solutions Company Method and apparatus for regulation of power dissipation
JP3974065B2 (en) * 2003-03-27 2007-09-12 株式会社東芝 Processor
JP2007022355A (en) * 2005-07-19 2007-02-01 Denso Corp Control unit for automobile
JP2009234445A (en) * 2008-03-27 2009-10-15 Toyota Motor Corp Vehicular electronic control unit and operation clock switching method
JP2012154641A (en) * 2011-01-21 2012-08-16 Denso Corp Battery state monitoring device
JP5601236B2 (en) * 2011-02-10 2014-10-08 富士通株式会社 Information extraction program, information extraction method, and information extraction apparatus
KR101894282B1 (en) * 2011-07-29 2018-09-03 삼성전자 주식회사 Thermal Controlling Method And Portable Device supporting the same

Also Published As

Publication number Publication date
JP2015054649A (en) 2015-03-23

Similar Documents

Publication Publication Date Title
US10281970B2 (en) Control device, system, and computer program product
US11560038B2 (en) Vehicle air conditioning control system, non-transitory computer readable medium storing air conditioning control program, and method for controlling air conditioning control system
JP5818938B1 (en) Control device switching system
US6974251B2 (en) Ambient air temperature prediction
JP5595571B1 (en) Control device
CN110608106B (en) Temperature processing method and device
US20190349432A1 (en) Vehicular communication device
US9513679B2 (en) Electronic control unit
EP2849024A1 (en) Power consumption management system and method
CN107084731B (en) Method and device for optimizing vehicle-mounted positioning track
JP2016177423A (en) Control system having multi-core microcontroller and control method thereof
EP3009644A1 (en) Engine control apparatus
US10741238B2 (en) On-vehicle device, clock setting method for on-vehicle device, and computer-readable non-transitory storage medium having program stored therein
JP2016013782A (en) On-vehicle electronic control device
CN110649913B (en) Frequency adjustment method and device for crystal oscillator, storage medium and electronic equipment
US10329973B2 (en) Engine oil deterioration diagnosis device
JP6319010B2 (en) Probe information collecting apparatus and probe information collecting method
WO2023005121A1 (en) Terminal positioning method, device, storage medium, and positioning module
JP2009147555A (en) Failure prediction system for in-vehicle electronic control unit
JP4957579B2 (en) Vehicle control device
KR20160124527A (en) Apparatus and method for controlling clutch
JP6009634B2 (en) Control device switching system
JP7378445B2 (en) Electronic control unit, information processing method, and program
JP2010117987A (en) Memory control device and memory control program
JP5594416B1 (en) Electronic control unit

Legal Events

Date Code Title Description
TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20140708

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140805

R151 Written notification of patent or utility model registration

Ref document number: 5595571

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees