Device and method for controlling functional safety of automobile
By setting up a functional safety display module and a display safety control module in the smart cockpit, the problem of accuracy and safety of instrument display information in the smart cockpit is solved, and higher information display reliability and Security.
Patent Information
- Application Number
- CN202411237453.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-04
- Publication Date
- 2024-11-12
AI Technical Summary
The accuracy and safety of instrument display information in smart cockpits are challenged, especially after the increase in computing power demand and the widespread use of digital instrument panels, where delays or incorrect displays may occur.
The functional safety display module and the display safety control module are set up in the cockpit domain display controller. Through the dual checksum comparison mechanism, we ensure the correctness and consistency of the instrument display information, including receiving and verifying the information from CAN communication, and Reset and power management in abnormal situations.
It effectively reduces the security risks of information transmission errors and malicious tampering, improves the accuracy of instrument display information and the reliability of overall information display, and ensures the fault tolerance and robustness of instrument display.
Smart Images

Figure CN118928030A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of intelligent automobiles, and in particular to a device and method for controlling the functional safety of an automobile. Background Art
[0002] As the car cockpit enters the stage of full intelligence, LCD instruments and large central control screens have gradually become standard features in the cockpit, which means that the cockpit needs to be equipped with more electronic control units to achieve more functions. Driven by the new generation of automotive electronic and electrical architecture, the cockpit domain is undergoing deep integration, and highly integrated cockpit domain controllers are also emerging.
[0003] As the cockpit's requirements for computing power become higher and higher, the microcontroller unit (MCU) has encountered problems such as insufficient computing power and incompatibility in the application of smart cockpits. The cockpit domain controller in the relevant technology uses two types of chips: system on chip (SoC) and microcontroller unit (MCU). The main control system-on-chip chip can be used to carry complex operating systems and process big data such as images, videos, and audio. The microcontroller unit is used to access functions such as the vehicle body network.
[0004] As cockpit domain controllers become smarter and more automated, the safety issues facing the cockpit are becoming more prominent. After the digital instrument panel replaced the mechanical instrument panel, more types of failures occurred. The vehicle movement information and some alarm information displayed in the digital instrument panel are usually related to the functional safety of the car, but the functional safety of the instrument cannot be guaranteed by the display itself. The instrument display may have safety issues such as delayed display and erroneous display. Therefore, how to improve the accuracy of the car's instrument display information is one of the main safety issues facing the smart cockpit. Summary of the invention
[0005] In view of this, the present disclosure provides a device and method for controlling the functional safety of an automobile, so as to solve the problem of how to improve the accuracy of the information displayed by the instrument panel of the automobile.
[0006] In a first aspect, the present disclosure provides a device for controlling functional safety of an automobile, the device comprising: a functional safety display module and a display safety control module provided in a cockpit domain display controller;
[0007] The functional safety display module is used to receive the first display information, and when the first display information is verified to pass, send the first display information to the display safety control module; when receiving the first sending instruction returned by the display safety control module, output the first display information; the first display information is the instrument display information sent by the system-on-chip of the cockpit domain main controller;
[0008] The display safety control module is used to receive the first CAN communication information, generate comparison information between the first CAN communication information and the first display information when verifying that the first CAN communication information passes, and generate a first sending instruction when determining that the first display information is normal based on the comparison information, and send the first sending instruction to the functional safety display module.
[0009] In some optional implementations of the above embodiments, the functional safety display module is further used to output second display information when receiving second display information returned by the display safety control module; the display safety control module is further used to generate second display information based on the first CAN communication information when it is determined that the first display information is abnormal based on the comparison information, and send the second display information to the functional safety display module.
[0010] In some optional implementations of the above embodiments, the device also includes: a system on chip and a main safety control module set in the cockpit domain main controller; the system on chip of the cockpit domain main controller, used to send the first display information to the main safety control module; the main safety control module, used to receive the first display information, receive the second CAN communication information, and when verifying that the second CAN communication information passes, generate a comparison result between the second CAN communication information and the first display information, and send the comparison result to the display safety control module; the display safety control module is further used to receive the comparison result, and when it is determined that the first display information is normal based on the comparison information and the comparison result, generate a first sending instruction, and send the first sending instruction to the functional safety display module.
[0011] In some optional implementations of the above embodiments, the functional safety display module is further used to, when verifying the first display information, verify the first display information using a preset verification algorithm to obtain an information verification result, and the first display information is information protected by the preset verification algorithm; compare the first display information with pre-stored vehicle driving icon information to obtain a display verification result; and determine whether the verification of the first display information passes based on the information verification result and the display verification result.
[0012] In some optional implementations of the above embodiments, the display safety control module is further used for at least one of the following: monitoring the status of the display safety control module at startup and periodically monitoring the status of the display safety control module during operation, and resetting the display safety control module when an abnormality is detected; resetting the functional safety display module when an abnormality is detected in the status information of the functional safety display module; shutting down the power supply of the functional safety display module when an abnormality is detected in the over-voltage or under-voltage information of the power supply of the functional safety display module; sending abnormal information to the functional safety display module when at least one of the following abnormalities is detected: CAN communication first information and comparison information.
[0013] In some optional implementations of the above embodiments, the main safety control module is further used for at least one of the following: monitoring the status of the main safety control module at startup and periodically monitoring the status of the main safety control module during operation, and resetting the main safety control module when an abnormality is detected; resetting the system on chip when an abnormality is detected in the status information of the system on chip; shutting down the power supply of the system on chip when an abnormality is detected in the over-voltage or under-voltage information of the power supply of the system on chip; sending the abnormal information to the system on chip when at least one of the following abnormalities is detected: CAN communication second information and comparison results.
[0014] In a second aspect, the present disclosure provides a method for controlling the functional safety of an automobile, the method comprising: a functional safety display module receives first display information, and when the first display information is verified to pass, the first display information is sent to a display safety control module; when a first sending instruction returned by the display safety control module is received, the first display information is output; the first display information is instrument display information sent by the on-chip system of the cockpit domain main controller; the display safety control module receives first CAN communication information, and when the first CAN communication information is verified to pass, comparison information between the first CAN communication information and the first display information is generated, and when it is determined based on the comparison information that the first display information is normal, a first sending instruction is generated, and the first sending instruction is sent to the functional safety display module; wherein, the functional safety display module and the display safety control module are arranged in the cockpit domain display controller.
[0015] In some optional implementations of the above embodiments, the method also includes: when the functional safety display module receives the second display information returned by the display safety control module, the functional safety display module outputs the second display information; when the display safety control module determines that the first display information is abnormal based on the comparison information, the display safety control module generates the second display information based on the first CAN communication information, and sends the second display information to the functional safety display module.
[0016] In some optional implementations of the above embodiments, the method also includes: the on-chip system of the cockpit domain master controller sends first display information to the main safety control module; the main safety control module receives the first display information, receives the second CAN communication information, and when verifying that the second CAN communication information passes, generates a comparison result between the second CAN communication information and the first display information, and sends the comparison result to the display safety control module; the display safety control module also receives the comparison result, and when it is determined that the first display information is normal based on the comparison information and the comparison result, generates a first sending instruction, and sends the first sending instruction to the functional safety display module.
[0017] In some optional implementations of the above embodiments, verifying the first display information includes: verifying the first display information using a preset verification algorithm to obtain an information verification result, the first display information being information protected by the preset verification algorithm; comparing the first display information with pre-stored vehicle driving icon information to obtain a display verification result; and determining whether the verification of the first display information passes based on the information verification result and the display verification result.
[0018] In some optional implementations of the above embodiments, the display safety control module performs at least one of the following: monitoring the status of the display safety control module at startup and periodically monitoring the status of the display safety control module during operation, and resetting the display safety control module when an abnormality is detected; sending abnormal information to the functional safety display module when at least one of the following abnormalities is detected: CAN communication first information, comparison information, status information of the functional safety display module, and over-voltage and under-voltage information of the power supply of the functional safety display module.
[0019] In some optional implementations of the above embodiments, the main safety control module performs at least one of the following: monitoring the status of the main safety control module at startup and periodically monitoring the status of the main safety control module during operation, and resetting the main safety control module when an abnormality is detected; sending abnormal information to the on-chip system when at least one of the following abnormalities is detected: CAN communication second information, comparison results, status monitoring information of the on-chip system, and over- and under-voltage monitoring information of the power supply of the on-chip system. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the specific embodiments of the present disclosure or the technical solutions in the prior art, the drawings required for use in the specific embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0021] Figure 1 is an exemplary schematic diagram of a device for controlling functional safety of an automobile according to an embodiment of the present disclosure;
[0022] Figure 2 is an exemplary structural diagram of another device for controlling functional safety of an automobile according to an embodiment of the present disclosure;
[0023] Figure 3a is an exemplary structural diagram of a device for controlling functional safety of an automobile according to an embodiment of the present disclosure in a specific application scenario;
[0024] Figure 3b is an exemplary structural diagram of a secure MCU1 module according to an embodiment of the present disclosure;
[0025] Figure 3cis an exemplary structural diagram of a system-on-chip SoC module according to an embodiment of the present disclosure;
[0026] Figure 3d is an exemplary structural diagram of a secure MCU2 module according to an embodiment of the present disclosure
[0027] Figure 4 It is a schematic flowchart of a method for controlling automobile functional safety according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0028] In order to make the purpose, technical solution and advantages of the embodiments of the present disclosure clearer, the technical solution in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, rather than all the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present disclosure.
[0029] As the car cockpit enters the stage of full intelligence, LCD instruments and large central control screens have gradually become standard features in the cockpit, which means that the cockpit needs to be equipped with more electronic control units to achieve more functions. Driven by the new generation of automotive electronic and electrical architecture, the cockpit domain is undergoing deep integration, and highly integrated cockpit domain controllers are also emerging.
[0030] As the cockpit's requirements for computing power become higher and higher, the microcontroller unit (MCU) has encountered problems such as insufficient computing power and incompatibility in the application of smart cockpits. The cockpit domain controller in the relevant technology uses two types of chips: system on chip (SoC) and microcontroller unit (MCU). The main control system-on-chip chip can be used to carry complex operating systems and process big data such as images, videos, and audio. The microcontroller unit is used to access functions such as the vehicle body network.
[0031] As cockpit domain controllers become smarter and more automated, the safety issues facing the cockpit are gradually becoming more prominent. After the digital instrument panel replaced the mechanical instrument panel, more types of failures occurred. The vehicle movement information and some alarm information displayed in the digital instrument panel are usually information related to the functional safety of the car, but the functional safety of the instrument cannot be guaranteed by the display screen itself. The instrument display may have safety issues such as delayed display and erroneous display. Therefore, how to ensure the correct display of the car's instrument display information is one of the main safety issues facing the smart cockpit.
[0032] An embodiment of the present disclosure provides a method for controlling the functional safety of an automobile, by adding a display safety control module to an instrument display terminal, comparing the first display information to be output by the functional safety display module with the first information of CAN communication, and outputting the first display information when the compared information indicates that the first display information is normal, thereby ensuring the correctness and consistency of the first display information output by the instrument display terminal and improving the safety of the display terminal.
[0033] As used below, the term "module" may be a combination of software and / or hardware that implements a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware is also possible and contemplated.
[0034] In this embodiment, a device for controlling the functional safety of an automobile is provided. Figure 1 is an exemplary schematic diagram of a device for controlling functional safety of an automobile according to an embodiment of the present disclosure, such as Figure 1 As shown, the device may include: a functional safety display module 101 and a display safety control module 102 set in a cockpit domain display controller 100.
[0035] The functional safety display module 101 is used to receive the first display information, and when the first display information passes the verification, send the first display information to the display safety control module; when receiving the first sending instruction returned by the display safety control module, output the first display information.
[0036] In this embodiment, the functional safety display module can receive instrument display information sent by the system-on-chip of the cockpit domain main controller, that is, the first display information.
[0037] After receiving the first display information, a check is first performed to ensure the integrity and correctness of the information. For example, the check may include one or more of a checksum, a timestamp, or an encryption verification. If the check passes, it means that the first display information has not been tampered with or damaged, and the functional safety display module may send the first display information to the safety control module for further information comparison processing.
[0038] After receiving the first sending instruction returned by the display safety control module, it indicates that the first display information is normal after comparison by the display safety control module, and the first display information can be output to the instrument display, for example, to a display interface (such as an instrument panel, a head-up display HUD, etc.).
[0039] In some specific examples, the functional safety display module can be implemented using a dedicated circuit in existing technology or future development technology, for example, it can be implemented by an integrated circuit (IC) or a homemade circuit, and this application does not limit this.
[0040] The display safety control module 102 is used to receive the first information of CAN (Controller Area Network) communication, and when verifying that the first CAN communication information passes, generate comparison information between the first CAN communication information and the first display information, and when determining that the first display information is normal based on the comparison information, generate a first sending instruction and send the first sending instruction to the functional safety display module.
[0041] In this embodiment, the display safety control module can receive CAN communication first information from the CAN bus, and the CAN communication first information includes vehicle status data related to the instrument display, usually safety-related information, such as vehicle speed, warning information, etc.
[0042] After receiving the first CAN communication information, a check is first performed to confirm its authenticity and validity. Afterwards, the first CAN communication information can be compared with the first display information sent by the functional safety display module to generate comparison information to verify whether the two are consistent or meet the expected association relationship.
[0043] When the comparison information indicates that the first CAN communication information is consistent or conforms to the first display information, a first sending instruction may be generated and sent to the functional safety display module to allow the functional safety display module to output the first display information.
[0044] In some specific examples, the display safety control module can be implemented using electronic devices used to generate control instructions in existing technologies or technologies to be developed in the future, for example, using a microcontroller unit (MCU), an electronic control unit (ECU) or a central processing unit (CPU) and other electronic devices that can generate control instructions), but this application does not limit this.
[0045] In this embodiment, the device for controlling the functional safety of the automobile enhances the system's ability to detect abnormal information through a double verification and comparison mechanism, effectively reduces the safety risks caused by information transmission errors or malicious tampering, and improves the accuracy of the information displayed by the display instrument. In addition, even if a problem occurs in one information source, the system can identify and avoid the display of erroneous information by comparing other information sources, thereby improving the reliability of the information display in the entire cockpit domain.
[0046] In the above Figure 1 In some optional implementations of the illustrated embodiment, the functional safety display module is further used to output second display information upon receiving second display information returned by the display safety control module; the display safety control module is further used to generate second display information based on the first CAN communication information when it is determined that the first display information is abnormal based on the comparison information, and send the second display information to the functional safety display module.
[0047] In this implementation, the functional safety display module can also receive and display the second display information from the display safety control module, so that when the first display information is abnormal, it can quickly switch to the backup or corrected second display information, thereby displaying the second display information to ensure that key information can be displayed. The second display information here can be the corrected instrument display information based on the first information of CAN communication, or specific prompt information for the current abnormal situation.
[0048] The display safety control module can generate second display information based on the first CAN communication information when it is found during the comparison process that the first CAN communication information is inconsistent, inconsistent or has other abnormalities with the first display information, and send the second display information to the functional safety display module for display.
[0049] In this implementation, when the first display information is determined to be abnormal based on the comparison information, the second display information is generated based on the first CAN communication information for output. Therefore, when there is a problem with the first display information sent by the on-chip system of the cockpit domain main controller, the effectiveness of the display function can still be maintained, thereby enhancing the fault tolerance and robustness of the device for controlling the functional safety of the vehicle.
[0050] In this embodiment, another device for controlling functional safety of an automobile is provided. Figure 2 is an exemplary structural diagram of another device for controlling functional safety of an automobile according to an embodiment of the present disclosure, such as Figure 2 As shown, the device for controlling the functional safety of an automobile includes: a functional safety display module 211 and a display safety control module 212 set in a cockpit domain display controller 210 , and a system on chip 221 and a main control safety control module 222 set in a cockpit domain main controller 220 .
[0051] The functional safety display module 211 is used to receive the first display information, and when the first display information is verified to pass, send the first display information to the display safety control module; when receiving the first sending instruction returned by the display safety control module, output the first display information; the first display information is the instrument display information sent by the on-chip system of the cockpit domain main controller.
[0052] In this embodiment, the functional safety display module first receives the first display information (such as vehicle speed, fuel level, fault prompt and other instrument display information) sent by the system-on-chip of the cockpit domain main controller; then verifies the first display information to ensure the integrity and correctness of the information; if the verification passes, the module will forward the first display information to the display safety control module for further verification. When the first sending instruction returned by the display safety control module is received, it means that the first display information has been double-verified, and the first display information is output at this time.
[0053] The display safety control module 212 is used to receive the first CAN communication information, generate comparison information between the first CAN communication information and the first display information when verifying that the first CAN communication information passes, receive the comparison result, and when determining that the first display information is normal based on the comparison information and the comparison result, generate a first sending instruction and send the first sending instruction to the functional safety display module.
[0054] In this embodiment, the display safety control module receives the first CAN communication information (including vehicle status data related to the instrument display) from the CAN bus, performs a comparison check, and generates comparison information. At the same time, it also receives the comparison result from the main control safety control module, which is obtained based on the comparison of the second CAN communication information and the first display information. At this time, the display safety control module comprehensively evaluates the normality of the first display information based on the comparison information and the comparison result. If the evaluation result shows that the information of all parties is consistent or consistent and logical, a first sending instruction is generated, and the first sending instruction is sent to the functional safety display module to allow it to output the first display information.
[0055] The system on chip 221 is used to send the first display information to the main control safety control module.
[0056] In this embodiment, the system on chip 221 serves as the core processing unit of the entire cockpit domain. The system on chip is responsible for generating and sending the first display information to the main safety control module, and providing a data source for the first display information output subsequently.
[0057] The main control safety control module 222 is used to receive the first display information and the second CAN communication information, and when verifying that the second CAN communication information passes, generate a comparison result between the second CAN communication information and the first display information, and send the comparison result to the display safety control module.
[0058] In this embodiment, the main safety control module receives the second CAN communication information (which may include data from a different source or of different dimensions than the first CAN communication information) from the CAN bus of the vehicle network, compares it with the first display information, and sends the comparison result to the display safety control module.
[0059] The device for controlling the functional safety of the automobile in this embodiment compares the first CAN communication information with the first display information, and compares the second CAN communication information with the first display information, thereby performing a multi-source information comparison for the first display information to be output, thereby further improving the ability of the device for controlling the functional safety of the automobile to detect abnormal information, improving the security of the first display information output by the main safety control module, and greatly reducing the security risks caused by information transmission / storage errors or malicious tampering.
[0060] In some optional implementations of the above embodiments, the functional safety display module is further used to, when verifying the first display information, verify the first display information using a preset verification algorithm to obtain an information verification result, and the first display information is information protected by the preset verification algorithm; compare the first display information with pre-stored vehicle driving icon information to obtain a display verification result; and determine whether the verification of the first display information passes based on the information verification result and the display verification result.
[0061] In this implementation, the preset verification algorithm is a predefined algorithm used to perform operations such as encryption, signing or verification code generation on the first display information to ensure the integrity and authenticity of the information. In this solution, the first display information (including key data of vehicle driving, such as vehicle speed, gear position, indication information, warning information, etc.) has been processed by the algorithm before being sent or stored.
[0062] After receiving the first display information, the functional safety display module will use a preset verification algorithm to verify the information and obtain an information verification result to indicate whether the first display information has not been tampered with or damaged during transmission or storage. If the information verification result meets expectations (such as the verification code matches), the information is considered to be complete and has not been tampered with.
[0063] In addition to verifying the first display information itself, the functional safety display module will also compare the first display information with pre-stored vehicle driving icon information (which can be a series of standard or expected driving status icons) to obtain a display verification result to indicate whether the first display information has problems such as information jamming, screen distortion, or screen freezing.
[0064] Finally, the functional safety display module can comprehensively determine whether the first display information has passed the verification based on the information verification result and the display verification result. Only when both are passed, the first display information is considered to be reliable and allowed to be output on the vehicle's instrument display.
[0065] The functional safety display module in this implementation can achieve double verification of the first display information by generating information verification results and displaying verification results, which significantly improves the security of the output first display information and reduces the risk of information tampering or erroneous display of information.
[0066] In some optional implementations of the above embodiments, the display safety control module may be further used to: monitor the status of the display safety control module at startup and periodically monitor the status of the display safety control module during operation, and reset the display safety control module when an abnormality is detected.
[0067] Alternatively or additionally, the display safety control module may be further configured to: reset the functional safety display module when detecting that the status information of the functional safety display module is abnormal.
[0068] Alternatively or additionally, the display safety control module may be further configured to: shut down the power supply of the functional safety display module when detecting abnormal overvoltage or undervoltage information of the power supply of the functional safety display module.
[0069] Alternatively or additionally, the display safety control module may be further configured to: send abnormal information to the functional safety display module when at least one of the following abnormalities is detected: CAN communication first information and comparison information.
[0070] In this implementation, the display safety control module can monitor the status of the display safety control module when it is started, and then periodically monitor the status of the display safety control module during operation, so as to promptly detect and respond to hardware failures, software errors or external interference.
[0071] When the display safety control module detects an abnormality, it can automatically or according to preset logic reset operation, so as to restore the display safety control module to the initial state or a known and safe state, so as to continue to execute the display safety control function, and effectively prevent the display safety control module from a complete collapse due to a single fault.
[0072] The display safety control module can also automatically or according to preset logic reset the functional safety display module when it detects abnormal status information of the functional safety display module, thereby restoring the functional safety display module to its initial state or a known and safe state, so as to continue to execute the functional safety display function, and effectively prevent the functional safety display module from completely collapsing due to a single fault.
[0073] The display safety control module can also shut down the power supply of the functional safety display module when it detects abnormal over-voltage or under-voltage information of the power supply of the functional safety display module, thereby stopping the power supply to the functional safety display module when the power supply fails, thereby improving the power supply safety of the functional safety display module.
[0074] The display safety control module can also send abnormal information to the functional safety display module to allow the functional safety display module to understand and respond to the abnormal situation. Specifically, the abnormal information may include but is not limited to at least one of the following: abnormal information of the first CAN communication information and abnormal information of the comparison information. This information can quickly locate the root cause of the abnormality so that corresponding measures can be taken in time.
[0075] The display safety control module in this implementation can quickly restore the working state of the display safety control module by monitoring the state of the display safety control module at startup and during operation, and resetting the display safety control module when an abnormality is detected, thereby reducing the risk of overall failure of the display safety control module. Alternatively or additionally, the display safety control module sends abnormal information to the functional safety display module when abnormal information is detected, which helps to quickly locate the problem, reduce troubleshooting time, and improve maintenance efficiency.
[0076] In some optional implementations of the above embodiments, the main control safety control module may be further used to: monitor the status of the main control safety control module at startup and periodically monitor the status of the main control safety control module during operation, and reset the main control safety control module when an abnormality is detected.
[0077] Alternatively or additionally, the main safety control module may be further configured to: reset the system on chip when detecting that the status information of the system on chip is abnormal.
[0078] Alternatively or additionally, the main control safety control module may be further configured to: shut down the power supply of the system on chip when detecting abnormal over-voltage or under-voltage information of the power supply of the system on chip.
[0079] Alternatively or additionally, the main safety control module can be further used to send abnormal information to the system on chip when at least one of the following abnormalities is detected: CAN communication second information, comparison results, status monitoring information of the system on chip and over- and under-voltage monitoring information of the power supply of the system on chip.
[0080] In this implementation, the main safety control module can monitor the status of the main safety control module at startup, and then periodically monitor the status of the main safety control module during operation, so as to promptly detect and respond to hardware failures, software errors or external interference, etc.
[0081] When the main safety control module detects an abnormality, it can automatically or according to preset logic reset operation, so as to restore the main safety control module to the initial state or a known and safe state, so as to continue to execute the main safety control function, and effectively prevent the main safety control module from a complete collapse due to a single fault.
[0082] The main safety control module can also reset the system on chip automatically or according to preset logic when it detects abnormal status information of the system on chip, thereby restoring the system on chip to its initial state or a known and safe state so as to continue to execute the functions of the system on chip, effectively preventing the system on chip from completely collapsing due to a single fault.
[0083] The main control safety control module can also shut down the power supply of the system on chip when detecting abnormal over-voltage or under-voltage information of the power supply of the system on chip, thereby stopping the power supply to the system on chip when the power fails, thereby improving the power supply safety of the system on chip.
[0084] The main control safety control module can also send abnormal information to the system on chip to allow the system on chip to understand and respond to the abnormal situation. Specifically, the abnormal information may include but is not limited to at least one of the following: abnormal information of the second information of CAN communication, abnormal information of the comparison result, abnormal information of the status information of the system on chip, and abnormal information of the over-voltage and under-voltage information of the power supply of the system on chip. This information can quickly locate the root cause of the abnormality so that corresponding measures can be taken in time.
[0085] The master safety control module in this implementation can quickly restore the working state of the master safety control module by monitoring the state of the master safety control module at startup and during operation, and resetting the master safety control module when an abnormality is detected, thereby reducing the risk of overall failure of the master safety control module. Alternatively or additionally, the master safety control module sends abnormal information to the on-chip system when abnormal information is detected, which helps to quickly locate the problem, reduce troubleshooting time, and improve maintenance efficiency.
[0086] As one or more specific application embodiments of the present disclosure, the following Figure 3a , Figure 3b , Figure 3c and Figure 3d , describing the specific application scenarios of the above-mentioned device for controlling automobile functional safety.
[0087] Please refer to Figure 3a , Figure 3a FIG. 1 is an exemplary structural diagram of a device for controlling functional safety of an automobile according to an embodiment of the present disclosure in a specific application scenario. Figure 3a As shown, the present invention includes two controllers: a cockpit domain main controller and a cockpit domain display controller.
[0088] The cockpit domain master controller adopts the system-on-chip (SoC) module + safety microcontroller unit 1 (MCU1) solution. The solution includes the following components: SoC module (system-on-chip module), safety MCU1 module (safety microcontroller unit 1 module), Deserializer1 (deserializer 1), Serializer1 (serializer 1), Serializer2 (serializer 2), GNSS module (equipment for global navigation satellite system receiver and related hardware), CAN Transceiver1 (CAN transceiver 1), EthernetPHY (Ethernet physical interface transceiver), PMIC_1 (power management chip_1), PMIC_2 (power management chip_2), AudioDSP (audio processing digital signal processor), AMP (audio amplifier), MIC (sound signal, electrical signal converter), which can realize voice information processing, positioning information processing, camera information processing, Ethernet communication, CAN communication, central control display information transmission, instrument display information transmission, power supply and other functions. Safety MCU1 uses safety mechanisms such as SoC status monitoring, MCU1 status monitoring, CAN communication end-to-end communication protection (E2E protection), instrument information readback, etc. In addition, Safety MCU1 also needs to perform power management and status monitoring on SoC. At the same time, this cockpit domain controller uses two power management modules with power monitoring and watchdog functions to provide safety-related chips with working voltage that meets functional safety requirements.
[0089] The cockpit domain display controller adopts the functional safety display integrated circuit (IC) + safety microcontroller unit 2 (MCU2) solution. The solution includes the following components: functional safety display IC, flash memory (FLASH), Deserializer2 (deserializer 2), safety MCU2 (Safety MCU2) module, CAN Transceiver2 (CAN transceiver 2), PMIC_3 (power management chip_3), PMIC_4 (power management chip_4), which can realize the safe display of instrument information. On the display side, an IC that can meet the icon comparison check, image verification check, frame stop check, screen menu adjustment mode function (OSD (On-Screen Display) function, that is, screen menu adjustment mode) and a safety MCU2 module for data comparison and CAN communication E2E verification are added to monitor safety-related failures, and two power management modules with power monitoring and watchdog functions are used to provide power for safety-related chips to ensure functional safety.
[0090] The working principle of the cockpit domain main controller is as follows:
[0091] First, safety-related information is transmitted to the cockpit domain master controller via CAN communication. The Safety MCU1 module receives CAN communication information through CAN Transceiver1 and performs E2E verification on safety-related information. After the verification passes, it is parsed and sent to the SoC module. If the verification fails, the CAN communication information is discarded. After three consecutive frame verification failures, an alarm is issued. At the same time, Safety MCU1 will also add E2E protection to the sent CAN communication information and monitor the working status of the SoC module and Safety MCU1 module.
[0092] The SoC module receives information from Ethernet and CAN of the Safety MCU1 module. At the same time, the SoC module receives signal transmission from the satellite through the GNSS module and uses distance calculation to provide real-time location data, and receives video information from the camera through Deserializer1. In addition, the cockpit domain main controller receives audio information input through the microphone, processes the audio and sound effects through the Audio DSP, and converts the sound signal into an electrical signal through the MIC, and outputs it to the SoC module. After receiving the above information, the SoC module processes and converts it into video information that can be used for display. Then, the video information is output to the central control and instrument through Serializer1 and Serializer2 respectively. At the same time, the SoC module also processes the output audio information through the Audio DSP, processes the audio and sound effects, and amplifies it through the AMP, and then broadcasts it through the vehicle speakers.
[0093] PMIC_1 provides power for the Safety MCU1 module and performs over-voltage and under-voltage detection. It also has a built-in watchdog to monitor the Safety MCU1. If an abnormality is detected, the Safety MCU1 is reset.
[0094] PMIC_2 provides power for the SoC module and performs over-voltage and under-voltage detection. If an abnormality is detected, a fault signal is sent to the Safety MCU1 module to shut down the error output of the SoC module.
[0095] The cockpit domain display controller works as follows:
[0096] The instrument display signal from the SoC module is parsed by the deserializer chip Deserializer2 and then input into the functional safety display IC. The functional safety display IC will compare the instrument display signal from the SoC module with the vehicle driving icon information stored in the FLASH, and perform a cyclic redundancy check (CRC) on the information to detect problems such as information stagnation, screen distortion, and screen freezing. At the same time, it receives the comparison control signal from Safety MCU2, and outputs it to the display screen for display after the comparison is consistent. If the comparison is inconsistent, the output is rejected. At this time, the safety-related information is sent to the functional safety display IC through Safety MCU2 for OSD display.
[0097] Safety MCU2 receives safety-related vehicle information through CAN Transceiver2 and performs E2E verification. MCU will monitor the video parsing status of the functional safety display chip in real time, compare the information obtained through CAN with the information sent by the functional safety display IC, and control the functional safety display IC to send information if they are consistent. If they are inconsistent, SafetyMCU2 will process the CAN information that has passed the E2E verification and send it to the functional safety display IC, and display the corresponding icon information on the instrument screen.
[0098] PMIC_3 provides power for the Safety MCU2 module and performs over-voltage and under-voltage detection on the voltage. At the same time, it has a built-in watchdog to monitor the Safety MCU2. If an abnormality is detected after detection, the Safety MCU2 is reset to ensure the safety of the working voltage of the Safety MCU2.
[0099] PMIC_4 provides power for the functional safety display IC and performs over-voltage and under-voltage detection on the voltage. If an abnormality is detected after the detection, a fault signal is sent to the Safety MCU2 module to shut down the error output of the functional safety display IC to ensure the safety of the working voltage of the functional safety display IC.
[0100] Please refer to Figure 3b , Figure 3b FIG. 1 is an exemplary structural diagram of a secure MCU1 module according to an embodiment of the present disclosure. Figure 3b As shown in the figure, the MCU1_CAN information processing module receives and processes information from CAN, including E2E verification of received information, parsing of CAN information, and adding E2E protection to sent information. At the same time, when receiving information from SoC, if an abnormality is found, the error information output is rejected. When three consecutive frames are checked abnormally, the driver is warned to ensure the security of the information.
[0101] The instrument display information verification module receives the CAN communication information of the MCU1_CAN information processing module and the SoC instrument display information sent by the MCU1_SoC communication module, and performs information processing and comparison. It can only output when the comparison is consistent. The comparison result with added E2E protection is sent to Safety MCU2 through CAN communication to ensure the correctness of the information sent by SoC and the security of the instrument display information.
[0102] The MCU1_SoC communication module is responsible for the information exchange between Safety MCU1 and SoC. The MCU1_SoC communication module receives the CAN communication information processed by the MCU1_CAN information processing module and then outputs it to the SoC.
[0103] The SoC module status monitoring module in Safety MCU1 receives and monitors the SoC module working status sent by the MCU1_SoC communication module, and shuts down the SoC output when an abnormality occurs.
[0104] The MCU1 module status monitoring module monitors the status of the Safety MCU1 module, including startup detection and runtime cycle detection. The startup detection includes CPU detection, watchdog detection, system clock detection, memory detection, etc. The runtime cycle detection includes: local CPU core register detection, system clock operation detection, FLASHCRC segmentation detection, stack boundary overflow detection, local memory self-test, watchdog feeding, etc. When the Safety MCU1 module is detected to be abnormal, the Safety MCU1 module is reset to ensure the correct processing of safety-related information.
[0105] The over-voltage and under-voltage monitoring module of power supply 2 receives the over-voltage and under-voltage monitoring signal from power supply 2, and controls power supply 2 to shut down when an abnormality occurs.
[0106] When the SoC module status monitoring module, MCU1_CAN information processing module, MCU1 module status monitoring module, and power supply 2 overvoltage and undervoltage monitoring module detect an abnormality, the fault information is sent to the fault information processing module, and the fault information processing module sends the information to the SoC for alarm display.
[0107] Please refer to Figure 3c , Figure 3c is an exemplary structural diagram of a system-on-chip (SoC) module according to an embodiment of the present disclosure.
[0108] like Figure 3c As shown, the SoC_MCU1 communication module receives CAN communication information, fault alarm information, etc. from Safety MCU1, and sends it to the SoC_CAN information processing module after parsing. The SoC_MCU1 communication module also transmits its own status operation information and information that needs to be sent via CAN to SoC_MCU1.
[0109] The SoC_CAN information processing module receives and processes the CAN communication information from SoC_MCU1, converts it into video information and sends it to the instrument display processing module.
[0110] The instrument display processing module will receive all display information and output it to the instrument display information E2E protection module according to a certain timing and priority.
[0111] After the instrument display information E2E protection module adds an E2E protection mechanism to the display information, the instrument display information sending module converts the display information according to the protocol and outputs it to the cockpit domain display controller. At the same time, the information is sent to MCU1 for inspection to ensure the correctness and integrity of the safety-related information sent.
[0112] Please refer to Figure 3d , Figure 3d is an exemplary structural diagram of a security MCU2 module according to an embodiment of the present disclosure.
[0113] like Figure 3d As shown in the figure, Safety MCU2 receives and processes information from CAN through the MCU2_CAN information processing module, and performs E2E verification on the received CAN communication safety-related information. If the verification fails, it should enter the safe state. At the same time, Safety MCU2 adds E2E protection to the CAN information that needs to be sent to ensure the correctness and integrity of information transmission.
[0114] The MCU2_functional safety display IC communication module transmits Safety MCU2 information to the functional safety display IC and receives information from the functional safety display IC.
[0115] The information comparison processing module compares the received functional safety display IC signal with the information from CAN safety. If an abnormality occurs, the functional safety display IC is turned off to output error information to ensure the correctness of the information sent by the SoC. The information comparison processing module also receives the comparison result sent by Safety MCU1. If the comparison result is abnormal, the functional safety display IC is turned off to output error information. At this time, the safety-related information is sent to the functional safety display IC through Safety MCU2 for OSD display.
[0116] The MCU2 status monitoring module performs real-time detection of the MCU2 module status at startup and during runtime, and shuts down the SoC output when an abnormality is detected.
[0117] The over-voltage and under-voltage monitoring module of power supply 4 receives the over-voltage and under-voltage monitoring signals from power supply 4, and controls power supply 4 to shut down when an abnormality occurs, thereby ensuring that the voltage output of power supply 4 meets the functional safety requirements.
[0118] The present invention adds safety mechanisms such as SoC status monitoring, MCU status monitoring, E2E protection, and safety readback to Safety MCU1 to ensure the functional safety of the main controller.
[0119] In the present invention, a functional safety display IC is added to the instrument display end, which has an image verification function and an OSD function, can ensure the correct display of important safety information, and improve the safety of the display end.
[0120] In the present invention, MCU2 is added to the instrument display terminal, and the information sent by the functional safety display IC is compared with the CAN communication information, so as to ensure the correctness and consistency of the information of the instrument display terminal and improve the safety of the display terminal.
[0121] In the present invention, power monitoring is added to the chip power supply related to safety, so that the failure of the power supply system can be discovered and alarmed in time. Through power monitoring, the reliability and stability of the power supply system can be improved, and the normal operation of the equipment and the security of the data can be guaranteed.
[0122] In this embodiment, a method for controlling the functional safety of an automobile is also provided. The method is used to implement the above embodiments and preferred implementation modes, and those that have been explained will not be repeated here.
[0123] This embodiment provides a method for controlling the functional safety of an automobile, such as Figure 4 As shown, the method includes:
[0124] Step S401, the functional safety display module receives first display information, and when the first display information passes verification, sends the first display information to the display safety control module, where the first display information is instrument display information sent by the system-on-chip of the cockpit domain main controller.
[0125] Step S402 , the display safety control module receives the first CAN communication information, and generates comparison information between the first CAN communication information and the first display information when the verification of the first CAN communication information passes.
[0126] Step S403 : When the display safety control module determines that the first display information is normal based on the comparison information, the display safety control module generates a first sending instruction and sends the first sending instruction to the functional safety display module.
[0127] Step S404 : when receiving the first sending instruction returned by the display safety control module, the functional safety display module outputs first display information.
[0128] Among them, the functional safety display module and the display safety control module are set in the cockpit domain display controller.
[0129] In some optional implementations of the above embodiments, the method also includes: when the functional safety display module receives the second display information returned by the display safety control module, the functional safety display module outputs the second display information; when the display safety control module determines that the first display information is abnormal based on the comparison information, the display safety control module generates the second display information based on the first CAN communication information, and sends the second display information to the functional safety display module.
[0130] In some optional implementations of the above embodiments, the method also includes: the on-chip system of the cockpit domain master controller sends first display information to the main safety control module; the main safety control module receives the first display information, receives the second CAN communication information, and when verifying that the second CAN communication information passes, generates a comparison result between the second CAN communication information and the first display information, and sends the comparison result to the display safety control module; the display safety control module also receives the comparison result, and when it is determined that the first display information is normal based on the comparison information and the comparison result, generates a first sending instruction, and sends the first sending instruction.
[0131] In some optional implementations of the above embodiments, verifying the first display information includes: verifying the first display information using a preset verification algorithm to obtain an information verification result, the first display information being information protected by the preset verification algorithm; comparing the first display information with pre-stored vehicle driving icon information to obtain a display verification result; and determining whether the verification of the first display information passes based on the information verification result and the display verification result.
[0132] In some optional implementations of the above embodiments, the display safety control module performs at least one of the following: monitoring the status of the display safety control module at startup and periodically monitoring the status of the display safety control module during operation, and resetting the display safety control module when an abnormality is detected; resetting the functional safety display module when an abnormality is detected in the status information of the functional safety display module; shutting down the power supply of the functional safety display module when an abnormality is detected in the over-voltage or under-voltage information of the power supply of the functional safety display module; sending abnormal information to the functional safety display module when at least one of the following abnormalities is detected: CAN communication first information and comparison information.
[0133] In some optional implementations of the above embodiments, the master safety control module performs at least one of the following: monitoring the status of the master safety control module at startup and periodically during operation, and resetting the master safety control module when an abnormality is detected; resetting the system on chip when an abnormality is detected in the status information of the system on chip; shutting down the power supply of the system on chip when an abnormality is detected in the over-voltage or under-voltage information of the power supply of the system on chip; sending the abnormal information to the system on chip when at least one of the following abnormalities is detected: CAN communication second information and comparison results.
[0134] The further functional description of each of the above steps and sub-steps is the same as that of the above corresponding embodiments and will not be repeated here.
[0135] Although the embodiments of the present disclosure have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present disclosure, and such modifications and variations are all within the scope defined by the appended claims.
Claims
1. A device for controlling functional safety of an automobile, characterized in that: The device comprises: a functional safety display module and a display safety control module provided in a cockpit domain display controller; The functional safety display module is used to receive first display information, and when the first display information is verified to pass, send the first display information to the display safety control module; when receiving the first sending instruction returned by the display safety control module, output the first display information; the first display information is the instrument display information sent by the system-on-chip of the cockpit domain main controller; The display safety control module is used to receive the first CAN communication information, generate comparison information between the first CAN communication information and the first display information when verifying that the first CAN communication information passes, and generate the first sending instruction when determining that the first display information is normal based on the comparison information, and send the first sending instruction to the functional safety display module.
2. The device according to claim 1, characterized in that The functional safety display module is further configured to output the second display information upon receiving the second display information returned by the display safety control module; The display safety control module is further configured to generate second display information based on the first CAN communication information when it is determined that the first display information is abnormal based on the comparison information, and send the second display information to the functional safety display module.
3. The device according to any one of claims 1 to 2, characterized in that: The device further comprises: a system on chip and a master safety control module provided in the cockpit domain master controller; The system on chip is used to send the first display information to the main control safety control module; The main control safety control module is used to receive the first display information and the second CAN communication information, generate a comparison result between the second CAN communication information and the first display information when verifying that the second CAN communication information passes, and send the comparison result to the display safety control module; The display safety control module is further used to receive the comparison result, and when it is determined based on the comparison information and the comparison result that the first display information is normal, generate the first sending instruction and send the first sending instruction to the functional safety display module.
4. The device according to claim 1, characterized in that The functional safety display module is further configured to, when verifying the first display information, Verifying the first display information using a preset verification algorithm to obtain an information verification result, wherein the first display information is information protected by the preset verification algorithm; Comparing the first display information with pre-stored vehicle driving icon information to obtain a display verification result; Based on the information verification result and the display verification result, it is determined whether the verification of the first display information passes.
5. The device according to claim 1, characterized in that The display safety control module is further used for at least one of the following: Monitoring the state of the display safety control module at startup and periodically during operation, and resetting the display safety control module when an abnormality is detected; When it is detected that the state information of the functional safety display module is abnormal, resetting the functional safety display module; When the over-voltage or under-voltage information of the power supply of the functional safety display module is detected to be abnormal, the power supply of the functional safety display module is turned off; When at least one of the following abnormalities is detected, abnormal information is sent to the functional safety display module: the first CAN communication information and the comparison information.
6. The device according to claim 3, characterized in that The main safety control module is further used for at least one of the following: Monitoring at startup and periodically monitoring the status of the main safety control module during operation, and resetting the main safety control module when an abnormality is detected; When it is detected that the state information of the system on chip is abnormal, resetting the system on chip; When detecting that the overvoltage or undervoltage information of the power supply of the system on chip is abnormal, shutting down the power supply of the system on chip; When at least one of the following abnormalities is detected, abnormal information is sent to the system on chip: the second CAN communication information and the comparison result.
7. A method for controlling functional safety of an automobile, characterized in that: The method comprises: The functional safety display module receives the first display information, and when the verification of the first display information passes, sends the first display information to the display safety control module; when receiving the first sending instruction returned by the display safety control module, outputs the first display information; the first display information is the instrument display information sent by the system-on-chip of the cockpit domain main controller; The display safety control module receives the first CAN communication information, generates comparison information between the first CAN communication information and the first display information when verifying that the first CAN communication information passes, generates the first sending instruction when determining that the first display information is normal based on the comparison information, and sends the first sending instruction to the functional safety display module; Among them, the functional safety display module and the display safety control module are set in the cockpit domain display controller.
8. The method according to claim 7, characterized in that The method further comprises: The functional safety display module outputs the second display information when receiving the second display information returned by the display safety control module; When the display safety control module determines that the first display information is abnormal based on the comparison information, the display safety control module generates second display information based on the first CAN communication information, and sends the second display information to the functional safety display module.
9. The method according to any one of claims 7-8, characterized in that: The method further comprises: The system on chip of the cockpit domain master controller sends the first display information to the main control safety control module; The main control safety control module receives the first display information and the second CAN communication information, generates a comparison result between the second CAN communication information and the first display information when verifying that the second CAN communication information passes, and sends the comparison result to the display safety control module; The display safety control module also receives the comparison result, generates the first sending instruction when determining that the first display information is normal based on the comparison information and the comparison result, and sends the first sending instruction to the functional safety display module.
10. The method according to claim 7, characterized in that The verifying the first display information includes: Verifying the first display information using a preset verification algorithm to obtain an information verification result, wherein the first display information is information protected by the preset verification algorithm; Comparing the first display information with pre-stored vehicle driving icon information to obtain a display verification result; Based on the information verification result and the display verification result, it is determined whether the verification of the first display information passes.
