Method for recording and reading working data of ejection lifesaving system controller
By setting two storage areas in the ejection lifesaving system controller and initializing and updating the storage area identification, the problem of data recording and reading after ejection is solved, and the data is completed safe recording and reading without interfering with the lifesaving function is achieved, providing accurate data support.
Patent Information
- Application Number
- CN202411681714.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-22
- Publication Date
- 2025-03-21
AI Technical Summary
After the ejection lifesaving system controller is ejected, due to limited storage space and the need to quickly save data, it is unable to effectively record and store key data during the test, and the data reading function may interfere with the normal lifesaving function.
The method of storing the data of this and the last working time is adopted to store the data of this time and the previous work respectively. The data is securely recorded and read by initializing and updating the storage area identifier, ensuring that data storage and reading are completed without interfering with the life-saving function.
It realizes recording of catapult life-saving work data in limited time and storage space, avoids interference from the data reading function on normal functions, and provides accurate data support for experimental analysis and product design improvements.
Smart Images

Figure CN119670372A_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of ejection lifesaving, and in particular to a method for recording and reading working data of an ejection lifesaving system controller. Background Art
[0002] As an important part of the ejection life-saving system, the ejection life-saving system controller exchanges data with the onboard PIU, inertial measurement unit module, pressure altitude sensor, etc. through RS422 to realize the perception of the motion parameters of the human-chair system. According to the multi-modal / multi-mode digital ejection control model embedded in the product, it automatically selects the ejection control program in real time to realize the command ejection and ejection program control functions. The characteristic of this controller is that the working interface is clearly divided: before the ejection is started, non-core functions such as product self-test, data reception, health management signal return and ejection start switch judgment are completed; after the ejection is started, the core ejection life-saving control function of the product is completed according to the speed, height, posture and other data during the ejection.
[0003] The ejection life-saving system test process simulates the real environment to verify the life-saving ability of the product. The data during the test is mainly collected in two ways: the external electrical measurement and telemetry system collects the ignition output, posture and other information during the test, and judges whether the test is successful or not from the external results; the controller obtains the seat speed, height, and posture information in real time, and the software performs corresponding control according to the real-time status of the seat. The recorded working data is the most real-time and direct data. In the real ejection scenario, the ejection life-saving process can only be analyzed by relying on the working data recorded by the controller itself.
[0004] The recording and transmission of post-ejection work data has the following difficulties:
[0005] (1) After ejection, the controller is separated from the ejection lifesaving system and the aircraft, and cannot send data to the host computer for storage. Therefore, the controller needs to save the data in its own non-volatile memory.
[0006] (2) The ejection life-saving system has strict requirements on weight and size. The controller is limited by this and has limited internal storage space, making it impossible to save all the data of the test process. At the same time, the amount of data required for the ejection process is large, so it is impossible to store all of it. It is necessary to select data at key moments for recording.
[0007] (3) The life-saving function is the most important function. To avoid interference with the realization of the life-saving function, the data storage and forwarding functions must not interfere with the life-saving function of the product;
[0008] (4) After the ejection, the controller will land soon after the ignition output is completed. The vibration during landing may cause the controller to lose power. The data must be saved in a short time. Summary of the invention
[0009] Purpose of the Invention
[0010] In order to solve the problems that the amount of working data of the ejection life-saving system is large, the storage function cannot interfere with the life-saving function, and the storage time is limited, the present invention provides a method for recording and reading the working data of the ejection life-saving system controller. On the one hand, the method can record the working data at critical moments, write the data into the non-volatile memory at the right time without interfering with the life-saving function, and on the other hand, it can obtain the recorded data in a safe way to avoid interference with the normal function due to mistakenly entering the data reading function.
[0011] Inventing technical solutions
[0012] A method for recording and reading working data of an ejection lifesaving system controller, wherein two storage areas are set to store current working data and last working data respectively; data is written into one of the two storage areas; first, the storage area identifier to which data should be written is read; the storage area corresponding to the identifier is initialized, event data is written into the storage area, and the storage area identifier is updated to point to the other storage area;
[0013] When reading working data, during one power-on period, the ground detection switch signal judgment is only executed after the initialization function is completed, and this function will not be entered subsequently; after entering the ground detection switch signal judgment function, if the ground detection switch level is high, the authenticity of the ground detection switch signal will be judged, and a delay of 2ms will be first made, and then the level of the switch signal will be collected according to the set number of times within 5ms. If the number of times the collected ground detection switch signal level is high meets the set value, the function of receiving data reading instructions will continue to be executed; otherwise, this function will be exited; after judging that there is a ground detection switch signal, the data reading instruction sent by the external device will be received within 50ms. If the number of continuous ground detection instructions received is greater than or equal to the set value, and the checksum is correct, the function of sending memory data will be entered; according to different instructions, the data required by the instruction will be sent.
[0014] Preferably, the working data includes working data after the core control board data is ejected and working data after the auxiliary control board data is ejected.
[0015] Preferably, the timing of collecting working data after the core control board data is ejected includes the working moment of the ejection start switch, the ignition moment of the key electric squib, and the calculation moment of some modal moving averages.
[0016] Preferably, the timing for recording the working data after the core control board data is ejected is after the parachute shooting and separation electric squib ignition working signals are output.
[0017] Preferably, the time 1 for collecting and recording the working data after the auxiliary control board data is ejected is when any two or more of the ejection start switches are in the disconnected state during the power-on self-test process or when the ejection handle working signal is detected to be started during the ejection start signal monitoring process; the time 2 for collecting and recording the working data after the auxiliary control board data is ejected is after receiving the work completion signal from the core control board.
[0018] Preferably, the content of the working data recorded by the core control board after ejection includes the start-up time and status of the four-way ejection switch, the selected mode, the data source status before / after ejection, the working status of the programmer, the preset maximum parachute opening speed altitude, the predicted value of the roll angle when entering the ejection, the self-test status bit, the working time of the important electric squib, the output status of each channel, the effective data of the inertial measurement module at the time of ejection, the 2.5ms data at the time of entering the mode, the own altitude signal, the health management data of the programmer, the data required for the mode calculation, the data of the two-way inertial measurement modules at the time of parachute shooting, and the output ignition working times.
[0019] Preferably, the content of the auxiliary control panel's post-ejection working data record includes the latest other processor health management data at the time of ejection, other processor health management data after the emergency ejection is completed, its own power-on self-test status, electric squib self-test status, ejection start signal status, seat hardware size and weight adjustment switch signal status, and output control status.
[0020] Preferably, the level of the switch signal is collected 20 times within 5 ms.
[0021] Preferably, if the number of times that the ground detection switch signal level is high is greater than or equal to 16 times, the function of receiving the data reading instruction continues to be executed.
[0022] Preferably, a data reading instruction sent by an external device is received within 50ms. If the number of consecutive check instructions received is greater than or equal to 3 packets and the checksum is correct, the function of sending memory data is entered.
[0023] Advantages of the present invention: By implementing the method, the ejection life-saving system controller can record ejection life-saving related work data in a limited time and storage space, providing accurate data support for test data analysis, product design improvement, and fault cause location. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] Figure 1 It is the process of reading and recording working data of the electronic program controller.
[0025] Figure 2 It is the execution flow chart of the ground inspection function software.
[0026] Figure 3 It is a data recording flow chart.
[0027] Figure 4 This is the data recording branch 1 flow chart. DETAILED DESCRIPTION
[0028] The present invention is achieved through the following technical solutions.
[0029] A method for recording and reading working data of an ejection lifesaving system controller, the method comprising:
[0030] 1) Methods of recording work data
[0031] Two storage areas are set up to store the current working data and the previous working data respectively.
[0032] Write data to one of the two storage areas. First, read the storage area identifier to which the data should be written. Initialize the storage area with the corresponding identifier, write the event data to the storage area, and update the storage area identifier to point to the other storage area.
[0033] 2) Timing of collecting and recording work data
[0034] The timing for collecting working data of the core control board after ejection is the working moment of the ejection start switch, the ignition moment of the key electric squib, the calculation moment of some modal moving averages, etc.
[0035] The timing for recording the working data after the core control board data ejection is after the parachute launching and separation electric squib ignition working signals are output.
[0036] The timing for collecting and recording the working data after the auxiliary control board data ejection is 1 when any two or more ejection start switches are in the disconnected state during the power-on self-test process or when the ejection handle working signal is detected to be started during the ejection start signal monitoring process.
[0037] The timing 2 for collecting and recording working data after the auxiliary control board data is ejected is after receiving the work completion signal from the core control board.
[0038] 3) Contents of work data records
[0039] The data recorded by the core control board after ejection includes the start-up time and status of the four-way ejection switch, the selected mode, the data source status before / after ejection, the working status of the programmer, the preset maximum parachute opening speed altitude, the predicted value of the roll angle when entering the ejection, the self-test status bit, the working time of the important electric squib, the output status of each channel, the effective data of the inertial measurement module at the time of ejection, the 2.5ms data at the time of entering the mode, the own altitude signal, the health management data of the programmer, the data required for the mode calculation, the data of the two-way inertial measurement modules at the time of parachute shooting, and the output ignition working times.
[0040] The data recorded by the auxiliary control board after ejection includes the latest health management data of other processors at the time of ejection, health management data of other processors after the emergency ejection is completed, its own power-on self-test status, squib self-test status, ejection start signal status, seat hardware size and weight adjustment switch signal status, and output control status.
[0041] 4) Working data reading method
[0042] The combination of hardware ground detection switch signal and software data reading instruction is used to avoid mistakenly entering the working data reading function:
[0043] During one power-on period, the ground detection switch signal judgment is performed only after the initialization function is completed, and this function will not be entered subsequently.
[0044] After entering the ground detection switch signal judgment function, if the ground detection switch level is high, the authenticity of the ground detection switch signal will be judged. First, a delay of 2ms will be performed, and then the level of the switch signal will be collected 20 times within 5ms (that is, once every 0.25ms). If the collected ground detection switch signal level is greater than or equal to 16 times and is high, the receive data reading instruction function will continue to be executed; otherwise, exit this function.
[0045] After determining that there is a ground detection switch signal, the data reading command sent by the external device is received within 50ms. If the number of continuous ground detection commands received is greater than or equal to 3 packets and the checksum is correct, the memory data sending function is entered.
[0046] According to different instructions, the functions of sending the most recent working data, sending the previous working data, sending the ignition times, reset times, self-test status word, clearing the ignition times, reset times and self-test status word, and initializing the seat position signal are executed respectively.
[0047] Example
[0048] A method for recording and reading working data of an ejection lifesaving system controller comprises the following steps:
[0049] 1. Ground inspection data reading function
[0050] 1.1 Ground detection switch signal judgment
[0051] Entry conditions: After the system initialization is completed, the program enters the ground detection function and first determines whether there is a ground detection switch signal.
[0052] Processing process: After entering the ground detection switch signal judgment function, if the ground detection switch level is high, the authenticity of the ground detection switch signal will be judged. First, a delay of 2ms is performed, and then the switch signal level is collected 20 times within 5ms (i.e., once every 0.25ms). If the collected ground detection switch signal level is greater than or equal to 16 times and is high, it is judged that there is a ground detection switch signal. If the ground detection switch signal is true, the function of receiving the ground detection instruction will continue.
[0053] Abnormal processing: If the ground detection switch is low or the authenticity judgment of the ground detection switch signal does not meet the requirements, the ground detection function will be exited and the power-on self-test function will be executed.
[0054] Time requirement: None.
[0055] Input: Ground detection switch signal level.
[0056] Output: None.
[0057] 1.2 Receive ground inspection instructions
[0058] Entry condition: After the ground detection switch signal is judged to be true, the receiving ground detection instruction function is executed.
[0059] Processing process: After determining that there is a ground detection switch signal, receive the ground detection command sent by the ground detection device within 50ms. If the number of continuous ground detection commands received is greater than or equal to 3 packets and the checksum is correct, enter the function of sending memory data.
[0060] Exception handling: If the number of consecutive ground detection instructions received within 50ms is less than 3 packets, the ground detection function will be exited and the power-on self-test will be started.
[0061] Time requirement: See processing procedure.
[0062] Input: Ground inspection instructions.
[0063] Output: None.
[0064] 1.3 Execute ground inspection command
[0065] Entry condition: After successfully receiving the ground inspection command, the program enters the function of sending memory data.
[0066] Processing process: If the ground check command received is "11 22", the data of the most recent work is sent; if the ground check command received is, the data of the previous work is sent; if the command is, the number of ignitions, reset times, and self-test status words are sent; if the command is "77 88", the number of ignitions, reset times, and self-test status words are cleared, and the command ejection signal status in the EEPROM is initialized (the seat position information and ejection mode information in the EEPROM are written as "rear seat mode").
[0067] Exception handling: If the ground inspection command received is not "11 22", "33 44", "55 66" and "7788", no action will be taken.
[0068] Time requirement: None.
[0069] Input: None.
[0070] Output: Data in EEPROM.
[0071] 2. Record work data
[0072] Entry conditions: After the ignition output function is completed, the program automatically executes the function of recording event data.
[0073] Processing process:
[0074] After the software recognizes that the ejection start switch is working, it uses variables and arrays to temporarily store working data, record the status of the four ejection start switches, the selected mode, the data source status before / after ejection, the working status of the programmer, the preset maximum parachute opening speed altitude, the value when entering the ejection (γ+0.2ωx), the self-test status bit, the total speed, the inertial measurement module height, the chair load height, the ejection switch start time, the final parachute opening time, the attitude rocket working time, the rocket package delayed ignition working time, the output status of each channel, the inertial measurement module 1 / 2 valid data at the ejection moment, the delayed ignition moment data, the 2.5ms data when entering the overload mode, the last 2.5ms data, the own altitude signal, the programmer health management data, the overload speed mode data V_Delta, Ax, Ax_Group array, Ax_Group_Aver array, the whole machine power-off mode data A_Mean, A_Group_Fir array, Ax_Group array, Ax_Group_Aver array, and the two inertial measurement module data at the time of parachute shooting.
[0075] After the parachute separation instruction is executed, the data is written into one of the two storage areas. First, read the storage area identifier to which the data should be written. Initialize the storage area with the corresponding identifier, write the event data into the storage area, and update the storage area identifier to point to another storage area. Record the working data in the EEPROM; record the output ignition working times in the range of [0,65535] and write them into the external EEPROM. At the same time, set the working status of the programmer to have completed the work.
[0076] Exception handling: None.
[0077] Time requirement: None.
[0078] Input: None.
[0079] Output: working data.
[0080] The above embodiments are only for illustrating the technical concept and features of the present invention, and their purpose is to enable technicians familiar with the technical field to understand the content of the present invention and implement it accordingly, and they cannot be used to limit the protection scope of the present invention. Any equivalent transformation or modification made according to the spirit and essence of the present invention should be included in the protection scope of the present invention. The technology, shape, and structure parts not described in detail in the present invention are all well-known technologies.
Claims
1. A method for recording and reading working data of an ejection lifesaving system controller, characterized in that: In the method, two storage areas are set to store the current work data and the previous work data respectively; data is written into one of the two storage areas; first, the storage area identifier to which data should be written is read; the storage area corresponding to the identifier is initialized, the event data is written into the storage area, and the storage area identifier is updated to point to the other storage area; When reading working data, during one power-on period, the ground detection switch signal judgment is only executed after the initialization function is completed, and this function will not be entered subsequently; after entering the ground detection switch signal judgment function, if the ground detection switch level is high, the authenticity of the ground detection switch signal will be judged, and a delay of 2ms will be first made, and then the level of the switch signal will be collected according to the set number of times within 5ms. If the number of times the collected ground detection switch signal level is high meets the set value, the function of receiving data reading instructions will continue to be executed; otherwise, this function will be exited; after judging that there is a ground detection switch signal, the data reading instruction sent by the external device will be received within 50ms. If the number of continuous ground detection instructions received is greater than or equal to the set value, and the checksum is correct, the function of sending memory data will be entered; according to different instructions, the data required by the instruction will be sent.
2. A method for recording and reading working data of an ejection lifesaving system controller according to claim 1, characterized in that: The working data includes the working data after the core control board data is ejected and the working data after the auxiliary control board data is ejected.
3. A method for recording and reading working data of an ejection lifesaving system controller as claimed in claim 2, characterized in that: The timing of collecting working data after the core control board data is ejected includes the working moment of the ejection start switch, the ignition moment of the key electric squib, and the calculation moment of some modal moving averages.
4. A method for recording and reading working data of an ejection lifesaving system controller as claimed in claim 2, characterized in that: The timing for recording the working data after the core control board data ejection is after the parachute launching and separation electric squib ignition working signals are output.
5. A method for recording and reading working data of an ejection lifesaving system controller as claimed in claim 2, characterized in that: The timing for collecting and recording the working data of the auxiliary control board after data ejection is 1 when any two or more ejection start switches are in the disconnected state during the power-on self-test process or after the ejection handle working signal is detected to be started during the ejection start signal monitoring process; the timing for collecting and recording the working data of the auxiliary control board after data ejection is 2 after receiving the work completion signal from the core control board.
6. A method for recording and reading working data of an ejection lifesaving system controller as claimed in claim 2, characterized in that: The content of the working data recorded by the core control board after ejection includes the start-up time and status of the four-way ejection switch, the selected mode, the data source status before and after ejection, the working status of the programmer, the preset maximum parachute opening speed altitude, the predicted value of the roll angle when entering the ejection, the self-test status bit, the working time of the important electric squib, the output status of each channel, the effective data of the inertial measurement module at the time of ejection, the 2.5ms data at the time of entering the mode, the own altitude signal, the health management data of the programmer, the data required for the mode calculation, the data of the two-way inertial measurement modules at the time of parachute shooting, and the output ignition working times.
7. A method for recording and reading working data of an ejection lifesaving system controller as claimed in claim 2, characterized in that: The auxiliary control board's post-ejection working data records include the latest health management data of other processors at the time of ejection, health management data of other processors after the emergency ejection is completed, its own power-on self-test status, squib self-test status, ejection start signal status, seat hardware size and weight adjustment switch signal status, and output control status.
8. A method for recording and reading working data of an ejection lifesaving system controller as claimed in claim 1, characterized in that: The level of the switching signal is sampled 20 times within 5 ms.
9. A method for recording and reading working data of an ejection lifesaving system controller as claimed in claim 1, characterized in that: If the number of times that the ground detection switch signal level is high is greater than or equal to 16 times, the receiving data reading instruction function continues to be executed.
10. A method for recording and reading working data of an ejection lifesaving system controller according to claim 1, characterized in that: Receive the data read command sent by the external device within 50ms. If the number of consecutive ground check commands received is greater than or equal to 3 packets and the checksum is correct, enter the memory data sending function.