Data calculation method and system for safety air bag ignition

By building a hardware data calculation module in the airbag system, the problem of airbags failing to deploy in a timely manner due to MCU calculation time and SPI bus instability was solved, achieving faster and more reliable airbag ignition decisions.

CN121808174APending Publication Date: 2026-04-07WUXI GUOXINWEI HIGH-TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-01-15
Publication Date
2026-04-07

AI Technical Summary

Technical Problem

Existing airbag ignition systems suffer from time-consuming MCU calculations and unstable SPI bus communication, which prevents airbags from deploying in a timely manner, affecting occupant safety and system reliability.

Method used

The acceleration data analysis task is transferred from the MCU software level to a dedicated hardware data computing module. By building a hardware accelerator for high-speed computing and data management, the timeliness and reliability of airbag ignition decisions are ensured.

Benefits of technology

It significantly shortens the response time from the occurrence of a collision to the issuance of the ignition command, improves the response speed and reliability of the airbag system, and reduces the risk of ignition failure due to software failure or bus problems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121808174A_ABST
    Figure CN121808174A_ABST
Patent Text Reader

Abstract

The invention relates to a data calculation method and system for safety air bag ignition, and relates to the field of safety air bag ignition. The method is based on an MCU (Microprogrammed Control Unit) and an airbag ignition chip, and comprises the following steps: constructing a data calculation module which can be operated on hardware according to the MCU; acquiring and storing acceleration data; the data calculation module is used for analyzing the acceleration data to obtain a data analysis result, and an ignition command is sent to the air bag ignition chip according to the data analysis result. The technical effects of the application are as follows: the data calculation module which can be operated on hardware is constructed to ensure that the safety air bag is exploded in time, the acceleration data is calculated in the data calculation module to reduce the load of the MCU, and the occupancy rate of the SPI bus used for transmitting data between the MCU and the air bag ignition chip is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of airbag ignition, and in particular to data calculation methods and systems for airbag ignition. Background Technology

[0002] The airbag ignition control chip needs to receive data from the accelerometer and evaluate the acceleration data to determine if any acceleration anomalies have occurred. If an acceleration anomaly has occurred, the airbag needs to be activated. After the main control MCU obtains the acceleration data via the SPI bus, it uses an algorithm to determine if a collision has occurred. If a collision has occurred, it sends an ignition command to deploy the airbag. This process requires the airbag to be activated first before the ignition command is received; otherwise, the airbag will not deploy.

[0003] The acceleration anomaly detection module in the airbag ignition control chip generates airbag activation information. Once the MCU sends an ignition command via the SPI bus, it drives the ignition power stage MOSFET to ignite the airbag module.

[0004] Current technology relies on an ignition command from an MCU for final ignition, and since the MCU is software-operated, calculating and comparing multiple acceleration values ​​is time-consuming. If the data cannot be processed in time, or if there is a problem with the SPI bus, the airbag may not be able to deploy in time. Summary of the Invention

[0005] To make airbag ignition more sensitive, this application provides a data calculation method and system for airbag ignition.

[0006] In a first aspect, this application provides a data calculation method for airbag ignition, employing the following technical solution: A data computing module capable of running on hardware is constructed based on the MCU; Acquire and store acceleration data; The acceleration data is analyzed using the data calculation module to obtain data analysis results, and an ignition command is sent to the airbag ignition chip based on the data analysis results.

[0007] Through the above technical solution, this application transfers the critical acceleration data analysis task from the MCU software level to a dedicated hardware module. The hardware data calculation module can complete the calculation and analysis of acceleration data at a speed far exceeding that of software execution; for example, it can complete all necessary judgments within milliseconds. This hardware-accelerated processing significantly shortens the response time from the occurrence of a collision to the issuance of the ignition command, thus effectively solving the problem in existing technologies where time-consuming calculations may lead to the airbag failing to deploy in a timely manner. Furthermore, the operational stability of the hardware module is generally higher than that of software, reducing the risk of ignition failure due to software faults or bus problems, further improving the reliability of the airbag system.

[0008] In one specific implementation scheme, the data computing module built based on the MCU and capable of running on hardware includes: Construct a constant storage unit based on the preset acceleration constant; The abnormal judgment code of the MCU is analyzed to obtain data operation, and an arithmetic operation unit that can be run on hardware is constructed based on the data operation; The MCU's exception detection code is parsed to obtain logical operation operations. Based on the logical operation operations, a logical operation unit and an ignition control unit that can run on hardware are constructed. The logical operation unit includes a conversion unit and a logical operation subunit. A data computing module capable of running on hardware is constructed based on the constant storage unit, the arithmetic operation unit, the logic operation unit, and the ignition control unit.

[0009] Through the aforementioned technical solution, this application deeply analyzes the code used for anomaly detection in the MCU, extracting the acceleration constants, data operation operations, and logical operation operations involved, and constructing a dedicated hardware unit accordingly. This method of constructing a hardware module based on MCU code analysis ensures that the data calculation module can accurately reproduce the MCU's judgment logic. Furthermore, because it is implemented in hardware, its processing speed and real-time performance far exceed those of software execution, effectively solving the problem of efficiently converting complex MCU logic into hardware. The data calculation module constructed in this way can act as an independent hardware accelerator, receiving acceleration data and quickly outputting ignition commands, greatly improving the response speed and reliability of the airbag system.

[0010] In one specific implementation, the MCU and the airbag ignition chip transmit data via an SPI bus, and the acquisition and storage of acceleration data includes: The local acceleration data is obtained using the acceleration sensor control module of the airbag ignition chip; An SPI monitoring unit is added to the airbag ignition chip to monitor the SPI bus and obtain cloud acceleration data. A data storage module is constructed to classify and store the local acceleration data and the cloud acceleration data into the data storage module and record the acceleration data storage address. The data storage module includes acceleration data storage addresses corresponding to several acceleration data generated by different accelerometers at different times.

[0011] Through the above technical solution, this application enables comprehensive and efficient acquisition and management of multi-source acceleration data. The airbag ignition chip can not only directly acquire local acceleration data but also capture cloud-based acceleration data from other systems via the SPI listening unit, greatly expanding the scope of data acquisition. This data is categorized and stored with its storage address recorded, providing a structured and easily accessible data foundation for subsequent data calculation modules. This data acquisition and management mechanism allows the data calculation module to comprehensively consider acceleration information from different locations and time points when making anomaly judgments and ignition decisions, thereby significantly improving the accuracy and robustness of ignition decisions. It effectively avoids misjudgments or omissions caused by a single data source or chaotic data management, ultimately enhancing the overall performance and safety of the airbag system.

