Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
A VEHICLE SAFETY ELECTRONIC CONTROL SYSTEM
Document Type and Number:
WIPO Patent Application WO/2016/169856
Kind Code:
A1
Abstract:
There is disclosed a vehicle safety electronic control system (8), which is preferably provided in the form of an integrated electronic control unit. The system comprises a first microcontroller (11) having a lockstep architecture with a lockstep core (14); and a second microcontroller (12) having at least two processing cores (16, 17). The lockstep core (14) of the first microcontroller (11) is configured to monitor and control outputs of said at least two cores (16, 17) of the second microcontroller (12).

Inventors:
KOLLMER NORBERT (DE)
Application Number:
PCT/EP2016/058408
Publication Date:
October 27, 2016
Filing Date:
April 15, 2016
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
AUTOLIV DEV (SE)
KOLLMER NORBERT (DE)
International Classes:
B60W50/02; B60W50/00
Foreign References:
US20120265405A12012-10-18
US7290169B22007-10-30
US20070022348A12007-01-25
US20050114735A12005-05-26
US20130113406A12013-05-09
US20040003019A12004-01-01
Other References:
None
Download PDF:
Claims:
CLAIMS

1. A vehicle safety electronic control system comprising: a first microcontroller having a lockstep architecture with a lockstep core; and a second microcontroller having at least two processing cores; wherein said lockstep core of the first microcontroller is configured to monitor and control outputs of said at least two cores of the second microcontroller.

2. A control system according to claim 1 , wherein said lockstep core of the first

microcontroller is configured to receive, from said second microcontroller, data representing the direct outputs of the second microcontroller cores.

3. A control system according to claim 1 or claim 2, wherein lockstep core of the first microcontroller is configured to receive, from said second microcontroller, data representing a comparison of the outputs of the second microprocessor cores, and is configured to derive therefrom an operational status of the second microcontroller.

4. A control system according to claim 3, wherein said first microcontroller is configured to determine from said comparison data whether either of said second microcontroller cores is disturbed or faulty.

5. A control system according to claim 3 claim 4, wherein said lockstep core of the first microcontroller is configured to do at least one of the following in response to determining that either of said second microcontroller cores is disturbed or faulty: send an error message to a vehicle safety system; reset the disturbed or faulty core of the second microcontroller; and enter the disturbed or faulty core into a predefined safe state.

6. A control system according to any one of claims 3 to 5, wherein both of said two cores of the second microcontroller are operable to execute the same software operation in synchronism to obtain respective results, and each of said two cores is operable to compare its respective result with the result of the other core to thereby derive said comparison data.

7. A control system according to claim 6, wherein each of said two cores of the second microcontroller is operable to compare its said result with said result of the other core after each frame during execution of said software.

8. A control system according to any preceding claim, wherein said cores of the second microcontroller are operable to execute vehicle safety-related software.

9. A control system according to any preceding claim, wherein said first and second microcontrollers are configured to operate synchronously.

10. A control system according to any preceding claim, wherein said first microcontroller is configured to monitor the second microcontroller cyclically with a predetermined cycle time.

11 . A control system according to claim 10, as dependent on claim 5, wherein said cycle time is shorter than the time required to transition the or each second microcontroller core to its respective said safe state.

12. A control system according to any preceding claim, wherein said first microcontroller is configured to act as a watchdog timer for the second microcontroller.

13. A control system according to claim 12, wherein the lockstep core of said first

microcontroller is operable to execute a complex software watchdog application.

14. A control system according to claim 13, wherein said software watchdog application includes a heartbeat monitoring unit, a program flow checking unit (28), and a task state indication unit.

15. A control system according to any preceding claim provided in the form of an

integrated electronic control unit.

Description:
A VEHICLE SAFETY ELECTRONIC CONTROL SYSTEM

The present invention relates to an electronic control system, and more particularly relates to a vehicle safety electronic control system.

