KR101273278B1 - Error detection apparatus and method for dual microcontroller system - Google Patents

Error detection apparatus and method for dual microcontroller system Download PDF

Info

Publication number
KR101273278B1
KR101273278B1 KR1020110103348A KR20110103348A KR101273278B1 KR 101273278 B1 KR101273278 B1 KR 101273278B1 KR 1020110103348 A KR1020110103348 A KR 1020110103348A KR 20110103348 A KR20110103348 A KR 20110103348A KR 101273278 B1 KR101273278 B1 KR 101273278B1
Authority
KR
South Korea
Prior art keywords
data
output
error
core
module
Prior art date
Application number
KR1020110103348A
Other languages
Korean (ko)
Other versions
KR20130038970A (en
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 KR1020110103348A priority Critical patent/KR101273278B1/en
Publication of KR20130038970A publication Critical patent/KR20130038970A/en
Application granted granted Critical
Publication of KR101273278B1 publication Critical patent/KR101273278B1/en

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60WCONJOINT 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/00Details 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/02Ensuring safety in case of control system failures, e.g. by diagnosing, circumventing or fixing failures
    • B60W50/0205Diagnosing or detecting failures; Failure detection models
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0796Safety measures, i.e. ensuring safe condition in the event of error, e.g. for controlling element
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/08Error detection or correction by redundancy in data representation, e.g. by using checking codes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/16Error detection or correction of the data by redundancy in hardware
    • G06F11/1629Error detection by comparing the output of redundant processing systems
    • G06F11/1637Error detection by comparing the output of redundant processing systems using additional compare functionality in one or some but not all of the redundant processing components
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/16Error detection or correction of the data by redundancy in hardware
    • G06F11/1629Error detection by comparing the output of redundant processing systems
    • G06F11/1654Error detection by comparing the output of redundant processing systems where the output of only one of the redundant processing components can drive the attached hardware, e.g. memory or I/O
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60WCONJOINT 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/00Details 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
    • B60W2050/0001Details of the control system
    • B60W2050/0002Automatic control, details of type of controller or control system architecture
    • B60W2050/0004In digital systems, e.g. discrete-time systems involving sampling
    • B60W2050/0006Digital architecture hierarchy
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60WCONJOINT 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/00Details 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
    • B60W2050/0001Details of the control system
    • B60W2050/0043Signal treatments, identification of variables or parameters, parameter estimation or state estimation
    • B60W2050/0044In digital systems
    • B60W2050/0045In digital systems using databus protocols
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60WCONJOINT 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/00Details 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/02Ensuring safety in case of control system failures, e.g. by diagnosing, circumventing or fixing failures
    • B60W50/0205Diagnosing or detecting failures; Failure detection models
    • B60W2050/021Means for detecting failure or malfunction

Abstract

본 발명에 따른 듀얼 코어 시스템의 오류 검출 장치는 제1 코어, 제1 캔(CAN) 모듈, 캔 트랜시버, 제2 캔(CAN) 모듈 및 제2 코어를 포함한다. 제1 코어는 센서로부터 감지 데이터를 입력받아 연산하여 제1 데이터를 산출하며, 상기 제1 데이터 및 제2 코어로부터 전송된 제2 데이터를 비교하여 오류가 검출되지 않은 경우 상기 제1 데이터를 출력한다. 제1 캔(CAN) 모듈은 상기 제1 데이터를 CAN 프로토콜에 따라 처리하여 출력한다. 캔 트랜시버는 상기 제1 캔 모듈로부터 상기 제1 데이터를 수신받아 캔(CAN) 버스를 통해 전송한다. 제2 캔(CAN) 모듈은 상기 제1 캔 모듈로부터 피드백된 상기 제1 데이터를 CAN 프로토콜에 따라 처리하여 출력한다. 제2 코어는 상기 센서로부터 감지 데이터를 입력받아 연산하여 제2 데이터를 산출하며, 상기 제2 데이터 및 상기 제1 데이터를 비교하여 오류가 검출될 경우, 상기 제1 코어에 상기 제1 데이터의 출력을 중지하는 인터럽트 신호를 전송한다. 이에 의하여, 출력 데이터의 안정성과 신뢰성을 향상시킬 수 있다.An error detection apparatus of a dual core system according to the present invention includes a first core, a first CAN module, a can transceiver, a second CAN module, and a second core. The first core receives the sensing data from the sensor, calculates the first data, and compares the first data with the second data transmitted from the second core to output the first data when no error is detected. . The first CAN module processes and outputs the first data according to a CAN protocol. The can transceiver receives the first data from the first can module and transmits it through a CAN bus. The second CAN module processes and outputs the first data fed back from the first can module according to the CAN protocol. The second core receives the calculated data from the sensor and calculates the second data. When the error is detected by comparing the second data and the first data, the second core outputs the first data to the first core. Send an interrupt signal to stop. As a result, the stability and reliability of the output data can be improved.

Description

듀얼 코어 시스템의 오류 검출 장치 및 방법{ERROR DETECTION APPARATUS AND METHOD FOR DUAL MICROCONTROLLER SYSTEM}ERROR DETECTION APPARATUS AND METHOD FOR DUAL MICROCONTROLLER SYSTEM}

본 발명은 듀얼 코어 시스템의 오류 검출 장치 및 방법에 관한 것으로, 더욱 상세하게는 차량에서 스티어링 조향각도 데이터를 연산 처리하는 듀얼 코어 시스템의 오류 검출 장치 및 방법에 관한 것이다.The present invention relates to an error detection apparatus and method of a dual core system, and more particularly, to an error detection apparatus and method of a dual core system for calculating and processing steering steering angle data in a vehicle.

일반적으로, 캔(Controller Area Network: CAN)은 자동차 분야에서 엔진 관리 시스템, 자동변속장치, 에어백 시스템, 차체자세제어장치(ESP) 등에 사용되는 온-보드 전자제어장치(ECUs)들 간의 정보 교환에 사용되는 통신 프로토콜이다. CAN 프로토콜은 매우 높은 레벨의 안전성을 갖는 실시간 시리얼 방식의 브로드캐스팅 프로토콜로서, 고속의 ISO 11898과 저속의 ISO 11519-2로 정의된 국제 표준이다. 이러한 CAN 프로토콜은 두개의 메시지 프레임 형식을 제공하는데, CAN 표준 프레임은 11 비트 길이의 ID를 제공하고, CAN 확장 프레임은 29비트 ID를 제공한다. In general, CANs are used to exchange information between on-board electronic control units (ECUs) used in engine management systems, automatic transmissions, airbag systems, body position control systems (ESPs), etc. in the automotive sector. The communication protocol used. The CAN protocol is a real-time serial broadcasting protocol with very high levels of safety. It is an international standard defined by high speed ISO 11898 and low speed ISO 11519-2. The CAN protocol provides two message frame formats: the CAN standard frame provides an 11-bit long ID and the CAN extended frame provides a 29-bit ID.

그런데 CAN과 같이 실시간으로 운영되는 시스템에서 하나의 MCU(Micro Control Unit)를 사용할 경우에는 MCU에서 연산오류나 시스템 장애(fail), 혹은 데드 록(Dead Lock) 등의 장애가 발생될 경우, 데이터(Data)를 전송할 수 없게 되고, 이에 따라 실시간으로 데이터가 필요한 시스템에서는 데이터가 입력되지 않아 고장으로 인지하거나 오동작을 일으킬 수 있는 문제점이 있다. 특히, 차량에서 스티어링 조향각도 데이터를 연산 처리하는 시스템의 경우 실시간 데이터를 필요로 한다.However, when one MCU (Micro Control Unit) is used in a system operating in real time, such as CAN, when an operation error, system failure, or dead lock occurs in the MCU, data (Data) There is a problem that can not be transmitted, and therefore in a system that requires data in real time because the data is not input is recognized as a failure or cause a malfunction. In particular, a system that computes and processes steering steering angle data in a vehicle requires real-time data.

따라서, 실시간 데이터를 필요로 하는 조향각 산출 시스템에서 두 개의 센서 입력과 두 개의 MCU가 상호 제어 및 동기화 통신 등의 방법으로 상기 오류에 대한 부분을 해소하기 위한 시도가 연구되고 있다.Therefore, in the steering angle calculation system requiring real-time data, attempts to solve the error part by a method such as mutual control and synchronous communication between two sensor inputs and two MCUs have been studied.

도 1을 참조하여, 종래의 듀얼 컨트롤러를 이용한 조향각 산출 시스템(10)은 센서(20)로부터 감지신호를 입력받아 듀얼로 구성된 MCU1(30) 및 MCU2(40)가 소정의 알고리즘에 따라 조향각을 산출하여 CAN 버스를 통해 차량 네트워크의 다른 노드들(ECU: Electronic Control Unit)에 전송한다. 이때 산출된 데이터(조향각 데이터)를 전송하기 위해 MCU1(30) 및 MCU2(40)에 포함된 CAN모듈(35, 45)은 조향각 데이터를 CAN 프로토콜에 따른 메시지 프레임으로 형성한 후, CAN 트랜시버(50)를 통해 CAN 버스로 전송한다. 오류 검출에 있어서, MCU1(30) 및 MCU2(40)의 문제가 발생하는 경우에는 MCU 간 통신을 통해 상호 비교하고 상호 제어하여 출력의 오류를 방지 할 수 있다. Referring to FIG. 1, the steering angle calculation system 10 using the conventional dual controller receives a sensing signal from the sensor 20 and the MCU1 30 and the MCU2 40 configured as dual calculate the steering angle according to a predetermined algorithm. The CAN bus to other nodes in the vehicle network (ECU). In order to transmit the calculated data (steering angle data), the CAN modules 35 and 45 included in the MCU1 30 and the MCU2 40 form the steering angle data into message frames according to the CAN protocol, and then the CAN transceiver 50 To CAN bus. In error detection, when a problem occurs in the MCU1 30 and the MCU2 40, it is possible to prevent an error in the output by comparing and controlling each other through communication between the MCUs.