[0012] In one specific implementation, the step of using the data calculation module to analyze the acceleration data and obtain data analysis results includes: The target configuration information of the arithmetic operation unit is obtained by analyzing the anomaly judgment code. The target configuration information includes target data, target data operation, and target operation process. The target data includes target acceleration data and target constant data. The target storage address of the target acceleration data is queried in the data storage module, the index address of the target constant data is queried in the constant storage unit, and the operation expression is configured according to the target data operation. In the arithmetic operation unit, the arithmetic operation result is obtained by performing hardware operations according to the target operation flow based on the target storage address, the index address, and the configured operation expression. In the logic operation unit, logical operations are performed on the arithmetic operation result to obtain the logical operation result; Analyzing the anomaly detection code yields ignition detection configuration information, which includes ignition detection logic operation and ignition detection logic operation flow. Configure the ignition judgment expression according to the ignition judgment logic operation; In the ignition control unit, the ignition judgment expression is summarized, and several logical operation results are analyzed according to the ignition judgment logic operation process to obtain data analysis results. The data analysis results are expressed in the form of true and false.

[0013] Through the above technical solution, this application can efficiently and accurately transform the logic defined by the complex exception judgment code in the MCU into an operational flow that can be directly executed by the hardware data calculation module. By parsing the exception judgment code twice, respectively for configuring arithmetic operations and the final ignition decision, a high degree of consistency between the hardware execution logic and the original software logic of the MCU is ensured. Combined with the pre-built arithmetic operation unit, logic operation unit, and ignition control unit, as well as the efficient data storage module, this solution realizes real-time, hardware-accelerated analysis of massive acceleration data. This significantly reduces the computational burden on the MCU, avoids the delays and uncertainties that may be caused by software execution, thereby ensuring the timeliness and accuracy of airbag ignition decisions and greatly improving the response speed and reliability of the airbag system.

[0014] In one specific implementation, the step of performing logical operations on the arithmetic operation result in the logical operation unit to obtain the logical operation result includes: The anomaly detection code is analyzed to obtain the target data conversion operation of the conversion unit, and a conversion expression is configured according to the target data conversion operation; In the conversion unit, a conversion result is obtained based on the arithmetic operation result and the conversion expression, and the conversion result can be expressed as true or false. The anomaly detection code is analyzed to obtain the target logical operation of the logical operation subunit, and the logical operation expression is configured according to the target logical operation. In the logic operation subunit, a logic operation result is obtained based on the conversion result and the logic operation expression. The logic operation result can be expressed as true or false.

[0015] By employing the aforementioned technical solution, the complex logical judgment process is decomposed into two independent stages: data conversion and logical operation. This allows the logic parsed from the MCU's exception handling code to be mapped more accurately to the hardware execution flow. This layered processing mechanism not only simplifies hardware design and reduces implementation difficulty but also enables the system to respond more accurately and quickly to changes in vehicle status. Consequently, it provides a more reliable and precise basis for airbag ignition decisions, significantly improving the response accuracy and safety of the airbag system.

[0016] In one specific implementation, after obtaining the logical operation result based on the conversion result and the logical operation expression in the logical operation subunit, the method further includes: An interrupt control module is constructed between the MCU and the data computing module; Determine whether the result of the logical operation is true; If the result of the logical operation is true, an interrupt signal is sent to the MCU through the interrupt control module; After obtaining data analysis results by summarizing and analyzing several logical operation results based on the ignition judgment expression in the ignition control unit, the method further includes: Determine whether the data analysis result is true; If the result of the logical operation is true, an interrupt signal is sent to the MCU through the interrupt control module.

[0017] Through the above technical solution, the MCU in this application passively receives critical event notifications via an interrupt mechanism. This significantly reduces the MCU's computational burden and power consumption, improving system operating efficiency. More importantly, this mechanism ensures that the MCU can respond at the fastest speed in emergency situations, thereby greatly improving the real-time performance and safety of the airbag system and effectively avoiding risks that may arise from response delays.

[0018] In one specific implementation scheme, the step of sending an ignition command to the airbag ignition chip based on the data analysis results and the MCU includes: The anomaly detection code was analyzed to obtain the initial conditions for airbag activation and airbag ignition. Obtain additional conditions for airbag activation and airbag ignition; The airbag activation conditions are obtained by summarizing the initial conditions for airbag activation and the additional conditions for airbag activation; the airbag ignition conditions are obtained by summarizing the ignition conditions for airbag activation and the additional conditions for airbag ignition. Analyze the results of several logical operations to determine whether the acceleration data meets the airbag activation condition and the airbag ignition condition; If the acceleration data simultaneously meets the airbag activation condition and the airbag ignition condition, then an ignition command is sent to the airbag ignition chip.

[0019] Through the above technical solution, this application controls the activation and ignition of the airbag based on the data analysis results of several logical operations, which greatly improves the safety and reliability of the airbag system and ensures that the airbag can be deployed in a timely and accurate manner when it is really needed.

[0020] Secondly, this application provides a data calculation system for airbag ignition, employing the following technical solution: the system includes: A data computing module construction module is used to construct a data computing module that can run on hardware based on the MCU; The data acquisition and storage module is used to acquire and store acceleration data, and to analyze the acceleration data using the data calculation module to obtain data analysis results; The data analysis module is used to send an ignition command to the airbag ignition chip based on the data analysis results.

[0021] Thirdly, this application provides a computer device that adopts the following technical solution: it includes a memory and a processor, wherein the memory stores a computer program that can be loaded by the processor and executed as described above for a data calculation method for airbag ignition.

[0022] Fourthly, this application provides a computer-readable storage medium, which adopts the following technical solution: storing a computer program that can be loaded by a processor and executed as described above for a data calculation method for airbag ignition.

[0023] In summary, this application has the following beneficial technical effects: This application transfers the critical acceleration data analysis task from the MCU software level to a dedicated hardware module. The hardware data calculation module can perform acceleration data calculation and analysis at a speed far exceeding that of software execution; for example, it can complete all necessary judgments within milliseconds. This hardware-accelerated processing significantly shortens the response time from the occurrence of a collision to the issuance of the ignition command, effectively solving the problem in existing technologies where time-consuming calculations may lead to airbags failing to deploy in a timely manner. Simultaneously, the calculation of acceleration data in the data calculation module reduces the load on the MCU, lowering the occupancy rate of the SPI bus used for data transmission between the MCU and the airbag ignition chip. Furthermore, the operational stability of the hardware module is generally higher than that of software, reducing the risk of ignition failure due to software faults or bus problems, further improving the reliability of the airbag system. Attached Figure Description

[0024] Figure 1 This is a schematic diagram of the airbag ignition control system of this application.

[0025] Figure 2 This is a flowchart of a data calculation method for airbag ignition in an embodiment of this application.

[0026] Figure 3 This describes the calculation process of the data calculation module.

[0027] Figure 4 and Figure 5 This is the overall structural block diagram of the data computing module.

[0028] Figure 6 This is a diagram illustrating an actual operation of an arithmetic unit.

[0029] Figure 7 It is the configuration expression for the arithmetic operation unit.

[0030] Figure 8 It is a transformation expression.

[0031] Figure 9 This is the structure of an embodiment of a logic operation subunit.

[0032] Figure 10 It is the configuration expression of the logical operation subunit.

[0033] Figure 11 This is an example diagram of the ignition control unit implementation.

[0034] Figure 12 This is a structural block diagram of a data calculation method for airbag ignition in an embodiment of this application.

[0035] Figure reference numerals: 1201, Data calculation module construction module; 1202, Data acquisition and storage module; 1203, Data analysis module. Detailed Implementation

[0036] The following is in conjunction with the appendix Figures 1-12 This application will be described in further detail.

[0037] This application discloses a data calculation method for airbag ignition, which is used to improve the sensitivity of airbag ignition.

[0038] In traditional airbag control systems, the ignition control process relies on the main control MCU to process acceleration sensor data through software algorithms and transmit ignition commands via the SPI bus. The MCU needs to perform calculations and comparisons on multiple acceleration values ​​to determine a collision event, a process that introduces processing delays due to the nature of software execution. Furthermore, the reliability of SPI bus communication is affected by interference from the vehicle's electrical environment, potentially leading to data transmission interruptions. Consequently, the timeliness of acceleration anomaly detection and ignition command generation is constrained, resulting in a prolonged airbag system response time, which in turn affects the system's real-time performance and operational reliability.

[0039] For example, in a frontal collision at high speed, the acceleration sensor detects rapidly changing acceleration data. The main control MCU is scheduled to execute an anomaly detection algorithm, but due to computational resource consumption and multitasking requirements, the data processing cycle is prolonged. Simultaneously, electromagnetic interference from the vehicle's powertrain causes SPI bus communication anomalies, preventing the ignition command from being transmitted to the airbag ignition chip in a timely manner. In this scenario, the dependency between airbag activation information generation and ignition command transmission is disrupted, preventing the system from completing the ignition operation within the critical time window of the collision event, thus weakening the effectiveness of occupant protection.

[0040] If the above issues are not resolved, the airbag ignition process may be interrupted due to MCU processing delays or bus communication failures, resulting in missed ignition timing. Furthermore, system reliability will decrease, failing to ensure timely airbag deployment in emergency collisions, thereby increasing occupant safety risks and making it difficult to meet automotive safety standards regarding response characteristics.

[0041] Therefore, this application proposes an airbag ignition method to ensure timely airbag deployment.

[0042] like Figure 1 The diagram shown is a schematic of the airbag ignition control system of this application. The following is a detailed description: An accelerometer is a device that converts the acceleration of an object into an electrical signal (such as voltage, current, or digital signal) based on physical mechanisms such as inertial principles or piezoelectric effect. Airbag modules are a core component of automotive safety systems, responsible for rapidly inflating to form a buffer layer during a collision and reducing occupant injury. They achieve precise triggering through the coordinated work of sensors, control units, and gas generators, forming a collaborative protection mechanism with seat belts, and also possess fault diagnosis and intelligent linkage functions. The SPI bus is a high-speed, full-duplex, synchronous serial communication protocol in which the master and slave devices communicate through four signal lines. It is widely used in embedded systems and peripheral devices. The airbag ignition chip consists of an acceleration sensor control module, a data frame parsing and packaging module, an acceleration anomaly detection module, an ignition power stage MOSFET, an SPI monitoring unit, and an SPI slave device. The acceleration sensor control module can be understood as a hardware unit used to collect vehicle acceleration information, which can be implemented using a MEMS acceleration sensor or a piezoelectric acceleration sensor. The function of the acceleration anomaly detection module can be implemented through a preset threshold comparison algorithm, such as setting upper and lower limits for the rate of change of acceleration and comparing them with the collected data to determine whether an anomaly has occurred. The encapsulation process of SPI data in the data frame parsing and encapsulation module can be implemented in various ways, such as packaging acceleration data according to a fixed frame format, or adding a check field to the data packet to ensure transmission reliability; the parsing process of SPI data can be implemented using various algorithms, such as data integrity verification based on CRC check, or secondary processing of acceleration data through multi-level filtering algorithms; An SPI listening unit is a device that passively captures data signals on the SPI bus and does not actively participate in the communication process. It collects data streams between master and slave devices in real time and is commonly used for protocol analysis, fault diagnosis, or data logging. For example, during the debugging phase, the listening unit can record raw data between sensors and the main control chip to help verify the consistency of the communication protocol. This device must have high impedance input characteristics to avoid interfering with the normal operation of the bus. Ignition power stage MOSFETs are high-power metal-oxide-semiconductor field-effect transistors used in ignition systems.

[0043] The data storage module separates data storage from the accelerometer sensor control module and adds a data source from the SPI listening unit to support local sensor data storage as well as storage of data from other sensors on the SPI bus. Other sensor data includes onboard accelerometer sensors, accelerometer sensors mounted on other airbag control ignition chips, and any other sensors mounted on the SPI bus (requiring the listening unit to support data storage, which can be parsed from data frames).

[0044] The data calculation module uses data such as acceleration and pressure sensor data to perform precise calculations and maps the results to each ignition circuit. It can generate ignition circuit activation signals and ignition signals, or simply return the calculation results via an interrupt. When the MCU is configured to allow automatic ignition, the corresponding airbag will automatically deploy based on the results.

[0045] The interrupt control module allows the MCU to obtain the calculation result via the SPI bus when the calculation is completed, and it also supports notifying the MCU via interrupt.

[0046] like Figure 2 As shown, the method includes: S10 is a data computing module built based on the MCU that can run on hardware.

[0047] Specifically, a microcontroller unit (MCU) typically refers to an integrated circuit chip that integrates a processor core, memory, and programmable input / output peripherals to perform specific control functions. In this embodiment, the MCU is responsible for providing the basic information needed to build the data computing module and may participate in the final ignition command transmission.

[0048] A data computing module can be a dedicated hardware circuit, such as a custom ASIC (Application-Specific Integrated Circuit), whose internal logic and arithmetic units are hard-coded according to the software MCU code to perform specific data processing tasks. Alternatively, a data computing module can be a programmable logic device (such as an FPGA), whose logic gates and interconnect resources are configured according to the software MCU code to implement the required computing functions. By building the data computing module as hardware, high-speed and deterministic data processing can be ensured, avoiding the latency and uncertainty that may be introduced by software execution.

[0049] S20: Acquire and store acceleration data.

[0050] Specifically, acceleration data can be acquired through acceleration sensors integrated inside the vehicle, which monitor changes in vehicle acceleration in real time. The acquired acceleration data can be stored in a high-speed cache or dedicated memory, i.e., a data storage module, for fast access by the data processing module.

[0051] S30 uses the data calculation module to analyze acceleration data to obtain data analysis results, and sends an ignition command to the airbag ignition chip based on the data analysis results.

[0052] Specifically, after receiving the stored acceleration data, the data calculation module processes the data according to preset algorithms and logic. For example, this module can calculate parameters such as the peak value, duration, and rate of change of acceleration, and compare them with preset thresholds. The data analysis results are usually expressed as Boolean values, such as "true" indicating that ignition is required and "false" indicating that ignition is not required.