Electronic safety systems are now very widely used in motor vehicles. Such safety systems may include, for example: blind spot monitoring systems; active cruise control systems; pre- safe braking systems; collision avoidance systems; lane departure prevention systems; and rear-collision mitigation systems.

The complex nature of modern vehicular safety systems places great importance on the performance and reliability of the electronic control systems which are required to provide and manage the safety systems. Such control systems typically include integrated hardware and software in order to host and run so-called Advanced Driver Assistance Systems (ADAS) algorithms.

Such systems are required to satisfy very stringent safety requirements such as the ISO 26262 Functional Safety for Road Vehicles standard which defines a so-called Automotive Safety Integrity Level (ASIL) risk classification scheme. ASIL-D represents the highest integrity requirements under this standard, and is applicable to safety-related processing tasks.

A requirement of the functional safety standard is that the control system must be capable of identifying safety relevant errors in its arithmetic, logical and memory units, which is only possible for an ASIL-D electronic control unit if a lockstep processor architecture is used. However, lockstep architectures of this type have only a relatively low processing power which is insufficient to handle modern applications like ADAS with a set of suitable sensors such as Radar, Lidar and/or cameras. There is therefore a need for a vehicle safety electronic control system which is capable of providing improved processing power whilst satisfying the required safety integrity requirements.

Current high performance microprocessors are too complex to achieve the required safety integrity requirements via cyclic diagnostic tests for permanent and transient error detection.

According to the present invention, there is provided a vehicle safety electronic control system comprising: a first microcontroller having a lockstep architecture with a lockstep core; and a second microcontroller having at least two processing cores; wherein lockstep core of the first microcontroller is configured to monitor and control outputs of said at least two cores of the second microcontroller.

The first microcontroller may have at least one non-lockstep core.

Preferably, said lockstep core of the first microcontroller is configured to receive, from said second microcontroller, data representing the direct outputs of the second microcontroller cores.

Advantageously, said lockstep core of the first microcontroller is configured to receive, from said second microcontroller, data representing a comparison of the outputs of the second microprocessor cores, and is configured to derive therefrom an operational status of the second microcontroller.

Conveniently, said first microcontroller is configured to determine from said comparison data whether either of said second microcontroller cores is disturbed or faulty.

Preferably, said lockstep core of the first microcontroller is configured to do at least one of the following in response to determining that either of said second microcontroller cores is disturbed or faulty: send an error message to a vehicle safety system; reset the disturbed or faulty core; and enter the disturbed or faulty core into a predefined safe state.

Advantageously, both of said two cores of the second microcontroller are operable to execute the same software operation in synchronism to obtain respective results, and each of said two cores is operable to compare its respective result with the result of the other core to thereby derive said comparison data.

Conveniently, each of said two cores of the second microcontroller is operable to compare its said result with said result of the other core after each frame during execution of said software.

Preferably, said cores of the second microcontroller are operable to execute vehicle safety- related software.

Advantageously, said first and second microcontrollers are configured to operate synchronously. Conveniently, said first microcontroller is configured to monitor the second microcontroller cyclically with a predetermined cycle time.

Preferably, said cycle time is shorter than the time required to transition the or each second microcontroller core to its respective said safe state.

Advantageously, said first microcontroller is configured to act as a watchdog timer for the second microcontroller.

Conveniently, the lockstep core of said first microcontroller is operable to execute a software watchdog application.

Preferably, said software watchdog application includes a heartbeat monitoring unit, a program flow checking unit, and a task state indication unit.

Advantageously, the control system is provided in the form of an integrated electronic control unit.

The electronic control system of the present invention may be provided as a part of an electronic safety system in a motor vehicle such as, for example, an Advanced Driver Assistance System (ADAS) which may include a blind spot monitoring system; an active cruise control system; a pre-safe braking system; a collision avoidance system; a lane departure prevention system; and/or a rear-collision mitigation system.

So that the invention may be more readily understood, and so that further features thereof may be appreciated, embodiments of the invention will now be described by way of example with reference to the accompanying drawings in which:

