[go: up one dir, main page]

KR101172387B1 - 직렬 주변장치 인터페이스 통신을 이용한 마이크로제어장치의 계산 오류 검사장치 - Google Patents

직렬 주변장치 인터페이스 통신을 이용한 마이크로제어장치의 계산 오류 검사장치 Download PDF

Info

Publication number
KR101172387B1
KR101172387B1 KR1020060087993A KR20060087993A KR101172387B1 KR 101172387 B1 KR101172387 B1 KR 101172387B1 KR 1020060087993 A KR1020060087993 A KR 1020060087993A KR 20060087993 A KR20060087993 A KR 20060087993A KR 101172387 B1 KR101172387 B1 KR 101172387B1
Authority
KR
South Korea
Prior art keywords
error
mcu
value
peripheral interface
serial peripheral
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
Application number
KR1020060087993A
Other languages
English (en)
Other versions
KR20080023881A (ko
Inventor
김관식
Original Assignee
주식회사 만도
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 주식회사 만도 filed Critical 주식회사 만도
Priority to KR1020060087993A priority Critical patent/KR101172387B1/ko
Publication of KR20080023881A publication Critical patent/KR20080023881A/ko
Application granted granted Critical
Publication of KR101172387B1 publication Critical patent/KR101172387B1/ko
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/22Microcontrol or microprogram arrangements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Detection And Correction Of Errors (AREA)
  • Debugging And Monitoring (AREA)

Abstract

본 발명은 직렬 주변장치 인터페이스 통신을 이용한 마이크로 제어장치의 계산 오류 검사장치에 관한 것으로, 마이크로 제어장치(MCU)의 계산 오류를 방지하는 시스템에 있어서, 직렬 주변장치 인터페이스(SPI)를 통해 상기 MCU로부터 순차적으로 입력되는 데이터를 입력받아 서로 비교하여 오류가 있는가를 판단하여 이 판단결과 오류가 있는 경우에 그 결과를 카운터하고, 그 카운터 값이 설정값 이상이면 상기 MCU의 리셋(reset)단자로 신호를 출력하여 강제로 리셋시키며, 오류가 없는 경우 상기 카운터 값을 클리어(clear) 하는 디지털 로직부를 구비한 장치를 제공함으로써, MCU의 계산 오류에 의한 자동차의 시스템 오 동작을 간단한 로직 구성으로 미연에 방지함으로써, 전체 수행시간이 짧아지고, 비용이 절감되는 등의 효과가 있다.
직렬 주변장치 인터페이스(SPI), 듀얼 마이크로 제어장치(MCU)

Description

직렬 주변장치 인터페이스 통신을 이용한 마이크로 제어장치의 계산 오류 검사장치{Calculation Error Testing Device For Micro Control Unit Using Serial Peripheral Interface}
도 1은 종래 SPI 통신을 이용한 MCU의 계산 오류를 검사하기 위한 구성을 보인 블록도.
도 2는 본 발명의 실시예에 따른 MCU의 계산 오류를 검사하기 위한 구성을 보인 블록도.
도 3은 본 발명의 실시예에 따른 계산 오류 검사를 위한 디지털 로직부의 구성을 보인 블록도.
*** 도면의 주요부분에 대한 설명 ***
100, 110 : MCU 200 : 디지털 로직부
210 : 배타적 논리합 게이트 220 : 오류 판단부
230 : 오류 카운터부
본 발명은 직렬 주변장치 인터페이스 통신을 이용한 마이크로 제어장치의 계산 오류 검사장치에 관한 것으로, 특히 간단한 디지털 로직장치를 이용하여 마이크로 제어장치(MCU)의 계산 오류를 검사하는 장치에 관한 것이다.
일반적으로, 자동차용 전자제어장치(ECU)에서 마이크로 제어장치(MCU)의 계산 오류에 따른 오동작은 운전자의 생명과 직결될 수 있기 때문에 이러한 MCU의 상태를 항시 알고 있어야 한다.
도 1은 종래 SPI 통신을 이용한 MCU의 계산 오류를 검사하기 위한 구성을 보인 블록도로서, 이에 도시된 바와 같이 두 개의 MCU(100, 110)로 구성되는데, 듀얼 MCU를 사용하는 경우에는 동일한 두 개의 소프트웨어를 이용하여 동작하며, 통신모듈을 통해 둘 중 하나의 MCU에서 다른 한쪽의 MCU의 계산 오류를 모니터링하여야 하므로, 소프트웨어 로직이 복잡해지고, 수시로 하는 모니터링으로 인하여 전체 수행시간이 증가하게 되며, 이를 방지하고자 더 좋은 사양의 MCU를 사용하는 경우에는 제품의 가격이 상승하게 되는 악순환을 가져오는 문제점이 있었다.
따라서, 본 발명은 상기와 같은 종래의 문제점을 해결하기 위하여 창안한 것으로, 간단한 디지털 로직장치를 이용하여 마이크로 제어장치(MCU)의 계산 오류를 검사하는 장치를 제공함에 그 목적이 있다.
이와 같은 목적을 달성하기 위한 본 발명 직렬 주변장치 인터페이스 통신을 이용한 마이크로 제어장치의 계산 오류 검사장치는, 마이크로 제어장치(MCU)의 계산 오류를 방지하는 시스템에 있어서, 직렬 주변장치 인터페이스(SPI)를 통해 상기 MCU에서 N번째로 전송된 임의의 숫자와, 상기 MCU에서 N+1번째로 전송되는 숫자로서, 상기 임의의 숫자에 대한 상기 MCU의 계산 결과값을 입력받아, 상기 입력받은 값에 근거하여 오류가 있는가를 판단하여 이 판단결과 오류가 있는 경우에 그 결과를 카운터하고, 그 카운터 값이 설정값 이상이면 상기 MCU의 리셋(reset)단자로 신호를 출력하여 강제로 리셋시키며, 오류가 없는 경우 상기 카운터 값을 클리어(clear) 하는 디지털 로직부를 구비하는 것을 특징으로 한다.
이하, 본 발명에 따른 실시예를 첨부한 도면을 참조하여 상세히 설명하면 다음과 같다.
도 2는 본 발명의 실시예에 따른 MCU의 계산 오류를 검사하기 위한 구성을 보인 블록도로서, 이에 도시한 바와 같이 MCU(100)와, 직렬 주변장치 인터페이스(SPI)를 통해 상기 MCU의 계산 오류를 모니터링하는 디지털 로직부(200)로 구성하며, 상기 디지털 로직부(200)는 도 3에 도시한 바와 같이 상기 MCU(100)로부터 N 번째로 전송되는 임의의 숫자와, 상기 MCU(100)로부터 N+1 번째로 전송되는 숫자로서, 상기 임의의 숫자에 대한 MCU(100)의 계산 결과값을 입력받아 배타적 논리합 연산을 수행하는 배타적 논리합 게이트(210); 상기 배타적 논리합 게이트(210)의 출력값이 설정된 값과 다르면 오류값을 출력하고, 설정된 값과 같다면 카운터 값을 클리어(clear) 하는 오류 판단부(220); 및 상기 오류 판단부(220)에서 출력되는 오류값을 입력받아 카운트 수를 증가시키고, 증가된 값이 설정치 이상이 되면 리셋(reset) 신호를 상기 MCU(100)로 출력하는 오류 카운터부(230)로 구성한다.
이와 같이 구성한 본 발명의 실시예에 따른 동작 과정을 설명하면 다음과 같다.
도 3에 도시한 바와 같이 제어를 담당하는 MCU(100)의 계산 수식 오류를 모니터링 하기 위하여 디지털 로직부(200)에서 수시로 SPI를 통해 통신을 하게 되는데, 상기 MCU(100)에서는 임의의 숫자를 N 번째로 디지털 로직부(200)로 전송하고, 상기 임의의 숫자에 대한 계산 결과값을 N+1 번째로 디지털 로직부(200)로 전송하게 되고, 이를 디지털 로직부(200)의 배타적 논리합 게이트(210)에서 입력받아 배타적 논리합 연산을 수행하여 출력한다.
이때, 상기 배타적 논리합 게이트(210)의 출력값을 오류 판단부(220)에서 입력받아 설정된 값(0)과 비교를 하는데, 상기 배타적 논리합 게이트(210)는 두 값(N, N+1)이 서로 다르면 '1'을, 같으면 '0'을 출력하는 논리 게이트이기 때문에, '1'이 출력된다면 상기 오류 판단부(220)는 오류값을 출력하며, '0'이 출력된다면 오류가 아닌 것으로 판단하여 이전에 카운터한 값을 클리어(clear)하게 된다.
상기 오류 판단부(220)에서 출력되는 오류값은 오류 카운터부(230)로 입력되고, 이에 의해 카운트 값이 증가되는데, 만약 연속적으로 3회 이상 오류에 의한 카운터 값이 증가되면 리셋(reset) 신호를 상기 MCU(100)의 리셋단자로 출력하여 강제로 상기 MCU(100)를 리셋시킨다.
이상에서 본 발명의 구체적인 실시예를 상세히 설명하였으나, 본 발명은 이에 한정되는 것은 아니며, 이 분야의 통상의 지식을 가진 자라면 본 발명의 기술적 사상을 바탕으로 다양한 변경과 수정이 가능할 것이다.
이상에서 설명한 바와 같이 본 발명 직렬 주변장치 인터페이스 통신을 이용한 마이크로 제어장치의 계산 오류 검사장치는 MCU의 계산 오류에 의한 자동차의 시스템 오 동작을 간단한 로직 구성으로 미연에 방지함으로써, 전체 수행시간이 짧아지고, 비용이 절감되는 등의 효과가 있다.

Claims (2)

  1. 마이크로 제어장치(MCU)의 계산 오류를 방지하는 시스템에 있어서,
    직렬 주변장치 인터페이스(SPI)를 통해 상기 MCU에서 N번째로 전송된 임의의 숫자와, 상기 MCU에서 N+1번째로 전송되는 숫자로서, 상기 임의의 숫자에 대한 상기 MCU의 계산 결과값을 입력받아, 상기 입력받은 값에 근거하여 오류가 있는가를 판단하여 이 판단결과 오류가 있는 경우에 그 결과를 카운터하고, 그 카운터 값이 설정값 이상이면 상기 MCU의 리셋(reset)단자로 신호를 출력하여 강제로 리셋시키며, 오류가 없는 경우 상기 카운터 값을 클리어(clear) 하는 디지털 로직부를 구비하는 것을 특징으로 하는 직렬 주변장치 인터페이스 통신을 이용한 마이크로 제어장치의 계산 오류 검사장치.
  2. 제1항에 있어서, 상기 디지털 로직부는
    상기 입력받은 임의의 숫자와 상기 입력받은 계산 결과값으로 배타적 논리합 연산을 수행하는 배타적 논리합 게이트;
    상기 배타적 논리합 게이트의 출력값이 설정된 값과 다르면 오류값을 출력하고, 설정된 값과 같다면 카운터 값을 클리어(clear) 하는 오류 판단부; 및
    상기 오류 판단부에서 출력되는 오류값을 입력받아 카운트 수를 증가시키고, 증가된 값이 설정치 이상이 되면 리셋(reset) 신호를 상기 MCU로 출력하는 오류 카운터부를 포함하는 것을 특징으로 하는 직렬 주변장치 인터페이스 통신을 이용한 마이크로 제어장치의 계산 오류 검사장치.
KR1020060087993A 2006-09-12 2006-09-12 직렬 주변장치 인터페이스 통신을 이용한 마이크로제어장치의 계산 오류 검사장치 Active KR101172387B1 (ko)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020060087993A KR101172387B1 (ko) 2006-09-12 2006-09-12 직렬 주변장치 인터페이스 통신을 이용한 마이크로제어장치의 계산 오류 검사장치

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020060087993A KR101172387B1 (ko) 2006-09-12 2006-09-12 직렬 주변장치 인터페이스 통신을 이용한 마이크로제어장치의 계산 오류 검사장치

Publications (2)

Publication Number Publication Date
KR20080023881A KR20080023881A (ko) 2008-03-17
KR101172387B1 true KR101172387B1 (ko) 2012-08-08

Family

ID=39412438

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020060087993A Active KR101172387B1 (ko) 2006-09-12 2006-09-12 직렬 주변장치 인터페이스 통신을 이용한 마이크로제어장치의 계산 오류 검사장치

Country Status (1)

Country Link
KR (1) KR101172387B1 (ko)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101584210B1 (ko) * 2014-11-24 2016-01-11 현대오트론 주식회사 Mcu 통합 감시 시스템 및 방법

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6948103B2 (en) 2000-12-22 2005-09-20 Nec Electronics Corporation Watchdog timer and method for detecting abnormal operation of computer, and computer including the timer

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6948103B2 (en) 2000-12-22 2005-09-20 Nec Electronics Corporation Watchdog timer and method for detecting abnormal operation of computer, and computer including the timer

Also Published As

Publication number Publication date
KR20080023881A (ko) 2008-03-17

Similar Documents

Publication Publication Date Title
JP5739290B2 (ja) 電子制御装置
KR102009047B1 (ko) 시그너처-기반 중복 비교 시스템 및 방법
US9453881B2 (en) Oscillation circuit, integrated circuit, and abnormality detection method
US20080244305A1 (en) Delayed lock-step cpu compare
US9606849B2 (en) Watchdog apparatus and control method thereof
KR101811432B1 (ko) 진보된 와치독 장치 및 그 동작 방법
US7904771B2 (en) Self-diagnostic circuit and self-diagnostic method for detecting errors
KR101172387B1 (ko) 직렬 주변장치 인터페이스 통신을 이용한 마이크로제어장치의 계산 오류 검사장치
CN113328983B (zh) 非法信号检测装置
US7869172B2 (en) Digital controller
US20030140268A1 (en) Signal validation and arbitration system and method
CN115098427B (zh) 一种链路宽度自适应的实现方法
JP2008532125A (ja) プロセス実行を監視するための方法および装置
US10514970B2 (en) Method of ensuring operation of calculator
US8214557B2 (en) Measuring direct memory access throughput
US7613562B2 (en) Signal processing device and control unit for cooperating with a signal processing device
CN115081362A (zh) 一种e/e/pe失效率的统计装置
US20030093725A1 (en) Method and circuit for monitoring microcomputer for onboard electronic control device
CN111427723B (zh) 基于AutoSAR的程序流监控方法及应用装置
CN102986141A (zh) 具有自保护集成错误识别的数据接口
JP2020077171A (ja) 電子制御装置
CN104868898A (zh) 一种电子设备及信息处理方法
CN118210646B (zh) 故障信息去抖动方法、装置、电子设备和可读存储介质
Brewerton A new approach to input and output monitoring for microcontrollers supporting functional safety
JP6237387B2 (ja) 電子制御システム及び電子装置

Legal Events

Date Code Title Description
PA0109 Patent application

Patent event code: PA01091R01D

Comment text: Patent Application

Patent event date: 20060912

PG1501 Laying open of application
A201 Request for examination
PA0201 Request for examination

Patent event code: PA02012R01D

Patent event date: 20100510

Comment text: Request for Examination of Application

Patent event code: PA02011R01I

Patent event date: 20060912

Comment text: Patent Application

E902 Notification of reason for refusal
PE0902 Notice of grounds for rejection

Comment text: Notification of reason for refusal

Patent event date: 20111130

Patent event code: PE09021S01D

E701 Decision to grant or registration of patent right
PE0701 Decision of registration

Patent event code: PE07011S01D

Comment text: Decision to Grant Registration

Patent event date: 20120731

GRNT Written decision to grant
PR0701 Registration of establishment

Comment text: Registration of Establishment

Patent event date: 20120802

Patent event code: PR07011E01D

PR1002 Payment of registration fee

Payment date: 20120803

End annual number: 3

Start annual number: 1

PG1601 Publication of registration
PR1001 Payment of annual fee

Payment date: 20150630

Start annual number: 4

End annual number: 4

FPAY Annual fee payment

Payment date: 20160630

Year of fee payment: 5

PR1001 Payment of annual fee

Payment date: 20160630

Start annual number: 5

End annual number: 5

FPAY Annual fee payment

Payment date: 20170622

Year of fee payment: 6

PR1001 Payment of annual fee

Payment date: 20170622

Start annual number: 6

End annual number: 6

FPAY Annual fee payment

Payment date: 20180626

Year of fee payment: 7

PR1001 Payment of annual fee

Payment date: 20180626

Start annual number: 7

End annual number: 7

PR1001 Payment of annual fee

Payment date: 20200617

Start annual number: 9

End annual number: 9

PR1001 Payment of annual fee

Payment date: 20210802

Start annual number: 10

End annual number: 10

PR1001 Payment of annual fee

Payment date: 20220620

Start annual number: 11

End annual number: 11

PR1001 Payment of annual fee

Payment date: 20230622

Start annual number: 12

End annual number: 12

PR1001 Payment of annual fee

Payment date: 20240624

Start annual number: 13

End annual number: 13