[0053] The data analysis results are used to determine whether to send an ignition command to the airbag ignition chip. If the data analysis indicates that ignition is required, a specific ignition command signal will be generated and transmitted to the airbag ignition chip. For example, if the calculation results show that both the peak value and duration of acceleration reach a preset collision threshold, the data analysis result is "true"; otherwise, if the threshold is not reached, the result is "false".

[0054] This application transfers the critical acceleration data analysis task from the MCU software level to a dedicated hardware module. The hardware data calculation module can perform acceleration data calculation and analysis at a speed far exceeding that of software execution; for example, it can complete all necessary judgments within milliseconds. This hardware-accelerated processing significantly shortens the response time from the occurrence of a collision to the issuance of the ignition command, thus effectively solving the problem in existing technologies where time-consuming calculations may lead to airbags failing to deploy in a timely manner. Furthermore, the operational stability of the hardware module is generally higher than that of software, reducing the risk of ignition failure due to software faults or bus problems, further improving the reliability of the airbag system.

[0055] In one embodiment, to ensure timely airbag deployment, the step of constructing a data calculation module based on the MCU that can run on hardware can be specifically executed as follows: A constant storage unit is constructed based on a preset acceleration constant; data operation operations are obtained by parsing the MCU's exception handling code, and an arithmetic operation unit that can run on the hardware is constructed based on the data operation operations; logical operation operations are obtained by parsing the MCU's exception handling code, and a logic operation unit and an ignition control unit that can run on the hardware are constructed based on the logical operation operations. The logic operation unit includes a conversion unit and a logic operation subunit; a data calculation module that can run on the hardware is constructed based on the constant storage unit, the arithmetic operation unit, the logic operation unit, and the ignition control unit.

[0056] Specifically, such as Figure 3 The diagram shows the calculation flow of the data calculation module. The data calculation module consists of five units: a constant storage unit, an arithmetic operation unit, a logic operation unit, and an ignition control unit.

[0057] like Figure 4 and Figure 5 The diagram shows the overall structure of the data calculation module. Acceleration constants refer to preset, fixed values ​​in the airbag ignition judgment logic that do not change with real-time data, such as trigger thresholds, time delay parameters, and calibration coefficients. The constant storage unit is a dedicated hardware module for storing these preset constants, providing stable and quickly accessible reference values ​​for subsequent arithmetic and logical operations.

[0058] The arithmetic operation unit (ALU) is used to perform arithmetic operations. Its design concept is based on the fact that the MCU's exception handling code contains mathematical operation logic for processing acceleration data, such as summation, subtraction, multiplication, division, averaging, integration, and filtering. The ALU is a dedicated hardware circuit designed and implemented based on these parsed data operations to efficiently execute these mathematical calculations.

[0059] The logic operation unit and ignition control unit are constructed based on the MCU's exception handling code, which also includes logical judgments based on arithmetic operation results, such as Boolean operations like greater than, less than, equal to, AND, OR, and NOT. The logic operation unit is a hardware module built based on these logical operations, used to execute these judgments and convert arithmetic operation results into logical true or false values. The conversion unit can be a hardware comparator that compares the value with a threshold and outputs true or false. The logic operation subunit can consist of multiple gate circuits, performing operations such as "A AND B" or "C OR D". The ignition control unit is responsible for generating the ignition command (whether to ignite or not) based on the final logical judgment result.

[0060] The data processing module is a unified hardware circuit integrating a constant storage unit, an arithmetic operation unit, a logic operation unit, and an ignition control unit. Its function is to act as an independent, efficient hardware accelerator, replacing the MCU in executing complex airbag ignition decision logic, thereby reducing the MCU's workload and improving response speed and reliability.

[0061] This application involves in-depth analysis of the anomaly detection code in the MCU, extracting the acceleration constants, data processing operations, and logical operations involved, and constructing a dedicated hardware unit based on these extractions. This method of constructing a hardware module based on MCU code analysis ensures that the data calculation module can accurately reproduce the MCU's judgment logic. Furthermore, because it is implemented in hardware, its processing speed and real-time performance far exceed those of software execution, effectively solving the problem of efficiently converting complex MCU logic into hardware. The data calculation module constructed in this way can function as an independent hardware accelerator, receiving acceleration data and quickly outputting ignition commands, significantly improving the response speed and reliability of the airbag system.

[0062] In one embodiment, to ensure timely airbag deployment, the MCU and airbag ignition chip transmit data via the SPI bus. The specific steps for acquiring and storing acceleration data can be as follows: The accelerometer sensor control module of the airbag ignition chip is used to acquire local acceleration data; an SPI listening unit is added to the airbag ignition chip to listen to the SPI bus and obtain cloud acceleration data; a data storage module is constructed to classify and store local acceleration data and cloud acceleration data into the data storage module and record the acceleration data storage address. The data storage module includes the acceleration data storage address corresponding to several acceleration data generated by different accelerometers at different times.

[0063] Specifically, the accelerometer sensor control module inside the airbag ignition chip is responsible for directly acquiring local acceleration data from local sensors, ensuring real-time perception of local collision information. Meanwhile, to obtain more comprehensive vehicle motion status information, the airbag ignition chip integrates an SPI monitoring unit. This device can passively monitor the data stream on the SPI bus, thereby capturing cloud-based acceleration data sent by the MCU or other systems.

[0064] For example, when a vehicle collision occurs, the acceleration sensor control module inside the airbag ignition chip reads local acceleration data in real time from its integrated MEMS acceleration sensor (e.g., a triaxial accelerometer). Simultaneously, the MCU may acquire acceleration data from sensors at other locations on the vehicle (e.g., the front or side of the vehicle) and periodically transmit this data via the SPI bus. The SPI monitoring unit in the airbag ignition chip continuously monitors data frames on the SPI bus, capturing any cloud-based acceleration data packets that conform to a preset format.

[0065] like Figure 4 As shown, the data storage module consists of a shift register storage array and a data classification module. For example, the storage array has 64 channels, each with a width of 16 bits and a depth of 16. It can store the current data and 15 historical data entries. New data is stored upon arrival and automatically shifted.

[0066] The data classification module categorizes the sensor data from the monitored SPI bus and the PSI5 accelerometer data controlled by the airbag ignition chip, storing them according to the configuration into the corresponding storage array channels. Simultaneously, the data classification module needs to acquire the synchronization pulse signal from the PSI5 bus. Data acquired outside a specified time window is masked. When the time window expires, the data is checked; if no new data arrives in the corresponding channel, one or more lost data flags are written according to the configuration. Then, a start calculation signal is generated, and each calculation unit begins calculation. After calculation, it waits for the next start calculation signal.

[0067] The data is latched at the end of the previous window and calculation begins. The window setting is specified by the MCU according to the actual system situation. The data calculation is completed and output is generated within the gap.

