In-chip security management system

By designing an in-chip security management system for components such as the APB bus module and alarm signal acquisition module in the automotive chip, the instability and development difficulty of the chip peripheral circuit security management system are solved, and real-time collection and development of internal alarm signals within the chip are achieved. configuration, improving the feasibility and stability of chip functional safety.

CN118607017AInactive Publication Date: 2024-09-06WUXI MOTIONSILICON CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410751272.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-12
Publication Date
2024-09-06
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The existing security management system for automotive chip peripheral circuits increases circuit instability, alarm delays and development difficulties, and cannot realize real-time collection and configuration of alarm signals within the chip.

Method used

Design an on-chip security management system, including APB bus module, alarm signal collection module, alarm processing module, recoverable timer module and FSP module, which can collect and configure alarm signals in real time inside the chip and support alarm actions of different severity configuration, enhancing the security and reliability of the chip.

Benefits of technology

It realizes real-time collection and configuration of alarm signals within the chip, reduces development difficulty and circuit instability, improves the feasibility and stability of chip functional safety, and supports multiple alarm processing scenarios without the need for peripheral hardware and software assistance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118607017A
    Figure CN118607017A
Patent Text Reader

Abstract

The invention relates to the technical field of automobile chip management, and discloses an in-chip safety management system, which comprises an APB bus module used for receiving a system control instruction and parameter register configuration; the alarm signal acquisition module is used for acquiring an alarm signal rising edge and generating an alarm mark; the alarm processing module is used for generating an internal alarm action or an external alarm action on the alarm event according to software set configuration and generating a state mark; the recoverable timer module is used for carrying out redundancy design on a watchdog and ensuring stable response of a watchdog signal; and the FSP module reports crisis conditions to an external safety controller through errorpin so as to control the safety state of the safety system. The system can realize real-time acquisition and configuration of alarm signals of each module in the chip, does not need the assistance of peripheral hardware and software, can configure corresponding alarm actions for alarm signals with different severity degrees only by configuring parameters, and improves the feasibility and stability of chip function safety.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of automobile chip management, and in particular to an in-chip safety management system. Background Art

[0002] In the automotive field, any failure in software and hardware related to functional safety may have serious consequences for personnel, equipment and the environment. When designing products, it is necessary to perform safety management on the hardware fault signals within the chip or the alarm signals generated by the safety mechanism.

[0003] The existing safety management system is implemented by hardware and software development engineers in the chip peripheral circuit. The error signal is filtered and input into the main control chip. The software development engineer designs the corresponding program to process the input signal. This solution requires the addition of peripheral components and program algorithms, which increases the instability of the circuit, alarm delay and development difficulty. Based on this, the present application proposes an on-chip safety management system to solve the above problems. Summary of the invention

[0004] 1. Technical issues to be solved

[0005] In view of the shortcomings of the prior art, the present invention provides an on-chip security management system, which can realize the real-time collection and configuration of alarm signals of various modules inside the chip, without the assistance of peripheral hardware and software, and can configure corresponding alarm actions for alarm signals of different severity only by configuring parameters. The programmability of various internal security mechanisms for alarm events makes the chip's security design extremely safe and reliable.

[0006] (II) Technical solution

[0007] To achieve the above object, the present invention provides the following technical solution: an on-chip security management system, the system is a security management unit, which is a central hardware module, including:

[0008] APB bus module, used to receive system control instructions and parameter register configuration;

[0009] An alarm signal acquisition module is used to collect the rising edge of the alarm signal and generate an alarm sign;

[0010] The alarm processing module is used to generate internal alarm actions or external alarm actions for alarm events according to the software's established configuration and generate status flags;

[0011] Recoverable timer module is used for redundant design of watchdog to ensure stable response of watchdog signal;

[0012] The FSP module reports the crisis situation to the external safety controller through errorp in order to control the safety status of the safety system;

[0013] The standby domain SMU is used to collect the standby domain alarm signals and the alive signals generated by the internal self-check program when an internal error is detected, and process the signals.

[0014] Preferably, the security management unit is used to collect alarm signals generated by alarm sources or security mechanisms of various modules inside the chip, and the severity of each alarm signal and the alarm action response can be configured with internal alarm action or external alarm action FSP according to the needs of the application.

[0015] Preferably, the alarm action includes CPU interrupt, non-maskable interrupt, CPU reset, system reset and port emergency stop, and the external alarm action FSP is to generate a fault signaling protocol through errorp in.

[0016] Preferably, a state machine is provided inside the alarm processing module, and the working process is as follows:

[0017] The power-on initialization is in the START state by default. In this state, fault injection can be performed by software to test whether the chip functions normally. Under the control of software instructions, the state machine enters the RUN state, in which the alarm signal is monitored in real time. When an alarm signal is detected, it switches to the FAULT state, updates the alarm flag, and activates external or internal actions according to the alarm configuration set by the software.

