All-motion flight simulator transmission delay test sampling data processing method
By filtering and moving average processing of the full flight simulator sampling data on the computer side, the transmission delay time difference is calculated, which solves the problem of inconsistent and time-consuming manual measurement in the existing technology, and achieves more efficient and accurate delay test results.
Patent Information
- Application Number
- CN202310182997.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-01
- Publication Date
- 2024-09-03
AI Technical Summary
The existing full flight simulator transmission delay testing method relies on manual drawing measurement, resulting in inconsistent test results, time-consuming testing, and human error.
On the computer side, the sampled data is processed and analyzed in real time through the software program, filtering and moving average methods are used to remove noise, the transmission delay time difference is calculated, and the delay test results are directly output.
The test time is shortened, the accuracy and speed of test results are improved, human errors are reduced, and more efficient data processing and analysis are achieved.
Smart Images

Figure CN118583535A
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of flight simulator testing, and in particular relates to a method for processing sampling data of a transmission delay test of a full-motion flight simulator. Background Art
[0002] The transmission delay of the full-motion flight simulator refers to the processing time of the flight simulation training equipment system from the input signal sent from the pilot's main flight control device to the motion system, visual system and instrument system. It measures the time from the flight control input signal via the hardware / software interface, through each module of the host and back to the motion system, flight instrument and visual system through the software / hardware interface. Each of these three processing times does not take into account the dynamic response time of the aircraft and represents the transmission delay of the system. It is the total delay time from signal input to output response and has nothing to do with the delay characteristics of the simulated aircraft itself. The transmission delay test of the full-motion flight simulator in the prior art is to transmit the sensor output signal to the signal acquisition device, and the signal acquisition device transmits the acquired sampling data and sampling time to the computer through the UDP protocol, and outputs the data in the form of text. The developer needs to draw the text data and measure the time difference between the input signal sent by the flight control device and the response of each system, that is, to obtain the delay time by manually drawing, measuring and comparing the collected data. This method is time-consuming and there are human errors in the data measurement process, which makes the test results inconsistent. Summary of the invention
[0003] The main purpose of the present invention is to solve the problems existing in the prior art and to provide a method for processing sampling data for a full-motion flight simulator transmission delay test. The present invention can directly process and analyze the sampling data through a software program on the computer side and output the delay test results. Obviously, the computer processing and analysis of the present invention saves test time and improves the accuracy of test results compared with the manual drawing, measurement and comparative analysis process in the prior art.
[0004] The technical problem solved by the present invention is achieved by adopting the following technical solution: a method for processing sampling data of a transmission delay test of a full-motion flight simulator, comprising the following steps:
[0005] Step 1: When the test trigger signal is connected to the signal acquisition device, the signal acquisition device sends four sets of sensor sampling data to the computer in real time;
[0006] Step 2, when the computer determines that the received sampling data is not empty, the timer is started to count, and when the timer time is less than or equal to the test setting value, step 21 is executed; when the timer time is greater than the test setting value, step 22 is executed;
[0007] Step 21, the computer side performs data analysis and grouping storage on the received sampling data, and the sampling data is divided into four groups according to four channels for storage after analysis;
[0008] Step 22: the computer processes and analyzes the four sets of sampled data and outputs the delay test results, including:
[0009] Step a, performing deburring processing on the four groups of stored sampling data respectively by filtering method;
[0010] Step b, smoothing the four groups of sampled data after deburring by using a sliding average method;
[0011] Step c, determining the inflection point of the data by performing computer statistics of the slopes of adjacent points on the four groups of sampled data after smoothing, and obtaining the sampling time points of the flight control input signal and the motion system response output signal, the instrument system response output signal, and the visual system response output signal;
[0012] Step d: according to the sampling time points of the flight control input signal and the motion system response output signal, the instrument system response output signal and the visual system response output signal, respectively calculate the sampling time differences between the flight control input signal and the motion system response output signal, the instrument system response output signal and the visual system response output signal, and use the sampling time differences between the flight control input signal and the motion system response output signal, the instrument system response output signal and the visual system response output signal as the motion system transmission delay time, the instrument system transmission delay time and the visual system transmission delay time to output the delay test results.
[0013] Furthermore, the four groups of sensor sampling data are respectively the flight control input signal of the CH1 channel, the motion system response output signal of the CH2 channel, the instrument system response output signal of the CH3 channel, and the visual system response output signal of the CH4 channel.
[0014] Further, step 1, when the test trigger signal is connected to the signal acquisition device, the signal acquisition device sends four sets of sensor sampling data to the computer end in real time, further including,
[0015] When the test trigger signal is connected to the signal acquisition device, the signal acquisition device sends four sets of sensor sampling data to the computer end through the UDP protocol in real time.
[0016] Further, in step 21, the computer side performs data analysis and grouping storage on the received sampled data, and the sampled data is divided into four groups according to four channels for storage after analysis, further comprising:
[0017] The storage method of dividing the four channels into four groups is to store according to the channel, sampling time and sampling data.
[0018] Furthermore, since the transmission delay of the full-motion flight simulator is within 200 milliseconds, the test setting value of the full-motion flight simulator is set to four seconds.
[0019] Further, when the timer time is greater than the test setting value, step 22 is executed, further comprising:
[0020] When the timer time is greater than the test setting value, the timer is cleared and step 22 is executed.
[0021] Furthermore, when the transmission delay time of the motion system is less than 100 milliseconds, the transmission delay time of the instrument system is less than 100 milliseconds, and the transmission delay time of the visual system is less than 120 milliseconds, the full-motion flight simulator transmission delay test is qualified.
[0022] Further, step a, performing deburring processing on the four groups of stored sampled data respectively by filtering method, further includes,
[0023] Step a: Deburring the four groups of stored sampling data by filtering method, that is, judging the sampling values of adjacent sampling points, if the difference is not greater than the set threshold, retaining the sampling data, if it is greater than the set threshold, comparing it with the previous and next data, removing the deviated data, and ensuring that there is no obvious burr phenomenon in the data.
[0024] Further, step b, respectively smoothing the four groups of sampled data after deburring by a sliding average method, further includes,
[0025] Step b: Smoothing the four groups of sampled data after deburring by means of a sliding average method, that is, on the basis of a simple average method, calculating a moving average by sequentially increasing and decreasing new and old data period by period, so as to eliminate accidental variation factors.
[0026] The beneficial effects of the present invention are:
[0027] This method can directly process and analyze the sampled data on the computer side through a software program and output the delay test results. Compared with the prior art where the staff needs to draw, measure, compare and analyze the computer output text data to obtain the test results, it is obvious that the present invention directly processes and analyzes the data on the computer side, which shortens the test process and saves the test time. Moreover, the computer-side algorithm is used to directly determine the inflection point position of the sampled data after smoothing to obtain the sampling time point. Compared with the prior art where the computer output text data is manually drawn, measured and analyzed to obtain the sampling time difference, it is obvious that the present invention uses a computer algorithm to directly analyze the sampled data, which is not only faster in analysis speed, but also more accurate in output results than the manual analysis method. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] Figure 1 The present invention is a flow chart of a method for processing sampling data of a full-motion flight simulator transmission delay test.
[0029] Figure 2 It is a schematic diagram of transmission delay of the full-motion flight simulator of the present invention.
[0030] Figure 3 Flow chart of test sample data transmission of the present invention.
[0031] Figure 4 The figure is a flow chart of computer-side data processing and analysis of the present invention. Implementation
[0032] The technical solution of the present invention will be described clearly and completely below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0033] In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicating the orientation or positional relationship, are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first", "second", and "third" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance.
[0034] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0035] like Figures 1 to 4 As shown, a method for processing sampling data of a full-motion flight simulator transmission delay test provided by the present invention comprises the following steps:
[0036] Step 1: When the test trigger signal is connected to the signal acquisition device, the signal acquisition device sends four sets of sensor sampling data to the computer in real time;
[0037] Step 2, when the computer determines that the received sampling data is not empty, the timer is started for timing. When the timer time is less than or equal to the test setting value, step 21 is executed; when the timer time is greater than the test setting value, step 22 is executed;
[0038] When the timer is no more than 4s, it means that the transmission delay test is still in progress. The sampling data analysis program will parse the received data and store the data by channel. The storage method is based on the channel, sampling time, and sampling data, CH1 [time] [data], CH2 [time] [data], CH3 [time] [data], CH4 [time] [data]. During the time period when the timer is no more than 4s, the sampling data analysis program will continue to receive data and analyze and group data. When the timer is greater than 4s, it means that the transmission delay test is over, and the sampling data analysis program starts to process and analyze the data.
[0039] When the computer determines that the received sampling data is not empty, it means that the transmission delay test has started and data processing and analysis are required. At this time, the timer will be started for timing.
[0040] Step 21, the computer side performs data analysis and grouping storage on the received sampling data, and after the sampling data is analyzed, it is divided into four groups according to four channels for storage;
[0041] Step 22: The computer processes and analyzes the four sets of sampled data and outputs the delay test results, including:
[0042] Step a, performing deburring processing on the four groups of stored sampling data respectively by filtering method;
[0043] Step b, smoothing the four groups of sampled data after deburring by using a sliding average method;
[0044] Step c, determining the inflection point of the data by performing computer statistics of the slopes of adjacent points on the four groups of sampled data after smoothing, and obtaining the sampling time points of the flight control input signal and the motion system response output signal, the instrument system response output signal, and the visual system response output signal;
[0045] Step d: according to the sampling time points of the flight control input signal and the motion system response output signal, the instrument system response output signal and the visual system response output signal, respectively calculate the sampling time differences between the flight control input signal and the motion system response output signal, the instrument system response output signal and the visual system response output signal, and use the sampling time differences between the flight control input signal and the motion system response output signal, the instrument system response output signal and the visual system response output signal as the motion system transmission delay time, the instrument system transmission delay time and the visual system transmission delay time to output the delay test results.
[0046] Furthermore, the four groups of sensor sampling data are respectively the flight control input signal of the CH1 channel, the motion system response output signal of the CH2 channel, the instrument system response output signal of the CH3 channel, and the visual system response output signal of the CH4 channel.
[0047] Further, step 1, when the test trigger signal is connected to the signal acquisition device, the signal acquisition device sends four sets of sensor sampling data to the computer end in real time, further including,
[0048] When the test trigger signal is connected to the signal acquisition device, the signal acquisition device sends four sets of sensor sampling data to the computer via the UDP protocol in real time.
[0049] Further, in step 21, the computer side performs data analysis and grouping storage on the received sampling data, and after the sampling data is analyzed, the sampling data is divided into four groups according to four channels for storage, further comprising:
[0050] The storage method of dividing the four channels into four groups is to store according to the channel, sampling time and sampling data.
[0051] Furthermore, since the transmission delay of the full-motion flight simulator is within 200 milliseconds, the test setting value of the full-motion flight simulator is set to four seconds.
[0052] The transmission delay of the full-motion flight simulator is approximately within 100ms / 200ms, so its test time is relatively short. We make statistics based on the 4s test time and set four seconds as the test setting value.
[0053] Further, when the timer time is greater than the test setting value, step 22 is executed, further comprising:
[0054] When the timer time is greater than the test setting value, the timer is cleared and step 22 is executed.
[0055] Furthermore, when the transmission delay time of the motion system is less than 100 milliseconds, the transmission delay time of the instrument system is less than 100 milliseconds, and the transmission delay time of the visual system is less than 120 milliseconds, the full-motion flight simulator transmission delay test is qualified.
[0056] Further, step a, performing deburring processing on the four groups of stored sampled data respectively by filtering method, further includes,
[0057] Step a: Deburring the four groups of stored sampling data by filtering method, that is, judging the sampling values of adjacent sampling points, if the difference is not greater than the set threshold, retaining the sampling data, if it is greater than the set threshold, comparing it with the previous and next data, removing the deviated data, and ensuring that there is no obvious burr phenomenon in the data.
[0058] Further, step b, respectively smoothing the four groups of sampled data after deburring by a sliding average method, further includes,
[0059] Step b: Smoothing the four groups of sampled data after deburring by means of a sliding average method, that is, on the basis of a simple average method, calculating a moving average by sequentially increasing and decreasing new and old data period by period, so as to eliminate accidental variation factors. Example
[0060] like Figure 1-Figure 4 As shown, the delay of the full-motion flight simulator of the present invention is caused by the time required for the calculation process to pass through the flight simulation training device control device, host, motion and vision computer modules. The transmission delay test does not rely on flight test data, but in some cases, avionics computer and instrument data from the data provider may be required. The transmission delay test is used to prove that the flight simulation training device system response does not exceed 100 milliseconds for the motion and instrument systems and 120 milliseconds for the vision system. The specific implementation of the full-motion flight simulator transmission delay test sampling data processing method is as follows.
[0061] Step 1: When the test trigger signal is connected to the signal acquisition device, the signal acquisition device sends four sets of sensor sampling data to the computer in real time;
[0062] The four groups of sensor sampling data are the flight control input signal of the CH1 channel, the motion system response output signal of the CH2 channel, the instrument system response output signal of the CH3 channel, and the visual system response output signal of the CH4 channel.
[0063] Step 1: When the test trigger signal is connected to the signal acquisition device, the signal acquisition device sends four sets of sensor sampling data to the computer in real time, further including:
[0064] When the test trigger signal is connected to the signal acquisition device, the signal acquisition device sends four sets of sensor sampling data to the computer via the UDP protocol in real time.
[0065] Step 2, when the computer determines that the received sampling data is not empty, the timer is started for timing. When the timer time is less than or equal to the test setting value, step 21 is executed; when the timer time is greater than the test setting value, step 22 is executed;
[0066] Since the transmission delay of the full-motion flight simulator is within 200 milliseconds, the test setting value of the full-motion flight simulator is set to four seconds.
[0067] When the timer time is greater than the test setting value, step 22 is executed, and further includes: when the timer time is greater than the test setting value, clearing the timer and executing step 22.
[0068] Step 21, the computer side performs data analysis and grouping storage on the received sampling data, and after the sampling data is analyzed, it is divided into four groups according to four channels for storage;
[0069] Step 21, the computer side performs data analysis and grouping storage on the received sampling data, and the sampling data is divided into four groups according to four channels for storage after analysis, further comprising:
[0070] The storage method of dividing the four channels into four groups is to store according to the channel, sampling time and sampling data.
[0071] Step 22: The computer processes and analyzes the four sets of sampled data and outputs the delay test results, including:
[0072] Step a, performing deburring processing on the four groups of stored sampling data respectively by filtering method;
[0073] Step a, performing deburring processing on the four groups of stored sampled data respectively by filtering method, further comprising:
[0074] Step a: Deburring the four groups of stored sampling data by filtering method, that is, judging the sampling values of adjacent sampling points, if the difference is not greater than the set threshold, retaining the sampling data, if it is greater than the set threshold, comparing it with the previous and next data, removing the deviated data, and ensuring that there is no obvious burr phenomenon in the data.
[0075] Step b, smoothing the four groups of sampled data after deburring by using a sliding average method;
[0076] Step b, smoothing the four groups of sampled data after deburring by a sliding average method, further comprising:
[0077] Step b: Smoothing the four groups of sampled data after deburring by means of a sliding average method, that is, on the basis of a simple average method, calculating a moving average by sequentially increasing and decreasing new and old data period by period, so as to eliminate accidental variation factors.
[0078] Step c, determining the inflection point of the data by performing computer statistics of the slopes of adjacent points on the four groups of sampled data after smoothing, and obtaining the sampling time points of the flight control input signal and the motion system response output signal, the instrument system response output signal, and the visual system response output signal;
[0079] Step d: according to the sampling time points of the flight control input signal and the motion system response output signal, the instrument system response output signal and the visual system response output signal, respectively calculate the sampling time differences between the flight control input signal and the motion system response output signal, the instrument system response output signal and the visual system response output signal, and use the sampling time differences between the flight control input signal and the motion system response output signal, the instrument system response output signal and the visual system response output signal as the motion system transmission delay time, the instrument system transmission delay time and the visual system transmission delay time to output the delay test results.
[0080] When the transmission delay time of the motion system is less than 100 milliseconds, the transmission delay time of the instrument system is less than 100 milliseconds, and the transmission delay time of the visual system is less than 120 milliseconds, the full-motion flight simulator transmission delay test passes.
[0081] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for processing sampling data of a full-motion flight simulator transmission delay test, characterized in that: The following steps are involved: Step 1: When the test trigger signal is connected to the signal acquisition device, the signal acquisition device sends four sets of sensor sampling data to the computer in real time; Step 2, when the computer determines that the received sampling data is not empty, the timer is started to count, and when the timer time is less than or equal to the test setting value, step 21 is executed; when the timer time is greater than the test setting value, step 22 is executed; Step 21, the computer side performs data analysis and grouping storage on the received sampling data, and the sampling data is divided into four groups according to four channels for storage after analysis; Step 22: the computer processes and analyzes the four sets of sampled data and outputs the delay test results, including: Step a, performing deburring processing on the four groups of stored sampling data respectively by filtering method; Step b, smoothing the four groups of sampled data after deburring by using a sliding average method; Step c, determining the inflection point of the data by performing computer statistics of the slopes of adjacent points on the four groups of sampled data after smoothing, and obtaining the sampling time points of the flight control input signal and the motion system response output signal, the instrument system response output signal, and the visual system response output signal; Step d: according to the sampling time points of the flight control input signal and the motion system response output signal, the instrument system response output signal and the visual system response output signal, respectively calculate the sampling time differences between the flight control input signal and the motion system response output signal, the instrument system response output signal and the visual system response output signal, and use the sampling time differences between the flight control input signal and the motion system response output signal, the instrument system response output signal and the visual system response output signal as the motion system transmission delay time, the instrument system transmission delay time and the visual system transmission delay time to output the delay test results.
2. The method for processing sampling data of transmission delay test of a full-motion flight simulator according to claim 1, characterized in that: The four groups of sensor sampling data are respectively the flight control input signal of the CH1 channel, the motion system response output signal of the CH2 channel, the instrument system response output signal of the CH3 channel, and the visual system response output signal of the CH4 channel.
3. The method for processing sampling data of transmission delay test of a full-motion flight simulator according to claim 1, characterized in that: Step 1: When the test trigger signal is connected to the signal acquisition device, the signal acquisition device sends four sets of sensor sampling data to the computer in real time, further comprising: When the test trigger signal is connected to the signal acquisition device, the signal acquisition device sends four sets of sensor sampling data to the computer end through the UDP protocol in real time.
4. The method for processing sampling data of transmission delay test of a full-motion flight simulator according to claim 1, characterized in that: Step 21, the computer side performs data analysis and grouping storage on the received sampling data, and the sampling data is divided into four groups according to four channels for storage after analysis, further comprising: The storage method of dividing the four channels into four groups is to store according to the channel, sampling time and sampling data.
5. The method for processing sampling data of transmission delay test of a full-motion flight simulator according to claim 1, characterized in that: Since the transmission delay of the full-motion flight simulator is within 200 milliseconds, the test setting value of the full-motion flight simulator is set to four seconds.
6. The method for processing sampling data of transmission delay test of a full-motion flight simulator according to claim 1, characterized in that: When the timer time is greater than the test setting value, step 22 is executed, and further includes: when the timer time is greater than the test setting value, clearing the timer and executing step 22.
7. The method for processing sampling data of transmission delay test of a full-motion flight simulator according to claim 1, characterized in that: When the transmission delay time of the motion system is less than 100 milliseconds, the transmission delay time of the instrument system is less than 100 milliseconds, and the transmission delay time of the visual system is less than 120 milliseconds, the full-motion flight simulator transmission delay test passes.
8. The method for processing sampling data of transmission delay test of a full-motion flight simulator according to claim 1, characterized in that: Step a, deburring the four groups of stored sampling data respectively through a filtering method, further includes step a, deburring the four groups of stored sampling data respectively through a filtering method, that is, judging the sampling values of adjacent sampling points, if the difference is not greater than the set threshold, retaining the sampling data, if it is greater than the set threshold, comparing it with the previous and next data, removing the deviated data, and ensuring that there is no obvious burr phenomenon in the data.
9. The method for processing sampling data of transmission delay test of a full-motion flight simulator according to claim 1, characterized in that: Step b, smoothing the four groups of sampled data after deburring by means of a sliding average method, further includes, step b, smoothing the four groups of sampled data after deburring by means of a sliding average method, that is, on the basis of a simple average method, a moving average is calculated by sequentially increasing and decreasing new and old data period by period to eliminate accidental change factors.