Figure 1 is a schematic illustration showing an overview of a typical motor vehicle safety system, which may include an electronic control system in accordance with the present invention;

Figure 2 is a schematic illustration showing an overview the principal hardware elements of an electronic control system in accordance with the present invention;

Figure 3 is a schematic illustrated similar to that of figure 2, but which shows a preferred allocation of microprocessor cores to ASIL integrity requirements; Figure 4 is a schematic illustration in the form of a flow diagram depicting aspects of a software monitoring aspect of a preferred embodiment of the invention; and

Figure 5 is a schematic illustration showing an electronic control system in accordance with the present invention installed as part of a motor vehicle safety system.

Turning now to consider figure 1 in more detail, there is illustrated a schematic

representation of an exemplary electronic safety system 1 installed in a motor vehicle 2 (only one side panel of which is denoted in figure 1 to indicate the vehicle's orientation). The safety system 1 comprises a number of different types of sensor mounted at appropriate positions on the motor vehicle 2. In particular, the system 1 illustrated includes: a pair of divergent and outwardly directed mid-range radar ("MRR") sensors 3 mounted at respective front corners of the vehicle 2, a similar pair of divergent and outwardly directed multi-role radar sensors 4 mounted at respective rear corners of the vehicle, a forwardly directed long- range radar ("LRR") sensor 5 mounted centrally at the front of the vehicle 2, and a pair of generally forwardly directed optical sensors 6 forming part of a stereo vision system ("SVS") 7 which may be mounted, for example, in the region of the upper edge of the vehicle's windscreen. The various sensors 3-6 are operatively connected to a central electronic control system which is typically provided in the form of an integrated electronic control unit 8 mounted at a convenient location within the vehicle. In the particular arrangement illustrated, the front and rear MRR sensors 3, 4 are connected to the central control unit 8 via a conventional Controller Area Network ("CAN") bus 9, and the LRR sensor 5 and the sensors of the SVS 7 are connected to the central control unit 8 via a faster FlexRay serial bus 10, also of a type known per se.

Collectively, and under the control of the control unit 8, the various sensors 3-6 can be used to provide a variety of different types of driver assistance systems such as, for example, blind spot monitoring, adaptive cruise control, collision prevention assist, lane departure protection, and rear collision mitigation. Accordingly, the control unit 8 will be configured to run appropriate software algorithms for each such driver system.

Figure 2 illustrates schematically the principal hardware elements of a control system in accordance with the present invention, which it will be appreciated could be provided in the form of the integrated control unit 8 illustrated in figure 1 . The control system comprises a first (master) microcontroller 1 1 , and a second (slave) microcontroller 12. As will become apparent, the master microcontroller 11 is configured to run safety software to live up to the strictest (ASIL-D) safety integrity requirements of the system, which require the identification of processing errors and thus a lockstep architecture, whilst the slave microcontroller 12 has a higher processing power and no lockstep architecture, and is configured to handle some safety-related processing tasks in order to relieve the master microcontroller 1 1 . Because the master microcontroller 1 1 is configured to satisfy the strict safety integrity requirements of the system it can be considered to represent a so-called "safety microcontroller". Similarly, because the slave microcontroller 12 is configured to have a higher processing power than the master microcontroller, it can be considered to represent a so-called "performance microcontroller".

In more detail, in the particular embodiment illustrated, the master microcontroller 1 1 has a lockstep architecture comprising three processing cores 13, 14, 15 which are denoted as "Core 0", "Core 1/1 "', and "Core 2" respectively in figure 2. As will therefore be appreciated, core 14 (denoted Core 1/1 ') in figure 2) represents the so-called lockstep core (or redundant core) of the master microcontroller 1 1 . The slave microcontroller 12 does not require a lockstep architecture, and in the illustrated embodiment comprises two processing cores 16, 17, which are denoted "Core 4" and "Core 5" respectively in figure 2. It is to be noted, however, that in other embodiments it is possible for either the master microcontroller 1 1 , or the slave microcontroller 12, to have more processing cores (not illustrated in figure 2).