[0068] Each storage unit corresponds to an address. For example, the index address of DATA0_0 is 0, the index address of DATA64_15 is 1023, and the index address of DATAm_n is m*16+n.

[0069] This application enables comprehensive and efficient acquisition and management of multi-source acceleration data. The airbag ignition chip not only directly acquires local acceleration data but also captures cloud-based acceleration data from other systems via an SPI listening unit, significantly expanding the scope of data acquisition. This data is categorized and stored with its storage address recorded, providing a structured and easily accessible data foundation for subsequent data computation modules. This data acquisition and management mechanism allows the data computation module to comprehensively consider acceleration information from different locations and time points when making anomaly detection and ignition decisions, thereby significantly improving the accuracy and robustness of ignition decisions. It effectively avoids misjudgments or omissions caused by a single data source or chaotic data management, ultimately enhancing the overall performance and safety of the airbag system.

[0070] In one embodiment, to ensure timely airbag deployment, the step of analyzing acceleration data using a data calculation module to obtain data analysis results can be specifically performed as follows: The analysis of the anomaly detection code yields the target configuration information for the arithmetic operation unit. This information includes target data, target data operation procedures, and the target operation flow. The target data includes target acceleration data and target constant data. The target storage address for the target acceleration data is queried in the data storage module, and the index address for the target constant data is queried in the constant storage unit. The operation expression is configured according to the target data operation procedures. In the arithmetic operation unit, the hardware operation is performed according to the target storage address, index address, and configured operation expression, following the target operation flow, to obtain the arithmetic operation result. Specifically, analyzing the anomaly detection code can identify which data needs to be involved in the calculation (target data), what arithmetic operations need to be performed between these data (target data calculation operations), and the execution order of these operations (target calculation flow).

[0071] The arithmetic operation unit performs arithmetic operations and has 256 configurable expression operation units. The data source can be data in the data storage unit, pre-configured constants, or the results of other arithmetic expressions. Each expression supports operations such as shifting, addition, and subtraction.

[0072] If data that needs to be used in the actual calculation is lost, if it is an arithmetic operation, the calculation is skipped and the data is returned directly as lost; if it is not a data loss check, the data is returned directly as lost; if it is a data loss check, the specified data or 0 is returned according to the expression.

[0073] like Figure 7 This is a diagram illustrating actual arithmetic operations, explained in detail below: SelA and SelB are configurable data source selection signals. Before actual hardware computation, they locate the required data and prepare computation instructions. By querying, the specific location of this data in hardware storage can be quickly found. Data within a data storage unit can be selected based on its address, constant data can be selected based on its index, and the result of another arithmetic expression can also be selected based on its index.

[0074] Shift is the shift operation module, where the shift mode and the number of bits to shift are configurable. There are four shift modes: logical left shift, arithmetic left shift, arithmetic right shift, and circular shift. The number of bits to shift can be configured from 0 to 15. When no shift is needed, the number of bits to shift can be kept at 0.

[0075] The Operator module is a calculation module that supports addition, subtraction, and conditional operations. The arithmetic operation unit is configured with expressions such as... Figure 6 As shown, discarding data means not passing the data down the chain. It supports handling certain abnormal acceleration data, allowing users to choose between zeroing, setting to a fixed value, or discarding.

[0076] By combining the data source with the result of another arithmetic expression, more complex calculations can be achieved.

[0077] The Filter module supports various filter coefficient configurations and filter enable configurations. The filter is a second-order filter using only one coefficient, and its transfer function is: The coefficient 'a' can be configured as 0.1875, 0.25, 0.3125, or 0.375.

[0078] For example, the MCU's exception handling code might contain a complex ignition condition, such as "If the X-axis acceleration exceeds the first threshold and the Y-axis acceleration is lower than the second threshold, or the Z-axis acceleration rate of change exceeds the third threshold, then ignition is triggered." First, the system analyzes this exception handling code, identifying "X-axis acceleration," "Y-axis acceleration," and "Z-axis acceleration rate of change" as target acceleration data, and "first threshold," "second threshold," and "third threshold" as target constant data. Simultaneously, it parses out "exceeds," "belows," and "rate of change calculation" as target data operation sequences, and the execution order of these operations as the target calculation flow. During actual runtime, upon acquiring new acceleration data, the data calculation module queries the storage address of the current X-axis, Y-axis, and Z-axis accelerations, as well as the storage address of the previous Z-axis acceleration, in the data storage module, and queries the index addresses of the first, second, and third thresholds in the constant storage unit. Subsequently, based on the parsed computational operations, the arithmetic operation unit is configured to execute computational expressions such as "X-axis acceleration minus the first threshold", "second threshold minus Y-axis acceleration", and "current Z-axis acceleration minus the previous Z-axis acceleration". The arithmetic operation unit will then perform high-speed hardware computations based on these configurations to obtain the corresponding arithmetic results.

[0079] In one embodiment, to ensure timely airbag deployment, the step of performing logical operations on the arithmetic results in the logic operation unit to obtain the logical operation result can be specifically executed as follows: The analysis of the exception handling code yields the target data transformation operation of the transformation unit, and the transformation expression is configured according to the target data transformation operation. In the transformation unit, the transformation result is obtained based on the arithmetic operation result and the transformation expression. The transformation result can be expressed as true or false. Specifically, the logic operation unit consists of a conversion unit and an arithmetic unit. The conversion unit processes the data output from the arithmetic operation unit and outputs a true or false logic signal. The arithmetic unit performs AND, OR, NOT, and other operations on multiple selectable logic signals and finally outputs the data to the ignition control unit.

[0080] The specific rules or algorithms for data transformation are extracted from the MCU's exception handling code and converted into executable transformation expressions. The transformation unit can be configured with data sources and transformation expressions. Data sources can be selected as one or both outputs of the arithmetic operation unit. When using two data points for transformation, the second operand can be a value from the constant storage module. Transformation expressions are as follows: Figure 8 As shown. For example, an exception handling code can be scanned by a pre-defined parser to identify specific keywords or syntax structures, such as "greater than threshold", "less than threshold", "equal to a specific value", etc., and then these identified operations can be mapped to predefined conversion functions or expression templates.

[0081] The conversion unit is a hardware module specifically designed to perform data type or numerical range conversions. It receives the result of an arithmetic operation and, based on a pre-configured conversion expression, transforms it into a Boolean value (true or false). This conversion is a preliminary step in logical judgment, ensuring that all data input to the logic operation subunit has a consistent logical meaning. For example, when the conversion expression is "greater than X", the comparator compares the arithmetic result with X and outputs a high level (true) or a low level (false).

[0082] The exception handling code is analyzed to obtain the target logical operation of the logical operation subunit, and the logical operation expression is configured according to the target logical operation. In the logical operation subunit, the logical operation result is obtained according to the conversion result and the logical operation expression. The logical operation result can be expressed as true or false.

