A method and system for bus communication based on avionics fault injection
By using the fault injection device as a bus receiving device for information buffering and transmission in the avionics system, the problem of the ARINC825 bus connection distance limitation is solved, realizing long-distance connection and independent channel transmission between the device under test and the test device, and improving the flexibility of avionics system fault injection testing.
Patent Information
- Application Number
- CN202210825724.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-14
- Publication Date
- 2026-02-27
- Estimated Expiration
- 2042-07-14
AI Technical Summary
In the existing technology, the fault injection device of ARINC825 bus has limitations in connection distance, resulting in limitations in location and connection distance, which cannot meet the requirements of long-distance avionics system fault injection testing.
By using a fault injection device as the bus receiving device, and by internally buffering information and transmitting it as the main line, an independent A825 communication channel is formed, enabling long-distance connection and information transmission between the device under test and the testing device.
It enables long-distance connection of fault injection devices, avoiding distance limitations and ensuring the flexibility and effectiveness of avionics system fault injection testing.
Smart Images

Figure CN115292228B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of avionics system fault injection testing, and particularly relates to a bus communication method and system based on avionics fault injection.
BACKGROUND
[0002] The integrated avionics system is a highly modular and integrated system. For a complex avionics system, a fault injection resource for avionics system signals needs to be established to meet the demand for fault injection testing in the integration and verification link of the avionics system. In the avionics system, the ARINC825 bus has a use restriction condition that the main line transmission distance is long and the branch line transmission distance is short (less than 1 meter). When fault injection is performed, if the distance between the fault injection device as a node and the bus is to be ensured, the position and connection distance of the fault injection device will be limited.
[0003] Therefore, it is necessary to study a bus communication method and system based on avionics fault injection to overcome the deficiencies of the prior art, so as to solve or alleviate one or more of the above problems.
SUMMARY
[0004] Therefore, the present application provides a bus communication method and system based on avionics fault injection. In order to solve the problem of long-distance connection, the fault injection device is used as a bus receiving device to receive information of a device under test in the present application. After the internal cache information mechanism, the information is transmitted to a test device as a main line. At this time, the device under test also receives as a bus device, which ensures that the fault injection device can connect the test device and the device under test at a long distance and transmit information to each node.
[0005] In one aspect, the present application provides a bus communication system based on avionics fault injection. The bus communication system is suitable for ARINC825 bus communication. The communication system comprises a device under test, a test device, an A825 fault injection device, an external bus and an internal bus. The internal bus is connected with the A825 fault injection device and is arranged inside the A825 fault injection device. The device under test and the test device are connected with the internal bus through the external bus.
[0006] As described above, any possible implementation manner of the aspect and the aspect further provides an implementation manner. The internal bus comprises a first bus channel and a second bus channel. The first bus channel is connected with the device under test and grounded. The second bus channel is connected with the test device and grounded. The first bus channel and the second bus channel constitute two independent A825 communication channels.
[0007] Aspects and any possible implementation thereof as described above further provide an implementation, the first bus channel comprises a first A825High end, a first A825Low end and a first terminal resistance, the first terminal resistance is arranged between the first A825High end and the first A825Low end.
[0008] The first A825High end is connected to a high level connection port of the device under test through an external bus connection.
[0009] The first A825Low end is connected to a low level connection port of the device under test through an external bus connection, and the first A825Low end is grounded.
[0010] Aspects and any possible implementation thereof as described above further provide an implementation, the second bus channel comprises a second A825High end, a second A825Low end and a second terminal resistance, the second terminal resistance is arranged between the second A825High end and the second A825Low end.
[0011] The second A825High end is connected to a high level connection port of the test device through an external bus connection.
[0012] The second A825Low end is connected to a low level connection port of the test device through an external bus connection, and the second A825Low end is grounded.
[0013] Aspects and any possible implementation thereof as described above further provide an implementation, the A825 fault injection device comprises an information receiving module, a fault injection module and an information sending module.
[0014] The information receiving module is configured to receive device under test information.
[0015] The fault injection module is configured to perform fault injection.
[0016] The information sending module is configured to send information to a test device.
[0017] The information receiving module is connected to the information sending module through the fault injection module.
[0018] Aspects and any possible implementation thereof as described above further provide an implementation, the information receiving module is connected to the device under test through the first bus channel.
[0019] Aspects and any possible implementation thereof as described above further provide an implementation, the information sending module is connected to the test device through the second bus channel.
[0020] As the aspect and any possible implementation manner described above, further provided is an implementation manner, the DUT comprises a DUT terminal resistor, which is arranged between the high-level interface of the DUT and the low-level interface of the DUT.
[0021] As the aspect and any possible implementation manner described above, further provided is an implementation manner, the test equipment comprises a test equipment terminal resistor, which is arranged between the high-level interface of the test equipment and the low-level interface of the test equipment.
[0022] As the aspect and any possible implementation manner described above, further provided is a bus communication method based on avionics fault injection, which is completed through the bus communication system, and comprises the following steps.
[0023] 1) connecting the DUT with the fault injection equipment through the cable of the external bus, connecting the fault injection equipment with the test equipment, and forming an A825 transmission network;
[0024] 2) the DUT sends A825 signals to the fault injection equipment through a first bus channel;
[0025] 3) the fault injection equipment internally buffers the received information;
[0026] 4) the fault injection equipment injects faults into the A825 information according to test requirements;
[0027] 5) the fault injection equipment sends the A825 information after fault injection to the test equipment through a second bus channel;
[0028] 6) the DUT receives the A825 information after fault injection, and compares the received A825 information with expected test results.
[0029] Compared with the prior art, the application can obtain the following technical effects:
[0030] 1) A825 fault injection equipment as a communication method of a bus end of a communication network: the A825 fault injection equipment is connected with the DUT and the test equipment as a bus end, information is buffered in the A825 fault injection equipment, and the information is transmitted;
[0031] 2) A825 channel isolation connection mode: different A825 data transmission channels in the A825 fault injection equipment are respectively connected to respective terminal resistors and ground wires, so that the A825 data transmission channels are electrically isolated, and data transmission of each A825 data transmission channel is not affected;
[0032] 3) Test configuration reconfigurable A825 fault injection communication method: the measured device is connected as a network bus end, and there is no distance limit for the device, and the A825 fault injection test can be performed for different measured devices.
[0033] Of course, implementing any product of the present application does not necessarily require achieving all the technical effects described above at the same time. BRIEF DESCRIPTION OF DRAWINGS
[0034] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed in the embodiments will be briefly introduced as follows. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.
[0035] Figure 1 is an ARINC825 bus physical topology structure provided by an embodiment of the present application;
[0036] Figure 2 is a fault injection device as a node connection topology structure diagram provided by an embodiment of the present application;
[0037] Figure 3 is an A825 as a bus topology structure diagram provided by an embodiment of the present application;
[0038] Figure 4 is a fault injection device connection structure diagram provided by an embodiment of the present application;
[0039] Figure 5 is a fault injection test flow provided by an embodiment of the present application. DETAILED DESCRIPTION
[0040] In order to better understand the technical solutions of the present application, the embodiments of the present application will be described in detail below with reference to the drawings.
[0041] It should be clear that the described embodiments are only some embodiments of the present application, not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor are within the scope of protection of the present application.
[0042] The terms used in the embodiments of the present application are only for the purpose of describing the specific embodiments, and are not intended to limit the present application. The singular forms "a", "said" and "the" used in the embodiments of the present application and the appended claims are also intended to include the plural forms, unless the context clearly indicates otherwise.
[0043] The application provides a bus communication system based on avionics fault injection, which is suitable for ARINC825 bus communication, and comprises a device under test, a test device, an A825 fault injection device, an external bus and an internal bus.
[0044] The internal bus comprises a first bus channel and a second bus channel, each of which has a plurality of bus channels, each of the first bus channels is connected to the device under test and grounded, and each of the second bus channels is connected to the test device and grounded.
[0045] The first bus channel comprises a first A825High end, a first A825Low end and a first terminal resistor, and the first terminal resistor is arranged between the first A825High end and the first A825Low end.
[0046] The first A825High end is connected to the high-level connection port of the device under test through the external bus.
[0047] The first A825Low end is connected to the low-level connection port of the device under test through the external bus, and the first A825Low end is grounded.
[0048] The second bus channel comprises a second A825High end, a second A825Low end and a second terminal resistor, and the second terminal resistor is arranged between the second A825High end and the second A825Low end.
[0049] The second A825High end is connected to the high-level connection port of the test device through the external bus.
[0050] The second A825Low end is connected to the low-level connection port of the test device through the external bus, and the second A825Low end is grounded.
[0051] The A825 fault injection device comprises an information receiving module, a fault injection module and an information sending module.
[0052] The information receiving module is used for receiving the device under test information.
[0053] The fault injection module is used for fault injection.
[0054] The information sending module is configured to send information to the test device
[0055] The information receiving module is connected to the information sending module through the fault injection module.
[0056] The information receiving module is connected to the test device through the first bus channel, and the information sending module is connected to the test device through the second bus channel.
[0057] The test device includes a test device terminal resistor arranged between a high-level interface of the test device and a low-level interface of the test device, and the test device includes a test device terminal resistor arranged between a high-level interface of the test device and a low-level interface of the test device.
[0058] The application also provides a bus communication method based on avionics fault injection, which is completed by the bus communication system, and includes the following steps:
[0059] 1) The test device is connected to the fault injection device through the cable of the external bus, the fault injection device is connected to the test device, and an A825 transmission network is formed;
[0060] 2) The test device sends A825 signals to the fault injection device through the first bus channel;
[0061] 3) The fault injection device internally caches the received information;
[0062] 4) The fault injection device injects faults into the A825 information according to the test requirements;
[0063] 5) The fault injection device sends the A825 information after fault injection to the test device through the second bus channel;
[0064] 6) The test device receives the A825 information after fault injection, and compares the received A825 information with the expected test results.
[0065] The physical topology structure of the ARINC825 bus is shown in Figure 1 The A825 bus network is hung on BUS High and BUS Low, and each node realizes serial differential transmission of signals through the two lines. In order to avoid signal reflection and interference, a 120Ω terminal resistor needs to be connected between BUS High and BUS Low, which can simulate an infinite transmission line.
[0066] Figure 1The values of each parameter are shown in Table 1 below. The maximum bus length is 40m, the maximum branch line length is 0.3m, and the maximum distance between nodes is 40m. Therefore, it can be seen that in the A825 bus topology, there are significant limitations on the distance between nodes and the bus, i.e., the branch line distance. Therefore, this limitation needs to be considered when performing avionics system fault injection tests on A825 bus signals.
[0067] Table 1 A825 Physical Topology Parameters
[0068]
[0069]
[0070] In avionics system fault injection testing, the fault injection device needs to be connected to the circuit between the test equipment and the device under test. In traditional connection methods, such as... Figure 2 As shown, the device under test (DUT) and the test equipment are connected via BUS High and BUS Low to form a bus network. The A825 fault injection device, acting as a branch node, is connected to the BUS High and BUS Low networks, receives information from the DUT, injects faults, and then sends it to the test equipment. Figure 2 In the traditional connection method shown, the A825 fault injection device is connected to the A825 network as a node. However, the physical topology of A825 has certain restrictions on the branch line distance, requiring the branch line distance to be less than 0.3m. That is, the distance between the fault injection device and the device under test or test device needs to be less than 0.3m. This has caused great limitations on the location of the fault injection device and the planning of the test connection configuration.
[0071] This invention employs a method of using the fault injection device as a bus receiving device to receive information, thereby addressing the problem of limited fault injection device location. For example... Figure 3 As shown, the test device and the device under test (DUT) are connected via A825 BUS High and A825 BUS Low to form a bus network. The A825 fault injection device connects to the bus network to receive information from the DUT. After internal information buffering, it transmits the information to the test device as the main line. The test device also acts as a bus device to receive the information. In this configuration, the A825 fault injection device is essentially serially inserted into the bus network of the DUT and the test device, splitting the original bus into two buses for information transmission. This ensures that during fault injection testing, the DUT, the test device, and the fault injection device all act as A825 bus devices, enabling the fault injection device to connect to the test device and the DUT over long distances for information transmission.
[0072] The application provides an A825 fault injection test communication method, wherein the A825 fault injection device is used as a bus device to transmit and inject faults to A825 information, and the specific implementation structure is shown in Figure 4 In the integrated test of the avionics system, the test device and the device under test are directly connected to the A825 bus, as shown by the dashed line in the figure, to form an A825 bus network. In the fault injection device, each data transmission channel of the A825, such as channel 1 and channel 2 in the figure, is connected to a respective terminal resistor, and each A825 channel is respectively grounded to form a separate A825 channel, so that electrical isolation between the channels can be achieved. In the fault injection test, the device under test, the test device and the fault injection device need to form an A825 communication network, as shown by the solid line in the figure, and the device under test and the test device are respectively connected to the fault injection device through A825 cables to form two A825 bus networks with the fault injection device as the dividing point, so that the fault injection device is not a node in the network connecting the original device under test and the test device, and the distance limitation of the fault injection device is avoided, that is, the device under test and the fault injection device, and the test device and the fault injection device, become two independent A825 networks, so that the position of the A825 fault injection device is no longer limited by the length of the branch line.
[0073] According to the method, the fault injection process in the fault injection test of the avionics system is as follows Figure 5 As shown in the figure, the process in the A825 fault injection test is as follows
[0074] 1) The device under test is connected to the fault injection device through a cable, and the fault injection device is connected to the test device to form an A825 transmission network;
[0075] 2) The device under test sends an A825 signal to the fault injection device;
[0076] 3) The fault injection device stores the received information internally;
[0077] 4) The fault injection device injects faults into the A825 information according to the test requirements;
[0078] 5) The fault injection device sends the A825 information with faults injected to the test device;
[0079] 6) The test device receives the A825 information with faults injected, and compares the received A825 information with the expected test results.
[0080] Example 1
[0081] Feasibility verification
[0082] The test method is based on the A825 fault injection device, and the fault injection test of the avionics system is completed by taking the avionics system as the measured device.
[0083] 1) Connect the avionics system with the fault injection device through a cable, connect the fault injection device with the test device, and form an A825 transmission network;
[0084] 2) The avionics system sends A825 signals to the fault injection device;
[0085] 3) The fault injection device caches the received information internally;
[0086] 4) According to the test requirements, the fault injection device injects faults into the A825 information of the avionics system;
[0087] 5) The fault injection device sends the A825 information after fault injection to the test device;
[0088] 6) The measured device receives the A825 information after fault injection, and compares the received A825 information with the expected test results;
[0089] 7) Stop fault injection, and the test device receives the information without fault injection, and compares the received results with the measured device sending values;
[0090] 8) The test results show that the fault injection device can inject faults into the A825 information of the measured device, and can receive the information of the measured device without fault injection after stopping fault injection.
[0091] The test results prove that the test method is realizable and has technical realizability.
[0092] The above describes a bus communication method and system based on avionics fault injection provided by the embodiments of the application. The above description of the embodiments is only used to help understand the method and its core idea; meanwhile, for those skilled in the art, according to the idea of the application, the specific implementation and application range will be changed, and the above description should not be understood as a limitation of the application.
[0093] As used in the specification and claims, certain terms have particular meanings. One skilled in the art will understand that different manufacturers can refer to a component by different names. The specification and claims should not be construed as limited to components by a particular name, but should be construed by the component's function. As used in the specification and claims, "comprising" and "including" are meant to be interpreted as specifying open-ended claims that are not limited to the listed elements. "Approximately" means within an acceptable error range for the corresponding function, which will vary from one context to another. The description that follows is intended to provide a better understanding of the preferred embodiments of the present application, and is not intended to provide an exhaustive description of the application. The description serves only to illustrate the general principles of the application, and is not intended to limit the present application to specific embodiments. The scope of the present application is to be limited only by the claims that follow.
[0094] It should also be noted that the terms "comprising," "including," and "having" or any other variation thereof, are intended to cover a non-exclusive inclusion. For example, a process, product, or composition that comprises a list of elements is not necessarily limited to only those elements, but can include other elements not expressly listed or inherent to such process, product, or composition.
[0095] It should be understood that the term "and / or" as used herein is merely an open-ended descriptive term indicating that three conditions exist, for example, A and / or B can mean: A exists alone, A and B exist together, and B exists alone. In addition, the character " / " as used herein generally represents an "or" relationship between the front and rear associated objects.
[0096] The above specification and description of the application discloses and describes several preferred embodiments of the present application. However, as noted above, the application is not limited to the forms disclosed, but can be used in various other combinations, modifications, and environments, and can be altered by those skilled in the art and those who have knowledge of the art, within the scope of the application as described herein. Any alterations and changes made by those skilled in the art and those who have knowledge of the art, without departing from the spirit and scope of the application, shall be within the scope of the claims of the present application.
Claims
1. A bus communication system based on avionics fault injection, the bus communication system being suitable for ARINC 825 bus communication, characterized in that, The communication system comprises a device under test, a test device, an A825 fault injection device, an external bus and an internal bus, the internal bus is connected with the A825 fault injection device and is arranged inside the A825 fault injection device, and the device under test and the test device are connected with the internal bus through the external bus; The internal bus comprises a first bus channel and a second bus channel, the first bus channel is connected with the device under test and grounded, and the second bus channel is connected with the test device and grounded, and the first bus channel and the second bus channel constitute two independent A825 communication channels; The first bus channel comprises a first A825High end, a first A825Low end and a first terminal resistor, and the first terminal resistor is arranged between the first A825High end and the first A825Low end; The first A825High end is connected with a high-level connection port of the device under test through the external bus; The first A825Low end is connected with a low-level connection port of the device under test through the external bus, and the first A825Low end is grounded; The second bus channel comprises a second A825High end, a second A825Low end and a second terminal resistor, and the second terminal resistor is arranged between the second A825High end and the second A825Low end; The second A825High end is connected with a high-level connection port of the test device through the external bus; The second A825Low end is connected with a low-level connection port of the test device through the external bus, and the second A825Low end is grounded; The A825 fault injection device comprises an information receiving module, a fault injection module and an information sending module; The information receiving module is used for receiving device under test information; The fault injection module is used for fault injection; The information sending module is used for sending information to the test device The information receiving module is connected with the information sending module through the fault injection module.
2. The bus communication system according to claim 1, characterized by The information receiving module is connected with the device under test through the first bus channel.
3. The bus communication system according to claim 1, characterized by The information sending module is connected with the test device through the second bus channel.
4. The bus communication system of claim 1, wherein The device under test comprises a device under test terminal resistor, and the device under test terminal resistor is arranged between a high-level connection port of the device under test and a low-level connection port of the device under test.
5. The bus communication system of claim 1, wherein, The test device comprises a test device terminal resistor, and the test device terminal resistor is arranged between a high-level connection port of the test device and a low-level connection port of the test device.
6. A method for avionics fault injection based bus communication, accomplished by the bus communication system of one of the preceding claims 1 to 5, characterized in that, The bus communication method comprises the following steps: 1) connecting the device under test with the fault injection device and connecting the fault injection device with the test device through a cable of the external bus to form an A825 transmission network; 2) the device under test sends A825 signals to the fault injection device through the first bus channel; 3) the fault injection device internally buffers the received information; 4) the fault injection device injects faults into A825 information according to test requirements; 5) the fault injection device sends the A825 information after fault injection to the test device through the second bus channel; 6) the test device receives the A825 information after fault injection, and compares the received A825 information with expected test results.
Citation Information
Patent Citations
1553B bus data fault injection device
CN105162529A
Communication diagnosis fault code automatic test system and test method based on CAN bus
CN109361569A