In currently preferred embodiments it is envisaged that the master microcontroller 1 1 may be provided in the form of an Aurix TC29x processor which is commercially available from Infineon Technologies AG, whilst the slave microcontroller 12 may be provided in the form of a Fusion28 processor which is commercially available from Texas Instruments Inc.

Accordingly, in such an embodiment it is envisaged that each core 13, 14, 15 the master microcontroller will perform at 500 DMIPS, whilst each core 16, 17 of the slave

microcontroller 12 will perform at 3000 DMIPS, which it will be noted represents a significantly higher processing power in comparison to the cores of the master

microcontroller 1 1 . It is to be appreciated, however, that other types of processor could be used for either or both the master microcontroller and the slave microcontroller.

The two microcontrollers are operatively connected via a synchronous serial communication interface in the form of a Serial Peripheral Interface ("SPI") bus, as denoted schematically at 18 in figure 2, and are thus configured to operate synchronously. In preferred embodiments, it is envisaged that the SPI bus 18 will be provided in the form of a quad SPI connection having four channels operable in a simplex mode to establish the required bandwidth between the two microcontrollers.

Accordingly, as denoted schematically in figure 2, the master microcontroller's lockstep core 14 is configured to monitor and control both of the processing cores 16, 17 of the slave microcontroller 12 as well as its own other two processing cores 13, 15 of the master microcontroller 1 1 . As also illustrated in figure 2, the master microcontroller 1 1 is configured for direct connection to the vehicle buses, which may include the CAN and FlexRay buses 9, 10, and an Ethernet bus.

Turning now to consider figure 3, it will be noted that the two non-lockstep cores 13, 15 of the master microcontroller 1 1 are configured to run safety related software, which may be considered to represent so-called "Black Box" software, denoted schematically by block 19 in figure 3. Because this software 19 is safety related, it's processing is required to satisfy the ASIL-B safety integrity requirement, and so can be reliably and safely handled by to the two non-lockstep cores 13, 15.

The two processing cores 16, 17 of the high performance slave microcontroller 12 are configured to run safety-related software, which can again be considered to represent so- called "Black Box" software as denoted schematically by block 20 in figure 3. The manner in which the two slave cores 16, 17 operate will be described in more detail herein below, but it is to be noted that the cores 16, 17 only operate in satisfaction of a relatively low (ASIL-B/C) safety integrity requirement, rather than the strictest (ASIL-D) standard. This is permissible in the system of the present invention because, as will also be explained in more detail herein below, the outputs of the two slave cores 16, 17 are monitored and controlled by the lockstep core 14 of the master microcontroller 1 1 , which does operate in satisfaction of the strictest (ASIL-D) standard, via data exchange on the SPI bus 18. Because the slave cores 16, 17 have a significantly higher processing power than the lockstep core 14, the slave microprocessor is able to run the complex safety- related software more quickly and efficiently than the master microcontroller 1 1 would be able to. However, because the lockstep core 14 is configured to monitor and control the outputs of the two slave cores 16, 17, the highest (ASIL-D) safety integrity requirements are satisfied.

As will be noted, the particular configuration of the slave microprocessor 12 illustrated in figure 3 is a quad core arrangement having other processing cores in addition to the two cores 16, 17 described above. This type of arrangement may be used to provide a sufficient number of processing cores to execute all necessary runnable tasks, such that each runnable task is executed on a dedicated slave core.

As well as monitoring and controlling the outputs of the two slave processing cores 16, 17, the lockstep core 14 of the master microcontroller 1 1 is configured to run frame software, as denoted by block 21 on figure 3. The frame software 21 may include various software components, activeness monitoring unit 28a, arrival rate monitoring unit 28b, control flow monitoring unit 29, and a task state indication unit 30; forming together a so-called complex software watchdog 26.

The master microcontroller 1 1 includes various hardware components to detect and handle failures such as; internal bus error correcting code 22, memory error correcting code 23, a safety management unit 24, and a memory protection unit 25.

