JP6774147B2 - 制御装置 - Google Patents
制御装置 Download PDFInfo
- Publication number
- JP6774147B2 JP6774147B2 JP2016252912A JP2016252912A JP6774147B2 JP 6774147 B2 JP6774147 B2 JP 6774147B2 JP 2016252912 A JP2016252912 A JP 2016252912A JP 2016252912 A JP2016252912 A JP 2016252912A JP 6774147 B2 JP6774147 B2 JP 6774147B2
- Authority
- JP
- Japan
- Prior art keywords
- task
- control device
- synchronization mechanism
- unit
- synchronization
- 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.)
- Active
Links
- 230000007246 mechanism Effects 0.000 claims description 152
- 238000000034 method Methods 0.000 claims description 90
- 230000008569 process Effects 0.000 claims description 74
- 238000001514 detection method Methods 0.000 claims description 17
- 230000007423 decrease Effects 0.000 claims description 5
- 238000012545 processing Methods 0.000 description 55
- 230000004888 barrier function Effects 0.000 description 15
- 238000012546 transfer Methods 0.000 description 12
- 230000006870 function Effects 0.000 description 9
- 230000001360 synchronised effect Effects 0.000 description 6
- 230000004044 response Effects 0.000 description 3
- 230000006872 improvement Effects 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000009467 reduction Effects 0.000 description 2
- 230000008901 benefit Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000003745 diagnosis Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000006266 hibernation Effects 0.000 description 1
- 230000000737 periodic effect Effects 0.000 description 1
- 238000004904 shortening Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/52—Program synchronisation; Mutual exclusion, e.g. by means of semaphores
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Power Sources (AREA)
Description
図1は本発明を適用した制御システムのハードウェア構成例を示している。コントローラ101はセンサ102、アクチュエータ103と接続しており、センサ102から得られる情報を入力として、アクチュエータ103に制御信号を出力している。センサ102の例としてホール素子、アクチュエータ103の例としてブラシレスDCモータがある。センサ102やアクチュエータ103はそれぞれ複数あってもよい。
最初に、システムの制御モードが「通常」のときの動作を説明する。図6は、制御モードが「通常」のときの、タスクのコアへの配置例を示している。コア121にタスクAとタスクBが、コア122にタスクCとタスクEが、コア123にタスクDが配置されている。タスクの優先度はAがBより、CがEより高く設定されている。これらのタスク配置や優先度設定は、動作単位制御部31が行う。
次に、システムが制御モードを「通常」から「低消費電力1」に変更したときのシステムの動作を説明する。図8は、制御モードが「低消費電力1」のときの、タスクのコアへの配置例を示している。コア121にタスクAとタスクDが、コア122にタスクCとタスクEが配置されている。タスクBは配置されておらず、動作しない。サブタスクa2は、データd1とd3を利用し、d2は利用しない。タスクの優先度は、AがDより、CがEより高く設定されている。コア123とコア124は休止する。
次に、システムが制御モードを「低消費電力1」から「低消費電力2」に変更したときのシステムの動作を説明する。図10は、制御モードが「低消費電力2」の、タスクのコアへの配置例を示している。コア121にタスクAとタスクCが配置されている。タスクB,D,Eは配置されておらず、動作しない。サブタスクa2は、データd1とd3を利用し、d2は利用しない。タスクの優先度は、AがCより高く設定されている。コア122〜124は休止する。
上記ではOSがAMPであることを前提としたが、以下ではOSがSMPとAMPとでモード切り替えをできるものであると想定する。動作状況管理部32がOSのモード情報(AMP/SMP)を同期機構選択部34に提供し、同期機構選択部34がそのモード情報に応じて、利用する同期機構選択ルールを切り替える。この場合、図5Aの同期機構選択ルール50は、OSがAMPで動作するときに利用される。
以下では、図12を用いて、データ授受部36、データアクセス制御部37の動作例を説明する。タスク配置は当初、図6の制御モードが「通常」の状況とする。
32…動作状況管理部
33…同期機構利用部
34…同期機構選択部
35…同期機構
36…データ授受部
37…データアクセス制御部
40…実行部
50…同期機構選択ルール
51…処理ルーチン選択ルール
101…コントローラ
102…センサ
103…アクチュエータ
110…マイクロコンピュータ
111…入力回路
112…出力回路
113…電源回路
120…データバッファ
121〜124…プロセッサコア
130…入出力回路
140…RAM
150…ROM
160…不揮発メモリ
Claims (8)
- 複数のプロセッサと、
前記複数のプロセッサへの複数の処理の配置状況を検出する検出部と、
前記複数の処理の間の同期をとる複数種類の同期機構と、
前記配置状況と、前記同期機構を使用する第1処理又は前記同期機構を使用しない第2処理を示す識別子と、を対応づけて記憶するメモリと、
前記検出部によって検出された前記配置状況に対応する前記識別子が示す前記第1処理又は前記第2処理を実行する実行部と、
を備えることを特徴とする制御装置。 - 請求項1に記載の制御装置であって、
前記検出部は、
前記制御装置の消費電力を示す制御モードを検出し、
前記メモリは、
前記制御モードと、前記配置状況と、を対応づけて記憶し、
前記制御装置は、
前記検出部によって検出される前記制御モードに対応する前記配置状況に基づいて、前記複数の処理を前記複数のプロセッサへ配置する動作単位制御部を備える
ことを特徴とする制御装置。 - 請求項2に記載の制御装置であって、
前記動作単位制御部は、
前記検出部によって検出される前記制御モードが前記制御装置の最小の消費電力を示す場合、前記複数の処理を前記複数のプロセッサのうちの1つに配置し、
前記実行部は、
前記複数の処理が前記複数のプロセッサのうちの1つのみに配置される場合、前記第2処理を実行する
ことを特徴とする制御装置。 - 請求項3に記載の制御装置であって、
前記実行部は、
前記第2処理として、前記複数の処理を1つに統合し、統合された1つの処理を実行する
ことを特徴とする制御装置。 - 請求項2に記載の制御装置であって、
前記検出部は、
前記制御装置にインストールされるオペレーションシステムが対称型であるか又は非対称型であるかを示すOSモードを検出し、
前記メモリは、
前記OSモード及び前記配置状況の組合せと、前記識別子とを対応づけて記憶し、
前記実行部は、
前記検出部によって検出された前記OSモード及び前記配置状況の組合せに対応する前記識別子が示す前記第1処理又は前記第2処理を実行する
ことを特徴とする制御装置。 - 請求項2に記載の制御装置であって、
第1バッファと第2バッファを備え、
前記実行部は、
前記第2処理を実行する場合、第1期間において、前記複数の処理の書き込みに前記第1バッファを用い、前記複数の処理の読み込みに前記第2バッファを用い、前記第1期間の後の第2期間において、前記複数の処理の書き込みに前記第2バッファを用い、前記複数の処理の読み込みに前記第1バッファを用いる
ことを特徴とする制御装置。 - 請求項2に記載の制御装置であって、
前記動作単位制御部は、
前記検出部によって検出される前記制御モードが示す前記制御装置の消費電力が小さくなるにつれて、前記複数の処理の数を減らす
ことを特徴とする制御装置。 - 請求項7に記載の制御装置であって、
前記動作単位制御部は、
前記検出部によって検出される前記制御モードが示す前記制御装置の消費電力が小さくなるにつれて、使用するプロセッサの数を減らす
ことを特徴とする制御装置。
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2016252912A JP6774147B2 (ja) | 2016-12-27 | 2016-12-27 | 制御装置 |
PCT/JP2017/045437 WO2018123707A1 (ja) | 2016-12-27 | 2017-12-19 | 制御装置 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2016252912A JP6774147B2 (ja) | 2016-12-27 | 2016-12-27 | 制御装置 |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2018106472A JP2018106472A (ja) | 2018-07-05 |
JP6774147B2 true JP6774147B2 (ja) | 2020-10-21 |
Family
ID=62707510
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2016252912A Active JP6774147B2 (ja) | 2016-12-27 | 2016-12-27 | 制御装置 |
Country Status (2)
Country | Link |
---|---|
JP (1) | JP6774147B2 (ja) |
WO (1) | WO2018123707A1 (ja) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2021026613A (ja) * | 2019-08-07 | 2021-02-22 | 株式会社デンソーテン | 演算装置、演算方法およびプログラム |
JP7476638B2 (ja) | 2020-04-15 | 2024-05-01 | 株式会社デンソー | マルチプロセッサシステム |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003084990A (ja) * | 2001-09-12 | 2003-03-20 | Chuo Electronics Co Ltd | タスク間における汎用通信方法 |
JP4057989B2 (ja) * | 2003-09-26 | 2008-03-05 | 株式会社東芝 | スケジューリング方法および情報処理システム |
JP5540799B2 (ja) * | 2010-03-19 | 2014-07-02 | 富士通株式会社 | データ入出力制御方法,データ入出力制御プログラムおよびデータ入出力制御装置 |
US9201707B2 (en) * | 2011-02-02 | 2015-12-01 | Nec Corporation | Distributed system, device, method, and program |
JP6259388B2 (ja) * | 2014-12-03 | 2018-01-10 | 日本電信電話株式会社 | 電源制御装置、サーバ仮想化システム、および、電源制御方法 |
-
2016
- 2016-12-27 JP JP2016252912A patent/JP6774147B2/ja active Active
-
2017
- 2017-12-19 WO PCT/JP2017/045437 patent/WO2018123707A1/ja active Application Filing
Also Published As
Publication number | Publication date |
---|---|
WO2018123707A1 (ja) | 2018-07-05 |
JP2018106472A (ja) | 2018-07-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9411646B2 (en) | Booting secondary processors in multicore system using kernel images stored in private memory segments | |
CN101529383B (zh) | 任务处理装置 | |
US9047120B2 (en) | Virtual queue processing circuit and task processor | |
CN108920267B (zh) | 任务处理装置 | |
CN109997113B (zh) | 用于数据处理的方法和装置 | |
US20100268862A1 (en) | Reconfigurable processor and method of reconfiguring the same | |
WO2008062647A1 (en) | Multiprocessor system, system configuration method in multiprocessor system, and program thereof | |
JP2016508647A5 (ja) | ||
JP2012104140A (ja) | 待機状態にあるプロセッサ実行リソースの共有 | |
TWI426451B (zh) | Work processing device | |
US8819680B2 (en) | Computer system for controlling the execution of virtual machines | |
WO2012120654A1 (ja) | タスクスケジューリング方法およびマルチコアシステム | |
CN102436393B (zh) | 任务处理装置 | |
JP6774147B2 (ja) | 制御装置 | |
JP4963018B2 (ja) | スケジューリング方法およびスケジューリング装置 | |
KR101472186B1 (ko) | 정보 처리 장치 및 정보 처리 장치의 제어 방법 | |
US20050066093A1 (en) | Real-time processor system and control method | |
JP2007058279A (ja) | パワーダウン移行システム | |
JP2006126938A (ja) | データ転送システム及びそのデータ転送方法 | |
WO2017067402A1 (zh) | 计算设备及计算设备存储部件的管理方法及系统 | |
JP2018049406A (ja) | 複数プロセッサ間のタスク連携装置 | |
KR100748715B1 (ko) | 하드웨어 작업관리 장치 | |
KR940002148B1 (ko) | 전전자 교환시스팀의 작업 동기 방법 | |
CN115357342A (zh) | 冷启动资源处理方法及装置 | |
JP2009230466A (ja) | 情報処理装置、情報処理装置の制御方法および制御プログラム |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20190712 |
|
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: 20200923 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20200930 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6774147 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
S533 | Written request for registration of change of name |
Free format text: JAPANESE INTERMEDIATE CODE: R313533 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |