Fault detection method and device based on alarm system of large amphibious aircraft unit
By constructing an alarm logic database and building an automated alarm diagnosis and detection platform, alarm reports are automatically generated and displayed in charts, solving the tedious and time-consuming problems of fault diagnosis and analysis of alarm systems for large amphibious aircraft crews, and achieving efficient fault detection.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-19
- Publication Date
- 2026-03-27
AI Technical Summary
The fault diagnosis and analysis of alarm systems for large amphibious aircraft crews is cumbersome, time-consuming, and the results are difficult to interpret. Existing technologies require manual processing of large amounts of data and searching for alarm entries one by one.
By building an alarm logic database and setting up an automated alarm diagnosis and detection platform, alarm reports are automatically generated and displayed in a chart-based visualization, reducing manual operations and improving efficiency.
It greatly reduces the burden on personnel, shortens the analysis time from nearly an hour to a few minutes, significantly improves work efficiency, and facilitates fault analysis through standardized reports and chart visualizations.
Smart Images

Figure CN121734673A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The application belongs to the field of automatic detection and relates to a large amphibious aircraft crew warning system fault detection method and device. BACKGROUND
[0002] The crew warning system on the large amphibious aircraft is cross-linked with all systems of the aircraft, involves more than 500 warning items, each warning has four warning states, namely warning activation, warning suppression, warning blanking and warning freezing state, and the warning logic is complex, and when performing post-flight warning system fault diagnosis, the warning situation of the aircraft during the whole flight needs to be analyzed by using flight parameter big data. The flight parameter big data on the amphibious aircraft has all flight information of more than 7000 columns of parameters, and once a complete flight, more than 100 megabytes of data can be reached, and it is a very time-consuming and laborious work to extract the required information from such a large amount of data for analysis.
[0003] At present, the data can be successfully imported into the NI interface only after being converted into a certain data format by manual operation, and a script language needs to be loaded, according to the size of the data capacity, the data import process generally takes at least about 1 hour, after the warning data is displayed, whether each warning item is in the warning activation state needs to be found one by one, then the warning logic expression in the warning function interface control file and the data in the corresponding flight parameter analysis file are viewed, and the two are compared with each other, so that the warning situation can be finally confirmed. The post-flight warning fault diagnosis analysis is very time-consuming and laborious. SUMMARY
[0004] The purpose of the application is to solve the problems of complicated operation, time-consuming and difficult to interpret the results in the existing post-flight crew warning system fault diagnosis analysis, and provide a large amphibious aircraft crew warning system fault detection method and device. By software programming, an alarm logic database is constructed, a warning situation analysis platform is built, flight parameter big data is loaded, an alarm report is automatically generated, an alarm conclusion is automatically output, and the warning data can be displayed in a visual form such as a chart, so that the work efficiency is greatly improved and the work burden is reduced.
[0005] The technical scheme of the application is as follows: A large amphibious aircraft crew warning system fault detection method, comprising the following steps: (1) constructing an alarm logic database, specifically comprising: The interface is initialized, the tool bar and the drop-down box are added in the interface, the flight parameter big data file is loaded, the alarm parameter data file of the alarm logic database is loaded, and the alarm diagnosis automation detection platform is built. When the alarm report needs to be generated, the simulation alarm data and the report are generated through the corresponding module. When an alarm is selected, the related flight parameter data column and the condition column are obtained from the alarm parameter file, the flight parameter data is filtered, the continuous alarm time period is calculated, and the logic name of the alarm is displayed. The alarm logic name corresponding to the alarm is clicked in the interface, the data of the alarm logic at the whole flight time is displayed in the interface, and the fault detection is completed. (2) Build an alarm diagnosis automation detection platform and perform fault detection The interface is initialized, the tool bar and the drop-down box are added in the interface, the flight parameter big data file is loaded, the alarm parameter data file of the alarm logic database is loaded, and the alarm diagnosis automation detection platform is built. When the alarm report needs to be generated, the simulation alarm data and the report are generated through the corresponding module. When an alarm is selected, the related flight parameter data column and the condition column are obtained from the alarm parameter file, the flight parameter data is filtered, the continuous alarm time period is calculated, and the logic name of the alarm is displayed. The alarm logic name corresponding to the alarm is clicked in the interface, the data of the alarm logic at the whole flight time is displayed in the interface, and the fault detection is completed.
[0006] Further, in step (1), the alarm logic database is a table in which alarm logic expressions are replaced in format according to flight parameter analysis data names, and contains an alarm name, a flight parameter big data column name required by the alarm, an alarm condition, an alarm logic, and an alarm level.
[0007] Further, the construction process of the alarm logic database includes: Step 1.1: The interface is initialized using the init_ui () function, that is, all interface elements are initialized, and the interface elements include an alarm expression editing area and current alarm information; Step 1.2: The load_csv () function is used to load the.CSV file, and the.CSV file is composed of a serial number, an alarm name, a required column name, an alarm condition, an alarm logic, and an alarm level; Step 1.3: When the above.CSV file fails to be loaded, an error prompt is given; when the file is successfully loaded, the alarm item that needs to be edited in the alarm logic expression is selected in the drop-down box of the interface “select alarm”; Step 1.4: The add_operator () or add_function () function is used to edit the logic expression; the alarm column item on the left side is selected in the interface, the different values of the condition sequence are selected in the editing box on the right side, and the selected alarm column is edited with an operator or a function; Step 1.5: After editing, use the test_expr() function to "test the logic" to verify whether the editing is correct. If there is an error, an error prompt appears in the "test result" box. Step 1.6: After passing the test, the alarm condition of this alarm is saved, and the construction of the alarm logic database is completed.
[0008] Further, in step (1), the serial number represents the sequence of the alarm, which is located in the first column of the table; the alarm name is the name defined in the ATA chapter of the alarm file, which is located in the second column of the table; the required column name is the corresponding flight parameter data column name required by this alarm, which is located in the third column of the table; the alarm condition is the alarm logic expression corresponding to the flight parameter data column name of this alarm, which is located in the fourth column of the table; the alarm logic is the Chinese description of this alarm, which is located in the fifth column of the table; the alarm level is the alarm level of this alarm, which is located in the sixth column of the table. The.CSV file is a table that already has the specific contents of serial number, alarm name, required column number, alarm logic, and alarm level, and contains the alarm condition header.
[0009] Further, an alarm diagnosis automation detection platform is built, and fault detection is performed, which specifically includes the following steps: Step 2.1: First, use the init_ui() function to initialize the interface, and use the init_toolbar() function to add a toolbar and a drop-down box in the interface; Step 2.2: Use the load_file() function to load the.CSV or excel file of the flight parameter big data, and update the table view; Step 2.3: Use the load_alarm_parameters() function to load the.CSV file of the alarm logic database, and update the alarm name drop-down box; Step 2.4: When the "generate alarm report" menu is clicked, use the all_alarm_save() function; then call the generate_mock_data() function to generate simulated alarm data, and then call the create_alarm_report() function to generate a report, view the alarm statistics table and the detailed records of each alarm; Step 2.5: When the user selects an alarm from the alarm name drop-down box, the filter_alarms() function is triggered to obtain the related flight parameter data column and condition column from the alarm parameter file, filter the flight parameter data, call the calculate_continuous_periods() function to calculate the continuous alarm period, and display the logic name of the alarm; Step 2.6: Click the alarm logic name corresponding to this alarm to display the data of this alarm logic at the entire flight time in the right side of the interface, and complete the fault detection.
[0010] Further, in step 2.6, the data of the whole flight moment of this alarm logic is displayed in the right side of the interface, and is identified by different colors, and crosshair cursor viewing can be performed, zooming and panning functions are supported; meanwhile, the data of the alarm logic is displayed in the form of a table.
[0011] Further, step 2.7 is further included: clicking "save alarm result" to save the analyzed alarm chart.
[0012] Further, step 2.8 is further included: clicking the "exit" menu to exit this alarm diagnosis analysis.
[0013] A fault detection device based on a large amphibious aircraft crew alarm system, comprising: An alarm logic database construction module, functions including: Initializing a generation interface; loading an alarm parameter data file; when the alarm parameter data file fails to be loaded, an error prompt is performed, after the file is successfully loaded, alarm entries that need to be edited for alarm logic expression are selected; the logic expression is edited; alarm column items and condition sequences are selected on the interface, and operators or functions of the selected alarm column are edited; after the operator or function editing is completed, test logic verification is performed, and an error prompt is performed if there is an error; after the test is qualified, the alarm condition is saved, and the alarm logic database construction is completed; An alarm diagnosis automation detection platform and a fault detection module, functions including: Interface initialization, adding a toolbar and a drop-down box in the interface; loading a flight parameter big data file; loading an alarm parameter data file of the alarm logic database, completing the construction of the alarm diagnosis automation detection platform; when an alarm report needs to be generated, simulated alarm data and a report are generated through a corresponding module; when an alarm is selected, relevant flight parameter data columns and condition columns are obtained from the alarm parameter file, flight parameter data is filtered, continuous alarm time periods are calculated, and the logic name of the alarm is displayed; the alarm logic name corresponding to the alarm is clicked in the interface, the data of the whole flight moment of this alarm logic is displayed in the interface, and the fault detection is completed.
[0014] The detection method of the present application greatly reduces the personnel burden, shortens the original nearly one hour of time to a few minutes, greatly improves the work efficiency, and at the same time, the standardized report and the chart visualization display are easy for personnel to analyze the fault condition in detail. BRIEF DESCRIPTION OF DRAWINGS
[0015] Figure 1 The software flowchart of the alarm logic database; Figure 2 The software flowchart of the alarm fault diagnosis analysis. Detailed Implementation
[0016] The following description of embodiments provides a more detailed explanation of the specific implementation of the present invention, including the shape and structure of each component, the relative positions and connections between the parts, the function and working principle of each part, the manufacturing process, and the operation and use methods, in order to help those skilled in the art to have a more complete, accurate, and in-depth understanding of the concept and technical solution of the present invention. One embodiment of the present invention is as follows: A fault detection method based on the alarm system of a large amphibious aircraft crew is provided, including the following steps: (1) Construct an alarm logic database, specifically including: Initialize the interface; load the alarm parameter data file; if the alarm parameter data file fails to load, display an error message; once the file loads successfully, select the alarm entries for which alarm logic expressions need to be edited; edit the logic expressions; select alarm columns and condition sequences on the interface, and edit the operators or functions of the selected alarm columns; after the operators or functions are edited, perform logic verification tests, and display error messages if there are any errors; after the test is passed, save the alarm conditions and complete the construction of the alarm logic database. In step (1), the alarm logic database is a table that replaces the alarm logic expression with the format of the flight parameter parsing data name. It includes the alarm name, the data column name of the flight parameter required for this alarm, the alarm condition, the alarm logic, and the alarm level.
[0017] The construction process of the alarm logic database includes: Step 1.1: First, use the init_ui() function to initialize the interface, that is, initialize all interface elements, including the alarm expression editing area and the current alarm information; Step 1.2: Use the load_csv() function to load the .CSV file, which consists of the serial number, alarm name, required column names, alarm conditions, alarm logic, and alarm level; Step 1.3: If the above .CSV file fails to load, display an error message; if the file loads successfully, select the alarm entry that needs to be edited in the "Select Alarm" drop-down box on the interface. Step 1.4: Use the add_operator() or add_function() function to edit the logical expression; select the alarm column items on the left side of the interface, select different values of the condition sequence in the edit box on the right side, and edit the operators or functions of the selected alarm column; Step 1.5: After editing, use the test_expr() function to perform "test logic" to verify whether the editing is correct. If there is an error, an error message will appear in the "Test Result" box. Step 1.6: After the test is passed, the alarm conditions for this alarm are saved, and the alarm logic database construction is completed.
[0018] In step (1), the serial number represents the sequence of alarms and is located in the first column of the table; the alarm name is the name defined in the alarm file according to the ATA section and is located in the second column of the table; the required column name is the flight parameter data column name required for this alarm and is located in the third column of the table; the alarm condition is the alarm logic expression corresponding to the flight parameter data column name used for this alarm and is located in the fourth column of the table; the alarm logic is the Chinese description of this alarm and is located in the fifth column of the table; the alarm level is the alarm level of this alarm and is located in the sixth column of the table; the .CSV file is a table that already contains the serial number, alarm name, required column number, alarm logic and alarm level, and includes the alarm condition header.
[0019] (2) Build an automated alarm diagnosis and detection platform and perform fault detection. The interface is initialized by adding toolbars and dropdown menus; the flight parameter big data file is loaded; the alarm parameter data file of the alarm logic database is loaded, completing the construction of the automated alarm diagnosis and detection platform; when an alarm report needs to be generated, simulated alarm data and reports are generated through the corresponding modules; when an alarm is selected, the relevant flight parameter data columns and condition columns are obtained from the alarm parameter file, the flight parameter data is filtered, the continuous alarm time period is calculated, and the logical name of the alarm is displayed; clicking the alarm logic name corresponding to this alarm in the interface displays the data of this alarm logic for the entire flight time, completing the fault detection.
[0020] Specifically, the following steps are included: Step 2.1: First, use the init_ui() function to initialize the interface, and use the init_toolbar() function to add a toolbar and dropdown list to the interface; Step 2.2: Use the load_file() function to load the large .CSV or excel file containing flight parameter data and update the table view; Step 2.3: Use the load_alarm_parameters() function to load the .CSV file of the alarm logic database and update the alarm name dropdown list; Step 2.4: When clicking the "Generate Alarm Report" menu, use the all_alarm_save() function; then call the generate_mock_data() function to generate simulated alarm data, and then call the create_alarm_report() function to generate a report, view the alarm statistics table and detailed records of each alarm; Step 2.5: When the user selects an alarm from the alarm name drop-down box, the filter_alarms() function is triggered to obtain the relevant flight parameter data columns and condition columns from the alarm parameter file, filter the flight parameter data, call the calculate_continuous_periods() function to calculate the continuous alarm time period, and display the logical name of the alarm. Step 2.6: Click the alarm logic name corresponding to this alarm. The data for this alarm logic throughout the entire flight time will be displayed on the right side of the interface, completing the fault detection. In Step 2.6, the data for this alarm logic throughout the entire flight time will be displayed on the right side of the interface, marked with different colors. A crosshair cursor can be used to view the data, and zooming and panning functions are supported. The data for this alarm logic will also be displayed in a table format.
[0021] Step 2.7: Click "Save Alarm Results" to save the analyzed alarm charts.
[0022] Step 2.8: Click the "Exit" menu to exit this alarm diagnosis and analysis.
[0023] The second embodiment of the present invention is an automated detection method for fault diagnosis of a crew alarm system based on big data of flight parameters from a large amphibious aircraft. This method adopts a modular design, achieves efficient data processing, outputs professional alarm reports, and provides a user-friendly visual interface. Its implementation includes the following steps: (1) Constructing the alarm logic database: The alarm logic database is a table consisting of alarm logic expressions that have been formatted and replaced according to the flight parameter parsing data names. It includes the alarm name, the data column names of the flight parameter big data required for this alarm, the alarm conditions (i.e., the logic expressions that replace the alarm logic names using the data column names of the flight parameter big data), the alarm logic, and the alarm level. To facilitate machine language programming, the alarm logic in the alarm database should be converted according to the data column names in the flight parameter big data.
[0024] (2) Build an automated alarm diagnosis and detection platform: After the alarm logic database is formed, users can use different functional modules to load flight parameter data; select alarm name drop-down box; visualize alarm data with charts and display data values in real time; automatically generate alarm tables and so on to complete the alarm diagnosis.
[0025] The aforementioned automated alarm diagnosis software uses Python as its platform; the required foundational files are the flight parameter big data obtained from post-flight analysis and the alarm logic database. The software process comprises two parts: the alarm logic database software construction process and the alarm fault diagnosis and analysis software process.
[0026] The steps for building an alarm logic database software are as follows: Step 1: First, use the init_ui() function to initialize and generate the interface. All interface elements are initialized, including the alarm expression editing area, the current alarm information, the logic result, the alarm logic verification, etc. Step 2: Use the `load_csv()` function to load the alarm parameter data file. This file is a table consisting of a sequence number, alarm name, required column names, alarm conditions, alarm logic, and alarm level. The sequence number represents the alarm sequence and is located in the first column; the alarm name is the name defined in the ATA section of the alarm file and is located in the second column; the required column names are the flight parameter data column names corresponding to this alarm and are located in the third column; the alarm conditions are the alarm logic expressions corresponding to the flight parameter data column names used in this alarm and are located in the fourth column; the alarm logic is the Chinese description of this alarm and is located in the fifth column; and the alarm level is the alarm grade of this alarm and is located in the sixth column. The alarm parameter data file should be a table that already contains the specific content of the sequence number, alarm name, required column names, alarm logic, and alarm level, and includes an alarm conditions header.
[0027] Step 3: An error message will appear if the alarm parameter data file fails to load. Once the file is loaded successfully, you can select the alarm entry for which you need to edit the alarm logic expression in the "Select Alarm" drop-down menu (interface).
[0028] Step 4: Use functions such as add_operator() and add_function() to edit the logical expression; select the alarm column item on the left (interface), and in the edit box on the right, you can select the condition sequence, minimum value, maximum value, median value, or average value, and edit the operator or function of the selected alarm column.
[0029] Step 5: After editing, use functions such as test_expr() to "test the logic" and verify that the editing is correct. If there are any errors, an error message will appear in the "Test Results" box below.
[0030] Step 6: After the test is passed, click "Save Conditions" to save the alarm conditions for this alarm.
[0031] Step 7: Click "Save CSV" to complete the saving of this alarm logic database.
[0032] The alarm fault diagnosis and analysis software process steps are as follows: Step 1: First, initialize using the init_ui() function, and add the toolbar and dropdown menu using the init_toolbar() function.
[0033] Step 2: Use the load_file() function to load the large .CSV or excel file containing flight parameter data, and update the table view, etc.
[0034] Step 3: Use the load_alarm_parameters() function to load the .CSV file of the alarm logic database and update the alarm name dropdown.
[0035] Step 4: When the user clicks the "Generate Alarm Report" menu, the all_alarm_save() function is used; then the program calls the generate_mock_data() function to generate simulated alarm data, and then calls the create_alarm_report() function to generate a Word report, where users can view alarm statistics tables and detailed records of each alarm.
[0036] Step 5: When the user selects an alarm from the alarm name dropdown, the filter_alarms() function is triggered to obtain the relevant flight parameter data columns and condition columns from the alarm parameter file, filter the flight parameter data, call the calculate_continuous_periods() function to calculate the continuous alarm time period, and display the logical name of the alarm.
[0037] Step 6: Users can click on multiple alarm logic names corresponding to this alarm to display the data for this alarm logic throughout the entire flight time in the right-hand graph, marked with different colors. A crosshair cursor is available for viewing, and zooming and panning functions are supported. The data for this alarm logic is also displayed in a table below the graph.
[0038] Step 7: Users can click "Save Alarm Results" to save the analyzed alarm charts.
[0039] Step 8: Users can click the "Exit" menu to exit this alarm diagnosis and analysis.
[0040] The third embodiment of the present invention provides a fault detection device based on the alarm system of a large amphibious aircraft crew, comprising: The alarm logic database construction module includes the following functions: Initialize the interface; load the alarm parameter data file; if the alarm parameter data file fails to load, display an error message; once the file loads successfully, select the alarm entries for which alarm logic expressions need to be edited; edit the logic expressions; select alarm columns and condition sequences on the interface, and edit the operators or functions of the selected alarm columns; after the operators or functions are edited, perform logic verification tests, and display error messages if there are any errors; after the test is passed, save the alarm conditions and complete the construction of the alarm logic database. An automated alarm diagnostic platform and fault detection module, with functions including: The interface is initialized by adding toolbars and dropdown menus; the flight parameter big data file is loaded; the alarm parameter data file of the alarm logic database is loaded, completing the construction of the automated alarm diagnosis and detection platform; when an alarm report needs to be generated, simulated alarm data and reports are generated through the corresponding modules; when an alarm is selected, the relevant flight parameter data columns and condition columns are obtained from the alarm parameter file, the flight parameter data is filtered, the continuous alarm time period is calculated, and the logical name of the alarm is displayed; clicking the alarm logic name corresponding to this alarm in the interface displays the data of this alarm logic for the entire flight time, completing the fault detection.
[0041] The detection method of this invention greatly reduces the workload of personnel compared to the original method of using the NI platform for alarm and fault analysis. The time required is reduced from nearly one hour to just a few minutes, which greatly improves work efficiency. At the same time, the standardized reports and charts provide visual representation, making it easy for personnel to analyze the fault situation in detail.
[0042] It should be noted that the above embodiments are merely illustrative examples of the present invention, intended to help understand the technical solution and core ideas of the present invention. Those skilled in the art should understand that any modifications, equivalent substitutions, or improvements made based on the concept of the present invention without departing from its principles should be considered within the scope of protection of the present invention, and the specific scope of protection is determined by the claims.
Claims
1. A fault detection method based on the alarm system of a large amphibious aircraft crew, characterized in that, Includes the following steps: (1) Construct an alarm logic database, specifically including: Initialize the interface; load the alarm parameter data file; if the alarm parameter data file fails to load, display an error message; once the file loads successfully, select the alarm entries for which alarm logic expressions need to be edited; edit the logic expressions; select alarm columns and condition sequences on the interface, and edit the operators or functions of the selected alarm columns; after the operators or functions are edited, perform logic verification tests, and display error messages if there are any errors; after the test is passed, save the alarm conditions and complete the construction of the alarm logic database. (2) Build an automated alarm diagnosis and detection platform and perform fault detection. The interface is initialized by adding toolbars and dropdown menus; the flight parameter big data file is loaded; the alarm parameter data file of the alarm logic database is loaded, completing the construction of the automated alarm diagnosis and detection platform; when an alarm report needs to be generated, simulated alarm data and reports are generated through the corresponding modules; when an alarm is selected, the relevant flight parameter data columns and condition columns are obtained from the alarm parameter file, the flight parameter data is filtered, the continuous alarm time period is calculated, and the logical name of the alarm is displayed; clicking the alarm logic name corresponding to this alarm in the interface displays the data of this alarm logic for the entire flight time, completing the fault detection.
2. The fault detection method based on the alarm system of a large amphibious aircraft crew according to claim 1, characterized in that, In step (1), the alarm logic database is a table that replaces the alarm logic expression with the format of the flight parameter parsing data name. It includes the alarm name, the data column name of the flight parameter required for this alarm, the alarm condition, the alarm logic, and the alarm level.
3. The fault detection method based on the alarm system of a large amphibious aircraft crew according to claim 2, characterized in that, The process of building the alarm logic database includes: Step 1.1: First, use the init_ui() function to initialize the interface, that is, initialize all interface elements, including the alarm expression editing area and the current alarm information; Step 1.2: Use the load_csv() function to load the .CSV file, which consists of the serial number, alarm name, required column names, alarm conditions, alarm logic, and alarm level; Step 1.3: If the above .CSV file fails to load, display an error message; if the file loads successfully, select the alarm item for which you need to edit the alarm logic expression in the "Select Alarm" drop-down box on the interface. Step 1.4: Use the add_operator() or add_function() function to edit the logical expression; select the alarm column items on the left side of the interface, select different values of the condition sequence in the edit box on the right side, and edit the operators or functions of the selected alarm column; Step 1.5: After editing, use the test_expr() function to perform "test logic" to verify whether the editing is correct. If there is an error, an error message will appear in the "Test Result" box. Step 1.6: After the test is passed, the alarm conditions for this alarm are saved, and the alarm logic database construction is completed.
4. The fault detection method based on the alarm system of a large amphibious aircraft crew according to claim 3, characterized in that, In step (1), the serial number represents the sequence of alarms and is located in the first column of the table; the alarm name is the name defined in the alarm file according to the ATA section and is located in the second column of the table; the required column name is the flight parameter data column name required for this alarm and is located in the third column of the table; the alarm condition is the alarm logic expression corresponding to the flight parameter data column name used for this alarm and is located in the fourth column of the table; the alarm logic is the Chinese description of this alarm and is located in the fifth column of the table; the alarm level is the alarm level of this alarm and is located in the sixth column of the table; the .CSV file is a table that already contains the serial number, alarm name, required column number, alarm logic and alarm level, and includes the alarm condition header.
5. The fault detection method based on the alarm system of a large amphibious aircraft crew according to claim 3, characterized in that, Build an automated alarm diagnosis and detection platform and perform fault detection, specifically including the following steps: Step 2.1: First, use the init_ui() function to initialize the interface, and use the init_toolbar() function to add a toolbar and dropdown list to the interface; Step 2.2: Use the load_file() function to load the large .CSV or excel file containing flight parameter data and update the table view; Step 2.3: Use the load_alarm_parameters() function to load the .CSV file of the alarm logic database and update the alarm name dropdown list; Step 2.4: When clicking the "Generate Alarm Report" menu, use the all_alarm_save() function; then call the generate_mock_data() function to generate simulated alarm data, and then call the create_alarm_report() function to generate a report, view the alarm statistics table and detailed records of each alarm; Step 2.5: When the user selects an alarm from the alarm name drop-down box, the filter_alarms() function is triggered to obtain the relevant flight parameter data columns and condition columns from the alarm parameter file, filter the flight parameter data, call the calculate_continuous_periods() function to calculate the continuous alarm time period, and display the logical name of the alarm. Step 2.6: Click on the alarm logic name corresponding to this alarm. The data of this alarm logic for the entire flight time will be displayed on the right side of the interface to complete the fault detection.
6. The fault detection method based on the alarm system of a large amphibious aircraft crew according to claim 5, characterized in that, In step 2.6, the data of this alarm logic for the entire flight time is displayed on the right side of the interface and marked with different colors. It can also be viewed with a crosshair cursor and supports zoom and pan functions. The data of this alarm logic is also displayed in a table format.
7. The fault detection method based on the alarm system of a large amphibious aircraft crew according to claim 6, characterized in that, It also includes step 2.7: Click "Save Alarm Results" to save the analyzed alarm charts.
8. The fault detection method based on the alarm system of a large amphibious aircraft crew according to claim 7, characterized in that, It also includes step 2.8: Click the "Exit" menu to exit this alarm diagnosis and analysis.
9. A fault detection device based on the alarm system of a large amphibious aircraft crew, characterized in that, include: The alarm logic database construction module includes the following functions: Initialize the interface; load the alarm parameter data file; if the alarm parameter data file fails to load, display an error message; once the file loads successfully, select the alarm entries for which alarm logic expressions need to be edited; edit the logic expressions; select alarm columns and condition sequences on the interface, and edit the operators or functions of the selected alarm columns; after the operators or functions are edited, perform logic verification tests, and display error messages if there are any errors; after the test is passed, save the alarm conditions and complete the construction of the alarm logic database. An automated alarm diagnostic platform and fault detection module, with functions including: The interface is initialized by adding toolbars and dropdown menus; the flight parameter big data file is loaded; the alarm parameter data file of the alarm logic database is loaded, completing the construction of the automated alarm diagnosis and detection platform; when an alarm report needs to be generated, simulated alarm data and reports are generated through the corresponding modules; when an alarm is selected, the relevant flight parameter data columns and condition columns are obtained from the alarm parameter file, the flight parameter data is filtered, the continuous alarm time period is calculated, and the logical name of the alarm is displayed; clicking the alarm logic name corresponding to this alarm in the interface displays the data of this alarm logic for the entire flight time, completing the fault detection.