The lockstep core 14 of the master microcontroller 1 1 is configured to monitor the processing cores 16, 17 of the slave microprocessor 12 cyclically, with a preferred cycle time which is shorter than the time required to transition the cores 16, 17 of the slave microcontroller to a respective safe state. . Furthermore, it will be appreciated that by virtue of the complex software watchdog 26, the lockstep core 14 acts as a supervisor for the slave

microprocessor 12.

In order to monitor the health of the system and to react to hardware and software faults, a software service is provided by the lockstep core 14 to monitor individual application software components in runtime, thereby improving the overall dependability of the system to meet the safety integrity requirements. The functional safety concept is supported by the complex software watchdog 26 which provides heartbeat monitoring and program flow checking. As will be appreciated, the software watchdog 26 is integrated in the software platform provided on the master microprocessor 1 1 .

The preferred design of the software watchdog 26 follows the concept of heartbeat monitoring of runnable tasks 27 and is illustrated schematically in figure 4. The software watchdog 26 includes a heartbeat monitoring unit 28, a control flow monitoring unit 29, and a task state indication ("TSI") unit 30.

With the assistance of a heartbeat indication routine, the various runnable tasks 27 report their heartbeats to the heartbeat monitoring unit 28 of the software watchdog 26. A deadline supervision mechanism of each task may be useful when the task has a relatively low execution priority and is interrupted by one or more tasks of higher priority. Other parameters, such as task response time, can also be used to define the health state of the system.

The control flow monitoring unit 29 monitors the execution sequence of the runnable tasks 27 by comparing real executed successors with a predefined set of possible successors of the predecessors. The operating system executes all runnable tasks in a pre-defined order as defined by a fixed schedule table. The control flow monitoring unit 29 supervises the correct activation of the runnable tasks according to the fixed schedule table. Control flow checking can be achieved at various different levels of granularity.

Errors in any of the runnable tasks 27 which are identified in by the heartbeat monitoring unit 28 and the control flow checking unit 29 are reported to the task state indication unit 30. The task state indication unit 30 then compares the number of detected errors with appropriate predefined threshold values, and generates therefrom individual supervision reports on each runnable task 27. These reports may then be used to derive indication states for the various tasks, which in turn can be used to determine the status of the various software applications.

Turning now to consider the safety-related software 20 which is run by the two processing cores 16, 17 of the slave microcontroller 12, it is to be noted that in preferred embodiments both of the slave cores 16, 17 are configured to execute the same software operations in synchronism to thereby obtain respective results. This is to ensure that appropriate data is generated to pass to the lockstep core 14 of the master microcontroller 11 to satisfy the highest (ASIL-D) safety integrity requirement. Each of the slave cores 16, 17 then operates to compare its respective result with the result of the other core to thereby derive comparison data which comprises two compared results; one provided by each core 16, 17. It is considered particularly advantageous for each of the slave cores 16, 17 to compare its respective result with the corresponding result of the other slave core after each frame during execution of the software, to provide complete comparison data. It is to be noted, however, that whilst currently preferred embodiments are operable to derive comparison data comprising two compared results as explained above, in other embodiments it will be possible to derive only a single compared result, for example when sending the processed data of both slave cores 16, 17 directly to the master microcontroller 1 1. Also, in some arrangements non-safety related tasks could be processed by the two slave cores 16, 17 in addition to the safety related tasks.

The comparison data obtained in the above-described manner by the slave cores 16, 17 is then sent to the lockstep core 14 of the master microcontroller 12, via the SPI bus 18 together with a processed Cyclic Redundancy Code, message counter and time stamp, for further processing (in accordance with ASIL-D requirements) by its frame software 21. The lockstep core 14 is thus configured to run a diagnostic algorithm on the comparison data to derive an operational status of the slave microcontroller 12, to thereby determine whether or not the slave microcontroller 12 is operating correctly. More particularly, the lockstep core 14 is operable to determine, from said comparison data received from the slave microcontroller 12, whether either of said slave cores 16, 17 is disturbed or faulty. If either slave core 16, 17 is determined to be disturbed or faulty then the lockstep core 14 will send an error message to the relevant receiver to thereby enter it into a safe mode.