하지만 종래 기술의 경우 비교부(33, 43)에서 검증된 결과가 정확하다고 할지라도 CAN 모듈(35, 45)이나 이를 구동하기 위한 데이터 출력 연산부(31, 41)에 문제가 생기는 경우에는 종래의 방식으로는 차량에 오류를 송신하는 것을 인지할 방법이 없는 문제점이 있다.However, in the case of the prior art, even if the result verified by the comparator 33 and 43 is correct, when the CAN module 35 or 45 or a problem occurs in the data output calculator 31 or 41 for driving the conventional method, There is a problem in that there is no way of recognizing sending an error to the vehicle.

특히 이러한 경우에서 CAN 모듈(35, 45)에서 비교부/제어부(33, 43)로부터 입력 받는 제어 권한을 인지 못하는 경우나, 비교부/제어부(33, 43)가 오류가 있어 이 오류 때문에 CAN 모듈(35, 45) 제어를 하지 못하는 경우 이전 입력인 오류 데이터가 계속해서 차량으로 송신하게 되어 문제를 야기시킬 수 있다. In particular, in this case, the CAN module 35, 45 does not recognize the control authority received from the comparator / control unit 33, 43, or the comparator / control unit 33, 43 has an error and therefore the CAN module (35, 45) Failure to control can cause problems because previous error data will continue to be sent to the vehicle.

또한, 비교부/제어부(33, 43)에서는 이를 인지하지 못하여 문제가 지속될 확률이 높다. 또한 MCU간의 통신을 통한 정보 교환 외에는 실제 차량으로의 전송 상태의 문제 여부를 인지할 수 없으며 동기화에 문제가 있는 경우에도 제어 권한의 요소가 MCU간 통신에 의존하기 때문에 오류 확률은 더 높아질 수 있다. 즉 메인 제어부에는 문제가 없다 하여도 다른 구성에서 문제가 발생할 경우 이에 대한 오류를 감지하기 어려운 문제점이 있다.In addition, the comparator / controllers 33 and 43 are not aware of this and have a high probability of continuing the problem. In addition, it is not possible to recognize whether there is a problem with the actual state of transmission to the vehicle except for information exchange through communication between MCUs, and even if there is a problem in synchronization, an error probability may be higher because the factor of control authority depends on the communication between MCUs. That is, even if there is no problem in the main control unit, if a problem occurs in another configuration, there is a problem that it is difficult to detect the error.

또한, 오늘날 컨트롤러 프로세스의 기술발달로 인해, 1개의 MCU 내에 듀얼 코어(Dual Core)가 구비된 시스템으로 발전하고 있는데, 이러한 듀얼 코어 시스템에서도 상기 문제점을 해결할 수 있는 오류 검출 방법이 요구되고 있다.In addition, due to the technological development of today's controller process, the system has been developed into a system having a dual core in a single MCU. In such a dual core system, there is a need for an error detection method that can solve the above problem.

이에, 본 발명의 기술적 과제는 이러한 점에서 착안된 것으로, 본 발명의 목적은 차량에서 스티어링 조향각도 데이터의 연산 처리에 있어 코어를 구성하는 세부 영역에서의 오류 발생을 검출하는 듀얼 코어 시스템의 오류 검출 장치 및 방법을 제공하는 것이다.Accordingly, the technical problem of the present invention has been conceived in this respect, and an object of the present invention is to detect an error of a dual core system that detects an error occurrence in a detailed area constituting a core in a calculation process of steering steering angle data in a vehicle. It is to provide an apparatus and method.

상기한 본 발명의 목적을 실현하기 위한 일 실시예에 따른 듀얼 코어 시스템의 오류 검출 장치는 제1 코어, 제1 캔(CAN) 모듈, 캔 트랜시버, 제2 캔(CAN) 모듈 및 제2 코어를 포함한다. 제1 코어는 센서로부터 감지 데이터를 입력받아 연산하여 제1 데이터를 산출하며, 상기 제1 데이터 및 제2 코어로부터 전송된 제2 데이터를 비교하여 오류가 검출되지 않은 경우 상기 제1 데이터를 출력한다. 제1 캔(CAN) 모듈은 상기 제1 데이터를 CAN 프로토콜에 따라 처리하여 출력한다. 캔 트랜시버는 상기 제1 캔 모듈로부터 상기 제1 데이터를 수신받아 캔(CAN) 버스를 통해 전송한다. 제2 캔(CAN) 모듈은 상기 제1 캔 모듈로부터 피드백된 상기 제1 데이터를 CAN 프로토콜에 따라 처리하여 출력한다. 제2 코어는 상기 센서로부터 감지 데이터를 입력받아 연산하여 제2 데이터를 산출하며, 상기 제2 데이터 및 상기 제1 데이터를 비교하여 오류가 검출될 경우, 상기 제1 코어에 상기 제1 데이터의 출력을 중지하는 인터럽트 신호를 전송한다.An error detecting apparatus of a dual core system according to an exemplary embodiment for realizing the object of the present invention may include a first core, a first CAN module, a can transceiver, a second CAN module, and a second core. Include. The first core receives the sensing data from the sensor, calculates the first data, and compares the first data with the second data transmitted from the second core to output the first data when no error is detected. . The first CAN module processes and outputs the first data according to a CAN protocol. The can transceiver receives the first data from the first can module and transmits it through a CAN bus. The second CAN module processes and outputs the first data fed back from the first can module according to the CAN protocol. The second core receives the calculated data from the sensor and calculates the second data. When the error is detected by comparing the second data and the first data, the second core outputs the first data to the first core. Send an interrupt signal to stop.

본 발명의 일 실시예에서, 상기 제1 코어는, 상기 감지 데이터를 입력받아 연산하여 상기 제1 데이터를 산출하는 제1 연산부, 상기 제1 데이터 및 상기 제2 데이터를 비교하여 오류를 검출하고, 상기 오류가 검출되지 않은 경우 데이터 출력부에 출력 온 제어 신호를 전송하며, 상기 오류가 검출되면 상기 데이터 출력부에 출력 오프 제어 신호를 전송하는 제1 비교제어부, 및 상기 제1 비교제어부로부터 상기 출력 온 제어신호가 입력된 경우, 상기 제1 데이터를 상기 제1 캔 모듈에 출력하며, 상기 제1 비교제어부로부터 상기 출력 오프 제어 신호 또는 상기 제2 코어로부터 상기 인터럽트 신호가 입력된 경우, 상기 제1 데이터의 출력을 중지하는 데이터 출력부를 포함할 수 있다.In an embodiment of the present disclosure, the first core detects an error by comparing the first calculator, the first data, and the second data, which receives the sensed data and calculates the first data. A first comparison control unit which transmits an output on control signal to a data output unit when the error is not detected, and a first comparison control unit which transmits an output off control signal to the data output unit when the error is detected, and the output from the first comparison control unit. When the on control signal is input, the first data is output to the first can module, and when the output off control signal or the interrupt signal is input from the second core, the first comparison module. It may include a data output unit for stopping the output of the data.

본 발명의 일 실시예에서, 상기 제2 코어는, 상기 감지 데이터를 입력받아 연산하여 상기 제2 데이터를 산출하는 제2 연산부, 상기 제2 캔 모듈로부터 입력받은 상기 제1 데이터를 출력하는 데이터 입력부, 상기 제2 데이터 및 상기 제1 비교제어부로부터 전송된 상기 제1 데이터를 비교하여 오류를 검출하고, 상기 제2 데이터 및 상기 데이터 입력부로부터 전송된 상기 제1 데이터를 비교하여 오류를 검출하는 제2 비교부, 및 상기 제2 비교부에서 오류가 검출될 경우, 상기 데이터 출력부에 상기 인터럽트 신호를 전송하는 제2 제어부를 포함할 수 있다.In an embodiment of the present disclosure, the second core may include a second calculator configured to receive the sensed data, calculate the second data, and output the first data received from the second can module. And detecting an error by comparing the second data with the first data transmitted from the first comparison control unit, and detecting the error by comparing the second data with the first data transmitted from the data input unit. And a second controller which transmits the interrupt signal to the data output unit when an error is detected by the second comparer.

본 발명의 일 실시예에서, 상기 제1 비교제어부는 상기 제2 비교부에서 오류가 검출되지 않은 경우, 상기 데이터 출력부에 상기 출력 온 제어 신호를 전송할 수 있다.In an embodiment of the present disclosure, when the error is not detected by the second comparator, the first comparison controller may transmit the output on control signal to the data output unit.

본 발명의 일 실시예에서, 상기 제1 비교제어부 및 상기 제2 비교부를 연결하여 상기 제1 및 제2 데이터 신호의 전송라인을 제공하는 제1 통신라인, 상기 데이터 출력부 및 상기 제2 제어부를 연결하여 상기 인터럽트 신호의 전송라인을 제공하는 제2 통신라인, 및 상기 제1 캔 모듈로부터 출력되는 상기 제1 데이터를 상기 제2 캔 모듈에 피드백하는 피드백 라인을 더 포함할 수 있다.In one embodiment of the present invention, the first communication line, the data output unit and the second control unit for connecting the first comparison control unit and the second comparison unit to provide a transmission line of the first and second data signals And a second communication line connected to provide a transmission line of the interrupt signal, and a feedback line feeding back the first data output from the first can module to the second can module.

본 발명의 일 실시예에서, 상기 센서는 복수개로 구비되며, 상기 제1 및 제2 코어는 상기 복수개의 센서로부터 각각 감지 데이터를 입력받을 수 있다.In one embodiment of the present invention, the sensor may be provided in plurality, and the first and second cores may receive sensing data from the plurality of sensors, respectively.

상기한 본 발명의 목적을 실현하기 위한 다른 실시예에 따른 듀얼 코어 시스템의 오류 검출 방법은, 제1 코어가 센서로부터 감지 데이터를 입력받아 연산하여 제1 데이터를 산출한다. 제2 코어가 상기 센서로부터 감지 데이터를 입력받아 연산하여 제2 데이터를 산출한다. 상기 제1 코어가 상기 제1 데이터 및 상기 제2 코어로부터 전송된 상기 제2 데이터를 비교하여 오류가 검출되지 않은 경우 상기 제1 데이터를 출력한다. 제1 캔(CAN) 모듈이 상기 제1 데이터를 CAN 프로토콜에 따라 처리하여 출력한다. 캔 트랜시버가 상기 제1 캔 모듈로부터 상기 제1 데이터를 수신받아 캔(CAN) 버스를 통해 전송한다. 제2 캔(CAN) 모듈이 상기 제1 캔 모듈로부터 피드백된 상기 제1 데이터를 CAN 프로토콜에 따라 처리하여 출력한다. 상기 제2 코어가 상기 제2 데이터 및 상기 제1 데이터를 비교하여 오류가 검출될 경우, 상기 제1 코어에 상기 제1 데이터의 출력을 중지하는 인터럽트 신호를 전송한다.In an error detecting method of a dual core system according to another exemplary embodiment for realizing the object of the present invention, the first core receives the sensing data from a sensor and calculates the first data. The second core receives the sensing data from the sensor and computes the second data. The first core compares the first data with the second data transmitted from the second core and outputs the first data when no error is detected. A first CAN module processes and outputs the first data according to a CAN protocol. A can transceiver receives the first data from the first can module and transmits it through a CAN bus. A second CAN module processes and outputs the first data fed back from the first can module according to a CAN protocol. When the second core compares the second data and the first data and detects an error, the second core transmits an interrupt signal to stop the output of the first data.

본 발명의 일 실시예에서, 상기 제1 데이터를 출력하는 단계는, In one embodiment of the present invention, the step of outputting the first data,

제1 비교제어부가 상기 제1 데이터 및 상기 제2 데이터를 비교하여 오류를 검출하고, 상기 오류가 검출되지 않은 경우 데이터 출력부에 출력 온 제어 신호를 전송하며, 상기 오류가 검출되면 상기 데이터 출력부에 출력 오프 제어 신호를 전송하는 단계; 및A first comparison control unit detects an error by comparing the first data and the second data, and transmits an output on control signal to a data output unit when the error is not detected, and when the error is detected, the data output unit Transmitting an output off control signal to the apparatus; And

상기 데이터 출력부가 상기 제1 비교제어부로부터 상기 출력 온 제어신호가 입력된 경우, 상기 제1 데이터를 상기 제1 캔 모듈에 출력하며, 상기 제1 비교제어부로부터 상기 출력 오프 제어 신호 또는 상기 제2 코어로부터 상기 인터럽트 신호가 입력된 경우, 상기 제1 데이터의 출력을 중지하는 단계를 포함When the output on control signal is input from the first comparison controller, the data output unit outputs the first data to the first can module, and outputs the output off control signal or the second core from the first comparison controller. Stopping the output of the first data when the interrupt signal is input from

본 발명의 일 실시예에서, 상기 인터럽트 신호를 전송하는 단계는, 데이터 입력부가 상기 제2 캔 모듈로부터 입력받은 상기 제1 데이터를 출력하는 단계, 제2 비교부가 상기 제2 데이터 및 상기 제1 코어로부터 전송된 상기 제1 데이터를 비교하여 오류를 검출하고, 상기 제2 데이터 및 상기 데이터 입력부로부터 전송된 상기 제1 데이터를 비교하여 오류를 검출하는 단계, 및 제2 제어부가 상기 제2 비교부에서 오류가 검출될 경우, 상기 데이터 출력부에 상기 인터럽트 신호를 전송하는 단계를 포함할 수 있다.The transmitting of the interrupt signal may include outputting, by a data input unit, the first data received from the second can module, and by using a second comparator, the second data and the first core. Detecting the error by comparing the first data transmitted from the second data, and comparing the first data transmitted from the second data and the data input unit to detect the error, and a second control unit at the second comparing unit If an error is detected, the method may include transmitting the interrupt signal to the data output unit.

본 발명의 일 실시예에서, 상기 제1 비교제어부가 상기 출력 온 제어 신호를 전송하는 단계는, 상기 제2 비교부에서 오류가 검출되지 않은 경우, 상기 데이터 출력부에 상기 출력 온 제어 신호를 전송할 수 있다.In an embodiment of the present disclosure, the transmitting of the output on control signal by the first comparison controller may include transmitting the output on control signal to the data output unit when an error is not detected by the second comparison unit. Can be.

이와 같은 듀얼 코어 시스템의 오류 검출 장치 및 방법에 따르면, 코어 구성 모듈들을 보다 세부적인 영역으로 나누고, 코어 간 통신과 외부로 출력되는 최종 데이터를 함께 감지하여 각 영역 별 오류 발생시 차량으로의 송신 출력을 제어하며, 오류로 인해 발생되는 위험 요소를 중복 검증하여 오류를 가진 위험한 데이터의 출력을 차단함으로써, 출력 데이터의 안정성과 신뢰성을 향상시킬 수 있다.According to the error detection device and method of the dual-core system, the core configuration modules are divided into more detailed areas, and the core outputs are transmitted to the vehicle in the event of an error in each area by detecting communication between cores and final data output to the outside. By controlling and redundantly verifying the risks caused by errors, the output of dangerous data with errors can be blocked, thereby improving the stability and reliability of the output data.

도 1은 종래의 조향각 산출을 위한 듀얼 코어 시스템을 도시한 구성도이다.
도 2는 본 발명의 일 실시예에 따른 듀얼 코어 시스템의 개략적인 구성도이다.
도 3은 본 발명의 일 실시예에 따른 듀얼 코어 시스템의 세부 구성도이다.
도 4는 본 발명의 일 실시예에 따른 듀얼 코어 시스템의 오류 검출 방법에 대한 순서도이다.
1 is a block diagram illustrating a dual core system for calculating a conventional steering angle.
2 is a schematic diagram of a dual core system according to an exemplary embodiment of the present invention.
3 is a detailed configuration diagram of a dual core system according to an embodiment of the present invention.
4 is a flowchart illustrating an error detection method of a dual core system according to an exemplary embodiment of the present invention.

본 발명은 다양한 변경을 가할 수 있고 여러 가지 형태를 가질 수 있는 바, 실시예들을 본문에 상세하게 설명하고자 한다. 그러나 이는 본 발명을 특정한 개시 형태에 대해 한정하려는 것이 아니며, 본 발명의 사상 및 기술 범위에 포함되는 모든 변경, 균등물 내지 대체물을 포함하는 것으로 이해되어야 한다. 각 도면을 설명하면서 유사한 참조부호를 유사한 구성요소에 대해 사용하였다. 제1, 제2 등의 용어는 다양한 구성요소들을 설명하는데 사용될 수 있지만, 상기 구성요소들은 상기 용어들에 의해 한정되어서는 안 된다. 상기 용어들은 하나의 구성요소를 다른 구성요소로부터 구별하는 목적으로만 사용된다. 본 출원에서 사용한 용어는 단지 특정한 실시예를 설명하기 위해 사용된 것으로, 본 발명을 한정하려는 의도가 아니다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다. 본 출원에서, "포함하다" 또는 "이루어진다" 등의 용어는 명세서상에 기재된 특징, 숫자, 단계, 동작, 구성요소, 부분품 또는 이들을 조합한 것이 존재함을 지정하려는 것이지, 하나 또는 그 이상의 다른 특징들이나 숫자, 단계, 동작, 구성요소, 부분품 또는 이들을 조합한 것들의 존재 또는 부가가능성을 미리 배제하지 않는 것으로 이해되어야 한다. While the present invention has been described in connection with what is presently considered to be the most practical and preferred embodiment, it is to be understood that the invention is not limited to the disclosed embodiments. It is to be understood, however, that the invention is not intended to be limited to the particular forms disclosed, but on the contrary, is intended to cover all modifications, equivalents, and alternatives falling within the spirit and scope of the invention. Like reference numerals are used for like elements in describing each drawing. The terms first, second, etc. may be used to describe various components, but the components should not be limited by the terms. The terms are used only for the purpose of distinguishing one component from another. The terminology used herein is for the purpose of describing particular example embodiments only and is not intended to be limiting of the present invention. Singular expressions include plural expressions unless the context clearly indicates otherwise. In the present application, the term "comprises" or "comprising ", etc. is intended to specify that there is a stated feature, figure, step, operation, component, But do not preclude the presence or addition of one or more other features, integers, steps, operations, components, parts, or combinations thereof.