[0083] Specifically, the rules for logical operations are parsed from the MCU's exception handling code and transformed into executable logical expressions. For example, a parser can be used to analyze the exception handling code and identify logical operators such as "AND", "OR", and "NOT" and their operands. Figure 9 The diagram shows the structure of an embodiment of a logic operation subunit, which has three inputs, and the data source can be the output of a conversion unit or the output of other operation units. Figure 9 Each logic cell can be configured as an operation. The configuration expression for the logic operation sub-unit is as follows: Figure 10 As shown.

[0084] If an operand is missing, a "missing" message is returned, indicating that the entry ultimately yielded an invalid result. This message can be reported via an interrupt to notify the MCU for confirmation. By selecting the data source as the output of another arithmetic unit, more complex logical operations can be implemented.

[0085] The logic operation unit is described below with reference to an embodiment: Assume that the MCU's exception handling code contains the following logic: "If the deceleration is greater than 2G and the duration exceeds 50ms, a collision may occur." After the arithmetic operation unit calculates the current deceleration value, this value is sent to the conversion unit. At this time, the system analyzes the exception handling code, identifies the target data conversion operation "deceleration greater than 2G", and configures a conversion expression accordingly, such as "Input>2G". The conversion unit receives the deceleration value (e.g., 3G) and determines it as "true" according to this expression, i.e., the conversion result is true. Simultaneously, another arithmetic operation result may represent the deceleration duration. This result is sent to another conversion unit, which determines it as "true" according to the conversion expression "duration exceeds 50ms". Subsequently, these two conversion results (true and true) are sent to the logic operation subunit. The logic operation subunit analyzes the exception handling code, identifies the target logic operation "AND", and configures the logic operation expression as "conversion result 1 AND conversion result 2". The logic operation subunit executes this expression, obtaining the final logic operation result as "true".

[0086] The ignition judgment configuration information is obtained by analyzing the anomaly judgment code. The ignition judgment configuration information includes ignition judgment logical operation and ignition judgment logical operation process. The ignition judgment expression is configured according to the ignition judgment logical operation. In the ignition control unit, the ignition judgment expression is summarized, and the results of several logical operations are analyzed according to the ignition judgment logical operation process to obtain the data analysis results. The data analysis results are expressed in the form of true and false.

[0087] Specifically, the ignition control unit is responsible for summarizing the output of the logic operation unit and controlling each ignition circuit individually. For example, the number of internal sub-units is 64, and each control sub-unit can select up to 8 data sources to analyze the data and obtain data analysis results. This allows for subsequent determination of the corresponding ignition circuit and whether an activation or ignition signal needs to be generated after the conditions are met, based on the data analysis results.

[0088] The ignition control unit is a hardware module specifically designed to determine whether to send an ignition command based on the results of all preceding logical operations and the final ignition decision expression. It comprehensively evaluates the results of multiple logical operations, such as... Figure 11 The diagram shown is an example of the ignition control unit implementation. AH represents the judgment condition that needs to be observed for the corresponding ignition circuit. This judgment condition can be determined by the result of logical operation. The INDEX bit represents the index of the airbag ignition circuit that needs to be controlled; the ARM bit represents whether the airbag specified by INDEX needs to be activated; and the IGN bit represents whether the airbag specified by INDEX needs to be ignited.

[0089] The various conditions can be configured via OP to use AND, OR, or OR logic to vote on valid observation conditions (e.g., if 5 conditions are configured, then if 3 or more items are satisfied, the overall condition is considered satisfied; additional weight settings can be added to each condition, and the weights of satisfied conditions are accumulated, and if a certain score is exceeded, the overall condition is considered satisfied); when the OP is selected in voting mode, it supports the omission of operators in the operation, and can be configured to be regarded as true or false.

[0090] The logic operation unit is described below with reference to an embodiment: Assume the MCU's exception handling code contains the following logic: "(X-axis acceleration exceeds the first threshold AND Y-axis acceleration is below the second threshold) OR (Z-axis acceleration change rate exceeds the third threshold)". The ignition judgment expression is configured accordingly. Finally, the ignition control unit summarizes these logic operation results and performs comprehensive analysis based on the configured ignition judgment expression to obtain the data analysis results.

[0091] This application efficiently and accurately transforms the complex exception handling code defined in the MCU into an operational flow that can be directly executed by the hardware data calculation module. By parsing the exception handling code twice—once for configuring arithmetic operations and again for the final ignition decision—a high degree of consistency between the hardware execution logic and the original MCU software logic is ensured. Combined with pre-built arithmetic, logic, and ignition control units, along with a high-efficiency data storage module, this solution enables real-time, hardware-accelerated analysis of massive amounts of acceleration data. This significantly reduces the computational burden on the MCU, avoids the latency and uncertainty that may arise from software execution, thereby ensuring the timeliness and accuracy of airbag ignition decisions and greatly improving the response speed and reliability of the airbag system.

[0092] In one embodiment, to ensure timely airbag deployment, after obtaining the logical operation result based on the conversion result and the logical operation expression in the logical operation subunit, the following steps may also be performed: An interrupt control module is built between the MCU and the data computing module; it determines whether the result of the logical operation is true; if the result of the logical operation is true, an interrupt signal is sent to the MCU through the interrupt control module. After summarizing and analyzing the results of several logical operations based on the ignition judgment expression in the ignition control unit to obtain the data analysis results, the following steps can be performed: Determine whether the data analysis result is true; if the logical operation result is true, send an interrupt signal to the MCU through the interrupt control module.

[0093] Specifically, each entry in the logic unit and ignition control unit corresponds to a set of interrupt status registers and interrupt enable registers. The interrupt status registers include a calculation result true / false register and a calculation result loss register. The interrupt enable registers include an interrupt enable register for a true calculation result and an interrupt enable register for a lost calculation result. When the calculation result of an entry is true or the calculation result is lost, and the interrupt enable register is configured to be enabled, the airbag ignition control chip triggers an external interrupt to the MCU via the interrupt signal INTR. When the MCU receives the external interrupt INTR, it needs to read the interrupt status register and process the entries of interest. The interrupt status register is automatically cleared when a new round of calculation begins.

[0094] In this application, the MCU passively receives critical event notifications via an interrupt mechanism. This significantly reduces the MCU's computational burden and power consumption, improving system operating efficiency. More importantly, this mechanism ensures that the MCU can respond at the fastest speed in emergency situations, thereby greatly enhancing the real-time performance and safety of the airbag system and effectively avoiding risks that may arise from response delays.

[0095] In one embodiment, to ensure timely airbag deployment, the step of sending an ignition command to the airbag ignition chip based on data analysis results and the MCU can be specifically executed as follows: The system analyzes the anomaly detection code to obtain the initial conditions for airbag activation and airbag ignition; it also obtains the additional conditions for airbag activation and airbag ignition; it summarizes the initial and additional conditions for airbag activation to obtain the airbag activation conditions, and summarizes the additional conditions for airbag activation and ignition to obtain the airbag ignition conditions; it analyzes the results of several logical operations to determine whether the acceleration data meets the airbag activation and ignition conditions; if the acceleration data meets both the airbag activation and ignition conditions, it sends an ignition command to the airbag ignition chip.