As will be appreciated from the foregoing, the control system of the present invention provides significantly improved processing performance for advanced driver assistance systems, whilst ensuring that safety-related software routines are subjected to reliable diagnostic measures in order to satisfy the functional safety integrity requirements. The two processing cores 16, 17 of the slave microprocessor 12 are able to run safety-related software with high processing power, whilst the results and comparison data are reviewed by the lockstep core 14 of the master microcontroller 1 1 to satisfy safety integrity requirements up to the ASIL-D level. As will also be appreciated, by only sending the calculated results and comparison data from the slave cores 16, 17 to the lockstep core 14 for further processing, rather than the complete data generated, the lockstep core 14 is able to function efficiently with its relatively low (in comparison to the slave cores 16, 17) processing power.

Figure 5 is a schematic illustration showing the electronic control system of the present invention embodied in an integrated electronic control unit 8 and forming part of a vehicle safety system 1. The control unit 8 is connected to a suitable power supply 31 , and the safety system 1 which it is arranged to control and operate comprises a number of different types of sensors, including: a pair of rear short range radar sensors 32 which are connected to the control unit 8 via a CAN bus 9, an SVS sensor array 7 which is connected to the control unit via a FlexRay bus 10, and a front long range radar sensor 5 which is also connected to the control unit 8 via the FlexRay bus 10. Additionally, the vehicle safety system comprises a number of actuators which are controlled by the control unit 8 to implement corrective actions to maintain the safety of the vehicle in response to signals from the sensors 5, 7, 32, or display or sound alerts to the driver of the vehicle. In the specific system illustrated in figure 5, the actuators include are provided as part of: the vehicle's Electronic stability/brake system 33, the vehicle's engine control system 34, the vehicle's steering system 35, and the vehicle's instrument cluster 36. All of the actuators are connected to the control unit 8 via the FlexRay Bus 10.

It has been found that the control system of the present invention, comprising a multi-core master microprocessor 11 with a lockstep architecture and a slave microcontroller 12 having at least two processing cores 16, 17, provides high overall processing power whilst still satisfying the safety integrity requirements up to the ASIL-D level, by using core redundancy in the master microprocessor 1 1 to achieve the required diagnostic functionality in a very short time period.

In variants of the system of the present invention, it will be possible to provide an additional core in the slave microprocessor 12 to thereby provide a so-called 2oo3 architecture. In this type of arrangement the slave microprocessor 12 would then function as a so-called "fail operational" processor, and a defective slave core could then be identified by comparing the processing results of all three slave cores. This would then permit the software to continue to run even in the event that one of the slave cores is faulty, whilst still satisfying the relevant ASIL safety requirements. If more processing power is required, additional slave processing cores could be provided, or even additional slave microprocessors.

It is to be noted, that whilst the present invention has been described above with reference to a particular embodiment in which data is sent between the master microcontroller 1 1 and the slave microcontroller 12 via the SPI bus 9, it is also possible to connect the slave microcontroller to a vehicle bus, and to transmit the data over that connection.

When used in this specification and claims, the terms "comprises" and "comprising" and variations thereof mean that the specified features, steps or integers are included. The terms are not to be interpreted to exclude the presence of other features, steps or integers.

The features disclosed in the foregoing description, or in the following claims, or in the accompanying drawings, expressed in their specific forms or in terms of a means for performing the disclosed function, or a method or process for obtaining the disclosed results, as appropriate, may, separately, or in any combination of such features, be utilised for realising the invention in diverse forms thereof.

While the invention has been described in conjunction with the exemplary embodiments described above, many equivalent modifications and variations will be apparent to those skilled in the art when given this disclosure. Accordingly, the exemplary embodiments of the invention set forth above are considered to be illustrative and not limiting. Various changes to the described embodiments may be made without departing from the spirit and scope of the invention.