다르게 정의되지 않는 한, 기술적이거나 과학적인 용어를 포함해서 여기서 사용되는 모든 용어들은 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자에 의해 일반적으로 이해되는 것과 동일한 의미를 가지고 있다. 일반적으로 사용되는 사전에 정의되어 있는 것과 같은 용어들은 관련 기술의 문맥 상 가지는 의미와 일치하는 의미를 가지는 것으로 해석되어야 하며, 본 출원에서 명백하게 정의하지 않는 한, 이상적이거나 과도하게 형식적인 의미로 해석되지 않는다.Unless defined otherwise, all terms used herein, including technical or scientific terms, have the same meaning as commonly understood by one of ordinary skill in the art. Terms such as those defined in the commonly used dictionaries should be construed as having meanings consistent with the meanings in the context of the related art and shall not be construed in ideal or excessively formal meanings unless expressly defined in this application. Do not.

이하, 첨부한 도면들을 참조하여, 본 발명의 바람직한 실시예를 보다 상세하게 설명하고자 한다.
Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 2는 본 발명의 일 실시예에 따른 듀얼 코어 시스템의 개략적인 구성도이다.2 is a schematic diagram of a dual core system according to an exemplary embodiment of the present invention.

도 2를 참조하여, 본 발명의 일 실시예에 따른 듀얼 코어 시스템의 오류 검출 장치(100)는 제1 코어(110), 제1 캔 모듈(120), 캔 트랜시버(130), 제2 캔 모듈(140) 및 제2 코어(150)를 포함한다. 또한 센서(101), 제1 통신라인(210), 제2 통신라인(220) 및 피드백 라인(230)을 더 포함할 수 있다.Referring to FIG. 2, the error detecting apparatus 100 of the dual core system according to an exemplary embodiment may include a first core 110, a first can module 120, a can transceiver 130, and a second can module. 140 and the second core 150. In addition, the sensor 101 may further include a first communication line 210, a second communication line 220, and a feedback line 230.

본 실시예에서는 자동차에서 스티어링 휠의 조향각을 산출하기 위한 실시간 연산 시스템을 개시하였으나, 이에 한정되는 것은 아니며 듀얼 코어 시스템을 채용한 다양한 오류 검출 장치에 적용될 수 있다.In the present exemplary embodiment, a real-time arithmetic system for calculating a steering angle of a steering wheel in a vehicle is disclosed, but the present invention is not limited thereto and may be applied to various error detection apparatuses employing a dual core system.

센서(101)는 스티어링 휠의 조향각을 감지하기 위한 AMR(Anisotropic Magneto Resistance)센서로 구현될 수 있다. 센서(101)는 복수개로 구비될 수 있으며, 상기 제1 및 제2 코어(110, 150)는 상기 복수개의 센서로부터 각각 감지 데이터를 입력받을 수 있다.The sensor 101 may be implemented as an anisotropic magneto resistance (AMR) sensor for detecting a steering angle of a steering wheel. The sensor 101 may be provided in plurality, and the first and second cores 110 and 150 may receive sensing data from the plurality of sensors, respectively.

제1 코어(110)는 센서(101)로부터 감지 데이터를 입력받아 연산하여 제1 데이터를 산출한다. 제1 코어(110)는 소정의 알고리즘에 따라 제1 데이터를 산출한다. 또한, 제1 코어(110)는 제1 데이터 및 제2 코어로(130)부터 전송된 제2 데이터를 비교하여 오류가 검출되지 않은 경우 제1 데이터를 출력한다. 즉, 제1 데이터와 제2 데이터를 비교하여 미리 정해진 오차 허용 범위를 초과하면 오류로 검출하고, 오류가 검출되지 않은 경우 제1 데이터를 출력한다. The first core 110 receives the sensing data from the sensor 101 and calculates the first data. The first core 110 calculates first data according to a predetermined algorithm. In addition, the first core 110 compares the first data and the second data transmitted from the second core 130 to output the first data when no error is detected. That is, the first data is compared with the second data, and when the predetermined error tolerance is exceeded, an error is detected. When the error is not detected, the first data is output.

제1 캔 모듈(120)은 상기 제1 데이터를 CAN 프로토콜에 따라 처리하여 출력한다. 제1 캔 모듈(127)은 상기 제1 코어(110)로부터의 출력 온 제어 신호 또는 출력 오프 제어 신호에 따라 동작하여 제1 데이터를 CAN 프로토콜에 따라 처리할 수 있다.The first can module 120 processes and outputs the first data according to a CAN protocol. The first can module 127 may operate according to the output on control signal or the output off control signal from the first core 110 to process the first data according to the CAN protocol.

캔 트랜시버(130)는 상기 제1 캔 모듈(120)로부터 상기 제1 데이터를 수신받아 캔(CAN) 버스를 통해 전송한다. 즉, 캔 트랜시버(130)는 데이터 전송 장치로서, 오류가 검출되지 않은 조향각 데이터를 차량 네트워크로 송신한다. The can transceiver 130 receives the first data from the first can module 120 and transmits it through a CAN bus. That is, the can transceiver 130 is a data transmission device that transmits steering angle data for which no error is detected to the vehicle network.

제2 캔 모듈(140)은 상기 제1 캔 모듈(120)로부터 피드백된 상기 제1 데이터를 CAN 프로토콜에 따라 처리하여 출력한다. 즉, 제2 캔 모듈(140)은 제1 캔 모듈(120)의 데이터 변환 처리 프로세스를 역으로 진행하여 변환된 제1 데이터를 제2 코어(150)에 제공한다.The second can module 140 processes and outputs the first data fed back from the first can module 120 according to the CAN protocol. That is, the second can module 140 reverses the data conversion process of the first can module 120 to provide the converted first data to the second core 150.

제2 코어(150)는 센서(101)로부터 감지 데이터를 입력받아 연산하여 제2 데이터를 산출한다. 제2 코어(150)는 제1 코어(110)와 동일한 소정의 알고리즘에 따라 제2 데이터를 산출할 수 있다. 또한, 제2 코어(130)는 제2 데이터 및 제1 캔 모듈(120)로부터 피드백된 제1 데이터를 비교하여 오류가 검출될 경우, 제1 코어(110)에 제1 데이터의 출력을 중지하는 인터럽트 신호를 전송한다. 즉, 제2 데이터와 제1 데이터를 비교하여 미리 정해진 오차 허용 범위를 초과하면 오류로 검출한다. 그리고 오류가 발생되면 제1 코어(110)에 인터럽트 신호를 전송하여 제1 데이터의 출력을 중지시킨다.The second core 150 receives the sensing data from the sensor 101 to calculate the second data. The second core 150 may calculate the second data according to the same algorithm as the first core 110. In addition, when the second core 130 compares the second data with the first data fed back from the first can module 120 and detects an error, the second core 130 stops outputting the first data to the first core 110. Send the interrupt signal. That is, the second data is compared with the first data and detected as an error when the predetermined error tolerance is exceeded. If an error occurs, the interrupt signal is transmitted to the first core 110 to stop the output of the first data.

제1 통신라인(210)은 제1 코어(110) 및 제2 코어(150) 사이에 구비되며, 제1 데이터 및 제2 데이터의 상호 비교를 위한 전송라인이다. The first communication line 210 is provided between the first core 110 and the second core 150 and is a transmission line for mutual comparison between the first data and the second data.

제2 통신라인(220)은 제1 코어(110) 및 제2 코어(150) 사이에 구비되며, 제1 코어(110)에 인터럽트 신호를 전송하기 위한 전송라인이다.The second communication line 220 is provided between the first core 110 and the second core 150 and is a transmission line for transmitting an interrupt signal to the first core 110.

피드백 라인(230)은 제1 캔 모듈(120)의 출력단으로부터 분기되어 제2 캔 모듈(140)에 연결되고, 제1 데이터를 상기 제2 코어(150)에 피드백하기 위한 전송라인이다.The feedback line 230 is branched from an output terminal of the first can module 120 to be connected to the second can module 140, and is a transmission line for feeding back first data to the second core 150.

이와 같은 듀얼 코어 시스템의 오류 검출 장치에 따르면, 코어 구성 모듈들을 보다 세부적인 영역으로 나누고, 코어 간 통신과 외부로 출력되는 최종 데이터를 함께 감지하여 각 영역 별 오류 발생시 차량으로의 송신 출력을 제어하며, 오류로 인해 발생되는 위험 요소를 중복 검증하여 출력 요소를 차단함으로써, 출력 데이터의 안정성과 신뢰성을 향상시킬 수 있다.
According to the error detection device of the dual-core system, the core component modules are divided into more detailed areas, and the core-to-core communication and the final data output to the outside are sensed together to control the transmission output to the vehicle when an error occurs in each area. In addition, it can improve the stability and reliability of the output data by blocking the output element by redundantly verifying the risk factors caused by the error.

도 3은 본 발명의 일 실시예에 따른 듀얼 코어 시스템의 세부 구성도이다. 3 is a detailed configuration diagram of a dual core system according to an embodiment of the present invention.

도 3을 참조하여, 제1 코어(110)는 제1 연산부(111), 제1 비교제어부(113) 및 데이터 출력부(115)를 포함할 수 있다. Referring to FIG. 3, the first core 110 may include a first calculator 111, a first comparison controller 113, and a data output unit 115.

제1 연산부(111)는 감지 데이터를 입력받아 연산하여 제1 데이터를 산출한다. 즉, 제1 연산부(111)는 센서(101)를 통해 입력된 센서 값을 연산부를 통해 제1 코어(110)에서 인식 가능한 데이터로 변환하는 작업을 수행한다.The first calculating unit 111 receives the sensing data and calculates the first data. That is, the first calculator 111 converts the sensor value input through the sensor 101 into data recognizable by the first core 110 through the calculator.