[0096] Specifically, the anomaly detection code is pre-defined software logic or configuration data in the MCU used to identify vehicle collisions or abnormal states. This code can be a series of hard-coded conditional statements, such as threshold judgments based on parameters like the vehicle speed change rate and impact direction.

[0097] Additional conditions supplement and refine the initial conditions. Additional conditions can take into account dynamic factors such as the vehicle's real-time operating status and occupant information, such as the vehicle's current speed, the occupant's weight, whether the seat belt is fastened, and seat position sensor data. The following description is based on an example: The MCU's anomaly detection code presets the initial conditions for airbag activation as "the vehicle's acceleration change rate exceeds 20g / ms within 50 milliseconds" and the initial conditions for airbag ignition as "the peak collision acceleration exceeds 40g". Simultaneously, the system also acquires the additional conditions for airbag activation as "the vehicle's current speed is greater than 30km / h" and the additional condition for airbag ignition as "the driver's seatbelt is fastened". Based on this, the system summarizes these conditions: the airbag activation condition is defined as "(acceleration change rate exceeds 20g / ms) and (vehicle speed is greater than 30km / h)"; the airbag ignition condition is defined as "(peak collision acceleration exceeds 40g) and (the driver's seatbelt is fastened)".

[0098] In the data calculation module, after a series of arithmetic and logical operations, logical operation results are generated, such as whether "the rate of change of acceleration exceeds 20g / ms" or "whether the peak acceleration exceeds 40g" is true. The system uses these logical operation results, combined with real-time vehicle speed and seat belt status information obtained from the vehicle bus, to determine whether the current acceleration data simultaneously meets the above-mentioned summarized airbag activation and ignition conditions.

[0099] When the airbag activation conditions are met, the data calculation module sends an airbag activation command to the airbag module; when the airbag ignition conditions are met, the data calculation module sends an airbag ignition command to the airbag module.

[0100] In addition, the existing acceleration anomaly detection module only determines whether the acceleration change exceeds a threshold. If it exceeds the threshold, the airbag is activated. The data calculation module sends an interrupt command to the MCU through the interrupt control module. The MCU will perform ignition anomaly confirmation. If the MCU confirms the anomaly, it will send an airbag ignition command to the airbag module.

[0101] This application also supports multiple sub-units controlling an ignition circuit. One unit can be configured for a major anomaly, supporting automatic ignition; another can be configured for a general anomaly, supporting airbag activation, requiring MCU confirmation to decide whether to ignite; it can also be set to general monitoring, notifying the MCU of the corresponding conditions through interrupt or register flag reporting when the conditions are met.

[0102] This application controls the activation and ignition of airbags based on data analysis of the results of several logical operations, which greatly improves the safety and reliability of the airbag system and ensures that the airbags can be deployed in a timely and accurate manner when needed.

[0103] Based on the above method, this application also discloses a data calculation system for airbag ignition, such as... Figure 12 The system includes the following modules: Data computing module construction module 1201 is used to construct a data computing module that can run on hardware based on the MCU; The data acquisition and storage module 1202 is used to acquire and store acceleration data, and to analyze the acceleration data using the data calculation module to obtain data analysis results. The data analysis module 1203 is used to send an ignition command to the airbag ignition chip based on the data analysis results.

[0104] In one embodiment, the data calculation module construction module 1201 is specifically used to construct a constant storage unit based on a preset acceleration constant; parse the MCU's exception judgment code to obtain data operation, and construct an arithmetic operation unit that can run on hardware based on the data operation; parse the MCU's exception judgment code to obtain logical operation, and construct a logical operation unit and an ignition control unit that can run on hardware based on the logical operation, wherein the logical operation unit includes a conversion unit and a logical operation subunit; and construct a data calculation module that can run on hardware based on the constant storage unit, the arithmetic operation unit, the logical operation unit, and the ignition control unit.

[0105] In one embodiment, the data acquisition and storage module 1202 is specifically used to acquire local acceleration data using the acceleration sensor control module of the airbag ignition chip; add an SPI listening unit to the airbag ignition chip to listen to the SPI bus and obtain cloud acceleration data; construct a data storage module to classify and store the local acceleration data and cloud acceleration data into the data storage module and record the acceleration data storage address. The data storage module includes acceleration data storage addresses corresponding to several acceleration data generated by different accelerometers at different times.

[0106] In one embodiment, the data acquisition and storage module 1202 is specifically used to analyze the anomaly judgment code to obtain the target configuration information of the arithmetic operation unit. The target configuration information includes target data, target data operation, and target operation process. The target data includes target acceleration data and target constant data. The module queries the target storage address of the target acceleration data in the data storage module and the index address of the target constant data in the constant storage unit. It configures the operation expression according to the target data operation. In the arithmetic operation unit, it performs hardware operations according to the target storage address, index address, and configured operation expression, following the target operation process, to obtain the arithmetic operation result. In the logic operation unit, it performs logical operations on the arithmetic operation result to obtain the logical operation result. The module analyzes the anomaly judgment code to obtain ignition judgment configuration information, which includes ignition judgment logical operation and ignition judgment logical operation process. It configures the ignition judgment expression according to the ignition judgment logical operation. In the ignition control unit, it summarizes the ignition judgment expression and analyzes several logical operation results according to the ignition judgment logical operation process to obtain the data analysis result. The data analysis result is presented in the form of true or false.

[0107] In one embodiment, the data acquisition and storage module 1202 is specifically used to analyze the anomaly judgment code to obtain the target data conversion operation of the conversion unit, and to configure the conversion expression according to the target data conversion operation; In the conversion unit, the conversion result is obtained based on the arithmetic operation result and the conversion expression. The conversion result can be expressed as true or false. The exception judgment code is analyzed to obtain the target logical operation of the logical operation subunit. The logical operation expression is configured according to the target logical operation. In the logical operation subunit, the logical operation result is obtained based on the conversion result and the logical operation expression. The logical operation result can be expressed as true or false.

[0108] In one embodiment, the data acquisition and storage module 1202 is specifically used to construct an interrupt control module between the MCU and the data calculation module; determine whether the result of the logical operation is true; if the result of the logical operation is true, send an interrupt signal to the MCU through the interrupt control module; In one embodiment, the data acquisition and storage module 1202 is specifically used to determine whether the data analysis result is true; if the logical operation result is true, an interrupt signal is sent to the MCU through the interrupt control module.

[0109] In one embodiment, the data analysis module 1203 is specifically used to analyze the anomaly judgment code to obtain the initial conditions for airbag activation and the initial conditions for airbag ignition; obtain the additional conditions for airbag activation and the additional conditions for airbag ignition; summarize the initial conditions for airbag activation and the additional conditions for airbag activation to obtain the airbag activation conditions; summarize the initial conditions for airbag activation and the additional conditions for airbag ignition to obtain the airbag ignition conditions; analyze the results of several logical operations to determine whether the acceleration data meets the airbag activation conditions and the airbag ignition conditions; if the acceleration data simultaneously meets the airbag activation conditions and the airbag ignition conditions, then send an ignition command to the airbag ignition chip.

