Secured microcontroller architecture
First Claim
1. A controller, comprising:
- a primary processing unit;
a secondary processing unit coupled to the primary processing unit;
a common memory coupled to the primary and secondary processing units, the common memory containing a control algorithm, wherein the primary and secondary processing units are adapted to run the control algorithm;
a functional compare module coupled to the primary, processing unit and the secondary processing unit for comparing a primary output of the primary processing unit and a secondary output of the secondary processing units after the control algorithm has been run by the primary and secondary processing units; and
,at least one bus, wherein the common memory, primary and secondary processing units, and function compare module are coupled to the at least one bus, wherein the functional compare module is adapted to read signals on the at least one bus, generate a signature of the signals, compare the generated signature with a reference signal and detect a fault if the signals are not the same.
3 Assignments
0 Petitions
Accused Products
Abstract
A microcontroller unit (MCU) having a primary, or main, processing unit, a secondary processing unit coupled to the primary processing unit, and a common memory coupled to the primary and secondary processing units is disclosed. A functional compare module is coupled to the primary processing unit and the secondary processing unit for comparing a primary output of the primary processing unit and a secondary output of the secondary processing units to detect a fault if the primary output and the secondary output are not the same. The invention provides a method for detecting a fault in the MCU including the steps of reading a control algorithm stored in the common memory by the primary processing unit, reading the control algorithm stored in the common memory by the secondary processing unit, comparing the primary output and the secondary output and responsively detecting a fault, if the primary output does not match the second output.
-
Citations
34 Claims
-
1. A controller, comprising:
-
a primary processing unit; a secondary processing unit coupled to the primary processing unit; a common memory coupled to the primary and secondary processing units, the common memory containing a control algorithm, wherein the primary and secondary processing units are adapted to run the control algorithm; a functional compare module coupled to the primary, processing unit and the secondary processing unit for comparing a primary output of the primary processing unit and a secondary output of the secondary processing units after the control algorithm has been run by the primary and secondary processing units; and
,at least one bus, wherein the common memory, primary and secondary processing units, and function compare module are coupled to the at least one bus, wherein the functional compare module is adapted to read signals on the at least one bus, generate a signature of the signals, compare the generated signature with a reference signal and detect a fault if the signals are not the same. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A controller, comprising:
-
a primary processing unit; a secondary processing unit coupled to the primary processing unit; a common memory coupled to the primary and secondary processing units, the common memory containing a control algorithm, wherein the primary and secondary processing units are adapted to run the control algorithm; a functional compare module coupled to the primary processing unit and the secondary processing unit for comparing a primary output of the primary processing unit and a secondary output of the secondary processing units after the control algorithm has been run by the primary and secondary processing units; and
,at least one peripheral module coupled to the primary processing unit, wherein the at least one peripheral nodule includes a built in self test circuit for detecting faults within the peripheral module, the built in self test circuit being coupled to the primary processing unit.
-
-
10. A method for detecting a fault in a controller, the controller including a primary processing unit, a secondary processing unit coupled to the primary processing unit, a common memory coupled to the secondary and primary processing units, and at least one peripheral module coupled to the primary processing unit, including the steps of:
-
reading a control algorithm stored in the common memory by the primary processing unit; reading the control algorithm stored in the common memory by the secondary processing unit; comparing a primary output of the primary processing unit and a secondary output of the secondary processing unit and responsively detecting a fault; and
,detecting a fault within the peripheral module using a built in self test circuit coupled to the primary processing unit. - View Dependent Claims (11, 12, 13)
-
-
14. An apparatus for controlling a first system of a motor vehicle, comprising:
-
a primary processing unit for performing a first set of functions with respect to the first system; a secondary processing unit coupled to the primary processing unit; a common memory coupled to the primary and secondary processing units, the common memory containing a control algorithm, wherein the primary and secondary processing units are adapted to run the control algorithm; a functional compare module coupled to the primary processing unit and the secondary processing unit for comparing a primary output of the primary processing unit and a secondary output of the secondary processing units after the control algorithm has been run by the primary and secondary processing units; and
,at least one bus, wherein the common memory, primary memory and secondary processing units, and function compare module are coupled to the at least one bus, wherein the functional compare module is adapted to read signals on the at least one bus, generate a signature of the signals, compare the generated signature with a reference signal and detect a fault if the signals are not the same. - View Dependent Claims (15, 16, 17, 18, 19, 20, 21, 22, 23, 24)
-
-
25. An apparatus for controlling a first system of a motor vehicle, comprising:
-
a primary processing unit for performing a first set of functions with respect to the first system; a secondary processing unit coupled to the primary processing unit; a common memory coupled to the primary and secondary processing units, the common memory containing a control algorithm, wherein the primary and secondary processing units are adapted to run the control algorithm; a functional compare module coupled to the primary processing unit and the secondary processing unit for comparing a primary output of the primary processing unit and a secondary output of the secondary processing units after the control algorithm has been run by the primary and secondary processing units; and
,at least one bus, wherein the common memory, primary and secondary processing units, and functional compare module are coupled to the at least one bus, wherein the functional compare module is adapted to read signals on the at least one bus, generate a signature of the signals, compare the generated signature with a reference signal and detect a fault if the signals are not the same. - View Dependent Claims (26)
-
-
27. A method for detecting a fault in a controller for use in a motor vehicle, the controller including a primary processing unit, a secondary processing unit coupled to the primary processing unit, at least one peripheral module coupled to the primary processing unit, and a common memory coupled to the secondary and primary processing units, including the steps of:
-
reading a control algorithm stored in the common memory by the primary processing unit; reading the control algorithm stored in the common memory source by the secondary processing unit; comparing a primary output of the primary processing unit and a secondary output of the secondary processing unit and responsively detecting a fault; and
,detecting faults within the peripheral module using a built in self test circuit coupled to the primary processing unit. - View Dependent Claims (28, 29, 30, 31, 32, 33, 34)
-
Specification