Vehicle functional safety monitoring system and method
By designing the vehicle functional safety monitoring system, including monitoring module, status query module, execution module, redundant storage module and time synchronization module, the functional safety architecture is optimized, solves the problem of high architectural complexity in the existing technology, and realizes intelligent Rapid deployment and iteration of driving applications.
Patent Information
- Application Number
- CN202211028448.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-25
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2042-08-25
AI Technical Summary
The existing vehicle functional safety architecture is complex and difficult to meet the rapidly iterative market demand.
Design a vehicle functional safety monitoring system, including a monitoring module, a status query module, an execution module, a redundant storage module and a time synchronization module. Through these modules, functional safety monitoring at the application level, domain controller level and chip level is carried out, and functions are optimized. Security architecture to reduce development workload.
It simplifies the functional safety architecture, reduces the development workload of intelligent driving applications, and supports rapid deployment and iteration.
Smart Images

Figure CN115384535B
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle safety, and in particular to a vehicle functional safety monitoring system and method. Background Art
[0002] With the development of advanced intelligent driving technology, there are more and more domain controllers in cars. In order to meet the requirements of ISO 26262, the functional safety architecture of the whole vehicle is becoming more and more complex, resulting in more and more functional safety requirements for intelligent driving functions. Therefore, it is necessary to design a functional safety monitoring system to reduce the complexity of the functional safety architecture and reduce the functional safety requirements of intelligent driving functions to meet the market requirements of fast development and fast iteration. Summary of the invention
[0003] In view of the above problems existing in the prior art, the present application proposes a vehicle functional safety monitoring system and method, which mainly solves the problem that the existing functional safety architecture is highly complex and difficult to meet the market demand for rapid iteration.
[0004] In order to achieve the above-mentioned purpose and other purposes, the technical solution adopted in this application is as follows.
[0005] The present application provides a vehicle functional safety monitoring system, comprising:
[0006] The monitoring module is used to perform application-level monitoring, domain controller-level monitoring, and chip-level monitoring, and to make abnormal judgments based on the monitoring information;
[0007] A status query module, used to determine the functional status to be switched according to the information sent by the monitoring module or the external input signal;
[0008] An execution module, used for executing a corresponding operation according to the functional state to be switched output by the state query module;
[0009] Redundant storage module for storing monitoring process data;
[0010] A time synchronization module to calibrate time differences between different applications, electronic control units, and domain controllers;
[0011] The monitoring and sending module is used to execute information interaction among the monitoring module, the status query module, the execution module, the redundant storage module and the time synchronization module.
[0012] In one embodiment of the present application, the system further includes: a communication module, configured to provide each module with a communication interface that meets preset communication security requirements.
[0013] In one embodiment of the present application, the monitoring module includes:
[0014] The operating system monitoring unit is used to provide first monitoring information of the operating system, wherein the first monitoring information includes: the number of processes, the process name, the process processor usage, the process memory usage, and the abnormal processing result of the process memory usage;
[0015] The application and hardware monitoring module is used to provide second monitoring information of application software and hardware, wherein the second monitoring information includes: application software activity information, execution timeout information, execution logic information, exception handling results of software monitoring information, hardware activity information, hardware physical property information and exception handling results of hardware monitoring information.
[0016] In one embodiment of the present application, the monitoring module, status query module, execution module, redundant storage module, time synchronization module and monitoring sending module are deployed in a middleware layer, and the middleware layer is located between the application layer and the system layer.
[0017] In one embodiment of the present application, a configuration tool chain is constructed based on the monitoring module, status query module, execution module, redundant storage module, time synchronization module and monitoring sending module, and monitoring configuration at the application level, domain controller level and chip level is performed through the configuration tool chain, and the corresponding monitoring configuration is integrated into the specified locations at the application level, domain controller level and chip level to perform security monitoring according to the monitoring configuration.
[0018] The present application also provides a method for utilizing a vehicle functional safety monitoring system, comprising:
[0019] Calibrate time differences between applications, ECUs, and domain controllers;
[0020] After the time difference calibration is completed, the monitoring module is used to perform application-level monitoring, domain controller-level monitoring, and chip-level monitoring, and abnormality judgment is made based on the monitoring information;
[0021] The functional state to be switched is determined according to the information sent by the monitoring module or the external input signal, and the corresponding operation is performed according to the functional state to be switched.
[0022] As described above, the present application provides a vehicle functional safety monitoring system, which has the following beneficial effects.
[0023] This application integrates functional safety monitoring at the application level, chip level, and domain controller level by designing a monitoring module, a status query module, an execution module, a redundant storage module, a time synchronization module, and a monitoring sending module, thereby optimizing the functional safety architecture, thereby reducing the development workload of intelligent driving applications, and facilitating the rapid deployment of functional safety across platforms and fast models. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] Figure 1 Schematic diagram of the structural framework of a vehicle functional safety monitoring system in one embodiment of the present application.
[0025] Figure 2 Schematic diagram of the process of application-level monitoring in one embodiment of the present application.
[0026] Figure 3 Schematic diagram of the logic architecture of chip-level monitoring in one embodiment of the present application.
[0027] Figure 4 A schematic diagram of the logical architecture of domain controller-level monitoring in one embodiment of the present application.
[0028] Figure 5 Schematic diagram of the process of a vehicle functional safety monitoring method in one embodiment of the present application. DETAILED DESCRIPTION
[0029] The following describes the embodiments of the present application through specific examples, and those skilled in the art can easily understand other advantages and effects of the present application from the contents disclosed in this specification. The present application can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present application. It should be noted that the following embodiments and features in the embodiments can be combined with each other without conflict.
[0030] It should be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present application, and thus the drawings only show components related to the present application rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed at will, and the component layout may also be more complicated.
[0031] See also Figure 1 , Figure 1 This is a schematic diagram of the structural framework of a vehicle functional safety monitoring system in an embodiment of the present application. The present application provides a vehicle functional safety monitoring system, the system comprising:
[0032] The monitoring module is used to perform application-level monitoring, domain controller-level monitoring, and chip-level monitoring, and to make abnormal judgments based on the monitoring information;
[0033] A status query module, used to determine the functional status to be switched according to the information sent by the monitoring module or the external input signal;
[0034] The execution module is used to perform corresponding operations according to the functional state that needs to be switched output by the status query module; the status query module is used to determine the functional state that needs to be switched after receiving the arbitration information or external input signal sent by the monitoring module, and synchronize it to the execution module.
[0035] A redundant storage module for storing monitoring process data, including information related to functional safety;
[0036] Time synchronization module, used to calibrate the time differences between different applications, electronic control units ECU and domain controllers;
[0037] The monitoring sending module is used to execute information interaction between the monitoring module, the status query module, the execution module, the redundant storage module and the time synchronization module. The monitoring sending module is used to periodically send the information arbitrated by the monitoring module to the monitoring sending modules of other domains, and send the information of the monitoring module and the information sent by other monitoring sending modules to the monitoring module and the application layer related modules.
[0038] In one embodiment, the system further includes a communication module for providing communication that complies with functional safety and providing a secure communication interface for use by related requirement modules.
[0039] In one embodiment, all modules are developed based on the ISO 26262 ASILB standard, and the modules are decoupled from each other to facilitate the transplantation and replacement of a single module.
[0040] In one embodiment, the monitoring module includes: an operating system monitoring unit and an application and hardware monitoring unit. The operating system monitoring unit is used to provide first monitoring information of the operating system, and the first monitoring information includes: the number of processes, the process name, the process processor usage, the process memory usage, and the exception handling result of the process memory usage. Exemplarily, the operating system monitoring unit is used to periodically provide monitoring information of the operating system, mainly including the number of processes, the process name, the process CPU usage, the process memory usage, the arbitration of the process memory usage, etc. The application and hardware monitoring module is used to provide second monitoring information of application software and hardware, wherein the second monitoring information includes: the activity information of the application software, the execution timeout information, the execution logic information, the exception handling result of the software monitoring information, the activity information of the hardware, the physical property information of the hardware, and the exception handling result of the hardware monitoring information. Exemplarily, the application and hardware monitoring unit is used to periodically provide monitoring information and arbitration of application software and hardware, including the activity information of the application software, the execution timeout information, the execution logic information, the arbitration of the software monitoring information; the activity information of the hardware, the physical property information of the hardware (temperature, pressure, etc.), the arbitration of the hardware monitoring information, etc.
[0041] In one embodiment, the monitoring module, status query module, execution module, redundant storage module, time synchronization module and monitoring sending module are deployed in the middleware layer. The middleware layer is located between the application layer and the system layer. When performing cross-domain and cross-model migration, placing them in the middleware layer can reduce the workload of transformation caused by changes in cross-domain and cross-model application software, improve versatility, and enhance portability.
[0042] In one embodiment, the monitoring module, the status query module, the execution module, the redundant storage module, the time synchronization module and the monitoring transmission module construct a configuration tool chain, and the monitoring configuration at the application level, the domain controller level and the chip level is performed through the configuration tool chain, and the corresponding monitoring configuration is integrated into the specified position of the application level, the domain controller level and the chip level to perform security monitoring according to the monitoring configuration. Specifically, the application software, MPU / MCU and domain controller are configured through the tool chain, and the code generated by the configuration is integrated into the specified position of the corresponding application software, MPU / MCU and domain controller.
[0043] See also Figure 2 , Figure 2 The flowchart of application-level monitoring in one embodiment of the present application. Application-level monitoring is mainly used for monitoring application software on an MPU in a domain controller. The monitoring required by the corresponding application software is configured through the tool chain, mainly including active monitoring configuration, execution timeout monitoring configuration, execution logic monitoring configuration and monitoring channel configuration, and the code generated by the configuration is integrated into the specified location of the application. Among them, active monitoring mainly determines whether the application is running normally by checking the number of reports of the checkpoints configured within a fixed period. If the number of reports of the checkpoints is within the design range, the application is considered to be running normally. Otherwise, the application is considered to be abnormal and the corresponding processing operation is triggered according to the configured arbitration logic (one or more of application restart / switching function group status / security application); execution timeout monitoring is mainly to check whether the time interval between two checkpoints configured by the application software is within the design range. If it is within the design range, the application is considered to be running normally. Otherwise, the application is considered to be abnormal and the corresponding processing operation is triggered according to the configured arbitration logic (application restart / switching function group status / security application); The logic monitoring is mainly to check whether the order of the configured checkpoints of the application is consistent with the designed order. If they are consistent, the application is considered to be running normally. Otherwise, it is considered abnormal and the corresponding processing operation (application restart / switching function group status / one or more of security applications) is triggered according to the configured arbitration logic; the monitoring channel is mainly used to receive other monitoring information (such as the monitoring result information of the application itself), and perform overall arbitration in the monitoring module. If the arbitration indicates that the application is abnormal, the corresponding processing operation (application restart / switching function group status / one or more of security applications) is triggered according to the configured arbitration logic.
[0044] See also Figure 3 , Figure 3 This is a schematic diagram of the logical architecture of chip-level monitoring in an embodiment of the present application. Chip-level monitoring is mainly used for mutual monitoring between different MPUs / MCUs within a domain controller. The monitoring form and arbitration logic required by the MPU / MCU are configured through the tool chain. It is mainly to monitor the channel configuration, and integrate the code generated by the configuration into the specified position of the MPU / MCU. Its main logic is that each MPU obtains the monitoring information of this MPU / MCU through the monitoring component (MCU is WdgM) (the monitoring information here is mainly the monitoring information that is strongly related to the entire MPU / MCU, such as temperature, power supply, operating environment, flash, hardware watchdog (Wdgm)), etc.) and sends it to the communication bus through the monitoring sending module and the communication module; while arbitrating the monitoring information of other MPU / MCUs obtained from the communication bus through the communication module and the monitoring sending module and triggering corresponding operations. In addition, the monitoring sending module also assumes the active reporting role of this MPU / MCU. When other MPU / MCUs do not receive the active and monitoring information sent by a certain MPU / MCU monitoring sending module within a fixed period, the corresponding operation (such as platform restart) is triggered according to the configured arbitration logic.
[0045] See also Figure 4 , Figure 4 This is a schematic diagram of the logical architecture of domain controller-level monitoring in an embodiment of the present application. Domain controller-level monitoring, i.e., inter-domain monitoring, is mainly used for monitoring between domain controllers of the entire vehicle. The monitoring form required by the domain controller is configured through the tool chain. It is mainly the monitoring channel configuration, and the code generated by the configuration is integrated into the specified position of the corresponding domain controller. Its main logic is that each domain controller obtains the monitoring information of the domain controller through the monitoring module, and sends the monitoring information that cannot be processed by the domain controller to the communication bus through the monitoring sending module and the communication module. At the same time, the monitoring information that cannot be processed by other domain controllers on the communication bus obtained through the communication module and the monitoring sending module is arbitrated in the monitoring module and the corresponding operation is triggered according to the configured rules. In addition, the monitoring sending module inside the domain controller also assumes the active reporting function. When the domain controller does not receive the active and monitoring information sent by the monitoring sending module of a domain controller within a certain time period, the corresponding operation (such as blind braking of the entire vehicle) is triggered according to the configured rules.
[0046] Through these three levels of monitoring, with the storage function of the redundant storage module, it is ensured that the stored information complies with functional safety, such as the arbitration rules, function group status, monitoring cycle, arbitration cycle and other storage information mentioned above; with the function of the time synchronization module to ensure the time reference, to provide a basis for ensuring that the timing of events complies with functional safety; with the communication function provided by the communication module, it is ensured that the interaction between information complies with functional safety. In addition, the modules used in this application are developed strictly in accordance with the ISO26262 software development process, so that each module meets the functional safety requirements. The monitoring system described in this application can cover most of the functional safety monitoring needs of the intelligent driving system.
[0047] This embodiment provides a vehicle functional safety monitoring method, which is used to monitor the application level, chip level and domain controller level using the vehicle functional safety monitoring system described in the aforementioned system embodiment. Since the technical principles of the method embodiment are similar to those of the aforementioned system embodiment, the same technical details will not be repeated.
[0048] See also Figure 5 In one embodiment, a vehicle functional safety monitoring method comprises the following steps:
[0049] Step S500, calibrating the time differences between different applications, electronic control units, and domain controllers;
[0050] Step S501, after the time difference calibration is completed, application-level monitoring, domain controller-level monitoring and chip-level monitoring are performed through the monitoring module, and abnormality judgment is performed based on the monitoring information;
[0051] Step S502, determining the functional state to be switched according to the information sent by the monitoring module or the external input signal, and performing corresponding operations according to the functional state to be switched.
[0052] The above embodiments are merely illustrative of the principles and effects of the present application and are not intended to limit the present application. Anyone familiar with the technology may modify or change the above embodiments without violating the spirit and scope of the present application. Therefore, all equivalent modifications or changes made by a person of ordinary skill in the art without departing from the spirit and technical ideas disclosed in the present application shall still be covered by the claims of the present application.
Claims
1. A vehicle functional safety monitoring system, It is characterized in that include: The monitoring module is used to perform application-level monitoring, domain controller-level monitoring, and chip-level monitoring, and to make abnormal judgments based on the monitoring information; The monitoring module includes: an operating system monitoring unit, which is used to provide first monitoring information of the operating system, wherein the first monitoring information includes: the number of processes, the process name, the process processor usage, the process memory usage, and the exception handling result of the process memory usage; an application and hardware monitoring module, which is used to provide second monitoring information of application software and hardware, wherein the second monitoring information includes: application software activity information, execution timeout information, execution logic information, exception handling results of software monitoring information, hardware activity information, hardware physical characteristics information, and exception handling results of hardware monitoring information; A status query module, used to determine the functional status to be switched according to the information sent by the monitoring module or the external input signal; An execution module, used for executing a corresponding operation according to the functional state to be switched output by the state query module; Redundant storage module for storing monitoring process data; A time synchronization module to calibrate time differences between different applications, electronic control units, and domain controllers; The monitoring and sending module is used to execute information interaction among the monitoring module, the status query module, the execution module, the redundant storage module and the time synchronization module.
2. The vehicle functional safety monitoring system according to claim 1, It is characterized in that Also includes: The communication module is used to provide each module with a communication interface that meets the preset communication security requirements.
3. The vehicle functional safety monitoring system according to claim 1, It is characterized in that The monitoring module, the state query module, the execution module, the redundant storage module, the time synchronization module and the monitoring sending module are deployed in the middleware layer, and the middleware layer is located between the application layer and the system layer.
4. The vehicle functional safety monitoring system according to claim 3, It is characterized in that A configuration tool chain is constructed based on the monitoring module, status query module, execution module, redundant storage module, time synchronization module and monitoring sending module. Monitoring configuration at the application level, domain controller level and chip level is performed through the configuration tool chain, and the corresponding monitoring configuration is integrated into the specified locations at the application level, domain controller level and chip level to perform security monitoring according to the monitoring configuration.
5. A method for utilizing the vehicle functional safety monitoring system according to any one of claims 1 to 4, It is characterized in that include: Calibrate time differences between applications, ECUs, and domain controllers; After the time difference calibration is completed, the monitoring module is used to perform application-level monitoring, domain controller-level monitoring, and chip-level monitoring, and abnormality judgment is made based on the monitoring information; The functional state to be switched is determined according to the information sent by the monitoring module or the external input signal, and the corresponding operation is performed according to the functional state to be switched.