[0018] Preferably, the standby domain SMU includes an alarm signal acquisition module and an alarm processing module, and the working process is as follows:

[0019] When an internal error is detected, the internal self-test program generates an alive signal to the backup domain SMU. The alive signal and the backup domain alarm signal are input together into the backup domain alarm signal acquisition module to generate an alarm flag. The alarm processing module generates a control signal to the port according to the alarm configuration parameters.

[0020] Another technical problem to be solved by the present invention is to provide a method for performing security management in a chip using the above system, comprising the following steps:

[0021] S1, APB bus module configures alarm parameters. When the alarm signal comes, the alarm signal acquisition module captures the rising edge of the alarm signal and generates an alarm flag, which is sent to the recoverable timer module and the alarm processing module;

[0022] S2, the recoverable timer starts the timer after receiving the alarm flag bit, and generates a timer timeout alarm flag after overflow, and the timeout alarm flag is input into the alarm processing module together with the alarm flag generated by the alarm signal acquisition module;

[0023] S3, the alarm processing module executes the corresponding alarm action according to the alarm configuration parameters;

[0024] S4. At the same time, when the internal self-test program detects an internal error, it generates an alive signal to the backup domain SMU. The alive signal and the backup domain alarm signal are input into the backup domain alarm signal acquisition module together to generate an alarm flag. The alarm processing module generates a control signal to the port according to the alarm configuration parameters.

[0025] Preferably, the APB bus module configures alarm parameters including alarm enable and alarm action, and the alarm processing module performs corresponding alarm actions according to the alarm configuration parameters, including:

[0026] The FSP module generates an errorp in port signal; the system control unit generates an interrupt and reset control signal.

[0027] (III) Beneficial effects

[0028] Compared with the prior art, the present invention provides an in-chip security management system, which has the following beneficial effects:

[0029] This system can perform real-time sampling and online configuration of each alarm signal, which greatly reduces the design difficulty and circuit instability of application developers, and supports self-configuration of alarm actions, which greatly increases the program flexibility of application developers when designing solutions. It is suitable for a variety of alarm processing scenarios and meets the needs of various scenarios. It does not require peripheral hardware and software assistance. It only needs to configure parameters to configure corresponding alarm actions for alarm signals of different severities. The programmability of various internal security mechanisms for alarm events makes the chip's security design extremely safe and reliable, improves the feasibility and stability of chip functional safety, increases the diversity of chip alarm configurations, reduces the development difficulty of chip application engineers, and reduces the cost of chip functional safety design. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] Figure 1 It is a system framework diagram of the present invention;

[0031] Figure 2 This is a system framework diagram of the security management unit of the present invention;

[0032] Figure 3 This is a framework diagram of the standby domain SMU system of the present invention. DETAILED DESCRIPTION

[0033] The following will be combined with the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0034] See also Figure 1 , a chip security management system, the system is a security management unit, which is a central hardware module, used to collect alarm signals generated by alarm sources or security mechanisms of various modules inside the chip. The severity of each alarm signal and the alarm action response can be configured with internal alarm actions or external alarm actions FSP according to the needs of the application. Among them, the alarm actions include CPU interrupt, non-maskable interrupt, CPU reset, system reset and port emergency stop. The external alarm action FSP is to generate a fault signaling protocol through errorp in.

[0035] The security management unit contains APB bus module, alarm signal acquisition module, alarm processing module, recoverable timer module and FSP module. The APB bus module is used to receive system control instructions and parameter register configuration; the alarm signal acquisition module is used to collect the rising edge of the alarm signal and generate an alarm flag; the alarm processing module is used to generate internal alarm actions or external alarm actions for alarm events according to the software configuration and generate a series of status flags; the recoverable timer module is used for the redundant design of the watchdog to ensure the stable response of the watchdog signal; the FSP module reports the crisis situation to the external safety controller through errorp in, so as to control the safety status of the safety system.

[0036] In addition, the system of the present invention further comprises a standby domain SMU, which is used to collect the standby domain alarm signal and the alive signal generated by the internal self-checking program when an internal error is detected, and process the signal.

[0037] See also Figure 2 , the cooperation during work is as follows:

[0038] The APB bus module configures alarm parameters, including alarm enable and alarm action. When the alarm signal comes, the alarm signal acquisition module captures the rising edge of the alarm signal and generates an alarm flag, which is sent to the recoverable timer module and the alarm processing module; the recoverable timer starts the timer after receiving the alarm flag, and generates a timer timeout alarm flag after overflow, which is input into the alarm processing module together with the alarm flag generated by the alarm signal acquisition module; the alarm processing module performs corresponding alarm actions according to the alarm configuration parameters: generates an errorpin port signal to the FSP module; generates an interrupt and reset control signal to the system control unit; at the same time, the internal self-test program generates an alive signal to the backup domain SMU when an internal error is detected, and the alive signal and the backup domain alarm signal are input into the backup domain alarm signal acquisition module together to generate an alarm flag, and the alarm processing module generates a control signal according to the alarm configuration parameters and gives it to the port.

