Inertial measurement system digital switching quantity detection device and method thereof

By using a digital switch detection device for inertial measurement systems (INS), which manages switch information through configuration files and linked lists and adaptively matches hardware driver interfaces, the problem of resource waste and low efficiency when INS interfaces with different inertial products is solved, and a fast and efficient testing solution is achieved.

CN119958600BActive Publication Date: 2026-05-19AEROSPACE SCI & IND INERTIA TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
AEROSPACE SCI & IND INERTIA TECH CO LTD
Filing Date
2023-11-09
Publication Date
2026-05-19

AI Technical Summary

Technical Problem

When inertial measurement systems are connected to different inertial products, frequent changes to hardware and software are required, resulting in wasted resources and low efficiency, making it impossible to achieve a fast and efficient testing solution.

Method used

A digital switch quantity detection device for an inertial measurement system is provided, including a monitoring, control and display module, a configuration file module, a digital switch quantity parsing and combination module and a low-level hardware communication interface module. The device isolates the test process from the inertial product through the configuration file, manages the switch quantity information using a linked list and adaptively matches the hardware driver interface to achieve rapid detection.

Benefits of technology

It enables rapid and efficient development and testing of inertial measurement systems, simplifies the workflow of software personnel, improves work efficiency, and reduces resource waste.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119958600B_ABST
    Figure CN119958600B_ABST
Patent Text Reader

Abstract

The application relates to a digital switch quantity detection device of an inertial measurement system and a method thereof, which is composed of a monitoring control display module, a configuration file module, a switch quantity analysis and combination module and a bottom layer hardware communication module. When the configuration file is loaded into the memory, switch quantity information objects are automatically generated, the switch quantity information objects are stored in a linked list and managed in the linked list mode, and each object is mapped with the linked list through a unique index number. The monitoring control display module is dynamically generated according to the configuration file. In the test process, the switch quantity analysis and combination module converts the switch quantity information in the configuration file into information that can be displayed by the monitoring control display module, converts the control operation information of the monitoring control display module into information that can be recognized by the bottom layer hardware communication module, and feeds back the switch quantity information read by the bottom layer hardware communication module to the monitoring control display module after judgment and confirmation, so that the interface display is updated. The application can quickly and efficiently construct a test scheme of the inertial measurement system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to digital switch quantity detection technology, and in particular to a universal detection device and method for digital switch quantities in inertial measurement systems. Background Technology

[0002] Digital switching signals are crucial for the operation control, status monitoring, and fault diagnosis of inertial products. Inertial measurement systems (INS) typically require testing the digital switching signals of inertial products to confirm their performance. Different inertial products usually have different numbers of switching signals, related hardware ports, and communication protocols. Furthermore, the switching signals may exhibit a certain sequence or interweave with other signals during operation, necessitating coordination between software and hardware engineers during the initial integration of new inertial products, consuming significant time and effort.

[0003] According to the actual workflow of inertial products, the inertial measurement system (INS) needs to test each switch signal sequentially, including both inputs and outputs, and confirm the relationship between inputs and outputs to verify the performance of the inertial product. However, this approach of performing targeted tests on each inertial product presents the following problems: 1. When the switch ports or communication protocols of the same inertial product are changed, the INS needs to be modified accordingly; 2. Different inertial products require different test plans and procedures from the INS, leading to resource waste during production. Summary of the Invention

[0004] The technical problem solved by this invention is to provide a universal inertial measurement system (INS) switch quantity detection device. This device isolates INS development from testing protocols and testing processes from inertial products, thereby enabling the rapid and efficient construction of INS testing schemes. This makes INS development faster, testing schemes more flexible, and improves work efficiency. This invention also provides a universal inertial measurement system switch quantity detection method, which similarly solves the above-mentioned technical problem.

[0005] A digital switch quantity detection device for an inertial measurement system includes a monitoring, control, and display module, a configuration file module, a digital switch quantity parsing and combination module, and a low-level hardware communication interface module.

[0006] The monitoring and control display module displays the status of switch quantities, faults, and switch quantity control operations. The displayed content is consistent with the content in the configuration file. The operation control information is transmitted to the digital switch quantity parsing and combination module via message passing. The digital switch quantity parsing and combination module combines the digital quantity information with the configuration content and converts it into underlying hardware communication information for the underlying hardware communication interface module to control the inertial products.

[0007] The configuration file module stores and manages all switch quantity information. Before testing begins, the switch quantity information in the configuration file is loaded into the computer memory for monitoring, control display, switch quantity control, and underlying hardware communication. The switch quantity information parameter configuration file is loaded, analyzed, and interpreted, and then stored in the computer memory. Each switch quantity information is managed using a data structure and stored in memory. All switch quantity information is stored in the system memory in the form of a linked list. When applying, the specified switch quantity information is found by using a unique identifier.

