JP5344936B2 - 制御装置 - Google Patents
制御装置 Download PDFInfo
- Publication number
- JP5344936B2 JP5344936B2 JP2009001899A JP2009001899A JP5344936B2 JP 5344936 B2 JP5344936 B2 JP 5344936B2 JP 2009001899 A JP2009001899 A JP 2009001899A JP 2009001899 A JP2009001899 A JP 2009001899A JP 5344936 B2 JP5344936 B2 JP 5344936B2
- Authority
- JP
- Japan
- Prior art keywords
- circuit
- processor
- ecc
- main memory
- crcc
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; 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
- G06F11/08—Error detection or correction by redundancy in data representation, e.g. by using checking codes
- G06F11/10—Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
- G06F11/1008—Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's in individual solid state devices
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
- H03M13/00—Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes
- H03M13/03—Error detection or forward error correction by redundancy in data representation, i.e. code words containing more digits than the source words
- H03M13/05—Error detection or forward error correction by redundancy in data representation, i.e. code words containing more digits than the source words using block codes, i.e. a predetermined number of check bits joined to a predetermined number of information bits
- H03M13/09—Error detection only, e.g. using cyclic redundancy check [CRC] codes or single parity bit
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Quality & Reliability (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Probability & Statistics with Applications (AREA)
- Hardware Redundancy (AREA)
- Techniques For Improving Reliability Of Storages (AREA)
Description
(1)制御システムの構成
(2)CPU装置の構成
(3)A系CRC回路の構成の一例
(4)ECC回路の構成の一例
(5)CPU装置のモード遷移
(6)CPU装置の動作
(7)CPU装置の故障検出範囲
[制御システムの構成]
以下、本発明の実施の形態の例について、図1〜図9を参照して説明する。
図1は、発明の一実施形態である制御システム101を示すブロック図である。
制御システム101は、CPU装置102と、上位装置103と、下位装置104と、制御対象105よりなる。
次に、制御システム101を構成するCPU装置102について図2を参照して説明する。
図2は、CPU装置102を示すブロック図である。なお、以下に示すCPU装置102は、CPU装置102が上位装置103からダウンロードしたプログラムに基づいて、安全モードで演算を行う場合を想定している。ただし、CPU装置102が、上位装置103から所定のプログラムをダウンロードするときだけは、安全モードとは異なる動作を行う。
制御装置204は、A系CRC回路209と、B系CRC回路212と、照合回路214と、ECC回路232と、割込制御部220とを含んで構成される。さらに、制御装置204は、ネットワークコントローラ206と、出力切替スイッチ221を含む。
ライト時のA系CRC回路209は、A系プロセッサ202から入力されるアドレスおよびデータを併せた64ビット幅のデータ列からCRCCを生成する。また、A系CRC回路209は、照合回路214とA系CRCCバス210で接続されており、生成したCRCCを照合回路214へ出力する。
次に、A系CRC回路209およびB系CRC回路212の回路構成の一例について図3を参照して説明する。
図3は、A系CRC回路209の一例およびその周辺を示す図である。なお、A系CRC回路209とB系CRC回路212は同じ回路であるので、B系CRC回路212の説明は省略する。
次に、ECC回路232の回路構成の一例について図4を参照して説明する。
図4は、ECC回路232の一例およびその周辺を示す図である。
第一切替スイッチ402の端子S4は内部バス215で照合回路214と接続されており、端子S5はメモリバス217でメインメモリ205と接続されており、端子S6はECC計算回路404と接続されている。この第一切替スイッチ402は、スイッチ制御回路411により接続する端子を制御される。具体的には、ライト時に、端子S4と端子S6を接続することで、ECC計算回路404と内部バス215を接続する。一方、リード時に、端子S5と端子S6を接続してECC計算回路404とメモリバス217を接続する。
第二切替スイッチ403の端子S7はCRCC内部バス216で照合回路214と接続されており、端子S8はCRCCメモリバス218でメインメモリ205と接続されており、端子S9はECC計算回路404と接続されている。この第二切替スイッチ403は、スイッチ制御回路411により接続する端子を制御される。具体的には、ライト時に、端子S7と端子S9を接続してECC計算回路404とCRCC内部バス216を接続する。一方、リード時に、端子S8と端子S9を接続してECC計算回路404とCRCCメモリバス218を接続する。
第三切替スイッチ405の端子S10はECC計算回路404と接続されており、端子S12はECC比較回路406と接続されており、端子S11はECCメモリバス219でメインメモリ205と接続されている。この第三切替スイッチ405は、スイッチ制御回路411により接続する端子を制御される。具体的には、ライト時に、端子S10と端子S11を接続してECC計算回路404で生成されたECCをECCメモリバス219に出力する。一方、リード時に、端子S10と端子S12を接続してECC計算回路404で生成されたECCをECC比較回路406に出力する。
次に、CPU装置102のモードの遷移について図5を参照して説明する。
図5は、CPU装置102のモードの遷移を示す状態遷移図である。
次に、安全モード時における制御装置204の動作を図6〜図8を参照して説明する。
図6は、故障がない場合の制御装置204の動作を示すタイミングチャートである。
図8は、制御装置204の動作を示すタイミングチャートである。なお、T801〜T809は図6に示すT601〜T609と同じなので、それらの説明は省略する。
次に、CPU装置102の故障検出範囲についてまとめる。
図9は、CPU装置102の故障検出範囲を示す表である。
図9(a)は、安全モードで稼働しているときのCPU装置102の故障検出範囲を示す表である。
Claims (3)
- 第一プロセッサが所定のプログラムを実行した結果としてメインメモリに格納される第一情報あるいは前記第一プロセッサと同一の演算結果を出力するべく構成されている第二プロセッサが前記プログラムを実行した結果として前記メインメモリに格納される第二情報である第一記憶情報を、前記第一プロセッサ及び/又は前記第二プロセッサが前記メインメモリから読み出す時、前記第一記憶情報と予め前記メインメモリに記憶されている誤り検出符号である第二記憶情報に対し、必要に応じてエラー訂正を行う訂正符号生成部と、
前記第一情報から第一誤り検出符号を作成し、前記第二記憶情報と比較することで前記第一誤り検出符号と前記第二記憶情報との不一致を検出した場合、前記第一プロセッサが前記第一記憶情報を前記メインメモリから読み出す動作及び前記第二プロセッサが前記第二記憶情報を前記メインメモリから読み出す動作を禁止させる第一符号生成部と、
前記第二情報から第二誤り検出符号を作成し、前記第二記憶情報と比較することで前記第二誤り検出符号と前記第二記憶情報との不一致を検出した場合、前記第一プロセッサが前記第一記憶情報を前記メインメモリから読み出す動作及び前記第二プロセッサが前記第二記憶情報を前記メインメモリから読み出す動作を禁止させる第二符号生成部と、
前記第一情報と前記第二情報が同一であるか否かを検出すると共に、前記第一誤り検出符号と前記第二誤り検出符号が同一であるか否かを検出することで、前記第一誤り検出符号と前記第二誤り検出符号とが同一でない時には、前記第一情報あるいは前記第二情報を第一記憶情報として前記メインメモリに書き込むことを禁止する照合部と
を備える制御装置。 - さらに、
前記照合部による、前記第一情報と前記第二情報が同一であるか否かについての検出と、前記第一誤り検出符号と前記第二誤り検出符号が同一であるか否かについての検出の結果に基づく要因が登録される割込制御部と
を備える、請求項1に記載の制御装置。 - 前記割込制御部は、登録された前記要因に基づいて前記第一プロセッサおよび前記第二プロセッサに対して割り込みを要求する、
請求項2に記載の制御装置。
Priority Applications (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2009001899A JP5344936B2 (ja) | 2009-01-07 | 2009-01-07 | 制御装置 |
| CA2689416A CA2689416C (en) | 2009-01-07 | 2009-12-30 | Control apparatus and control method |
| US12/652,773 US8255769B2 (en) | 2009-01-07 | 2010-01-06 | Control apparatus and control method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2009001899A JP5344936B2 (ja) | 2009-01-07 | 2009-01-07 | 制御装置 |
Related Child Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2013118170A Division JP5563700B2 (ja) | 2013-06-04 | 2013-06-04 | 制御装置 |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2010160649A JP2010160649A (ja) | 2010-07-22 |
| JP5344936B2 true JP5344936B2 (ja) | 2013-11-20 |
Family
ID=42312499
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2009001899A Expired - Fee Related JP5344936B2 (ja) | 2009-01-07 | 2009-01-07 | 制御装置 |
Country Status (3)
| Country | Link |
|---|---|
| US (1) | US8255769B2 (ja) |
| JP (1) | JP5344936B2 (ja) |
| CA (1) | CA2689416C (ja) |
Families Citing this family (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP5126393B2 (ja) | 2011-06-29 | 2013-01-23 | 日本精工株式会社 | 車載電子制御装置 |
| JP5978873B2 (ja) * | 2012-09-12 | 2016-08-24 | 株式会社デンソー | 電子制御装置 |
| KR102178137B1 (ko) * | 2014-08-26 | 2020-11-12 | 삼성전자주식회사 | 반도체 메모리 장치, 이의 에러 정정 방법 및 이를 포함하는 메모리 시스템 |
| CN111580477B (zh) * | 2020-05-06 | 2022-03-18 | 四川九洲电器集团有限责任公司 | 一种综合控制箱 |
| CN113821396B (zh) * | 2020-06-18 | 2024-08-27 | 中车株洲电力机车研究所有限公司 | 处理器运行状态监视诊断方法及装置 |
| CN113571121A (zh) * | 2021-07-26 | 2021-10-29 | 杭州国芯科技股份有限公司 | 嵌入式设备NAND Flash的ECC码存储方法 |
Family Cites Families (34)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US4228496A (en) * | 1976-09-07 | 1980-10-14 | Tandem Computers Incorporated | Multiprocessor system |
| JPS62125453A (ja) * | 1985-11-26 | 1987-06-06 | Iwaki Denshi Kk | 記憶装置 |
| US4916704A (en) * | 1987-09-04 | 1990-04-10 | Digital Equipment Corporation | Interface of non-fault tolerant components to fault tolerant system |
| US5136704A (en) * | 1989-06-28 | 1992-08-04 | Motorola, Inc. | Redundant microprocessor control system using locks and keys |
| US5086429A (en) * | 1990-04-10 | 1992-02-04 | Honeywell Inc. | Fault-tolerant digital computing system with reduced memory redundancy |
| CA2059143C (en) * | 1991-01-25 | 2000-05-16 | Takeshi Miyao | Processing unit for a computer and a computer system incorporating such a processing unit |
| US5271023A (en) * | 1991-06-03 | 1993-12-14 | Motorola, Inc. | Uninterruptable fault tolerant data processor |
| US5313386A (en) * | 1992-06-11 | 1994-05-17 | Allen-Bradley Company, Inc. | Programmable controller with backup capability |
| US6237108B1 (en) * | 1992-10-09 | 2001-05-22 | Fujitsu Limited | Multiprocessor system having redundant shared memory configuration |
| JPH06195235A (ja) * | 1992-12-22 | 1994-07-15 | Hitachi Ltd | 制御装置およびプロセッサ |
| US5504859A (en) * | 1993-11-09 | 1996-04-02 | International Business Machines Corporation | Data processor with enhanced error recovery |
| FR2721122B1 (fr) * | 1994-06-14 | 1996-07-12 | Commissariat Energie Atomique | Unité de calcul à pluralité de calculateurs redondants. |
| US5630056A (en) * | 1994-09-20 | 1997-05-13 | Stratus Computer, Inc. | Digital data processing methods and apparatus for fault detection and fault tolerance |
| JP2687927B2 (ja) * | 1995-05-24 | 1997-12-08 | 日本電気株式会社 | 外部バスの障害検出方法 |
| US5915082A (en) * | 1996-06-07 | 1999-06-22 | Lockheed Martin Corporation | Error detection and fault isolation for lockstep processor systems |
| US6173414B1 (en) * | 1998-05-12 | 2001-01-09 | Mcdonnell Douglas Corporation | Systems and methods for reduced error detection latency using encoded data |
| DE19832060C2 (de) * | 1998-07-16 | 2000-07-06 | Siemens Ag | Doppelbare Prozessoreinrichtung |
| SE516542C2 (sv) * | 1999-07-01 | 2002-01-29 | Ericsson Telefon Ab L M | Metod och anordning för övervakning av parallella processer |
| US6625749B1 (en) * | 1999-12-21 | 2003-09-23 | Intel Corporation | Firmware mechanism for correcting soft errors |
| US6779128B1 (en) | 2000-02-18 | 2004-08-17 | Invensys Systems, Inc. | Fault-tolerant data transfer |
| US6772368B2 (en) * | 2000-12-11 | 2004-08-03 | International Business Machines Corporation | Multiprocessor with pair-wise high reliability mode, and method therefore |
| US6751749B2 (en) * | 2001-02-22 | 2004-06-15 | International Business Machines Corporation | Method and apparatus for computer system reliability |
| US6708284B2 (en) * | 2001-03-30 | 2004-03-16 | Intel Corporation | Method and apparatus for improving reliability in microprocessors |
| US6848071B2 (en) * | 2001-04-23 | 2005-01-25 | Sun Microsystems, Inc. | Method and apparatus for updating an error-correcting code during a partial line store |
| US7055060B2 (en) * | 2002-12-19 | 2006-05-30 | Intel Corporation | On-die mechanism for high-reliability processor |
| JP2005165807A (ja) * | 2003-12-04 | 2005-06-23 | Hitachi Ltd | プロセッサ多重化システムにおける動作比較方式 |
| US7308605B2 (en) * | 2004-07-20 | 2007-12-11 | Hewlett-Packard Development Company, L.P. | Latent error detection |
| JP3897046B2 (ja) * | 2005-01-28 | 2007-03-22 | 横河電機株式会社 | 情報処理装置および情報処理方法 |
| US8161362B2 (en) | 2005-06-10 | 2012-04-17 | Hitachi, Ltd. | Task management control apparatus and method, having redundant processing comparison |
| JP4102814B2 (ja) * | 2005-06-30 | 2008-06-18 | 株式会社日立製作所 | 入出力制御装置,情報制御装置及び情報制御方法 |
| JP2006344087A (ja) | 2005-06-10 | 2006-12-21 | Hitachi Ltd | 制御装置のタスク管理装置、及び、制御装置のタスク管理方法 |
| CA2686677C (en) | 2006-06-30 | 2016-08-23 | Hitachi, Ltd. | Control apparatus, control method and control program |
| JP4491439B2 (ja) | 2006-06-30 | 2010-06-30 | 株式会社日立製作所 | 制御装置及び制御方法 |
| US7797575B2 (en) * | 2007-04-04 | 2010-09-14 | International Business Machines Corporation | Triple voting cell processors for single event upset protection |
-
2009
- 2009-01-07 JP JP2009001899A patent/JP5344936B2/ja not_active Expired - Fee Related
- 2009-12-30 CA CA2689416A patent/CA2689416C/en active Active
-
2010
- 2010-01-06 US US12/652,773 patent/US8255769B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| CA2689416A1 (en) | 2010-07-07 |
| US20100174967A1 (en) | 2010-07-08 |
| JP2010160649A (ja) | 2010-07-22 |
| US8255769B2 (en) | 2012-08-28 |
| CA2689416C (en) | 2015-06-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP5344936B2 (ja) | 制御装置 | |
| US9304872B2 (en) | Method for providing a value for determining whether an error has occurred in the execution of a program | |
| US12373295B2 (en) | Register fault detector | |
| Johnson | An introduction to the design and analysis of fault-tolerant systems | |
| US10114356B2 (en) | Method and apparatus for controlling a physical unit in an automation system | |
| EP3255546B1 (en) | Controller | |
| CN111033470A (zh) | 确保双处理器架构中的校正程序序列 | |
| EP3373144A1 (en) | Method and computer system for fault tolerant data integrity verification of safety-related data | |
| JP2013175118A (ja) | 制御装置、及びそのメモリ故障検出方法、その自己診断方法 | |
| KR20050121729A (ko) | 프로그램 제어식 유닛 및 방법 | |
| JP5563700B2 (ja) | 制御装置 | |
| JP6332134B2 (ja) | メモリ診断回路 | |
| JP5910356B2 (ja) | 電子装置、電子装置制御方法及び電子装置制御プログラム | |
| US12040032B2 (en) | Electronic circuit and method for self-diagnosis of a data memory | |
| JP5352815B2 (ja) | 制御装置および制御方法 | |
| US8190971B2 (en) | Data processing system and method for operating a data processing system | |
| KR20170002481A (ko) | 페일세이프 계산들을 수행하기 위한 방법 | |
| KR100802666B1 (ko) | 회로 장치 및 체크 방법 | |
| JP2014225110A (ja) | 安全コントローラ | |
| US10262752B2 (en) | Method and apparatus for identifying erroneous data in at least one memory element | |
| Noha | Ecc handling in tmsx70-based microcontrollers | |
| CN116931824A (zh) | 以计算机辅助的方式运行存储单元和执行应用程序的方法 | |
| WO2016042751A1 (ja) | メモリ診断回路 | |
| Zhanyuan et al. | A novel comparator with hamming code correction for Safety Programmable Logic Controller | |
| HK1234508B (zh) | 用於执行故障安全计算的方法 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20110113 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20121207 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20121211 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20130205 |
|
| A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20130305 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20130604 |
|
| A911 | Transfer to examiner for re-examination before appeal (zenchi) |
Free format text: JAPANESE INTERMEDIATE CODE: A911 Effective date: 20130612 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20130709 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20130717 |
|
| 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: 20130806 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20130813 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 5344936 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| LAPS | Cancellation because of no payment of annual fees |