Method and device for maintaining and testing three-axis acceleration and impact detection sensor
The triaxial acceleration and impact detection sensor achieves self-testing, parameter acquisition, calibration, configuration, and data processing functions through RS-422 bus signals, solving the problem of low sensor maintenance efficiency and realizing full-function detection and simplified maintenance of the sensor.
Patent Information
- Application Number
- CN202510922995.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-04
- Publication Date
- 2025-10-31
AI Technical Summary
Existing methods for maintaining and testing triaxial acceleration and impact sensors are inefficient and inconvenient to operate, making them unsuitable for the testing requirements of new sensors.
The communication link between the host computer and the sensor is established using RS-422 bus signals. Command frames are encapsulated and parsed using a predefined frame format to realize functions such as sensor self-test, parameter acquisition, calibration, configuration, data download and processing.
It enables full-function detection of sensors, simplifies the maintenance process, avoids the need for complex external testing environments, and provides a simple and easy-to-use maintenance and testing method.
Smart Images

Figure CN120870608A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of avionics technology and relates to a maintenance and testing method and device for a triaxial acceleration and impact detection sensor. Background Technology
[0002] The triaxial accelerometer and impact detection sensor is an essential airborne product for aircraft. This sensor integrates the functions of a triaxial accelerometer and an impact detection switch. The triaxial accelerometer can collect the aircraft's lateral, longitudinal, and normal accelerations and output them to the onboard acquisition equipment in analog form for monitoring the aircraft's flight attitude. The impact detection switch can detect the aircraft's overload signal. When the impact acceleration exceeds the specified acceleration threshold and duration, it will output a trigger discrete signal to trigger the corresponding equipment on the aircraft to start working normally.
[0003] Currently, the maintenance and testing of triaxial acceleration and impact sensors involves opening the onboard cover and using a debugger for maintenance and data loading. This method is inefficient and inconvenient, and cannot meet the maintenance and testing requirements of new triaxial acceleration and impact sensors. Therefore, to enhance the testing depth and breadth of this equipment and improve maintenance efficiency, there is an urgent need to propose an automated maintenance and testing platform and method. Summary of the Invention
[0004] To address the technical problems of low efficiency, inconvenient operation, and difficulty in meeting testing requirements of existing triaxial acceleration and impact detection sensor maintenance and testing methods, this invention discloses a maintenance and testing method for triaxial acceleration and impact detection sensors, the method comprising the following steps: S1. Establish a communication link between the sensor under test and the host computer. The sensor under test is a triaxial acceleration and impact detection sensor. S2. In the host computer, the test data is encapsulated into a command frame according to a predefined frame format, and the host computer sends the command frame to the sensor under test. S3. The operation instruction is obtained by parsing the command frame in the sensor under test, and the operation instruction is sent to the corresponding operation module so that the operation module can operate the sensor under test. After the operation is completed, the operation result is encapsulated into a response frame according to the predefined frame format and the response frame is sent to the host computer.
[0005] Furthermore, in step S1, an RS-422 bus is used, with the host computer as the master and the sensor under test as the slave, to establish a communication link between the host computer and the sensor under test.
[0006] Furthermore, in step S2, the predefined frame format is frame header + command / response + frame length + test data + verification.
[0007] Furthermore, in step S2, the test data includes any one of the following: sensor self-test command, parameter acquisition command, parameter calibration command, parameter configuration command, data download command, software loading command, and data processing command.
[0008] Furthermore, in step S3, the operation instructions include self-test instructions, parameter acquisition instructions, parameter calibration instructions, parameter configuration instructions, data download instructions, software loading instructions, and data processing instructions.
[0009] Furthermore, the self-test instruction includes self-test content and self-test method. The self-test content includes multiple items such as product number, software version, software time, loader, and storage capacity. The self-test method includes any one of single self-test, periodic self-test, and maintenance self-test. The operation result corresponding to the parameter acquisition instruction includes the current parameter and / or the current parameter correction value, the maximum parameter and the minimum parameter within the set time period; The operation result corresponding to the parameter calibration command includes correction coefficients, which include slope and bias.
[0010] Furthermore, the parameter configuration instructions include multiple parameters such as impact threshold, trigger time pulse width, impact value duration, and acceleration value update rate; the data download instructions include a history download instruction or a full download instruction; the software loading instructions include any one of a data file selection instruction, a loading instruction, a readback instruction, and a restart instruction; and the data processing instructions include a data preprocessing instruction or a display playback instruction.
[0011] This invention also provides a maintenance and testing device for a triaxial acceleration and impact detection sensor, including a communication module, a command frame generation module, a command parsing module, and a response frame generation module.
[0012] The communication module is used to establish a communication link between the sensor under test and the host computer, send command frames to the sensor under test and send response frames to the host computer, wherein the sensor under test is a triaxial acceleration and impact detection sensor. The command frame generation module is used to encapsulate test data into command frames in the host computer according to a predefined frame format; The command parsing module is used to parse the command frame in the sensor under test to obtain the operation instruction, and send the operation instruction to the corresponding operation module so that the operation module can operate the sensor under test. The response frame generation module is used to encapsulate the operation result into a response frame according to the predefined frame format after the operation is completed.
[0013] Furthermore, the operation module includes a sensor self-test module, a parameter acquisition module, a parameter calibration module, a parameter configuration module, a data download module, a software loading module, and a data processing module.
[0014] The method of this invention realizes the functions of sensor control self-test, parameter acquisition, parameter calibration, parameter configuration, data download, configuration loading, and data processing through RS-422 bus signals. This satisfies the functional testing and routine ground maintenance of sensors, effectively solving the difficulty of testing sensors in complex external test environments due to their diverse types and complex functions; it also eliminates the need to open the cover and use a debugger for maintenance and data loading during the maintenance process. This testing method is simple and convenient, enabling all routine functional maintenance of the sensor and testing its functionality solely through an external RS-422 bus signal. The main beneficial effects are as follows: 1) Provides a simple and easy-to-implement maintenance and inspection method. By using a single external RS-422 bus signal and pre-set simple communication commands, the daily function testing and maintenance of the sensor can be achieved without relying on a complex external testing environment.
[0015] 2) Enables detection of all sensor functions. The system utilizes RS-422 bus signals to perform detection of all functional modules, including sensor control self-test, parameter acquisition, parameter calibration, parameter configuration, data download, configuration loading, and data processing, covering a full range of detection functions. Attached Figure Description
[0016] To more clearly illustrate the technical solutions of the embodiments of this application, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0017] Figure 1 This is a flowchart of the maintenance and testing method for the triaxial acceleration and impact detection sensor disclosed in an embodiment of the present invention; Figure 2 This is an architecture diagram of the operation module of the maintenance and testing device disclosed in an embodiment of the present invention. Detailed Implementation
[0018] The embodiments of this application will now be described in detail with reference to the accompanying drawings.
[0019] The following specific examples illustrate the implementation of this application. Those skilled in the art can easily understand other advantages and effects of this application from the content disclosed in this specification. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. This application can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed based on different viewpoints and applications without departing from the spirit of this application. It should be noted that, in the absence of conflict, the following embodiments and features of the embodiments can be combined with each other. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0020] This invention discloses a maintenance and testing method for a triaxial acceleration and impact detection sensor. See [link to relevant documentation]. Figure 1 As shown, the method includes the following steps: S1. Establish a communication link between the sensor under test and the host computer. The sensor under test is a triaxial acceleration and impact detection sensor. S2. In the host computer, the test data is encapsulated into a command frame according to a predefined frame format, and the host computer sends the command frame to the sensor under test. S3. The operation instruction is obtained by parsing the command frame in the sensor under test, and the operation instruction is sent to the corresponding operation module so that the operation module can operate the sensor under test. After the operation is completed, the operation result is encapsulated into a response frame according to the predefined frame format and the response frame is sent to the host computer.
[0021] Furthermore, in step S1, an RS-422 bus is used, with the host computer as the master and the sensor under test as the slave, to establish a communication link between the host computer and the sensor under test. During communication, the host computer sends commands, and the sensor under test receives the commands and responds.
[0022] Furthermore, in step S2, the predefined frame format is frame header + command / response + frame length + test data + checksum. A single-byte format and baud rate can also be defined. The single-byte format can use "1 start bit + 8 data bits + 1 stop bit", and the baud rate can be set to 115200bps as needed.
[0023] In addition, time constraints can be set for communication between the two devices. Specifically, after the host computer sends a command frame, the sensor under test should respond within 1 second. If the timeout occurs (the host computer does not receive a response for more than 1.1 seconds), the host computer can resend the command as needed (for some commands). If there is still no response after 5 resends, a communication timeout fault is reported, and transmission stops. The sensor under test does not respond when receiving errors. Data between the two devices can be transmitted in a "low byte first, high byte last" manner.
[0024] Furthermore, in step S2, the test data includes any one of the following: sensor self-test command, parameter acquisition command, parameter calibration command, parameter configuration command, data download command, software loading command, and data processing command.
[0025] Furthermore, in step S3, the operation instructions include self-test instructions, parameter acquisition instructions, parameter calibration instructions, parameter configuration instructions, data download instructions, software loading instructions, and data processing instructions.
[0026] Furthermore, the self-test instruction includes self-test content and self-test method. The self-test content includes multiple items such as product number, software version, software time, loader, and storage capacity. The self-test method includes any one of single self-test, periodic self-test, and maintenance self-test. The operation result corresponding to the parameter acquisition instruction includes the current parameter and / or the current parameter correction value, the maximum parameter and the minimum parameter within the set time period; The operation result corresponding to the parameter calibration command includes correction coefficients, which include slope and bias.
[0027] Furthermore, the parameter configuration instructions include multiple parameters such as impact threshold, trigger time pulse width, impact value duration, and acceleration value update rate; the data download instructions include a history download instruction or a full download instruction; the software loading instructions include any one of a data file selection instruction, a loading instruction, a readback instruction, and a restart instruction; and the data processing instructions include a data preprocessing instruction or a display playback instruction.
[0028] Based on the same inventive concept, this invention also provides a maintenance and testing device for a triaxial acceleration and impact detection sensor, as described in the following embodiments. Since the principle underlying the problem-solving of the triaxial acceleration and impact detection sensor maintenance and testing device is similar to the maintenance and testing method for the triaxial acceleration and impact detection sensor disclosed in the above embodiments, the implementation of the triaxial acceleration and impact detection sensor maintenance and testing device can refer to the implementation of the maintenance and testing method for the triaxial acceleration and impact detection sensor disclosed in the above embodiments, and repeated details will not be elaborated further. As used below, the terms "unit" or "module" can refer to a combination of software and / or hardware that performs a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.
[0029] This invention also discloses a maintenance and testing device for a triaxial acceleration and impact detection sensor. The device includes a communication module, a command frame generation module, a command parsing module, and a response frame generation module. The structure is described below.
[0030] The communication module is used to establish a communication link between the sensor under test and the host computer, send command frames to the sensor under test and send response frames to the host computer, wherein the sensor under test is a triaxial acceleration and impact detection sensor. The command frame generation module is used to encapsulate test data into command frames in the host computer according to a predefined frame format; The command parsing module is used to parse the command frame in the sensor under test to obtain the operation instruction, and send the operation instruction to the corresponding operation module so that the operation module can operate the sensor under test. The response frame generation module is used to encapsulate the operation result into a response frame according to the predefined frame format after the operation is completed.
[0031] Further, see Figure 2 As shown, the operation module includes a sensor self-test module, a parameter acquisition module, a parameter calibration module, a parameter configuration module, a data download module, a software loading module, and a data processing module.
[0032] Specifically, the sensor self-test module is used to perform self-testing of the sensor. The host computer sends a self-test command to the sensor via an RS-422 bus signal, and then parses the received sensor self-test command. The parsed content includes information such as product number, software version, software time, loader, and storage capacity. Self-testing methods include single self-test, periodic self-test, and maintenance self-test.
[0033] The parameter acquisition module is used to analyze and display the parameters of the sensor along each axis (X-axis, Y-axis, Z-axis). The host computer sends a parameter acquisition command to the sensor via an RS-422 bus signal, and then receives the sensor's raw or corrected data. The acquired data includes the current value, minimum value, and maximum value, with the minimum and maximum values being the extreme values obtained after a period of cyclic acquisition.
[0034] The parameter calibration module corrects the acceleration values by relying on the acceleration reference values and acceleration values of the sensor in different axes and using the least squares method (the correction coefficients include slope and offset). The corrected coefficients are then saved as a correction file, which is then loaded into the sensor to be corrected, thereby achieving parameter correction of the acceleration values of the sensor in each axis.
[0035] The parameter configuration module loads the preset configuration information into the sensor via RS-422 bus signal. The configuration information includes information such as impact threshold, trigger time pulse width, impact value duration, and acceleration value update rate. After parameter configuration, the preset information inside the sensor can be externally set.
[0036] The data download module can download data stored in the sensor, including historical download and full download modes, and can also erase the data recorded in the sensor.
[0037] The software loading module loads data files (*.bin) to the sensor product via RS-422 bus signals, enabling the sensor product to load software. The software loading module includes settings modules for data file selection, loading, reading back, and restart.
[0038] The data processing module is responsible for preprocessing, displaying, and playing back the data downloaded from the sensor. The preprocessed data is displayed in the form of reports or curves, which allows users to easily and intuitively display, play back, and check the acceleration values recorded by the sensor.
[0039] The method of this invention realizes the functions of sensor control self-test, parameter acquisition, parameter calibration, parameter configuration, data download, configuration loading, and data processing through RS-422 bus signals. This satisfies the functional testing and routine ground maintenance of sensors, effectively solving the difficulty of testing sensors in complex external test environments due to their diverse types and complex functions; it also eliminates the need to open the cover and use a debugger for maintenance and data loading during the maintenance process. This testing method is simple and convenient, enabling all routine functional maintenance of the sensor and testing its functionality solely through an external RS-422 bus signal. The main beneficial effects are as follows: 1) Provides a simple and easy-to-implement maintenance and inspection method. By using a single external RS-422 bus signal and pre-set simple communication commands, the daily function testing and maintenance of the sensor can be achieved without relying on a complex external testing environment.
[0040] 2) Enables detection of all sensor functions. The system utilizes RS-422 bus signals to perform detection of all functional modules, including sensor control self-test, parameter acquisition, parameter calibration, parameter configuration, data download, configuration loading, and data processing, covering a full range of detection functions.
[0041] Obviously, those skilled in the art should understand that the modules or steps of the above-described embodiments of the present invention can be implemented using general-purpose computing devices. They can be centralized on a single computing device or distributed across a network of multiple computing devices. Optionally, they can be implemented using computer-executable program code, thereby storing them in a storage device for execution by a computing device. In some cases, the steps shown or described can be performed in a different order than those presented here, or they can be fabricated as separate integrated circuit modules, or multiple modules or steps can be fabricated as a single integrated circuit module. Thus, the embodiments of the present invention are not limited to any particular hardware and software combination.
[0042] The above description is merely a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, various modifications and variations can be made to the embodiments of the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the protection scope of the present invention.
Claims
1. A maintenance and testing method for a triaxial acceleration and impact detection sensor, characterized in that, The method includes: Establish a communication link between the sensor under test and the host computer. The sensor under test is a triaxial acceleration and impact detection sensor. In the host computer, the test data is encapsulated into a command frame according to a predefined frame format, and the host computer sends the command frame to the sensor under test. The operation instruction is obtained by parsing the command frame in the sensor under test, and the operation instruction is sent to the corresponding operation module so that the operation module can operate the sensor under test. After the operation is completed, the operation result is encapsulated into a response frame according to the predefined frame format, and the response frame is sent to the host computer.
2. The maintenance and testing method for the triaxial acceleration and impact detection sensor according to claim 1, characterized in that, An RS-422 bus is used, with the host computer as the master and the sensor under test as the slave, to establish a communication link between the host computer and the sensor under test.
3. The maintenance and testing method for the triaxial acceleration and impact detection sensor according to claim 1, characterized in that, The predefined frame format is frame header + command / response + frame length + test data + checksum.
4. The maintenance and testing method for the triaxial acceleration and impact detection sensor according to claim 1, characterized in that, The test data includes any one of the following: sensor self-test command, parameter acquisition command, parameter calibration command, parameter configuration command, data download command, software loading command, and data processing command.
5. The maintenance and testing method for the triaxial acceleration and impact detection sensor according to claim 1, characterized in that, The operation instructions include self-test instructions, parameter acquisition instructions, parameter calibration instructions, parameter configuration instructions, data download instructions, software loading instructions, and data processing instructions.
6. The maintenance and testing method for the triaxial acceleration and impact detection sensor according to claim 5, characterized in that, The self-test instruction includes self-test content and self-test method. The self-test content includes multiple items such as product number, software version, software time, loader, and storage capacity. The self-test method includes any one of single self-test, periodic self-test, and maintenance self-test. The operation result corresponding to the parameter acquisition instruction includes the current parameter and / or the current parameter correction value, the maximum parameter and the minimum parameter within the set time period; The operation result corresponding to the parameter calibration command includes correction coefficients, which include slope and bias.
7. The maintenance and testing method for the triaxial acceleration and impact detection sensor according to claim 5, characterized in that, The parameter configuration instructions include multiple parameters such as impact threshold, trigger time pulse width, impact value duration, and acceleration value update rate. The data download instructions include a history download instruction or a full download instruction. The software loading instructions include any one of a data file selection instruction, a loading instruction, a readback instruction, and a restart instruction. The data processing instructions include a data preprocessing instruction or a display playback instruction.
8. A maintenance and testing device for a triaxial acceleration and impact detection sensor, characterized in that, include: The communication module is used to establish a communication link between the sensor under test and the host computer, send command frames to the sensor under test and send response frames to the host computer, wherein the sensor under test is a triaxial acceleration and impact detection sensor; A command frame generation module is used to encapsulate test data into command frames in a host computer according to a predefined frame format. The command parsing module is used to parse the command frame in the sensor under test to obtain the operation instruction, and send the operation instruction to the corresponding operation module so that the operation module can operate the sensor under test. A response frame generation module is used to encapsulate the operation result into a response frame according to the predefined frame format after the operation is completed.
9. The maintenance and testing device for the triaxial acceleration and impact detection sensor according to claim 8, characterized in that, The operation module includes a sensor self-test module, a parameter acquisition module, a parameter calibration module, a parameter configuration module, a data download module, a software loading module, and a data processing module.