JP6902948B2 - 車両制御装置 - Google Patents
車両制御装置 Download PDFInfo
- Publication number
- JP6902948B2 JP6902948B2 JP2017136709A JP2017136709A JP6902948B2 JP 6902948 B2 JP6902948 B2 JP 6902948B2 JP 2017136709 A JP2017136709 A JP 2017136709A JP 2017136709 A JP2017136709 A JP 2017136709A JP 6902948 B2 JP6902948 B2 JP 6902948B2
- Authority
- JP
- Japan
- Prior art keywords
- interrupt
- executed
- unmaskable
- timer
- task
- 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
- 238000012545 processing Methods 0.000 claims description 18
- 238000000034 method Methods 0.000 description 47
- 230000008569 process Effects 0.000 description 45
- 230000005856 abnormality Effects 0.000 description 8
- 238000013523 data management Methods 0.000 description 7
- 230000006870 function Effects 0.000 description 7
- 230000007246 mechanism Effects 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- 238000007726 management method Methods 0.000 description 4
- 230000002159 abnormal effect Effects 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 3
- 238000013461 design Methods 0.000 description 3
- 238000001514 detection method Methods 0.000 description 2
- 238000004891 communication Methods 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 238000012806 monitoring device Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000011084 recovery Methods 0.000 description 1
- 239000013585 weight reducing agent 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/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
- G06F9/4812—Task transfer initiation or dispatching by interrupt, e.g. masked
- G06F9/4831—Task transfer initiation or dispatching by interrupt, e.g. masked with variable priority
- G06F9/4837—Task transfer initiation or dispatching by interrupt, e.g. masked with variable priority time dependent
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60R—VEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
- B60R16/00—Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for
- B60R16/02—Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements
- B60R16/023—Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements for transmission of signals between vehicle parts or subsystems
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60W—CONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
- B60W50/00—Details of control systems for road vehicle drive control not related to the control of a particular sub-unit, e.g. process diagnostic or vehicle driver interfaces
- B60W50/02—Ensuring safety in case of control system failures, e.g. by diagnosing, circumventing or fixing failures
- B60W50/0205—Diagnosing or detecting failures; Failure detection models
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F02—COMBUSTION ENGINES; HOT-GAS OR COMBUSTION-PRODUCT ENGINE PLANTS
- F02D—CONTROLLING COMBUSTION ENGINES
- F02D45/00—Electrical control not provided for in groups F02D41/00 - F02D43/00
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05D—SYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
- G05D1/00—Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
- G05D1/0055—Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots with safety arrangements
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
-
- 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/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
- G06F9/4812—Task transfer initiation or dispatching by interrupt, e.g. masked
-
- 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/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
- G06F9/4812—Task transfer initiation or dispatching by interrupt, e.g. masked
- G06F9/4825—Interrupt from clock, e.g. time of day
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/30—Services specially adapted for particular environments, situations or purposes
- H04W4/40—Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
- H04W4/48—Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P] for in-vehicle communication
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Mechanical Engineering (AREA)
- Automation & Control Theory (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Quality & Reliability (AREA)
- Aviation & Aerospace Engineering (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Combustion & Propulsion (AREA)
- Chemical & Material Sciences (AREA)
- Transportation (AREA)
- Human Computer Interaction (AREA)
- Debugging And Monitoring (AREA)
- Control Of Driving Devices And Active Controlling Of Vehicle (AREA)
- Combined Controls Of Internal Combustion Engines (AREA)
Description
図1は、本発明に関わるエンジン制御装置ECU1の構成図である。エンジン制御装置ECU1はプログラム領域2、演算部3、記憶領域4、ハードウェアタイマ5、割り込みコントローラ6、共有バス7を備える。
ハードウェアタイマ6は、ハードウェアタイマカウンタ値をインクリメントし、ハードウェアタイマカウント値を更新する。
ハードウェアタイマ6は、ハードウェアタイマカウンタ値が最大値に達した場合、ステップ602に進み、それ以外はステップ603に進む。
ハードウェアタイマ6は、カウンタをリセットしステップ40301へ進む。
ハードウェアタイマ6は、タイマレジスタテーブル500が管理するコンペアマッチフラグが1であれば、一致していればステップ604に進み、それ以外であればステップ606に進む。
ハードウェアタイマ6は、ハードウェアタイマとタイマレジスタテーブル500が管理するコンペアマッチカウンタと比較し、一致していればステップ604に進み、一致していなければステップ606に進む。
ハードウェアタイマ6は、後述するノンマスカブル割り込みを呼び、ステップ606に進む。
ハードウェアタイマ6は、終了条件が満たされているか判定し、満たされていれば処理を終了し、満たされていなければステップ601へ進む。
ソフトウェア演算部201は、記憶領域4およびHWタイマ5を初期化し、ステップ20101に進む。
ソフトウェア演算部201は、後述するタスク実行部を呼びステップ20102に進む。
ソフトウェア演算部201は、終了条件が満たされているか判定し、満たされていれば処理を終了、満たされていなければステップ20101に進む。
タスク実行部202は、タイマレジスタテーブル500のコンペアマッチの設定値を設定し、ステップ20201に進む。ここで、コンペアマッチの設定値の設定とは、タイマレジスタテーブル500のコンペアマッチフラグに1をたて、コンペマッチを発生するモードに設定する処理と、インプットキャプチャレジスタから現在のHWタイマのカウンタを取得し、コンペアマッチは発生するまでの期間(コンペアマッチカウンタ)を設定する処理をさす。
タスク実行部202は、CS開始処理を実行し、ステップ20202に進む。ここで、CS開始処理とは、クリティカルセクション中の処理が他の処理によって割り込まれないための割り込み禁止処理などである。
タスク実行部202は、CS処理を実行、ステップ20203に進む。
タスク実行部202は、CS終了処理を実行し、ステップ20204に進む。ここで、CS終了処理とは、クリティカルセクションが他の処理によって割り込まれないための割り込み禁止処理などを開放する処理である。
タスク実行部202は、コンペアマッチ終了処理を実行、処理を終了する。ここで、コンペアマッチ終了処理とは、タイマレジスタテーブル500のコンペアマッチフラグに0をたて、コンペアマッチ機能をオフにする処理である。
NMI実行部203は、データ記録テーブル402のノンマスカブル割り込み実行回数を判定し、1回目ならステップ20301に進み、それ以外ならステップ20304に進む。
NMI実行部203は、コンペアマッチ設定処理を実行し、ステップ20302に進む。ここで、コンペアマッチ設定処理とはデータ管理テーブル401から第2コンペアマッチ時間を取得し、タイマレジスタテーブル500のコンペアマッチカウンタに設定する処理をさす。
NMI実行部203は、SW割り込み呼び出し処理を実行し、ステップ20303に進む。ここで、SW割り込み処理とは、後述する図9のソフトウェア割り込み実行部を呼ぶための割り込み発生処理である。
NMI実行部203は、NMI実行カウンタ更新処理を実行し、処理を終了する。ここで、NMI実行カウンタ更新処理とはデータ記録テーブル402のノンマスカブル割り込み実行回数をインクリメントする処理をさす。
NMI実行部203は、リセット処理を実行し処理を終了する。
ソフトウェア割り込み実行部204は、退避処理を実行し、ステップ20401に進む。ここで、退避処理とは、現在実行中の処理のレジスタ値やプログラムカウンタ値、HWタイマのカウンタ値を、記憶領域4に格納する処理をさすがこれに限らない。
ソフトウェア割り込み実行部204は、タスク停止処理を実行し、ステップ20401に進む。タスク停止処理とは、コンペアマッチによって異常が検出されたタスクを停止させる処理をさす。
ソフトウェア割り込み実行部204は、コンペアマッチ終了処理を実行し処理を終了する。コンペアマッチ終了処理とは、タイマレジスタテーブル500のコンペアマッチフラグに0をたて、コンペアマッチ機能をオフにする処理である。
Claims (2)
- タスクを実行させるタスク実行手段と、
前記タスクの実行時に割り込み処理をする割り込み処理手段と、を備え、
前記割り込み処理手段は、
第一マスク不可能割り込みと、該第一マスク不可能割り込みから所定時間後に実行指令
されるマスク可能割り込みと、前記第一マスク不可能割り込みから所定時間後であって、
前記マスク可能割り込みよりも後に実行指令される第二マスク不可能割り込みと、を含み
、割り込み禁止時間中に前記第一マスク不可能割り込みが実行指令されて、前記割り込み
禁止時間の解除後に前記マスク可能割り込みが実行される場合と、
割り込み禁止時間中に前記第一マスク不可能割り込み、前記マスク可能割り込みが実行
指令されて、前記第二マスク不可能割り込みが実行される場合と、を含むことを特徴とす
る車両制御装置。 - 前記第二マスク不可能割り込みは、マスク可能割り込みが実行不可により実行されるこ
とを特徴とする、請求項1に記載の車両制御装置。
Priority Applications (5)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017136709A JP6902948B2 (ja) | 2017-07-13 | 2017-07-13 | 車両制御装置 |
PCT/JP2018/024504 WO2019012996A1 (ja) | 2017-07-13 | 2018-06-28 | 車両制御装置 |
US16/623,243 US11467865B2 (en) | 2017-07-13 | 2018-06-28 | Vehicle control device |
CN201880031522.4A CN110832459B (zh) | 2017-07-13 | 2018-06-28 | 车辆控制装置 |
DE112018002612.4T DE112018002612T5 (de) | 2017-07-13 | 2018-06-28 | Fahrzeugsteuervorrichtung |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017136709A JP6902948B2 (ja) | 2017-07-13 | 2017-07-13 | 車両制御装置 |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2019020869A JP2019020869A (ja) | 2019-02-07 |
JP6902948B2 true JP6902948B2 (ja) | 2021-07-14 |
Family
ID=65002518
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2017136709A Active JP6902948B2 (ja) | 2017-07-13 | 2017-07-13 | 車両制御装置 |
Country Status (5)
Country | Link |
---|---|
US (1) | US11467865B2 (ja) |
JP (1) | JP6902948B2 (ja) |
CN (1) | CN110832459B (ja) |
DE (1) | DE112018002612T5 (ja) |
WO (1) | WO2019012996A1 (ja) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP7322734B2 (ja) * | 2020-02-05 | 2023-08-08 | 株式会社デンソー | 制御装置 |
Family Cites Families (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4831518A (en) * | 1986-08-26 | 1989-05-16 | Bull Hn Information Systems Inc. | Multiprocessor interrupt rerouting mechanism |
JPH04135246A (ja) | 1990-08-20 | 1992-05-08 | Mitsubishi Electric Corp | データ処理装置 |
JPH0784834A (ja) | 1993-09-10 | 1995-03-31 | Kawasaki Steel Corp | 半導体装置 |
US5995745A (en) * | 1996-12-23 | 1999-11-30 | Yodaiken; Victor J. | Adding real-time support to general purpose operating systems |
US6704763B1 (en) * | 1998-06-09 | 2004-03-09 | Advanced Micro Devices, Inc. | Hardware enforcement mechanism for an isochronous task scheduler |
US6421702B1 (en) * | 1998-06-09 | 2002-07-16 | Advanced Micro Devices, Inc. | Interrupt driven isochronous task scheduler system |
US6189065B1 (en) * | 1998-09-28 | 2001-02-13 | International Business Machines Corporation | Method and apparatus for interrupt load balancing for powerPC processors |
US6148361A (en) * | 1998-12-17 | 2000-11-14 | International Business Machines Corporation | Interrupt architecture for a non-uniform memory access (NUMA) data processing system |
JP3600095B2 (ja) * | 1999-12-07 | 2004-12-08 | 松下電器産業株式会社 | 割り込み管理装置及び割り込み管理方法 |
JP2002251300A (ja) * | 2001-02-22 | 2002-09-06 | Hitachi Ltd | 障害監視方法及び装置 |
US20040088704A1 (en) * | 2002-10-30 | 2004-05-06 | Advanced Simulation Technology, Inc. | Method for running real-time tasks alongside a general purpose operating system |
JP2006216042A (ja) * | 2005-02-04 | 2006-08-17 | Sony Computer Entertainment Inc | 割り込み処理のためのシステムおよび方法 |
CN100459447C (zh) * | 2005-06-30 | 2009-02-04 | 华为技术有限公司 | 一种配线连接设备实现主备倒换的方法 |
US7730248B2 (en) * | 2007-12-13 | 2010-06-01 | Texas Instruments Incorporated | Interrupt morphing and configuration, circuits, systems and processes |
CN104899125B (zh) * | 2015-06-04 | 2019-01-29 | 新华三技术有限公司 | 一种单板系统的运行信息获取方法和装置 |
US10691487B2 (en) * | 2018-04-25 | 2020-06-23 | International Business Machines Corporation | Abstraction of spin-locks to support high performance computing |
-
2017
- 2017-07-13 JP JP2017136709A patent/JP6902948B2/ja active Active
-
2018
- 2018-06-28 US US16/623,243 patent/US11467865B2/en active Active
- 2018-06-28 DE DE112018002612.4T patent/DE112018002612T5/de active Pending
- 2018-06-28 CN CN201880031522.4A patent/CN110832459B/zh active Active
- 2018-06-28 WO PCT/JP2018/024504 patent/WO2019012996A1/ja active Application Filing
Also Published As
Publication number | Publication date |
---|---|
DE112018002612T5 (de) | 2020-05-07 |
WO2019012996A1 (ja) | 2019-01-17 |
JP2019020869A (ja) | 2019-02-07 |
US20200183733A1 (en) | 2020-06-11 |
US11467865B2 (en) | 2022-10-11 |
CN110832459B (zh) | 2023-12-15 |
CN110832459A (zh) | 2020-02-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5705258B2 (ja) | マイクロコンピュータ及びその動作方法 | |
JP5163807B2 (ja) | マイコン相互監視システム及びマイコン相互監視方法 | |
US20220055637A1 (en) | Electronic control unit and computer readable medium | |
JP6902948B2 (ja) | 車両制御装置 | |
JP6502211B2 (ja) | 車両制御装置 | |
JP6838234B2 (ja) | 車両制御装置 | |
CN115904793A (zh) | 一种基于多核异构系统的内存转存方法、系统及芯片 | |
JP5772716B2 (ja) | 電子制御装置 | |
JP2007283788A (ja) | 車両用電子制御装置 | |
JP2008077388A (ja) | マルチプロセッサ制御システム、方法、およびプログラム | |
JP6090094B2 (ja) | 情報処理装置 | |
JPH02293939A (ja) | スタックオーバーフロー検出時処理方式 | |
US20230398955A1 (en) | In-vehicle use control system | |
JP5756413B2 (ja) | 制御装置 | |
JP2018081427A (ja) | 演算器の動作保証方法 | |
KR102475879B1 (ko) | Mdps mcu 코어 고장 감지 장치 및 방법 | |
JP6533489B2 (ja) | 車載用制御装置 | |
JPH05233374A (ja) | ウオッチドッグタイマ装置 | |
JPH0293738A (ja) | 割込み処理方式 | |
JP2024013979A (ja) | 電子制御装置 | |
JPH01310422A (ja) | マイクロコンピュータのリセット回路 | |
JPH0612293A (ja) | マイクロコンピュータの暴走防止方法 | |
JPH04236637A (ja) | マイクロプロセッサ障害検出回路 | |
JPH06131218A (ja) | Cpu制御方式 | |
JPH04148341A (ja) | タスクリカバリ方式 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20170714 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20200124 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20200127 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20210316 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20210514 |
|
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: 20210525 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20210622 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6902948 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |