JP6275098B2 - 制御装置およびレジスタの故障復帰方法 - Google Patents
制御装置およびレジスタの故障復帰方法 Download PDFInfo
- Publication number
- JP6275098B2 JP6275098B2 JP2015204290A JP2015204290A JP6275098B2 JP 6275098 B2 JP6275098 B2 JP 6275098B2 JP 2015204290 A JP2015204290 A JP 2015204290A JP 2015204290 A JP2015204290 A JP 2015204290A JP 6275098 B2 JP6275098 B2 JP 6275098B2
- Authority
- JP
- Japan
- Prior art keywords
- register
- interpreter
- failure
- processing
- cpu
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title description 85
- 238000011084 recovery Methods 0.000 title description 15
- 238000012545 processing Methods 0.000 claims description 50
- 238000004088 simulation Methods 0.000 claims description 35
- 238000012790 confirmation Methods 0.000 claims description 32
- 108091026890 Coding region Proteins 0.000 claims 1
- 230000005856 abnormality Effects 0.000 description 6
- 238000001514 detection method Methods 0.000 description 6
- 230000002159 abnormal effect Effects 0.000 description 5
- 238000004891 communication Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 238000007796 conventional method Methods 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 238000003745 diagnosis Methods 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 1
- 230000002950 deficient Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000008439 repair process Effects 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Images
Landscapes
- Executing Machine-Instructions (AREA)
- Hardware Redundancy (AREA)
- Test And Diagnosis Of Digital Computers (AREA)
Description
特許文献1では、実行モードで動作するCPU1つと監視モードで動作するCPU2つの3つのCPUで3重化構成をとり、各CPUから出力されるバスサイクル開始信号を多数決回路でチェックすることで、故障検出を行う(例えば、特許文献1参照)。
特許文献2では、バスに接続された3つ以上のCPUを同期して同じ命令列を処理させ、3つ以上のCPUの処理状態を比較することによって、異常なCPUを検出し、異常と判定した場合にはリセット処理を行い、復帰させるCPUの処理を正常動作しているCPUの処理に同期させて復帰させる(例えば、特許文献2参照)。
以下、図1から図4に基づいて、本発明の実施の形態1における制御装置およびその制御装置におけるレジスタ故障復帰方法について説明する。なお、各図間に同一符号は同一あるいは相当部分を示す。
ここで、発明の対象となる制御装置としては、例えば車載制御装置が想定される。本発明のレジスタの故障復帰方法を用いることで、ハードウェア最小構成のCPU1つでもインタプリタ型のプログラム実行手段によりCPU内のレジスタの故障検出、故障からの復旧が行え、車載機器に要求されるスペース確保の要求を満たし、フォールトトレラント観点から求められるレジスタ故障で完全に動かなくなることを抑制して最低限の機能ながら動作し続けられる車両のシステムを提供することができる。
そこで、本発明では、CPU1内のレジスタが故障しても、これを復旧させることで機能を保つ技術について示す。
認用レジスタ以外のレジスタについては、確認用レジスタが故障していないことを確認後、図3のフローチャートのS106において、レジスタ故障判定がなされ、異常(故障)があった場合は復帰処理へと移行する。
ここで、3つの確認用レジスタを確保する理由は、3つのレジスタの内、2つの比較結果を組み合わせることで故障レジスタを特定するためである。なお、2つのレジスタを比較した場合は、どちらかのレジスタが壊れていた場合に、一方が壊れていることは分かるものの、どちらが壊れているかまでは特定することはできない。
データは同一値を格納する。
Claims (2)
- インタプリタのプログラムの実行中に、CPUの命令に用いられる複数のレジスタの中から故障したレジスタを検出し、
上記プログラムの実行を継続しながら、RAM上で、上記故障したレジスタを故障していないレジスタにリネームするインタプリタ型のプログラム実行手段、
上記インタプリタ型のプログラム実行手段による処理が継続している間に、上記RAM上で割り込み模擬処理を実行する割り込み模擬処理手段を備え、
上記CPUの命令に用いられる複数の上記レジスタの中に、上記レジスタの故障確認、上記インタプリタ型のプログラム実行手段および上記割り込み模擬処理手段による処理実行のためのソフトウェアに用いられる確認用レジスタが含まれることを特徴とする制御装置。 - 上記インタプリタ型のプログラム実行手段は、ROMのコード領域から読み込まれた実行コードのインタプリト対象の命令が上記インタプリタにとって実行許可と判定された場合に、上記命令を実行することを特徴とする請求項1記載の制御装置。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2015204290A JP6275098B2 (ja) | 2015-10-16 | 2015-10-16 | 制御装置およびレジスタの故障復帰方法 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2015204290A JP6275098B2 (ja) | 2015-10-16 | 2015-10-16 | 制御装置およびレジスタの故障復帰方法 |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2017076300A JP2017076300A (ja) | 2017-04-20 |
JP6275098B2 true JP6275098B2 (ja) | 2018-02-07 |
Family
ID=58551338
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2015204290A Active JP6275098B2 (ja) | 2015-10-16 | 2015-10-16 | 制御装置およびレジスタの故障復帰方法 |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6275098B2 (ja) |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5595149A (en) * | 1979-01-12 | 1980-07-19 | Toshiba Corp | Microprogram system |
JPS60120436A (ja) * | 1983-12-02 | 1985-06-27 | Toshiba Corp | マイクロプロセツサ |
JPH01150939A (ja) * | 1987-12-08 | 1989-06-13 | Toshiba Corp | 情報処理装置 |
JPH06105432B2 (ja) * | 1989-06-01 | 1994-12-21 | 三菱電機株式会社 | マイクロプロセッサ |
JPH0471053A (ja) * | 1990-07-11 | 1992-03-05 | Nec Corp | データ転送装置 |
JPH07295807A (ja) * | 1994-04-22 | 1995-11-10 | Hitachi Ltd | マイクロプログラム制御装置 |
ES2184066T3 (es) * | 1996-10-25 | 2003-04-01 | Schlumberger Systems & Service | Uso de un lenguaje de programacion de alto nivel con microcontrolador. |
JP2010108252A (ja) * | 2008-10-30 | 2010-05-13 | Nec Electronics Corp | 命令コード群の実行方法、マイクロコンピュータ及びプログラム |
-
2015
- 2015-10-16 JP JP2015204290A patent/JP6275098B2/ja active Active
Also Published As
Publication number | Publication date |
---|---|
JP2017076300A (ja) | 2017-04-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6599054B2 (ja) | 異常判定装置、異常判定方法及び異常判定プログラム | |
US20100306601A1 (en) | Integrated microprocessor system for safety-critical control systems | |
EP3249534B1 (en) | Vehicle control device | |
WO2020239060A1 (zh) | 错误恢复的方法和装置 | |
US11281547B2 (en) | Redundant processor architecture | |
US10360115B2 (en) | Monitoring device, fault-tolerant system, and control method | |
JP5367970B2 (ja) | 信号処理システムを起動/再起動する方法及び信号処理システム | |
US20150012781A1 (en) | Power supply diagnostic strategy | |
JP2006259935A (ja) | 演算異常判断機能付き演算装置 | |
JP6275098B2 (ja) | 制御装置およびレジスタの故障復帰方法 | |
US11042143B2 (en) | Method and device for detecting errors occurring during computing data models in safety-critical systems | |
KR101844095B1 (ko) | 부트로더 실행 방법 및 장치 | |
JP2016126692A (ja) | 電子制御装置 | |
CN103473153B (zh) | 用于检测微控制器中的潜在故障的方法和*** | |
JP5226653B2 (ja) | 車載制御装置 | |
JP5559100B2 (ja) | 電子制御システム | |
JP4639920B2 (ja) | 電子制御装置 | |
JP2013109532A (ja) | 診断修復装置、診断修復方法、及び診断修復プログラム | |
JP2009282849A (ja) | マイクロコンピュータ | |
JP6501703B2 (ja) | 車載制御装置 | |
JP6512156B2 (ja) | 制御装置 | |
JP6405966B2 (ja) | 電子制御装置 | |
JP2006123831A (ja) | 車両用電子制御装置及びダイアグ処理プログラム | |
CN116394959A (zh) | 汽车的车身控制域及控制方法 | |
JP6177748B2 (ja) | 組み込み制御装置 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20170704 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20170802 |
|
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: 20171212 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20180109 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 6275098 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 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313111 |