제1 비교제어부(113)는 제1 데이터 및 제2 데이터를 비교하여 오류를 검출하고, 오류가 검출되지 않은 경우 데이터 출력부(115)에 출력 온 제어 신호를 전송한다. 만약 오류가 검출되면 데이터 출력부(115)에 출력 오프 제어 신호를 전송한다. 또한, 제1 비교제어부(113)는 제2 코어(150)에서 오류가 검출되지 않은 경우, 데이터 출력부(115)에 출력 온 제어 신호를 전송한다. 즉, 제1 비교제어부(113)와 제2 코어(150)의 제2 비교부(153)는 제1 데이터 및 제2 데이터를 상호 비교하여 오류가 검출되지 않은 경우 정상적인 출력이 가능하도록 데이터 출력부(115)를 제어한다. The first comparison controller 113 compares the first data and the second data to detect an error, and transmits an output on control signal to the data output unit 115 when the error is not detected. If an error is detected, the output off control signal is transmitted to the data output unit 115. In addition, when no error is detected in the second core 150, the first comparison controller 113 transmits an output on control signal to the data output unit 115. That is, the first comparator 113 and the second comparator 153 of the second core 150 compare the first data and the second data with each other and output a data output unit to enable normal output when no error is detected. Control 115.

데이터 출력부(115)는 상기 제1 비교제어부(113)로부터 상기 출력 온 제어신호가 입력된 경우, 상기 제1 데이터를 상기 제1 캔 모듈(120)에 출력한다. 또한, 데이터 출력부(115)는 상기 제1 비교제어부(113)로부터 상기 출력 오프 제어 신호 또는 상기 제2 코어(150)로부터 상기 인터럽트 신호가 입력된 경우, 상기 제1 데이터의 출력을 중지한다. 즉, 데이터 출력부(115)는 출력 온 제어신호에 따라 동작하여 제1 데이터를 전송한다. 데이터 출력부(115)는 제1 비교제어부(113)와 제2 비교부(153) 양 측에 의해 제1 데이터의 출력여부가 제어된다. The data output unit 115 outputs the first data to the first can module 120 when the output on control signal is input from the first comparison controller 113. In addition, the data output unit 115 stops outputting the first data when the output off control signal from the first comparison controller 113 or the interrupt signal is input from the second core 150. That is, the data output unit 115 operates according to the output on control signal to transmit the first data. The data output unit 115 controls whether the first data is output by both the first comparison control unit 113 and the second comparison unit 153.

또한, 제2 코어(150)는 제2 연산부(151), 제2 비교부(153), 제2 제어부(155) 및 데이터 입력부(157)를 포함할 수 있다. In addition, the second core 150 may include a second calculator 151, a second comparator 153, a second controller 155, and a data input unit 157.

제2 연산부(151)는 감지 데이터를 입력받아 연산하여 제2 데이터를 산출한다. 즉, 제2 연산부(151)는 센서(101)를 통해 입력된 센서 값을 연산부를 통해 제2 코어(150)에서 인식 가능한 데이터로 변환하는 작업을 수행한다.The second calculator 151 receives the sensed data to calculate the second data. That is, the second calculator 151 converts the sensor value input through the sensor 101 into data recognizable by the second core 150 through the calculator.

제2 비교부(153)는 제2 데이터 및 제1 코어(110)로부터 전송된 제1 데이터를 비교하여 오류를 검출한다. 또한, 제2 비교부(153)는 제2 데이터 및 데이터 입력부(157)로부터 전송된 제1 데이터를 비교하여 오류를 검출한다. 여기서, 제1 데이터는 제1 캔 모듈(120)로부터 피드백된 데이터이다.The second comparator 153 detects an error by comparing the second data with the first data transmitted from the first core 110. In addition, the second comparator 153 detects an error by comparing the second data with the first data transmitted from the data input unit 157. Here, the first data is data fed back from the first can module 120.

제2 제어부(155)는 제2 비교부(153)에서 오류가 검출될 경우, 제1 코어(110)에 인터럽트 신호를 전송한다. 즉, 제2 제어부(155)는 제2 데이터와 피드백된 제1 데이터를 비교하여 오류가 검출되지 않은 경우 정상적인 출력이 가능하도록 제1 코어(110)의 데이터 출력부(115)를 출력 제어한다. The second control unit 155 transmits an interrupt signal to the first core 110 when an error is detected by the second comparing unit 153. That is, the second control unit 155 outputs and controls the data output unit 115 of the first core 110 to enable normal output when no error is detected by comparing the second data with the fed back first data.

데이터 입력부(157)는 상기 제2 캔 모듈(140)로부터 입력받은 상기 제1 데이터를 출력한다. The data input unit 157 outputs the first data received from the second can module 140.

여기서, 제1 통신라인(210)은 제1 비교제어부(113) 및 제2 비교부(153)를 연결하여 상기 제1 및 제2 데이터 신호의 전송라인을 제공하고, 제2 통신라인(220)은 데이터 출력부(115)와 제2 제어부(155)를 연결하여 상기 인터럽트 신호의 전송라인을 제공하며, 피드백 라인(230)은 제1 캔 모듈(120)이 출력하는 제1 데이터를 제2 캔 모듈(140)에 피드백한다. Here, the first communication line 210 connects the first comparison control unit 113 and the second comparison unit 153 to provide a transmission line of the first and second data signals, and the second communication line 220. Is connected to the data output unit 115 and the second control unit 155 to provide a transmission line of the interrupt signal, the feedback line 230 is a second can output the first data output from the first can module 120 Feedback to module 140.

한편, 본 실시예에 따른 듀얼 코어 시스템(100)은 퍼리퍼럴(peripheral)을 더 포함하여 구성될 수 있다. 퍼리퍼럴은 컴퓨터 시스템을 구성하는 기기 중에서 보조 기억 장치와 입출력 장치를 포함할 수 있다. 보조 기억 장치는 CPU가 직접 액세스할 수 있는 주기억 장치(메인 메모리)의 용량을 보충하기 위한 플로피 디스크 등의 디스크 장치 또는 자기 테이프 장치, 자기 카드 장치 등 외부 메모리를 포함하며, 입출력 장치(I/O 장치)는 컴퓨터에 정보를 입력하거나 출력하기 위한 장치, 예를 들면 디지타이저나 A/D 컨버터, 프린터 또는 CRT 디스플레이 등을 포함한다.On the other hand, the dual core system 100 according to the present embodiment may be configured to further include a peripheral (peripheral). The peripheral may include an auxiliary memory device and an input / output device among the devices constituting the computer system. The auxiliary storage device includes a disk device such as a floppy disk or an external memory such as a magnetic tape device or a magnetic card device to supplement the capacity of a main memory device (main memory) directly accessible to the CPU. Device) includes a device for inputting or outputting information to a computer, for example, a digitizer or an A / D converter, a printer or a CRT display.

본 실시예에 따른 듀얼 코어 시스템의 오류 검출 장치(100)는 스티어링 각도 정보를 자동차에 전달하기 위해 사용 되는 자동차 용 스티어링 앵글 센서의 오 동작 시 잘못된 정보를 차량에 송신하는 것을 방지 하기 위한 오류 검출 장치에 관한 것으로, 시스템을 구성하는 일부 모듈에 오류가 발생하는 경우 출력 데이터의 송신 중단에 그 목적이 있다. 본 실시예에 따른 듀얼 코어 시스템의 오류 검출 장치(100)의 구체적인 동작은 다음과 같다.The error detecting apparatus 100 of the dual core system according to the present exemplary embodiment is an error detecting apparatus for preventing transmission of incorrect information to a vehicle when a malfunction of a steering angle sensor for a vehicle used to transmit steering angle information to a vehicle. The purpose of the present invention is to stop transmission of output data when an error occurs in some modules constituting the system. Specific operations of the error detection apparatus 100 of the dual core system according to the present embodiment are as follows.

예를 들어, 입력단인 제1 연산부(111) 및 제2 연산부(151)의 문제가 발생하는 경우에는 제1 비교제어부(113) 및 제2 비교부(153)에서 제1 통신라인(210)의 통신을 통해 상호 비교 하고, 상호 제어 하여 출력의 오류를 방지 할 수 있다. 또한 제1 비교제어부(113)나 제2 비교부(153) 두 영역 중 하나의 오류가 발생된 경우에는 제1 통신라인(210)의 통신 불가를 정상적인 부분에서 인지하여 출력을 제어할 수 있으나, 본 실시예의 경우에는 하나의 출력단을 이용하기 때문에 제1 비교제어부(113)의 제어권만이 가능하다.For example, when a problem occurs in the first operation unit 111 and the second operation unit 151 as an input terminal, the first comparison control unit 113 and the second comparison unit 153 may perform the operation of the first communication line 210. Compare with each other through communication and control each other to prevent error of output. In addition, when an error occurs in one of the two areas of the first comparison control unit 113 or the second comparison unit 153, the output may be controlled by recognizing that the communication of the first communication line 210 is impossible. In the case of this embodiment, since only one output stage is used, only the control right of the first comparison controller 113 is possible.