[0008] The digital switch quantity parsing and combination module converts the contents of the configuration file into information that can be used for monitoring, control and display by applying information from the switch quantity chain list. It also converts the operation control information in the monitoring, control and display management into the underlying hardware communication interface information through the information in the switch quantity chain list. At the same time, it converts the switch quantity status information read in real time by the underlying hardware communication module into information that can be used for monitoring, control and display.

[0009] The underlying hardware communication interface module reads the digital switch status of the inertial product in real time and transmits the switch status information to the digital switch parsing and combination module. It first determines whether the switch status has changed. If there is no change, no processing is performed. If there is a change, it determines the unique identifier of the change through the switch information configuration content, and then notifies the monitoring, control and display module to update the interface display.

[0010] Furthermore, the monitoring and control display module displays digital information in the form of digital lights, which are turned on or off according to the status of the switch quantity, allowing the user to confirm the current status of the switch quantity. For input switch quantities, only the current status is displayed; for output switch quantities, both the status is displayed and the switch quantity can be turned on or off in the display interface.

[0011] Furthermore, the configuration file module includes the following information for switch quantity configuration: serial number, port / tag number, name, valid status, type, and remarks.

[0012] Furthermore, the underlying hardware communication interface module, through classes and inheritance, enables the module to adaptively match the corresponding hardware driver interface to control the digital switching quantities of inertial products during application.

[0013] The detection method using the above-mentioned digital switch quantity detection device for inertial measurement system includes:

[0014] Input switch quantity display: After the configuration file is loaded and the interface is initialized, the underlying hardware interface module reads the switch quantity status of the inertial product in real time and transmits the switch quantity status to the switch quantity parsing and combination module. The switch quantity parsing and combination module determines whether the switch quantity status has changed. If the switch quantity status has not changed, no processing is performed. If the switch quantity status has changed, the module determines the changed switch quantity information based on the switch quantity port number / bit number and switch quantity type, and notifies the monitoring, control and display module to update the interface information. The monitoring, control and display module changes the switch quantity status to make the indicator light corresponding to the switch quantity turn on or off. The whole process is repeated until the user stops the test.

[0015] Output switch control: After the configuration file is loaded and the interface is initialized, the user selects a specific output switch on the interface, causing its state to change. The monitoring, control, and display module transmits this change to the digital switch parsing and combination module via message passing. The digital switch parsing and combination module combines the switch type and port / tag information to convert it and send it to the underlying hardware interface module. The underlying hardware interface module adaptively matches the corresponding hardware driver interface according to the switch type to control the switch state of the inertial product.

[0016] The beneficial effects of this invention are:

[0017] The present invention proposes a parameter-configurable switch quantity detection device and method, which can quickly and efficiently detect the switch quantities of different inertial products by configuring parameters, effectively shortening the switch quantity detection implementation time. It can free up software personnel's workload during the initial integration of inertial products, greatly improving work efficiency. Attached Figure Description

[0018] Figure 1 System architecture diagram;

[0019] Figure 2. Switching information;

[0020] Figure 3 A linked list of switch quantity information;

[0021] Figure 4 Functional breakdown of the digital switch quantity analysis and combination module;

[0022] Figure 5 Switch configuration file loading process;

[0023] Figure 6 Switch quantity detection workflow;

[0024] Figure 7 Diagrams showing the interfaces of the DI and DO modules. Detailed Implementation

[0025] The invention will now be further described with reference to the accompanying drawings.

[0026] The digital switch quantity detection device for the inertial measurement system of the present invention mainly consists of four parts: a monitoring, control, and display module; a digital switch quantity parsing and combination module; a configuration file module; and a low-level hardware communication interface module. See the system architecture diagram below. Figure 1 .

[0027] The monitoring and control display module primarily displays the status and fault information of switch quantities, as well as control operations. Digital information is presented as digital LEDs, which illuminate or dim according to the switch quantity's status, allowing users to easily confirm the current status. For input switches, only the current status needs to be displayed; for output switches, both the status and the ability to intuitively control the switch's on / off state are displayed on the interface. The content displayed by the monitoring and control display module is consistent with the content in the configuration file management system. Changes made by the user to the configuration file will correspondingly update the content in the monitoring and control display module.

[0028] All switch quantity information is stored and managed in a configuration file. Before testing, the switch quantity information in the configuration file is loaded into the computer memory for monitoring, control display, and switch quantity control, as well as for low-level hardware communication. The switch quantity information parameter configuration content is shown in Table 1. After loading, analyzing, and interpreting the switch quantity information parameter configuration file, it is stored in the computer memory. Each switch quantity information is managed using a data structure and stored in memory. All switch quantity information is stored in system memory in the form of a linked list. The memory storage method is described in [link to documentation]. Figure 2 , Figure 3 When applying the application, the specified switch quantity information can be found using the unique identifier.