[0039] See also Figure 3 The alarm processing module contains a state machine, and the working process is as follows: the default state of power-on initialization is START, in which the software can perform fault injection to test whether the chip functions normally. Under the control of software instructions, the state machine enters the RUN state, in which the alarm signal is monitored in real time. When an alarm signal is detected, it switches to the FAULT state, updates the alarm flag, and activates external actions or internal actions according to the alarm configuration set by the software.

[0040] This system can perform real-time sampling and online configuration of each alarm signal, which greatly reduces the design difficulty and circuit instability of application developers, and supports self-configuration of alarm actions, which greatly increases the program flexibility of application developers when designing solutions. It is suitable for a variety of alarm processing scenarios and meets the needs of various scenarios. It does not require peripheral hardware and software assistance. It only needs to configure parameters to configure corresponding alarm actions for alarm signals of different severities. The programmability of various internal security mechanisms for alarm events makes the chip's security design extremely safe and reliable, improves the feasibility and stability of chip functional safety, increases the diversity of chip alarm configurations, reduces the development difficulty of chip application engineers, and reduces the cost of chip functional safety design.

[0041] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.

Claims

1. A chip security management system, characterized in that: The system is a security management unit, which is a central hardware module, including: APB bus module, used to receive system control instructions and parameter register configuration; An alarm signal acquisition module is used to collect the rising edge of the alarm signal and generate an alarm sign; The alarm processing module is used to generate internal alarm actions or external alarm actions for alarm events according to the software's established configuration and generate status flags; Recoverable timer module is used for redundant design of watchdog to ensure stable response of watchdog signal; FSP module, which reports the crisis situation to the external safety controller through the errorpin in order to control the safety status of the safety system; The standby domain SMU is used to collect the standby domain alarm signals and the alive signals generated by the internal self-test program when an internal error is detected, and process the signals.

2. The on-chip security management system according to claim 1, characterized in that: The security management unit is used to collect alarm signals generated by alarm sources or security mechanisms of various modules inside the chip. The severity of each alarm signal and the alarm action response can be configured with internal alarm action or external alarm action FSP according to the needs of the application.

3. The on-chip security management system according to claim 2, characterized in that: The alarm actions include CPU interrupt, non-maskable interrupt, CPU reset, system reset and port emergency stop, and the external alarm action FSP is to generate a fault signaling protocol through errorpin.

4. The on-chip security management system according to claim 3, characterized in that: The alarm processing module is internally provided with a state machine, and the working process is as follows: The power-on initialization is in the START state by default. In this state, fault injection can be performed by software to test whether the chip functions normally. Under the control of software instructions, the state machine enters the RUN state, in which the alarm signal is monitored in real time. When an alarm signal is detected, it switches to the FAULT state, updates the alarm flag, and activates external or internal actions according to the alarm configuration set by the software.

5. The on-chip security management system according to claim 3, characterized in that: The standby domain SMU includes an alarm signal acquisition module and an alarm processing module, and the working process is as follows: When an internal error is detected, the internal self-check program generates an alive signal to the backup domain SMU. The alive signal and the backup domain alarm signal are input together into the backup domain alarm signal acquisition module to generate an alarm flag. The alarm processing module generates a control signal to the port according to the alarm configuration parameters.

6. A method for performing security management in a chip using the system according to any one of claims 1 to 5, characterized in that: The following steps are involved: S1, APB bus module configures alarm parameters. When the alarm signal comes, the alarm signal acquisition module captures the rising edge of the alarm signal and generates an alarm flag, which is sent to the recoverable timer module and the alarm processing module; S2, the recoverable timer starts the timer after receiving the alarm flag bit, and generates a timer timeout alarm flag after overflow, and the timeout alarm flag is input into the alarm processing module together with the alarm flag generated by the alarm signal acquisition module; S3, the alarm processing module executes the corresponding alarm action according to the alarm configuration parameters; S4. At the same time, the internal self-test program generates an alive signal to the backup domain SMU when an internal error is detected. The alive signal and the backup domain alarm signal are input together into the backup domain alarm signal acquisition module to generate an alarm flag. The alarm processing module generates a control signal to the port according to the alarm configuration parameters.

7. The method according to claim 6, characterized in that The APB bus module configures alarm parameters including alarm enable and alarm action, and the alarm processing module performs corresponding alarm actions according to the alarm configuration parameters including: The errorpin port signal is given to the FSP module; the interrupt and reset control signals are given to the system control unit.

Citation Information

Patent Citations

  • Chip-based alarm signal detection method and device

    CN115932548A

  • Vehicle gauge chip early warning method

    CN116737516A