하지만 제1 비교제어부(113) 및 제2 비교부(153) 두 영역 모두 오류가 발생한 경우에는 데이터 출력부(115)에서는 기존 입력 값을 차량에 전달 하기 때문에 데이터 입력부(157)를 거쳐서 입력된 값에 대한 비교로 제2 제어부(155)의 출력제어가 가능하다. 또한 데이터 출력부(115)의 오류가 발생한 경우 역시 제2 제어부(155)의 제어로 출력 제어가 가능하다. However, when an error occurs in both areas of the first comparison control unit 113 and the second comparison unit 153, the data output unit 115 transmits the existing input value to the vehicle, and thus the value input through the data input unit 157. Compared to the second control unit 155 output control is possible. In addition, when an error of the data output unit 115 occurs, output control may also be performed under the control of the second control unit 155.

제1 비교제어부(113) 및 제2 비교부(153) 모두 정상이지만 제1 통신라인(210)의 오류 발생을 인지하지 못하는 경우에도 제2 제어부(155)의 출력 제어가 가능하다. 제2 통신라인(220)의 오류는 통신이 아닌 하드웨어적인 라인 단락이기 때문에 본 발명에서는 오류 발생의 확률에 포함 시키지 않고 제2 제어부(155)의 오류가 발생한 경우 중에서 제1 비교제어부(113) 역시 오류가 발생한 경우가 모든 출력 통제권이 사라지는데 이는 제1 및 제2 코어(110, 150) 두 개 모두 오류인 경우에 해당된다. 따라서 오류 발생의 확률에서 각 영역의 소프트웨어적인 오류의 확률을 비교하는 경우 제1 및 제2 코어(110, 150) 내 소프트웨어 고장의 경우 외에는 오류 출력 제어가 가능하다.Although both the first comparison control unit 113 and the second comparison unit 153 are normal, the second control unit 155 may control the output even when the error of the first communication line 210 is not recognized. Since the error of the second communication line 220 is not a communication but a hardware short-circuit, the first comparison control unit 113 also includes a case where an error of the second control unit 155 does not include the probability of an error. When the error occurs, all the power control is lost, which corresponds to the case where both the first and second cores 110 and 150 are errors. Therefore, when comparing the probability of the software error of each region with the probability of error occurrence, error output control is possible except for the case of a software failure in the first and second cores 110 and 150.

한편, 코어간 통신 방식 중 동기화를 위한 방식은 일반적으로, 센서 입력 데이터 값에 대한 샘플링 중 오차 범위 이내의 값이 연산 된 경우에 동기화로 인지하여 동기화를 맞추지만 본 실시예에서는 제2 제어부(155)의 인식 결과값을 제2 비교부(153)에 전달하고 이를 제1 통신라인(210)을 이용하여 제1 비교제어부(113)에 전달하며 제2 비교부(153)와 제1 비교제어부(113) 모두 센서 입력 값의 샘플링 횟수에 대한 범위 변환을 이용하여 동기화를 수행하는 것이 바람직하다. On the other hand, in the inter-core communication method, the synchronization method generally recognizes the synchronization when the value within the error range during the sampling of the sensor input data value is synchronized to match the second control unit 155 in the present embodiment. ) Transmits the recognition result value to the second comparison unit 153 and transfers it to the first comparison control unit 113 using the first communication line 210, and the second comparison unit 153 and the first comparison control unit ( 113) It is preferable to perform the synchronization by using the range transformation for all sampling times of the sensor input values.

예를 들어, 제1 비교제어부(113)와 제2 비교부(153) 모두 한 시점의 데이터를 기억하고 다음 시점의 데이터 비교를 하는 경우에 이전 시점의 제2 캔 모듈(140)로부터 오는 데이터와 기억된 이전 시점의 데이터 값을 비교한 후 일치하는 경우, 다음 시점의 센서 값에 대한 동기화를 수행한다. 물론 이는 샘플링 시점의 동기화이며 센서 데이터의 상이점은 샘플링 데이터의 범위 변동으로 동기화한다.For example, when the first comparison control unit 113 and the second comparison unit 153 both store data at one time point and perform data comparison at the next time point, data from the second can module 140 at the previous time point are compared with data coming from the previous time point. If the data values of the previous time point stored are compared and matched, the synchronization of the sensor values of the next time point is performed. Of course, this is a synchronization of the sampling time point and the difference of the sensor data is synchronized with the range variation of the sampling data.

제1 비교제어부(113)는 제1 통신라인(210)을 통한 비교 결과에 의해 제1 캔 모듈(120)을 제어하고 제2 비교부(153)는 제1 통신라인(210)을 통한 비교 결과로 다시 제1 비교제어부(113)에 제어 명령을 제1 통신라인(210)을 통해 명령하지만, 이 경우 제1 통신라인(210)의 문제나 제1 비교제어부(113)의 문제가 발생하는 경우에는 제1 캔 모듈(120)의 제어권이 없기 때문에 제2 제어부(155)는 제2 비교부(153)에서 전송되는 동기화 성공 여부 및 제2 연산부(151)의 연산 결과 전달 값 그리고 제2 캔 모듈(140)로부터 오는 데이터 값을 비교하여 일정 횟수 내에 실패가 감지되는 경우 제2 통신라인(220)를 이용하여 데이터 출력부(115)의 출력을 제어한다.The first comparison controller 113 controls the first can module 120 by the comparison result through the first communication line 210 and the second comparison unit 153 compares the result through the first communication line 210. When the control command is commanded to the first comparison control unit 113 again through the first communication line 210, in this case, the problem of the first communication line 210 or the problem of the first comparison control unit 113 occurs. Since there is no control right of the first can module 120, the second controller 155 may determine whether or not the synchronization success is transmitted from the second comparator 153, the operation result transfer value of the second calculator 151, and the second can module. When a failure is detected within a predetermined number of times by comparing the data values coming from the 140, the output of the data output unit 115 is controlled using the second communication line 220.

제1 비교제어부(113)의 출력 제어는 데이터 출력부(115)에서 제1 캔 모듈(120)을 제어하는 방법으로 제어하고 제2 제어부(155)의 출력 제어 방법은 내부 데이터 버스를 이용하여 일정 시간 내에 오류 발생 시 데이터 출력부(115)를 중지 시키고 이후 다시 정상으로 복원하는 경우에 활성화 시키며 일정 시간 이상 지속적으로 오류가 감지되는 경우에는 제1 코어(110)에 인터럽트를 걸어서 시스템 전체가 초기화 되게 한 후 재 동작을 실시할 수 있다.
The output control of the first comparison controller 113 is controlled by the method of controlling the first can module 120 by the data output unit 115, and the output control method of the second controller 155 is constant by using an internal data bus. If an error occurs within a time, the data output unit 115 is stopped and then restored to normal again. If the error is continuously detected for a predetermined time, an interrupt is applied to the first core 110 to initialize the whole system. After that, the operation can be performed again.

도 4는 본 발명의 일 실시예에 따른 듀얼 코어 시스템의 오류 검출 방법에 대한 순서도이다. 4 is a flowchart illustrating an error detection method of a dual core system according to an exemplary embodiment of the present invention.

도 4를 참조하여, 본 발명의 일 실시예에 따른 듀얼 코어 시스템의 오류 검출 방법은 먼저, 제1 코어(110)가 센서(101)로부터 감지 데이터를 입력받아 연산하여 제1 데이터를 산출한다(S11). 단계 S11이 수행됨과 동시에, 제2 코어(150)가 센서(101)로부터 감지 데이터를 입력받아 연산하여 제2 데이터를 산출한다(S21).Referring to FIG. 4, in the error detection method of the dual core system according to an exemplary embodiment of the present invention, first, the first core 110 receives the sensing data from the sensor 101 and calculates the first data ( S11). At the same time as the step S11 is performed, the second core 150 receives the sensing data from the sensor 101 to calculate the second data (S21).

다음으로, 제1 코어(110) 및 제2 코어(150)가 제1 데이터 및 제2 데이터를 상호 비교한다. 즉, 제1 비교제어부(113)가 제1 데이터 및 제2 코어(150)로부터 전송된 제2 데이터를 비교하여 오류를 검출한다(S12). 또한 제2 비교부(153)가 제2 데이터 및 제1 코어(150)로부터 전송된 제1 데이터를 비교하여 오류를 검출한다(S22). Next, the first core 110 and the second core 150 compare the first data and the second data with each other. That is, the first comparison controller 113 compares the first data and the second data transmitted from the second core 150 to detect an error (S12). In addition, the second comparator 153 detects an error by comparing the second data with the first data transmitted from the first core 150 (S22).

단계 S12에서 비교결과 오류가 검출되지 않은 경우, 제1 비교제어부(113)는 데이터 출력부(115)에 출력 온 제어 신호를 전송하여 제1 데이터를 출력하도록 한다(S13). 그리고, 제1 캔 모듈(120)이 제1 데이터를 CAN 프로토콜에 따라 처리하여 출력한다(S14). 그리고 캔 트랜시버(130)는 상기 제1 캔 모듈(120)로부터 상기 제1 데이터를 수신받아 캔(CAN) 버스를 통해 전송한다(S15).When no error is detected as a result of the comparison in step S12, the first comparison controller 113 transmits an output-on control signal to the data output unit 115 to output the first data (S13). In operation S14, the first can module 120 processes the first data according to the CAN protocol. The can transceiver 130 receives the first data from the first can module 120 and transmits it through a CAN bus (S15).

단계 S12에서 비교결과 오류가 검출된 경우, 제1 비교제어부(113)는 출력 오프 제어 신호를 출력(S16)하여, 데이터 출력부(115)가 제1 데이터 출력을 중지하도록 한다(S17). When a comparison result error is detected in step S12, the first comparison control unit 113 outputs an output off control signal (S16) to cause the data output unit 115 to stop outputting the first data (S17).