[0110] This application also discloses a computer device.

[0111] Specifically, the computer device includes a memory and a processor, the memory storing a computer program that can be loaded by the processor and executed as described above for a data calculation method for airbag ignition.

[0112] This application also discloses a computer-readable storage medium.

[0113] Specifically, the computer-readable storage medium stores a computer program that can be loaded by a processor and executed as described above for a data calculation method for airbag ignition. The computer-readable storage medium includes, for example, various media capable of storing program code, such as a USB flash drive, a portable hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

[0114] This specific embodiment is merely an explanation of the present invention and is not intended to limit the invention. After reading this specification, those skilled in the art can make modifications to this embodiment without contributing any inventive step, but such modifications are protected by patent law as long as they are within the scope of the claims of the present invention.

Claims

1. A data calculation method for airbag ignition, characterized in that, The method is based on an MCU and an airbag ignition chip, and the method includes: A data computing module capable of running on hardware is constructed based on the MCU; Acquire and store acceleration data; The data calculation module analyzes the acceleration data to obtain data analysis results, and sends an ignition command to the airbag ignition chip based on the data analysis results. The data computing module that can run on hardware based on the MCU includes: Construct a constant storage unit based on the preset acceleration constant; The abnormal judgment code of the MCU is analyzed to obtain data operation, and an arithmetic operation unit that can be run on hardware is constructed based on the data operation; The MCU's exception detection code is parsed to obtain logical operation operations. Based on the logical operation operations, a logical operation unit and an ignition control unit that can run on hardware are constructed. The logical operation unit includes a conversion unit and a logical operation subunit. A data computing module capable of running on hardware is constructed based on the constant storage unit, the arithmetic operation unit, the logic operation unit, and the ignition control unit.

2. The method according to claim 1, characterized in that, The MCU and the airbag ignition chip transmit data via an SPI bus. The acquisition and storage of acceleration data includes: The local acceleration data is obtained using the acceleration sensor control module of the airbag ignition chip; An SPI monitoring unit is added to the airbag ignition chip to monitor the SPI bus and obtain cloud acceleration data. A data storage module is constructed to classify and store the local acceleration data and the cloud acceleration data into the data storage module and record the acceleration data storage address. The data storage module includes acceleration data storage addresses corresponding to several acceleration data generated by different accelerometers at different times.

3. The method according to claim 2, characterized in that, The data analysis results obtained by using the data calculation module to analyze the acceleration data include: The target configuration information of the arithmetic operation unit is obtained by analyzing the anomaly judgment code. The target configuration information includes target data, target data operation, and target operation process. The target data includes target acceleration data and target constant data. The target storage address of the target acceleration data is queried in the data storage module, the index address of the target constant data is queried in the constant storage unit, and the operation expression is configured according to the target data operation. In the arithmetic operation unit, the arithmetic operation result is obtained by performing hardware operations according to the target operation flow based on the target storage address, the index address, and the configured operation expression. In the logic operation unit, logical operations are performed on the arithmetic operation result to obtain the logical operation result; Analyzing the anomaly detection code yields ignition detection configuration information, which includes ignition detection logic operation and ignition detection logic operation flow. Configure the ignition judgment expression according to the ignition judgment logic operation; In the ignition control unit, the ignition judgment expression is summarized, and several logical operation results are analyzed according to the ignition judgment logic operation process to obtain data analysis results. The data analysis results are expressed in the form of true and false.

4. The method according to claim 3, characterized in that, The step of performing logical operations on the arithmetic operation result in the logical operation unit to obtain the logical operation result includes: The anomaly detection code is analyzed to obtain the target data conversion operation of the conversion unit, and a conversion expression is configured according to the target data conversion operation; In the conversion unit, a conversion result is obtained based on the arithmetic operation result and the conversion expression, and the conversion result can be expressed as true or false. The anomaly detection code is analyzed to obtain the target logical operation of the logical operation subunit, and the logical operation expression is configured according to the target logical operation. In the logic operation subunit, a logic operation result is obtained based on the conversion result and the logic operation expression. The logic operation result can be expressed as true or false.

5. The method according to claim 4, characterized in that, After obtaining the logical operation result based on the conversion result and the logical operation expression in the logical operation subunit, the method further includes: An interrupt control module is constructed between the MCU and the data computing module; Determine whether the result of the logical operation is true; If the result of the logical operation is true, an interrupt signal is sent to the MCU through the interrupt control module; After obtaining data analysis results by summarizing and analyzing several logical operation results based on the ignition judgment expression in the ignition control unit, the method further includes: Determine whether the data analysis result is true; If the result of the logical operation is true, an interrupt signal is sent to the MCU through the interrupt control module.

6. The method according to claim 4, characterized in that, The step of sending an ignition command to the airbag ignition chip based on the data analysis results and the MCU includes: The anomaly detection code was analyzed to obtain the initial conditions for airbag activation and airbag ignition. Obtain additional conditions for airbag activation and airbag ignition; The airbag activation conditions are obtained by summarizing the initial conditions for airbag activation and the additional conditions for airbag activation; the airbag ignition conditions are obtained by summarizing the ignition conditions for airbag activation and the additional conditions for airbag ignition. Analyze the results of several logical operations to determine whether the acceleration data meets the airbag activation condition and the airbag ignition condition; If the acceleration data simultaneously meets the airbag activation condition and the airbag ignition condition, then an ignition command is sent to the airbag ignition chip.

7. A data calculation system for airbag ignition, characterized in that, The system is based on an MCU and an airbag ignition chip, and includes: The data calculation module construction module (1201) is used to construct a data calculation module that can run on hardware based on the MCU. Specifically, it is used to construct a constant storage unit based on a preset acceleration constant; parse the exception judgment code of the MCU to obtain data operation, and construct an arithmetic operation unit that can run on hardware based on the data operation; parse the exception judgment code of the MCU to obtain logic operation, and construct a logic operation unit and an ignition control unit that can run on hardware based on the logic operation, wherein the logic operation unit includes a conversion unit and a logic operation subunit; and construct a data calculation module that can run on hardware based on the constant storage unit, the arithmetic operation unit, the logic operation unit, and the ignition control unit. The data acquisition and storage module (1202) is used to acquire and store acceleration data, and to analyze the acceleration data using the data calculation module to obtain data analysis results. The data analysis module (1203) is used to send an ignition command to the airbag ignition chip based on the data analysis results.

8. A computer device, characterized in that, It includes a memory and a processor, wherein the memory stores a computer program that can be loaded by the processor and executed according to any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that, The computer program is stored that can be loaded by a processor and executed according to any one of claims 1 to 6.