[0029] Table 1. Switch Parameter Configuration

[0030]

[0031] The underlying hardware communication interface module encapsulates two different hardware driver interfaces for two types of digital switch signals. Through classes and inheritance, this module can adaptively match the appropriate hardware driver interface to control the digital switch signals of the inertial product during application. The underlying hardware communication interface module reads the digital switch signal status of the inertial product in real time and transmits the switch signal status information to the digital switch signal parsing and combination module.

[0032] The main function of the digital switch quantity parsing and combination module is to convert the contents of the configuration file into information that can be used for monitoring, control, and display by applying information from the switch quantity chain list. It also converts the operation control information in monitoring, control, and display management into underlying hardware communication interface information using information from the switch quantity chain list. Simultaneously, it converts the switch quantity status information read in real time by the underlying hardware communication module into information that can be used for monitoring, control, and display. For the main functions of the digital switch quantity parsing and combination module, see [link to module description]. Figure 4 .

[0033] The digital switch quantity parsing and combination module converts the contents of the configuration file into information that can be used for monitoring, control, and display. This mainly involves traversing the switch quantity linked list and displaying the names of all switch quantity information in the monitoring and control display module. A unique identifier allows for quick and efficient retrieval of relevant information within the linked list. The digital switch quantity parsing and combination module also establishes interconnections between the information displayed in the monitoring and control display module and the switch quantity information.

[0034] The operation control information in the monitoring, control and display module is transmitted to the digital switch quantity parsing and combination module via message passing. The digital switch quantity parsing and combination module combines the digital quantity type, port / tag number and other information to convert it into underlying hardware communication information, which facilitates the control of the inertial product by the underlying hardware communication interface module.

[0035] The underlying hardware communication interface module reads the switch status of the inertial device in real time and transmits it to the digital switch status parsing and combination module. The digital switch status parsing and combination module first determines whether the switch status has changed. If there is no change, no action is taken. If there is a change, it determines the unique identifier of the change through the port number / bit number and type, and then notifies the monitoring, control and display module to update the interface display.

[0036] This invention also provides a method for detecting switch quantities (see below). Figure 6 The workflow is divided into two parts: input switch quantity display and output switch quantity control.

[0037] 1. Input Switch Status Display Process: After the configuration file is loaded and the interface is initialized, the underlying hardware interface module reads the switch status of the inertial product in real time and transmits the switch status to the switch status parsing and combination module. The switch status parsing and combination module determines whether the switch status has changed. If the switch status has not changed, no action is taken. If the switch status has changed, the module determines the changed switch information based on the switch port number / bit number and switch type, and notifies the monitoring, control, and display module to update the interface information. The monitoring, control, and display module then changes the switch status to turn the corresponding indicator light on or off. This entire process repeats until the user stops testing.

[0038] 2. Output Switch Control Flow: After the configuration file is loaded and the interface is initialized, the user selects a specific output switch on the interface, causing its state to change. The monitoring, control, and display module transmits this change to the digital switch parsing and combination module via message passing. The digital switch parsing and combination module combines the switch type, port / tag number, and other information to convert the switch and then sends it to the underlying hardware interface module. The underlying hardware interface module adaptively matches the corresponding hardware driver interface based on the switch type to control the switch state of the inertial product.

[0039] The following is a specific example:

[0040] The digital switch quantity detection device of the inertial measurement system of this invention mainly consists of four parts, such as... Figure 1 As shown, it includes a monitoring and control display module, a digital switch quantity parsing and combination module, a configuration file module, and a low-level hardware communication interface module.

[0041] First follow Figure 2 The switch quantity information shown is used to create switch quantity configuration files. For details, please refer to Tables 2, 3, 4, and 5.

[0042] Table 2 DI0

[0043]

[0044] Table 3 DI1

[0045]

[0046] Table 4 DO0

[0047]

[0048] Table 5 DO1

[0049]

[0050] Press before the test starts Figure 5 The switch quantity configuration file loading process loads all switch quantity configuration file information. After reading and parsing a switch quantity information entry from the configuration file, a switch quantity information object is generated. These objects are managed using a memory linked list. During the switch quantity configuration file loading process, a memory index number (a unique identifier) ​​is added for switch quantity information lookup. The form of the memory linked list is shown below. Figure 3 .

[0051] The interface is initialized based on the linked list information, and the final interface is as follows: Figure 7 As shown.

[0052] As can be seen from the above implementation examples, all the parameters related to the switch quantity are in the configuration file. The configuration file is dynamically loaded before testing, so there is no need to worry about changes in the switch quantity port / tag number, type, etc., which simplifies the workload.

[0053] The features of this invention are as follows:

[0054] 1) All switch parameters are stored in the configuration file. The parameter configuration file can be dynamically configured according to different test requirements. Once the switch quantity is changed, you only need to reconfigure the parameter file according to the changed requirements.