단계 S22에서 비교결과 오류가 검출되지 않은 경우, 제2 캔 모듈(140)은 제1 캔 모듈(120)로부터 피드백된 제1 데이터를 CAN 프로토콜에 따라 처리하여 출력한다(S23). 앞서, 단계 S14에서 제1 캔 모듈(120)이 출력한 제1 데이터는 제2 캔 모듈(140)로 피드백된다.If no error is detected as a result of the comparison in step S22, the second can module 140 processes and outputs the first data fed back from the first can module 120 according to the CAN protocol (S23). In operation S14, the first data output by the first can module 120 is fed back to the second can module 140.

다음으로, 제2 비교부(153)는 제2 데이터 및 제1 코어(110)로부터 전송된 제1 데이터를 비교하여 오류를 검출한다(S24). 단계 S24에서 비교결과 오류가 검출되지 않은 경우, 정상적인 출력이 가능하도록 제1 코어(110)의 데이터 출력부(115)에 이네이블 신호를 출력한다(S25). 즉, 데이터 출력부(115)는 출력 온 제어 신호 또는 이네이블 신호에 의해 정상동작을 유지한다. 그리고, 단계 S11 및 S12로 리턴하여 상기 과정을 반복하게 된다.Next, the second comparator 153 detects an error by comparing the second data with the first data transmitted from the first core 110 (S24). If no error is detected as a result of the comparison in step S24, the enable signal is output to the data output unit 115 of the first core 110 to allow normal output (S25). That is, the data output unit 115 maintains normal operation by the output on control signal or the enable signal. Then, the process returns to steps S11 and S12 to repeat the above process.

단계 S22에서 비교결과 오류가 검출된 경우, 또는 단계 S24에서 비교결과 오류가 검출된 경우, 제2 제어부(155)가 데이터 출력부(115)에 제1 데이터의 출력을 중지하는 인터럽트 신호를 전송한다(S26). 데이터 출력부(115)는 상기 제1 비교제어부(113)로부터 상기 출력 오프 제어 신호 또는 상기 제2 코어(150)로부터 상기 인터럽트 신호가 입력된 경우, 상기 제1 데이터의 출력을 중지한다(S17). 즉, 데이터 출력부(115)는 제1 비교제어부(113)와 제2 비교부(153) 양 측에 의해 제1 데이터의 출력여부가 제어된다.
When a comparison result error is detected in step S22 or when a comparison result error is detected in step S24, the second control unit 155 transmits an interrupt signal for stopping output of the first data to the data output unit 115. (S26). The data output unit 115 stops outputting the first data when the output off control signal from the first comparison control unit 113 or the interrupt signal is input from the second core 150 (S17). . That is, the data output unit 115 controls the output of the first data by both the first comparison control unit 113 and the second comparison unit 153.

이상에서는 실시예들을 참조하여 설명하였지만, 해당 기술 분야의 숙련된 당업자는 하기의 특허 청구의 범위에 기재된 본 발명의 사상 및 영역으로부터 벗어나지 않는 범위 내에서 본 발명을 다양하게 수정 및 변경시킬 수 있음을 이해할 수 있을 것이다.It will be apparent to those skilled in the art that various modifications and variations can be made in the present invention without departing from the spirit or scope of the present invention as defined by the following claims. You will understand.

본 발명에 따른 듀얼 코어 시스템의 오류 검출 장치 및 방법은 코어 구성 모듈들을 보다 세부적인 영역으로 나누고, 코어 간 통신과 외부로 출력되는 최종 데이터를 함께 감지하여 각 영역 별 오류 발생시 차량으로의 송신 출력을 제어하며, 오류로 인해 발생되는 위험 요소를 중복 검증하여 오류를 가진 위험한 데이터의 출력을 차단함으로써, 출력 데이터의 안정성과 신뢰성을 향상시킬 수 있다.The error detection apparatus and method of the dual core system according to the present invention divides core configuration modules into more detailed areas, detects communication between cores and final data output to the outside, and transmits the transmission output to the vehicle in case of an error in each area. By controlling and redundantly verifying the risks caused by errors, the output of dangerous data with errors can be blocked, thereby improving the stability and reliability of the output data.

100: 듀얼 코어 시스템의 오류 검출 장치
101: 센서 110: 제1 코어
120: 제1 캔 모듈 130: 캔 트랜시버
140: 제2 캔 모듈 150: 제2 코어
210: 제1 통신라인 220: 제2 통신라인
230: 피드백 라인
100: error detection device of the dual-core system
101: sensor 110: first core
120: first can module 130: can transceiver
140: second can module 150: second core
210: first communication line 220: second communication line
230: feedback line

Claims (10)

