IP Library Granted Patent US 11,347,582
Granted Patent B2
US 11,347,582 · App. 16/691,003 · Granted May 31, 2022

Method and apparatus for self-diagnosis of ram error detection logic of powertrain controller

Inventor: Byung-Jin Min (Seoul, KR)
Assignee: HYUNDAI AUTOEVER CORP.
G06F11/1044G06F11/0724G06F11/0772G06F11/102G06F11/1658G06F11/3013G06F11/3037G11C29/42
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,347,582
App. No.
16/691,003
Granted
May 31, 2022
Kind
B2
Abstract

A method for the self-diagnosis of RAM error detection logic of a powertrain controller includes: idling, by a first core, an operation of a second core; testing an error correction code (ECC) module corresponding to a RAM operating by the second core; idling, by the second core, an operation of a core of a plurality of un tested cores; and testing an ECC module corresponding to a RAM operating by the core of the plurality of untested cores.

Claims (57)

1. A method for a self-diagnosis of random access memory (RAM) error detection logic of a powertrain controller comprising a plurality of cores, the method comprising:

idling, by a first core of the plurality of cores, an operation of a second core of the plurality of cores;

testing, by the first core, an error correction code (ECC) module corresponding to a RAM configured to operate with the second core, wherein the ECC module is configured to test the RAM configured to operate with the second core;

idling, by the second core, an operation of a remaining core of the plurality of cores;

testing, by the second core, the ECC module corresponding to a RAM configured to operate with the remaining core of the plurality of cores, wherein the ECC module is further configured to test the RAM configured to operate with the remaining core of the plurality of cores;

determining whether an error occurs in a test bit input port of an ECC comparator of the ECC module or in an input port of the ECC comparator of the ECC module;

in response to determining that the error occurs in the test bit input port of the ECC comparator of the ECC module, checking whether the error in the test bit input port of the ECC comparator of the ECC module occurs due to an OR input on a predetermined value; and

in response to determining that the error occurs in the input port of the ECC comparator of the ECC module, checking whether the error in the input port of the ECC comparator of the ECC module occurs due to one flipped bit of input data that is input through the input port or due to two flipped bits of input data that is input through the input port.

2. The method of claim 1 , wherein the method further comprises:

when a test on an N-th core of a plurality of cores is completed, idling, by the N-th core, an operation of the core of the plurality of untested cores; and

testing an ECC module corresponding to a RAM operating by the core of the plurality of untested cores.

3. The method of claim 1 , wherein the testing the ECC module comprises:

testing the ECC module to detect an error of a designated RAM.

4. The method of claim 1 , wherein the method further comprises:

initializing the test, wherein the initializing the test further comprises:

preventing a test operation in a test mode such that powertrain control of a multi-core type microcontroller unit (MC) is unaffected; and

idling a core of a plurality of cores and the ECC module to provide a test environment in a multi-core system.

5. The method of claim 1 , wherein the testing the ECC module comprises:

not testing the ECC module corresponding to a RAM operating by a core of a plurality of cores; and

testing the ECC module corresponding to a RAM operating by another core of the plurality of cores.

6. The method of claim 5 , wherein the method comprises:

idling an operation of the core of the plurality of cores operating in conjunction with a RAM on which the test is to be performed by each core of the plurality of cores before performing the test; and

running the core of the plurality of cores again when the test is completed.

7. The method of claim 1 , wherein the method further comprises:

setting each pre-designated flag to 1 when testing the ECC module by the core is completed.

8. The method of claim 1 , wherein the method further comprises:

outputting a test result when all tests on the ECC module corresponding to RAM operating by the core of the plurality of cores are completed; and

initializing the test.

9. The method of claim 1 , wherein the ECC module is a RAM error detection logic.

10. An apparatus for self-diagnosing a random access memory (RAM) error detection logic of a powertrain controller, the apparatus comprising:

a powertrain controller comprising an error correction code (ECC) module which is RAM error detection logic, wherein a multi-core type microcontroller unit (MCU) comprising a plurality of cores has been applied to the powertrain controller;

a controller configured to test an ECC module corresponding to a RAM configured to operate with each core of the plurality of cores, wherein the ECC module is configured to test the RAM configured to operate with the core of the plurality cores;

a memory configured to store a program or algorithm for self-diagnosing the RAM error detection logic; and

the plurality of cores configured to:

determine whether an error occurs in a test bit input port of an ECC comparator of the ECC module or in an input port of the ECC comparator of the ECC module;

when it is determined that the error occurs in the test bit input port of the ECC comparator of the ECC module, check whether the error in the test bit input port of the ECC comparator of the ECC module occurs due to an OR input on a predetermined value; and

when it is determined that the error occurs in the input port of the ECC comparator of the ECC module, check whether the error in the input port of the ECC comparator of the ECC module occurs due to one bit of input data that is input through the input port or due to two flipped bits of input data that is input through the input port.

11. The apparatus of claim 10 , wherein the controller is a core of the plurality of cores of the MCU.

12. The apparatus of claim 10 , wherein:

a first core of the plurality of cores is configured to:

idle an operation of a second core of the plurality of cores; and

test an ECC module corresponding to a RAM operating by the second core of the plurality of cores; and

the second core of the plurality of cores is configured to:

idle an operation of a core of a plurality of untested cores; and

test an ECC module corresponding to a RAM operating by the core of the plurality of untested cores.

13. The apparatus of claim 10 , wherein when a test on an N-th core of the plurality of cores is completed, the N-th core is configured to:

idle an operation of a core of a plurality of untested cores; and

test an ECC module corresponding to a RAM operating by the core of the plurality of untested cores.

14. The apparatus of claim 10 , wherein the controller is configured to:

detect an error of a designated RAM in each core of the plurality of cores.

15. The apparatus of claim 10 , wherein each core of the plurality of cores is configured to:

idle the core of the plurality of cores operating in conjunction with a RAM on which the test is to be performed by each core of the plurality of cores before the test; and

run the core of the plurality of cores again when the test is completed.

16. The apparatus of claim 10 , wherein each core of the plurality of cores is configured to set each pre-designated flag to 1 when testing the ECC module by each core of the plurality of cores is completed.

17. The apparatus of claim 10 , wherein each core of the plurality of cores is configured to:

output a test result when all tests on ECC modules corresponding to RAM operating by the core of the plurality of cores are completed; and

initialize the test.

Assignments (2)
MERGER Recorded Oct 18, 2021
From: HYUNDAI AUTRON CO., LTD.
To: HYUNDAI AUTOEVER CORP.
Reel/Frame 057842/0221 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 8, 2021
From: MIN, BYUNG-JIN
To: HYUNDAI AUTRON CO., LTD
Reel/Frame 055521/0989 →
Priority Claims (1)
KR 10-2018-0147439 · Nov 26, 2018 · national
Continuity (1)
Related Publication 20200167230A1 · May 28, 2020