[0055] 2) The monitoring and control display interface is dynamically generated based on the configuration file, which is convenient for software development or users to modify the switch quantity detection scheme, and does not depend on other software and hardware content.

[0056] 3) Switch quantity information is managed as objects and stored in a data linked list. Each object has a unique index number for easy querying, which improves the real-time performance of the test.

[0057] 4) Different types of switch signals can be managed uniformly and adaptively matched with different hardware driver interfaces, thereby meeting the specific requirements of most switch signal detection and making the application of this invention more extensive.

[0058] The foregoing description of preferred embodiments of the present invention is merely exemplary and not intended to limit the invention, its application, or its uses. Therefore, the scope of protection of the present invention is not limited to these schemes and details. Those skilled in the art can make modifications or equivalent substitutions to these schemes and details without departing from the basic principles of the present invention, and the modified or substituted embodiments will also fall within the scope of protection of the present invention.

Claims

1. A digital switching quantity detection device for an inertial measurement system, characterized in that, This includes a monitoring and control display module, a configuration file module, a digital switch quantity parsing and combination module, and a low-level hardware communication interface module; The monitoring and control display module displays the status and faults of digital switch quantities and performs digital switch quantity control operations. The displayed content is consistent with the content in the configuration file. Operation control information is transmitted to the digital switch quantity parsing and combination module via message passing. The digital switch quantity parsing and combination module combines the digital switch quantity information with the configuration content and converts it into underlying hardware communication information for the underlying hardware communication interface module to control the inertial products. The configuration file module stores and manages all digital switch information. Before testing begins, the digital switch information in the configuration file is loaded into the computer memory for monitoring, control, display, digital switch control, and underlying hardware communication. After the digital switch quantity information parameter configuration file is loaded, analyzed, and interpreted, it is stored in the computer memory. Each piece of digital switch quantity information is managed by a data structure and stored in memory. All digital switch quantity information is saved in the system memory in the form of a linked list. When applying, the specified digital switch quantity information is found by using a unique identifier. The digital switch quantity parsing and combination module converts the contents of the configuration file into information that can be used for monitoring, control and display by applying information from the digital switch quantity chain list. It also converts the operation control information in the monitoring, control and display management into the underlying hardware communication interface information through the information in the digital switch quantity chain list. At the same time, it converts the digital switch quantity status information read in real time by the underlying hardware communication module into information that can be used for monitoring, control and display. The underlying hardware communication interface module reads the digital switch status of the inertial product in real time and transmits the digital switch status information to the digital switch parsing and combination module. It first determines whether the digital switch status has changed. If there is no change, no processing is performed. If there is a change, it determines the unique identifier of the change through the configuration content of the digital switch information, and then notifies the monitoring, control and display module to update the interface display.

2. The digital switching quantity detection device for an inertial measurement system according to claim 1, characterized in that, The monitoring and control display module displays digital switch information in the form of digital lights, which are lit and dimmed according to the switch status, allowing the user to confirm the current switch status. For input switches, only the current status is displayed; for output switches, both the status is displayed and the switch can be turned on or off in the display interface.

3. The digital switching quantity detection device for an inertial measurement system according to claim 1, characterized in that, The configuration file module contains the following information for switch quantity configuration: serial number, port / tag number, name, valid status, type, and remarks.

4. The digital switching quantity detection device for an inertial measurement system according to claim 1, characterized in that, The underlying hardware communication interface module uses classes and inheritance to enable it to adaptively match the corresponding hardware driver interface to control the digital switching quantities of inertial products during application.

5. A detection method using the digital switch quantity detection device for an inertial measurement system according to any one of claims 1-4, characterized in that, include: Input switch quantity display: After the configuration file is loaded and the interface is initialized, the underlying hardware interface module reads the switch quantity status of the inertial product in real time and transmits the switch quantity status to the switch quantity parsing and combination module. The switch quantity parsing and combination module determines whether the switch quantity status has changed. If the switch quantity status has not changed, no processing is performed. If the switch quantity status has changed, the module determines the changed switch quantity information based on the switch quantity port number / bit number and switch quantity type, and notifies the monitoring, control and display module to update the interface information. The monitoring, control and display module changes the switch quantity status to make the indicator light corresponding to the switch quantity turn on or off. The whole process is repeated until the user stops the test. Output switch control: After the configuration file is loaded and the interface is initialized, the user selects a specific output switch on the interface, causing its state to change. The monitoring, control, and display module transmits this change to the digital switch parsing and combination module via message passing. The digital switch parsing and combination module combines the switch type and port / tag information to convert it and send it to the underlying hardware interface module. The underlying hardware interface module adaptively matches the corresponding hardware driver interface according to the switch type to control the switch state of the inertial product.