센서로부터 감지 데이터를 입력받아 연산하여 제1 데이터를 산출하며, 상기 제1 데이터 및 제2 코어로부터 전송된 제2 데이터를 비교하여 오류가 검출되지 않은 경우 상기 제1 데이터를 출력하는 제1 코어; 상기 제1 데이터를 CAN 프로토콜에 따라 처리하여 출력하는 제1 캔(CAN) 모듈; 상기 제1 캔 모듈로부터 상기 제1 데이터를 수신받아 캔(CAN) 버스를 통해 전송하는 캔 트랜시버; 상기 제1 캔 모듈로부터 피드백된 상기 제1 데이터를 CAN 프로토콜에 따라 처리하여 출력하는 제2 캔(CAN) 모듈; 및 상기 센서로부터 감지 데이터를 입력받아 연산하여 제2 데이터를 산출하며, 상기 제2 데이터 및 상기 제1 데이터를 비교하여 오류가 검출될 경우, 상기 제1 코어에 상기 제1 데이터의 출력을 중지하는 인터럽트 신호를 전송하는 제2 코어를 포함하며,
상기 제1 코어는,
상기 감지 데이터를 입력받아 연산하여 상기 제1 데이터를 산출하는 제1 연산부; 상기 제1 데이터 및 상기 제2 데이터를 비교하여 오류를 검출하고, 상기 오류가 검출되지 않은 경우 데이터 출력부에 출력 온 제어 신호를 전송하며, 상기 오류가 검출되면 상기 데이터 출력부에 출력 오프 제어 신호를 전송하는 제1 비교제어부; 및 상기 제1 비교제어부로부터 상기 출력 온 제어신호가 입력된 경우, 상기 제1 데이터를 상기 제1 캔 모듈에 출력하며, 상기 제1 비교제어부로부터 상기 출력 오프 제어 신호 또는 상기 제2 코어로부터 상기 인터럽트 신호가 입력된 경우, 상기 제1 데이터의 출력을 중지하는 데이터 출력부를 포함하는 것을 특징으로 하는 듀얼 코어 시스템의 오류 검출 장치.
A first core configured to receive sensing data from a sensor, calculate first data, and to output first data when no error is detected by comparing the first data and second data transmitted from the second core; A first CAN module configured to process and output the first data according to a CAN protocol; A can transceiver configured to receive the first data from the first can module and transmit the received data through a CAN bus; A second CAN module configured to process and output the first data fed back from the first can module according to a CAN protocol; And calculating the second data by receiving the sensed data from the sensor and calculating the second data. When an error is detected by comparing the second data and the first data, the output of the first data to the first core is stopped. A second core transmitting an interrupt signal,
The first core,
A first calculator which receives the sensed data and computes the first data; The first data and the second data are compared to detect an error, and if the error is not detected, an output on control signal is transmitted to a data output unit. If the error is detected, an output off control signal to the data output unit. A first comparison control unit transmitting a; And outputting the first data to the first can module when the output on control signal is input from the first comparison controller, and outputting the output off control signal from the first comparison controller or the interrupt from the second core. And a signal output unit to stop the output of the first data when a signal is input.
삭제delete 제1 항에 있어서, 상기 제2 코어는,
상기 감지 데이터를 입력받아 연산하여 상기 제2 데이터를 산출하는 제2 연산부;
상기 제2 캔 모듈로부터 입력받은 상기 제1 데이터를 출력하는 데이터 입력부;
상기 제2 데이터 및 상기 제1 비교제어부로부터 전송된 상기 제1 데이터를 비교하여 오류를 검출하고, 상기 제2 데이터 및 상기 데이터 입력부로부터 전송된 상기 제1 데이터를 비교하여 오류를 검출하는 제2 비교부; 및
상기 제2 비교부에서 오류가 검출될 경우, 상기 데이터 출력부에 상기 인터럽트 신호를 전송하는 제2 제어부를 포함하는 것을 특징으로 하는 듀얼 코어 시스템의 오류 검출 장치.
The method of claim 1, wherein the second core,
A second calculator which receives the sensed data and computes the second data;
A data input unit configured to output the first data received from the second can module;
A second comparison that detects an error by comparing the second data and the first data transmitted from the first comparison control unit and detects an error by comparing the second data and the first data transmitted from the data input unit part; And
And a second controller which transmits the interrupt signal to the data output unit when an error is detected by the second comparator.
제3 항에 있어서,
상기 제1 비교제어부는 상기 제2 비교부에서 오류가 검출되지 않은 경우, 상기 데이터 출력부에 상기 출력 온 제어 신호를 전송하는 것을 특징으로 하는 듀얼 코어 시스템의 오류 검출 장치.
The method of claim 3,
And the first comparison control unit transmits the output on control signal to the data output unit when an error is not detected by the second comparison unit.
제4 항에 있어서,
상기 제1 비교제어부 및 상기 제2 비교부를 연결하여 상기 제1 및 제2 데이터 신호의 전송라인을 제공하는 제1 통신라인;
상기 데이터 출력부 및 상기 제2 제어부를 연결하여 상기 인터럽트 신호의 전송라인을 제공하는 제2 통신라인; 및
상기 제1 캔 모듈로부터 출력되는 상기 제1 데이터를 상기 제2 캔 모듈에 피드백하는 피드백 라인을 더 포함하는 것을 특징으로 하는 듀얼 코어 시스템의 오류 검출 장치.
5. The method of claim 4,
A first communication line connecting the first comparison control unit and the second comparison unit to provide transmission lines of the first and second data signals;
A second communication line connecting the data output unit and the second control unit to provide a transmission line of the interrupt signal; And
And a feedback line for feeding back the first data output from the first can module to the second can module.
제1 항에 있어서,
상기 센서는 복수개로 구비되며, 상기 제1 및 제2 코어는 상기 복수개의 센서로부터 각각 감지 데이터를 입력받는 것을 특징으로 하는 듀얼 코어 시스템의 오류 검출 장치.
The method according to claim 1,
The sensor may be provided in plurality, and the first and second cores may detect error data from the plurality of sensors, respectively.
제1 코어가 센서로부터 감지 데이터를 입력받아 연산하여 제1 데이터를 산출하는 단계; 제2 코어가 상기 센서로부터 감지 데이터를 입력받아 연산하여 제2 데이터를 산출하는 단계; 상기 제1 코어가 상기 제1 데이터 및 상기 제2 코어로부터 전송된 상기 제2 데이터를 비교하여 오류가 검출되지 않은 경우 상기 제1 데이터를 출력하는 단계; 제1 캔(CAN) 모듈이 상기 제1 데이터를 CAN 프로토콜에 따라 처리하여 출력하는 단계; 캔 트랜시버가 상기 제1 캔 모듈로부터 상기 제1 데이터를 수신받아 캔(CAN) 버스를 통해 전송하는 단계; 제2 캔(CAN) 모듈이 상기 제1 캔 모듈로부터 피드백된 상기 제1 데이터를 CAN 프로토콜에 따라 처리하여 출력하는 단계; 및 상기 제2 코어가 상기 제2 데이터 및 상기 제1 데이터를 비교하여 오류가 검출될 경우, 상기 제1 코어에 상기 제1 데이터의 출력을 중지하는 인터럽트 신호를 전송하는 단계를 포함하며,
상기 제1 데이터를 출력하는 단계는,
제1 비교제어부가 상기 제1 데이터 및 상기 제2 데이터를 비교하여 오류를 검출하고, 상기 오류가 검출되지 않은 경우 데이터 출력부에 출력 온 제어 신호를 전송하며, 상기 오류가 검출되면 상기 데이터 출력부에 출력 오프 제어 신호를 전송하는 단계; 및 상기 데이터 출력부가 상기 제1 비교제어부로부터 상기 출력 온 제어신호가 입력된 경우, 상기 제1 데이터를 상기 제1 캔 모듈에 출력하며, 상기 제1 비교제어부로부터 상기 출력 오프 제어 신호 또는 상기 제2 코어로부터 상기 인터럽트 신호가 입력된 경우, 상기 제1 데이터의 출력을 중지하는 단계를 포함하는 것을 특징으로 하는 듀얼 코어 시스템의 오류 검출 방법.
Calculating, by the first core, the first data by receiving the sensing data from the sensor and calculating the first data; Calculating, by the second core, the second data by receiving the sensed data from the sensor and calculating the second data; The first core comparing the first data with the second data transmitted from the second core and outputting the first data when no error is detected; A first CAN module processing and outputting the first data according to a CAN protocol; Receiving, by a can transceiver, the first data from the first can module through a CAN bus; A second CAN module processing and outputting the first data fed back from the first can module according to a CAN protocol; And when the second core compares the second data and the first data and transmits an interrupt signal to stop the output of the first data to the first core when an error is detected.
The outputting of the first data may include:
A first comparison control unit detects an error by comparing the first data and the second data, and transmits an output on control signal to a data output unit when the error is not detected, and when the error is detected, the data output unit Transmitting an output off control signal to the apparatus; And when the output on control signal is input from the first comparison controller, output the first data to the first can module, and output the control signal from the first compare controller or the second control module. Stopping the output of the first data when the interrupt signal is input from a core.
삭제delete 제7 항에 있어서,
상기 인터럽트 신호를 전송하는 단계는,
데이터 입력부가 상기 제2 캔 모듈로부터 입력받은 상기 제1 데이터를 출력하는 단계;
제2 비교부가 상기 제2 데이터 및 상기 제1 코어로부터 전송된 상기 제1 데이터를 비교하여 오류를 검출하고, 상기 제2 데이터 및 상기 데이터 입력부로부터 전송된 상기 제1 데이터를 비교하여 오류를 검출하는 단계; 및
제2 제어부가 상기 제2 비교부에서 오류가 검출될 경우, 상기 데이터 출력부에 상기 인터럽트 신호를 전송하는 단계를 포함하는 것을 특징으로 하는 듀얼 코어 시스템의 오류 검출 방법.
The method of claim 7, wherein
Transmitting the interrupt signal,
Outputting, by a data input unit, the first data received from the second can module;
A second comparator detects an error by comparing the second data and the first data transmitted from the first core, and detects an error by comparing the second data and the first data transmitted from the data input unit. step; And
And transmitting, by the second control unit, the interrupt signal to the data output unit when an error is detected in the second comparator.
제9 항에 있어서,
상기 제1 비교제어부가 상기 출력 온 제어 신호를 전송하는 단계는,
상기 제2 비교부에서 오류가 검출되지 않은 경우, 상기 데이터 출력부에 상기 출력 온 제어 신호를 전송하는 것을 특징으로 하는 듀얼 코어 시스템의 오류 검출 방법.


10. The method of claim 9,
The transmitting of the output on control signal by the first comparison controller,
And transmitting the output-on control signal to the data output unit when an error is not detected by the second comparator.


KR1020110103348A 2011-10-11 2011-10-11 Error detection apparatus and method for dual microcontroller system KR101273278B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020110103348A KR101273278B1 (en) 2011-10-11 2011-10-11 Error detection apparatus and method for dual microcontroller system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020110103348A KR101273278B1 (en) 2011-10-11 2011-10-11 Error detection apparatus and method for dual microcontroller system

Publications (2)

Publication Number Publication Date
KR20130038970A KR20130038970A (en) 2013-04-19
KR101273278B1 true KR101273278B1 (en) 2013-06-11

Family

ID=48439260

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020110103348A KR101273278B1 (en) 2011-10-11 2011-10-11 Error detection apparatus and method for dual microcontroller system

Country Status (1)

Country Link
KR (1) KR101273278B1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003170850A (en) * 2001-12-06 2003-06-17 Nsk Ltd Control device for electric power steering device
KR20080086995A (en) * 2006-05-30 2008-09-29 미쓰비시덴키 가부시키가이샤 Steering control device
KR20100060111A (en) * 2008-11-27 2010-06-07 대성전기공업 주식회사 Communication arbituration apparatus and method for dual microcontroller system
KR101203872B1 (en) * 2011-06-07 2012-11-22 대성전기공업 주식회사 Error detection apparatus and method for dual microcontroller system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003170850A (en) * 2001-12-06 2003-06-17 Nsk Ltd Control device for electric power steering device
KR20080086995A (en) * 2006-05-30 2008-09-29 미쓰비시덴키 가부시키가이샤 Steering control device
KR20100060111A (en) * 2008-11-27 2010-06-07 대성전기공업 주식회사 Communication arbituration apparatus and method for dual microcontroller system
KR101203872B1 (en) * 2011-06-07 2012-11-22 대성전기공업 주식회사 Error detection apparatus and method for dual microcontroller system

Also Published As

Publication number Publication date
KR20130038970A (en) 2013-04-19

Similar Documents

Publication Publication Date Title
US9003271B2 (en) Error detecting device and method of a dual controller system
CN110035939B (en) Vehicle control device
US5526267A (en) Control method for a vehicle with main and sub computers
US10717462B2 (en) Sensor device and electric power steering device using same
CN102655445A (en) Reliable data transmission with reduced bit error rate
KR101203872B1 (en) Error detection apparatus and method for dual microcontroller system
KR100998416B1 (en) Communication arbituration apparatus and method for dual microcontroller system
CN110678375B (en) Vehicle control device and vehicle control system
JP2003229875A (en) Method for recognizing data transmission error in can controller, can controller, program, recording medium, and control device
WO2023045067A1 (en) Flight control unit, aircraft control system and method, and aircraft
KR101242398B1 (en) Error detection apparatus and method for dual microcontroller system
CN112740121B (en) Control architecture for a vehicle
US11066080B2 (en) Vehicle control device and electronic control system
JPH08163151A (en) Serial communication device
KR101242407B1 (en) Error detection apparatus and method for dual microcontroller system
KR101273278B1 (en) Error detection apparatus and method for dual microcontroller system
JP5537140B2 (en) SAFETY CONTROL DEVICE AND SAFETY CONTROL PROGRAM
KR101242396B1 (en) Error detection apparatus and method for dual microcontroller system
US20190291663A1 (en) Motor vehicle interface
JP3938858B2 (en) Electronic control device for vehicle
JP2020131860A (en) Control device of on-vehicle apparatus
CN112291128B (en) Bus-based communication system, system on chip and method therefor
US20220118990A1 (en) Electronic control system, device, and method
WO2017033319A1 (en) Control system
CN112903316B (en) Detection method, detection device and terminal equipment

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20160518

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20170518

Year of fee payment: 5

FPAY Annual fee payment

Payment date: 20180517

Year of fee payment: 6