Airbag ignition method, system and equipment and storage medium
By introducing an acceleration sensor control module and adding a new communication path into the airbag ignition system, a dual signal channel and data verification mechanism are constructed, which solves the ignition delay problem caused by MCU or SPI bus failure, ensuring that the airbag ignites in time under abnormal conditions and protecting the safety of the occupants.
Patent Information
- Application Number
- CN202511882517.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-15
- Publication Date
- 2026-03-06
AI Technical Summary
Existing airbag ignition systems may fail to ignite in time during a vehicle collision due to the MCU being busy handling other tasks or SPI bus communication failure, thus affecting occupant safety.
An acceleration sensor control module and an acceleration anomaly detection module are added to the airbag ignition chip. A dual signal channel is established with the MCU through a new communication path. Hardware-level redundancy is formed by using the ignition request interrupt signal and the ignition response signal to ensure reliable triggering of airbag ignition under abnormal conditions.
Even when the MCU is handling other tasks or the SPI bus communication fails, it can still reliably trigger airbag ignition, maximizing the safety of occupants and avoiding ignition failure caused by a single path failure.
Smart Images

Figure CN121608701A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of airbag ignition, and in particular to an airbag ignition method, system, device and storage medium. Background Technology
[0002] Airbag ignition technology is a core component of automotive passive safety systems. It integrates sensors, materials science, electronic control, and gas generation technology, aiming to precisely trigger airbags in the event of a collision to provide effective protection for occupants.
[0003] In the prior art, the airbag ignition control chip receives acceleration data from the accelerometer. The MCU reads the acceleration data through the SPI bus. The ignition of the airbag requires the MCU to send an ignition command to execute the ignition operation and deploy the airbag.
[0004] The airbag ignition operation relies on the main control MCU sending ignition commands via the SPI bus. If, during a vehicle collision, when the acceleration sensor detects abnormal data, the main control MCU is busy handling other tasks, or if the SPI bus itself experiences a communication failure, causing the MCU to be unable to transmit the ignition command to the airbag ignition chip in a timely or correct manner, then the airbag will fail to deploy, seriously endangering the occupants' lives. Summary of the Invention
[0005] To ensure timely deployment of airbags, this application provides an airbag ignition method, system, device, and storage medium.
[0006] In a first aspect, this application provides a method for igniting an airbag, employing the following technical solution: Acceleration data is acquired using the acceleration sensor control module in the airbag ignition chip. The acceleration data is sent to the acceleration anomaly detection module in the airbag ignition chip, the acceleration data is encapsulated as SPI data, and the SPI data is uploaded to the SPI bus; A new communication path is added between the MCU and the airbag ignition chip. The new communication path is used to transmit ignition request interruption signal and ignition request response signal. When the acceleration anomaly determination module detects an anomaly, it sends an anomaly confirmation request to the MCU through the new communication channel and the SPI bus. Based on the anomaly confirmation request, the SPI data on the SPI bus is obtained through the MCU, and the anomaly confirmation result is obtained by parsing the SPI data using the MCU. Based on the anomaly confirmation result, an ignition command is sent to the airbag ignition chip via the newly added communication channel and the SPI bus.
[0007] Through the above technical solution, this application constructs a dual signal channel and data verification mechanism to ensure that airbag ignition can be reliably triggered even when the MCU is handling other tasks or there are communication problems on the SPI bus in abnormal acceleration scenarios. By adding independent ignition request interrupt signals and ignition request response signals, a hardware-level redundant channel is formed, solving the problem of critical signals failing to be transmitted due to SPI bus failure.
[0008] In one specific implementation, encapsulating the acceleration data into SPI data and uploading the SPI data to the SPI bus includes: The acceleration data is encapsulated as SPI data, and an ignition request flag and an ignition response acknowledgement flag are inserted into the SPI bus. The SPI data is uploaded to the SPI bus.
[0009] By using the above technical solution, an "ignition request flag" and an "ignition response acknowledgment bit" are added to the data frame of the SPI bus to transmit ignition request and response information in SPI communication, thus avoiding the risk that the abnormal confirmation request may be lost due to bus failure if the transmission is solely based on the SPI bus.
[0010] In one specific implementation scheme, when the acceleration anomaly determination module detects an anomaly, sending an anomaly confirmation request to the MCU through the newly added communication path and the SPI bus includes: When the acceleration anomaly determination module detects an anomaly, it sends an anomaly confirmation request to the MCU by raising the ignition request interrupt signal. An exception confirmation request is sent to the MCU by raising the ignition request flag in the SPI bus.
[0011] The above technical solution complements the SPI data flag-based transmission method with hardware interrupts, which utilizes the accuracy of bus transmission and avoids the risk of single-path failure, thereby ensuring reliable delivery and timely processing of requests in abnormal scenarios.
[0012] In one specific implementation, after sending an exception confirmation request to the MCU by pulling up the ignition request flag in the SPI bus, the method further includes: Start the timer and obtain the cumulative timeout duration; When the accumulated time reaches the preset maximum abnormality confirmation time, the airbag ignition operation is executed directly.
[0013] By introducing a new communication path and a self-controlled ignition mechanism for the airbag ignition chip, the above technical solution ensures that the airbag can still deploy in a timely manner even in extreme situations. This mechanism ensures that the airbag can still deploy in a timely manner even if the main control MCU or SPI bus malfunctions, thereby maximizing the safety of the occupants.
[0014] In one specific implementation, the step of obtaining the SPI data on the SPI bus through the MCU according to the anomaly confirmation request, and using the MCU to parse the SPI data to obtain the anomaly confirmation result includes: The MCU acquires the SPI data on the SPI bus. The acceleration data is obtained by parsing the SPI data; The MCU is used to analyze the acceleration data to obtain an anomaly confirmation result.
[0015] The above technical solution utilizes the MCU to analyze acceleration data to obtain anomaly confirmation results. The anomaly judgment logic is executed locally on the MCU, reducing the reliance on continuous communication with the SPI bus. Even if a bus failure occurs later, the confirmation can be completed independently based on the acquired acceleration data, ensuring the timeliness and accuracy of anomaly judgment and providing a solid foundation for airbag ignition decisions.
[0016] In one specific implementation scheme, sending an ignition command to the airbag ignition chip via the new communication path and the SPI bus based on the anomaly confirmation result includes: Determine whether the acceleration data is normal based on the anomaly confirmation result; If the acceleration data is normal, an ignition cancellation command is sent to the airbag ignition chip by raising the ignition request response signal; The ignition response acknowledgement bit in the SPI data is pulled high, and the MCU sends the SPI data back to the SPI bus to send an ignition cancellation command to the airbag ignition chip and stops the ignition timer; If the acceleration data is abnormal, the MCU sends an ignition command to the airbag ignition chip.
[0017] The above technical solution complements the SPI bus-based transmission method and corresponding hardware, utilizing the accuracy of bus transmission while avoiding the risk of single-path failure, thus ensuring reliable delivery and timely processing of ignition commands in abnormal scenarios.
[0018] In one specific implementation scheme, after sending an ignition command to the airbag ignition chip via the new communication path and the SPI bus based on the anomaly confirmation result, the method further includes: Determine whether the airbag ignition chip receives an ignition command within the longest abnormality confirmation time. If the airbag ignition chip receives the ignition command within the longest abnormality confirmation time, the airbag ignition operation is performed according to the ignition command. If the airbag ignition chip does not receive the ignition command within the longest abnormality confirmation time, the airbag will automatically ignite when the ignition timer countdown ends.
[0019] By introducing a new communication path and a self-controlled ignition mechanism for the airbag ignition chip, the above technical solution ensures that the airbag can still deploy in a timely manner even in extreme situations. This mechanism ensures that the airbag can still deploy in a timely manner even if the main control MCU or SPI bus malfunctions, thereby maximizing the safety of the occupants.
[0020] Secondly, this application provides an airbag ignition system, which is based on an MCU, an airbag ignition chip, and an SPI bus, and adopts the following technical solution: The system includes: The data acquisition module is used to acquire acceleration data using the acceleration sensor control module in the airbag ignition chip; The data transmission module is used to send the acceleration data to the acceleration anomaly determination module in the airbag ignition chip, encapsulate the acceleration data into SPI data, and upload the SPI data to the SPI bus; A new communication path establishment module is used to add a new communication path between the MCU and the airbag ignition chip. The new communication path is used to transmit ignition request interruption signal and ignition request response signal. An anomaly confirmation request module is used to send an anomaly confirmation request to the MCU through the new communication path and the SPI bus when the acceleration anomaly determination module detects an anomaly. An anomaly confirmation module is used to obtain the SPI data on the SPI bus through the MCU according to the anomaly confirmation request, and use the MCU to parse the SPI data to obtain the anomaly confirmation result. The ignition execution module is used to send an ignition command to the airbag ignition chip through the newly added communication path and the SPI bus based on the abnormality confirmation result.
[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 an airbag ignition method.
[0022] Fourthly, this application provides a computer-readable storage medium, which employs the following technical solution: storing a computer program that can be loaded by a processor and executed as described above for an airbag ignition method.
[0023] In summary, this application has the following beneficial technical effects: (1) By introducing a new communication path and an automatic ignition mechanism for the airbag ignition chip, it is ensured that the airbag can still be deployed in time under extreme circumstances. This mechanism ensures that the airbag can still be deployed in time even if the main control MCU or SPI bus malfunctions, thereby maximizing the safety of the occupants.
[0024] (2) This application constructs a dual signal channel and data verification mechanism to ensure that airbag ignition can be reliably triggered even if the MCU is processing other tasks or there is a communication problem on the SPI bus in the case of abnormal acceleration. By adding independent ignition request interrupt signal and ignition request response signal, a hardware-level redundant channel is formed, which solves the problem of key signals not being able to be transmitted due to SPI bus failure. Attached Figure Description
[0025] Figure 1 This is a schematic diagram of the airbag ignition control system.
[0026] Figure 2 This is a flowchart of an airbag ignition method according to an embodiment of this application. Figure 3 This is a schematic diagram showing the insertion of the ignition request flag and the ignition response acknowledgement flag.
[0027] Figure 4 This is a logic diagram for handling channel anomalies.
[0028] Figure 5 This is a structural block diagram of an airbag ignition method according to an embodiment of this application.
[0029] Reference numerals: 501, Data acquisition module; 502, Data transmission module; 503, New communication path establishment module; 504, Anomaly confirmation request module; 505, Anomaly confirmation module; 506, Ignition execution module. Detailed Implementation
[0030] The following is in conjunction with the appendix Figures 1-5 This application will be described in further detail.
[0031] This application discloses an airbag ignition method to ensure timely airbag deployment.
[0032] Airbag ignition technology is a core component of automotive passive safety systems. It integrates sensors, materials science, electronic control, and gas generation technology, aiming to precisely trigger airbags in the event of a collision to provide effective protection for occupants.
[0033] In the prior art, the airbag ignition control chip receives acceleration data from the accelerometer. The MCU reads the acceleration data through the SPI bus. The ignition of the airbag requires the MCU to send an ignition command to execute the ignition operation and deploy the airbag.
[0034] The airbag ignition operation relies on the main control MCU sending ignition commands via the SPI bus. If, during a vehicle collision, when the acceleration sensor detects abnormal data, the main control MCU is busy handling other tasks, or if the SPI bus itself experiences a communication failure, causing the MCU to be unable to transmit the ignition command to the airbag ignition chip in a timely or correct manner, then the airbag will fail to deploy, seriously endangering the occupants' lives.
[0035] Therefore, this application proposes an airbag ignition method to ensure timely airbag deployment.
[0036] like Figure 1 This is a schematic diagram of the airbag ignition control system. The following is a detailed explanation: 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, 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; Ignition power stage MOSFETs are high-power metal-oxide-semiconductor field-effect transistors used in ignition systems.
[0037] like Figure 2 As shown, the method includes: S10 uses the acceleration sensor control module in the airbag ignition chip to obtain acceleration data.
[0038] Specifically, the acceleration sensor control module in the airbag ignition chip is used to directly acquire acceleration data, avoiding reliance on the MCU for data acquisition, thereby improving the timeliness of anomaly detection.
[0039] S20 sends the acceleration data to the acceleration anomaly determination module in the airbag ignition chip, encapsulates the acceleration data into SPI data, and uploads the SPI data to the SPI bus.
[0040] Specifically, the acceleration data is sent from inside the airbag ignition chip to the acceleration anomaly determination module and encapsulated as SPI data and uploaded to the SPI bus. This process realizes the localized processing of preliminary anomaly determination and data transmission.
[0041] S30 adds a new communication path between the MCU and the airbag ignition chip. This new communication path is used to transmit ignition request interrupt signals and ignition request response signals.
[0042] Specifically, by adding independent ignition request interrupt signals and ignition request response signals between the MCU and the airbag ignition chip, a hardware-level redundant channel, i.e., a new communication path, is formed.
[0043] S40, when the acceleration anomaly detection module detects an anomaly, it sends an anomaly confirmation request to the MCU through the new communication channel and SPI bus.
[0044] Specifically, when the acceleration anomaly detection module detects an anomaly, it sends an anomaly confirmation request to the MCU through dual signal channels. On the one hand, it uses the immediacy of the ignition request interrupt signal to request the MCU to confirm the anomaly; on the other hand, it requests the MCU to confirm the anomaly through the SPI bus.
[0045] S50 obtains SPI data on the SPI bus through the MCU based on the exception confirmation request, and uses the MCU to parse the SPI data to obtain the exception confirmation result.
[0046] Specifically, the immediacy of the ignition request interrupt signal can wake up the MCU, while the SPI bus provides detailed data support. After receiving the exception confirmation request, the MCU can obtain and parse the SPI data through the SPI bus to get the exception confirmation result, realize the secondary verification of the original data, and obtain the exception confirmation result.
[0047] S60 sends an ignition command to the airbag ignition chip via the new communication path and SPI bus based on the anomaly confirmation result.
[0048] Specifically, after an anomaly is confirmed, an ignition command is sent to the MCU through dual signal channels. On the one hand, the ignition request response signal provides rapid feedback to send the ignition command; on the other hand, the ignition command is sent via data return through the SPI bus.
[0049] This application constructs a dual signal channel and data verification mechanism to ensure reliable airbag ignition even when the MCU is handling other tasks or there are communication problems on the SPI bus in abnormal acceleration scenarios. By adding independent ignition request interrupt signals and ignition request response signals, a hardware-level redundant channel is formed, solving the problem of critical signals failing to be transmitted due to SPI bus failure. In one embodiment, to ensure timely airbag deployment, the step of encapsulating acceleration data into SPI data and uploading the SPI data to the SPI bus can be specifically executed as follows: Acceleration data is encapsulated as SPI data, and ignition request flag and ignition response acknowledgement bit are inserted into the SPI bus; the SPI data is then uploaded to the SPI bus.
[0050] Specifically, such as Figure 3This diagram illustrates the insertion of the ignition request flag and ignition response acknowledgement bit. `req` represents the ignition request flag, and `ack` represents the ignition response acknowledgement bit. The ignition request flag is a status identifier embedded in the SPI data frame, used to indicate the occurrence of abnormal events. It can be implemented by setting the most significant or least significant bit of a specific byte. The ignition response acknowledgement bit is a feedback flag used to confirm the MCU's processing status, which can be implemented using a preset data check bit or a dedicated status byte. The ignition request flag and ignition response acknowledgement bit are added to the SPI data frame. Then, the acceleration data is encapsulated into SPI data and uploaded to the SPI bus.
[0051] In the data frame of the SPI bus, an "ignition request flag" and an "ignition response acknowledgement" are added to transmit ignition request and response information in SPI communication, avoiding the risk that the abnormal confirmation request may be lost due to bus failure if the transmission is solely based on the SPI bus.
[0052] Even in the event of SPI bus communication failure or MCU processing delay, the system can still quickly recover critical processes by parsing flag bits, effectively avoiding the potential for ignition failure due to communication delays. This design is particularly suitable for airbag ignition decisions in emergency scenarios such as vehicle collisions, ensuring reliable protection of occupant safety.
[0053] In one embodiment, to ensure timely airbag deployment, when the acceleration anomaly detection module detects an anomaly, the step of sending an anomaly confirmation request to the MCU via a new communication path and SPI bus can be specifically executed as follows: When the acceleration anomaly detection module detects an anomaly, it sends an anomaly confirmation request to the MCU by raising the ignition request interrupt signal. Specifically, the ignition request interrupt signal is a hardware-level signal mechanism implemented through a dedicated interrupt pin. This signal can directly trigger the MCU's interrupt handling process without relying on other communication channels, thereby ensuring a rapid response in emergency situations. An exception confirmation request is sent to the MCU by pulling the ignition request flag in the SPI bus high. Specifically, the ignition request flag in the SPI data is an identification information embedded in the data frame, which is implemented by setting a predefined value in a specific data field. For example, pulling the ignition request flag high indicates an abnormal state. When the acceleration abnormality determination module detects an abnormality, it modifies the ignition request flag in the SPI data frame to the abnormal state. When the MCU periodically acquires data on the SPI bus, if it detects that the req bit will be high, it indicates that there is an ignition request and receives the exception confirmation request.
[0054] The SPI data flag-based transmission method complements the hardware interrupt, which utilizes the accuracy of bus transmission and avoids the risk of single-path failure, thus ensuring reliable delivery and timely processing of requests in abnormal scenarios.
[0055] In one embodiment, to ensure timely airbag deployment, after sending an exception confirmation request to the MCU by raising the ignition request flag on the SPI bus, the following steps can also be performed: Start timing and obtain the cumulative timing duration; when the cumulative timing duration reaches the preset maximum abnormality confirmation time, directly execute the airbag ignition operation.
[0056] Specifically, after detecting an acceleration anomaly and sending an anomaly confirmation request to the main control unit by raising the ignition request flag in the SPI data, the system receives a preset maximum anomaly confirmation time. This time window is set strictly in accordance with vehicle safety standards to ensure its rationality and reliability. Subsequently, the system starts the ignition timer, with the countdown starting only after the anomaly confirmation request is sent, thus ensuring the accuracy of time management.
[0057] By introducing a new communication path and a self-controlled ignition mechanism for the airbag ignition chip, it is ensured that the airbag can still deploy in a timely manner under extreme circumstances. This mechanism ensures that even if the main control MCU or SPI bus malfunctions, the airbag can still deploy in a timely manner, thereby maximizing the protection of the occupants' lives.
[0058] In one embodiment, to ensure timely airbag deployment, the step of obtaining SPI data on the SPI bus through the MCU based on the anomaly confirmation request and using the MCU to parse the SPI data to obtain the anomaly confirmation result can be specifically executed as follows: The MCU acquires SPI data from the SPI bus; the SPI data is parsed to obtain acceleration data; and the MCU analyzes the acceleration data to obtain anomaly confirmation results.
[0059] Specifically, when the acceleration anomaly detection module detects an anomaly, it triggers an ignition request interrupt signal. This signal forcibly interrupts the low-priority tasks currently being executed by the MCU, allowing it to prioritize the handling of the anomaly confirmation request. After acquiring the packaged communication data via the SPI bus, the MCU first performs protocol parsing to extract the core acceleration data. This data separation mechanism effectively removes redundant information interference, ensuring the accuracy of subsequent analysis. Subsequently, the MCU performs localized analysis of the acceleration data based on its built-in anomaly detection algorithm, enabling it to independently confirm the anomaly status even in the event of a subsequent SPI bus failure.
[0060] The following strategies can be adopted to improve the accuracy of MCU abnormal status confirmation: Multi-sensor redundancy: Multiple acceleration sensors are deployed at different locations on the vehicle (e.g., the front, sides, and center of the passenger compartment). The system comprehensively analyzes the data from these sensors. For example, a collision is only considered possible when at least two or three sensors simultaneously detect abnormal acceleration exceeding a preset threshold.
[0061] Sensor fusion: In addition to the accelerometer, the system can integrate data from other types of sensors, such as gyroscopes (detecting vehicle rotation), pressure sensors (detecting vehicle body deformation), and seatbelt pretensioner status (detecting whether occupants are restrained). Ignition is only confirmed when acceleration data is abnormal and other relevant sensors also indicate signs of a collision.
[0062] Pattern recognition algorithm: The system does not simply examine acceleration peaks, but analyzes the waveform and patterns of acceleration over time. For example, a short spike may be identified as a bump, while an acceleration curve with a longer duration and specific rise and fall slopes is more consistent with collision characteristics.
[0063] By using the MCU to analyze acceleration data to obtain anomaly confirmation results, the anomaly judgment logic is executed locally on the MCU, reducing the dependence on continuous communication with the SPI bus. Even if the bus fails later, the confirmation can be completed independently based on the acquired acceleration data, ensuring the timeliness and accuracy of anomaly judgment and providing a solid foundation for airbag ignition decisions.
[0064] In one embodiment, to ensure timely airbag deployment, the step of sending an ignition command to the airbag ignition chip via a new communication path and SPI bus based on the anomaly confirmation result can be specifically executed as follows: Determine whether the acceleration data is normal based on the anomaly confirmation results; If the acceleration data is normal, an ignition cancellation command is sent to the airbag ignition chip by raising the ignition request response signal; the ignition response acknowledgement bit in the SPI data is raised, and the MCU returns SPI data to the SPI bus to send the ignition cancellation command to the airbag ignition chip; at the same time, the ignition timer is stopped. Specifically, when the acceleration data is determined to be normal, the system quickly sends a cancellation command through a dedicated interrupt channel that pulls the ignition request response signal high. Simultaneously, it sets an ignition response acknowledgement bit in the SPI data and returns a data packet via the bus, forming a dual-protection mechanism. The ignition timer is located inside the airbag ignition chip, starting to count when the airbag ignition chip reports an ignition request. It stops counting after receiving an ignition cancellation command on any path. Upon receiving an ignition command, the ignition operation is executed normally; if the count times out, the ignition operation is performed automatically. If the acceleration data is abnormal, the MCU sends an ignition command to the airbag ignition chip.
[0065] Specifically, if the acceleration data is abnormal, the ignition command is sent directly through the MCU, and the ack bit in the SPI data frame and the ignition interrupt response signal remain low.
[0066] The SPI bus-based transmission method complements the corresponding hardware, utilizing the accuracy of bus transmission while avoiding the risk of single-path failure, thus ensuring reliable delivery and timely processing of ignition commands in abnormal scenarios.
[0067] In one embodiment, to ensure timely airbag deployment, after sending an ignition command to the airbag ignition chip via a new communication path and SPI bus based on the anomaly confirmation result, the following steps can also be performed: Determine whether the airbag ignition chip receives an ignition command within the longest abnormal confirmation time. Specifically, the longest abnormal confirmation time refers to a reasonable time period preset by the system, which can be implemented by using a fixed time threshold or a dynamically adjusted time window. If the airbag ignition chip receives an ignition command within the longest abnormality confirmation time, the airbag ignition operation will be performed according to the ignition command. Specifically, if the ignition command is successfully received within the set time, the corresponding ignition operation is executed to ensure the accuracy of instructions under normal communication scenarios.
[0068] If the airbag ignition chip does not receive an ignition command within the longest abnormality confirmation time, the airbag will automatically ignite when the ignition timer countdown ends. Specifically, when an ignition command is not received within a timeout period, the airbag ignition is automatically triggered when the ignition timer countdown ends. This design uses the timer countdown as a physical signal source independent of the SPI bus. By starting ignition based on the deterministic time point when the countdown ends, the risks caused by SPI bus failure or MCU response failure are completely avoided.
[0069] By introducing a new communication path and a self-controlled ignition mechanism for the airbag ignition chip, it is ensured that the airbag can still deploy in a timely manner under extreme circumstances. This mechanism ensures that even if the main control MCU or SPI bus malfunctions, the airbag can still deploy in a timely manner, thereby maximizing the protection of the occupants' lives.
[0070] like Figure 4 The channel exception handling logic diagram shown below will be combined with the following. Figure 4 Instructions for airbag ignition under abnormal passage conditions: First, the SPI path is normal and the interrupt path (new communication path) is normal.
[0071] When the acceleration anomaly detection module detects an anomaly, it alerts the main control MCU to confirm the anomaly by raising the ignition request interrupt signal and the ignition request flag. At the same time, the ignition confirmation timer starts counting. If ignition is actually required, an ignition command is sent through the SPI channel, and the ack bit and ignition interrupt response signal in the SPI data frame remain low. If ignition is not actually required, the ack bit in the SPI data frame is pulled high, the ignition interrupt request response signal is pulled high, the ignition request is cancelled, and the ignition confirmation timer is cleared.
[0072] Second, the SPI path is abnormal while the interrupt path (new communication path) is normal.
[0073] When the acceleration anomaly detection module detects an anomaly, it alerts the main control MCU to confirm the anomaly by raising the ignition request interrupt signal and the ignition request flag. At the same time, the ignition confirmation timer starts counting. If ignition is actually required, the SPI channel cannot send an ignition command at this time. The ack bit in the SPI data frame and the ignition interrupt response signal remain low. When the ignition confirmation timer detects a timeout, the airbag ignition chip automatically ignites. If ignition is not actually required, the ignition interruption request response signal is pulled high to cancel the ignition request, and the ignition confirmation timer is reset to zero.
[0074] Third, the SPI path is normal, but the interrupt path (new communication path) is abnormal.
[0075] When the acceleration anomaly detection module detects an anomaly, it alerts the main control MCU to confirm the anomaly by raising the ignition request flag, and at the same time, the ignition confirmation timer starts counting. If ignition is actually required, an ignition command is sent through the SPI channel, and the ack bit in the SPI data frame remains low. If ignition is not actually required, the ack bit in the SPI data frame is pulled high to cancel the ignition request, and the ignition confirmation timer is cleared.
[0076] Fourth, the SPI path is abnormal and the interrupt path (new communication path) is abnormal.
[0077] When the acceleration anomaly detection module detects an anomaly, it cannot remind the main control MCU to confirm the anomaly by raising the ignition request interrupt signal and raising the ignition request flag. At the same time, the ignition confirmation timer starts counting. If ignition is actually required, the airbag ignition chip will automatically ignite when the ignition confirmation timer detects a timeout. If ignition is not actually required, the airbag ignition chip will automatically ignite when the ignition confirmation timer detects a timeout.
[0078] In summary, the airbag ignition chip will ignite automatically only when both the SPI path and the interrupt path are abnormal, and ignition is not required in actual situations. Otherwise, it meets expectations.
[0079] Since the MCU is no longer working properly, or both channels have malfunctioned and are unable to communicate, the probability of an acceleration malfunction is very low, and the harm to personal safety caused by accidental airbag ignition is far less than the harm to personal safety caused by a collision.
[0080] The conclusion drawn from this is that the existing architecture may experience MCU or SPI bus malfunctions, leading to incorrect ignition command transmission and ignition failure. The improved architecture eliminates this possibility. However, the improved architecture may, in an extremely low probability, result in abnormal airbag deployment, specifically in scenarios where airbag deployment is not required after a collision. Compared to the previous architecture, this probability is significantly reduced, and the risk to personal safety is also greatly minimized.
[0081] Based on the above method, this application also discloses an airbag ignition system. For example... Figure 5 The system includes the following modules: Data acquisition module 501 is used to acquire acceleration data using the acceleration sensor control module in the airbag ignition chip; The data transmission module 502 is used to send acceleration data to the acceleration anomaly determination module in the airbag ignition chip, encapsulate the acceleration data into SPI data, and upload the SPI data to the SPI bus; The new communication path establishment module 503 is used to add a new communication path between the MCU and the airbag ignition chip. The new communication path is used to transmit ignition request interrupt signal and ignition request response signal. The anomaly confirmation request module 504 is used to send an anomaly confirmation request to the MCU through the new communication path and SPI bus when the acceleration anomaly determination module detects an anomaly. The exception confirmation module 505 is used to obtain SPI data on the SPI bus through the MCU according to the exception confirmation request, and use the MCU to parse the SPI data to obtain the exception confirmation result. The ignition execution module 506 is used to send an ignition command to the airbag ignition chip via a new communication path and SPI bus based on the anomaly confirmation result.
[0082] In one embodiment, the data transmission module 502 is specifically used to encapsulate acceleration data into SPI data, insert ignition request flag and ignition response acknowledgement bit into the SPI bus, and upload the SPI data to the SPI bus.
[0083] In one embodiment, the anomaly confirmation request module 504 is specifically used to send an anomaly confirmation request to the MCU by pulling up the ignition request interrupt signal when the acceleration anomaly determination module detects an anomaly; and to send an anomaly confirmation request to the MCU by pulling up the ignition request flag bit in the SPI bus.
[0084] In one embodiment, the anomaly confirmation request module 504 is specifically used to start timing and obtain the cumulative timing duration; when the cumulative timing duration reaches the preset maximum anomaly confirmation time, the airbag ignition operation is directly executed.
[0085] In one embodiment, the anomaly confirmation module 505 is specifically used to obtain SPI data on the SPI bus through the MCU; parse the SPI data to obtain acceleration data in the SPI data; and use the MCU to analyze the acceleration data to obtain anomaly confirmation results.
[0086] In one embodiment, the ignition execution module 506 is specifically used to determine whether the acceleration data is normal based on the anomaly confirmation result; if the acceleration data is normal, it sends an ignition cancellation command to the airbag ignition chip by pulling up the ignition request response signal; it pulls up the ignition response acknowledgement bit in the SPI data, returns SPI data to the SPI bus through the MCU to send the ignition cancellation command to the airbag ignition chip, and stops the ignition timer; if the acceleration data is abnormal, it sends an ignition command to the airbag ignition chip using the MCU.
[0087] In one embodiment, the ignition execution module 506 is specifically used to determine whether the airbag ignition chip receives an ignition command within the longest abnormal confirmation time; if the airbag ignition chip receives an ignition command within the longest abnormal confirmation time, the airbag ignition operation is performed according to the ignition command; if the airbag ignition chip does not receive an ignition command within the longest abnormal confirmation time, the airbag is automatically ignited when the ignition timer countdown ends.
[0088] This application also discloses a computer device.
[0089] 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 an airbag ignition method.
[0090] This application also discloses a computer-readable storage medium.
[0091] Specifically, the computer-readable storage medium stores a computer program that can be loaded by a processor and executed as described above for an airbag ignition method. 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.
[0092] 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. An airbag ignition method characterized by comprising: The method is based on MCU, airbag ignition chip and SPI bus, and the method comprises: acceleration data is obtained by using an acceleration sensor control module in the airbag ignition chip; the acceleration data is sent to an acceleration abnormality determination module in the airbag ignition chip, the acceleration data is packaged as SPI data, and the SPI data is uploaded to the SPI bus; an additional communication path is added between the MCU and the airbag ignition chip, and the additional communication path is used for transmitting an ignition request interrupt signal and an ignition request response signal; when the acceleration abnormality determination module detects an abnormality, an abnormality confirmation request is sent to the MCU through the additional communication path and the SPI bus; the SPI data on the SPI bus is obtained through the MCU according to the abnormality confirmation request, and an abnormality confirmation result is obtained by analyzing the SPI data by using the MCU; an ignition or not command is sent to the airbag ignition chip through the additional communication path and the SPI bus according to the abnormality confirmation result.
2. The method of claim 1, wherein, the acceleration data is packaged as SPI data, an ignition request flag bit and an ignition response response bit are inserted in the SPI bus, and the SPI data is uploaded to the SPI bus. when the acceleration abnormality determination module detects an abnormality, an abnormality confirmation request is sent to the MCU by pulling up the ignition request interrupt signal; an abnormality confirmation request is sent to the MCU by pulling up the ignition request flag bit in the SPI bus.
3. The method of claim 1, wherein, after the abnormality confirmation request is sent to the MCU by pulling up the ignition request flag bit in the SPI bus, the following steps are further included: start timing and obtain a cumulative timing duration; when the cumulative timing duration reaches a preset maximum abnormality confirmation time, a safety airbag ignition operation is directly performed.
4. The method of claim 3, wherein, the SPI data on the SPI bus is obtained through the MCU according to the abnormality confirmation request, and an abnormality confirmation result is obtained by analyzing the SPI data by using the MCU. the SPI data on the SPI bus is obtained through the MCU; the SPI data is analyzed to obtain the acceleration data in the SPI data; 5. The method of claim 1, wherein, the acceleration data is analyzed by using the MCU to obtain an abnormality confirmation result. the abnormality confirmation result is judged according to the abnormality confirmation result; if the acceleration data is normal, an ignition cancellation command is sent to the airbag ignition chip by pulling up the ignition request response signal; 6. The method of claim 1, wherein, pulling up the ignition response response bit in the SPI data, returning the SPI data to the airbag ignition chip through the MCU to send an ignition cancellation command to the airbag ignition chip, and stopping the ignition timer; if the acceleration data is abnormal, sending an ignition command to the airbag ignition chip using the MCU.
7. The method of claim 6, wherein, After sending the ignition or not command to the airbag ignition chip through the new communication channel and the SPI bus according to the abnormality confirmation result, the method further comprises: determining whether the airbag ignition chip receives the ignition or not command within the longest abnormality confirmation time; if the airbag ignition chip receives the ignition or not command within the longest abnormality confirmation time, performing a safety airbag ignition operation according to the ignition or not command; if the airbag ignition chip does not receive the ignition or not command within the longest abnormality confirmation time, performing a safety airbag automatic ignition when the ignition timer countdown ends.
8. An airbag ignition system, the system based on MCU, airbag ignition chip and SPI bus, characterized in that, The system comprises: a data acquisition module (501) configured to acquire acceleration data using an acceleration sensor control module in the airbag ignition chip; a data transmission module (502) configured to send the acceleration data to an acceleration abnormality determination module in the airbag ignition chip, encapsulate the acceleration data as SPI data, and upload the SPI data to the SPI bus; a new communication channel establishment module (503) configured to add a new communication channel between the MCU and the airbag ignition chip, the new communication channel being used to transmit an ignition request interrupt signal and an ignition request response signal; an abnormality confirmation request module (504) configured to send an abnormality confirmation request to the MCU through the new communication channel and the SPI bus when the acceleration abnormality determination module detects an abnormality; an abnormality confirmation module (505) configured to acquire the SPI data on the SPI bus using the MCU according to the abnormality confirmation request, and analyze the SPI data using the MCU to obtain an abnormality confirmation result; an ignition execution module (506) configured to send an ignition or not command to the airbag ignition chip through the new communication channel and the SPI bus according to the abnormality confirmation result.
9. A computer device, comprising: The memory stores a computer program capable of being loaded and executed by the processor to perform any one of the methods of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, The memory stores a computer program capable of being loaded and executed by the processor to perform any one of the methods of claims 1 to 7.