High-altitude simulation test system current data edge detection method, computer system and computer readable storage medium
By obtaining the current curve of the valve of the high-altitude simulation test system, calculating the average value and performing subtraction, binarization and differential processing, the problems of low detection efficiency and insufficient accuracy are solved, efficient and accurate current edge detection are achieved, and high-altitude simulation tests of liquid rocket engines are supported.
Patent Information
- Application Number
- CN202510499644.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-21
- Publication Date
- 2025-07-22
AI Technical Summary
The existing methods have low current edge detection efficiency and inaccurate accuracy in high-altitude simulation test systems, which affects the development progress of liquid rocket engines.
The current curve during valve operation is obtained through the current acquisition device, the average value of the maximum and minimum value of the instantaneous current is calculated, and the subtraction, binarization and first-order differential processing are performed to obtain the rising and falling edges of the current.
Improve detection efficiency and accuracy, reduce noise interference, improve real-time and accuracy of detection results, and ensure the accuracy of valve opening and closing time.
Smart Images

Figure CN120352687A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to high-altitude simulation tests of liquid rocket engines, and particularly to a method for detecting the edges of current data in a high-altitude simulation test system, a computer system, and a computer-readable storage medium. Background Art
[0002] In high-altitude simulation tests of liquid rocket engines, the opening and closing of each valve in the test system will cause changes in current signals. Therefore, by analyzing the current signals, the accuracy of valve operations can be accurately evaluated. Generally, by detecting the current edges, the rising edge and falling edge of the current signal can be obtained, so as to accurately obtain the opening or closing time of the valve, and use this to evaluate whether the opening and closing time of the valve conforms to the preset time, ultimately ensuring the smooth progress of the high-altitude simulation test.
[0003] Current edge detection refers to the process of detecting the rising edge (from low to high) or falling edge (from high to low) of a current signal. When the current signal changes, the edge detection circuit will immediately respond and output a signal indicating the occurrence of the change. Existing current edge detection methods mostly use threshold methods, differential methods, sliding window methods, etc. Among them, the threshold method realizes the detection of edge current signals by setting fixed or dynamic thresholds; the differential method identifies edge current signals by calculating the difference between adjacent points; the sliding window method uses a sliding window to calculate the maximum / minimum value within the window to obtain the edge current. In addition, current edge recognition or detection can also be achieved through various methods such as wavelet transform, Fourier transform, and machine learning.
[0004] The above methods can all identify or detect edge currents to a certain extent, but generally have disadvantages such as being sensitive to noise, poor real-time performance, and high computational complexity. Since the acquisition frequency of current signals in the high-altitude simulation test system is relatively high (1000 points / s), the data volume is large, and the noise interference of each current signal is different. If the above methods are used to detect the current edges of the test system, there will be problems such as too low detection efficiency and inability to guarantee the accuracy of detection results, thus affecting the normal progress of the high-altitude simulation test and ultimately affecting the R & D progress of liquid rocket engines. Summary of the Invention
[0005] The purpose of the present invention is to solve the technical problems such as too low detection efficiency and inability to guarantee the accuracy of detection results when existing methods are used to detect the current edges of the test system, and to provide a method for detecting the edges of current data in a high-altitude simulation test system, a computer system, and a computer-readable storage medium.
[0006] To achieve the above purpose, the technical solutions provided by the present invention are as follows:
[0007] A method for detecting the edges of current data in a high-altitude simulation test system, characterized in that it includes the following steps:
[0008] Step 1: Through a current acquisition device, obtain the current curves of each valve during each operation in the entire working process of the high-altitude simulation test system, and obtain an original current data set; one opening and closing of the valve is considered one operation;
[0009] Step 2: Extract the current curve of any valve during any operation, and obtain the maximum and minimum instantaneous currents of the valve during this operation by comparison;
[0010] Step 3: Calculate the average value based on the maximum and minimum instantaneous currents;
[0011] Step 4: Combine the average value obtained in Step 3, subtract all the instantaneous currents in the current curve described in Step 2, and obtain a new current curve;
[0012] Step 5: Perform binary processing and first-order difference processing on the new current curve in sequence to obtain a current set curve, and then obtain the rising edge and falling edge of the current of the valve during this operation;
[0013] Step 6: According to the method of Step 2 to Step 5, obtain the rising edge and falling edge of the current of the valve during each operation;
[0014] Step 7: According to the method of Step 2 to Step 6, obtain the rising edge and falling edge of the current of the remaining valves in Step 1 during each operation, thereby completing the edge detection of the current data in the high-altitude simulation test system.
[0015] Further, in Step 1, the current acquisition device uses a cRIO 9035 current acquisition system.
[0016] Further, in Step 4, subtracting all the instantaneous currents in the current curve described in Step 2 means subtracting the average value from each instantaneous current to obtain a series of new instantaneous current values.
[0017] Further, Step 5 is specifically: perform binary processing on the rising part of the current data in the new current curve once, and then perform binary processing and first-order difference processing on all the current data again, so as to obtain the rising edge and falling edge of the current of the valve during this operation.
[0018] The present invention also provides a computer system, including a memory, a processor, and a computer program stored on the memory, characterized in that the processor is used to execute the computer program to implement the steps of the above-mentioned method for detecting the edges of current data in a high-altitude simulation test system.
[0019] In addition, the present invention also provides a computer-readable storage medium, on which a computer program or instructions are stored. The special feature is that when the computer program or instructions are executed by a processor, the steps of the above-mentioned method for detecting the current data edge of the high-altitude simulation test system are realized.
[0020] Compared with the prior art, the beneficial effects of the present invention are as follows:
[0021] 1. A method for detecting the current data edge of a high-altitude simulation test system provided by the present invention, based on the current curve during the operation of the valve, successively performs comparison, averaging, subtraction, binarization processing and first-order difference processing, so as to quickly and accurately obtain the current rising edge and falling edge during its operation, and further obtain the accurate opening and closing times of the valve, providing accurate data support for evaluating the working performance of the valve during the high-altitude simulation test process.
[0022] 2. In the method for detecting the current data edge of a high-altitude simulation test system provided by the present invention, subtracting the instantaneous current in the current curve by combining the average value of the maximum and minimum instantaneous currents can improve the operation speed and further improve the detection efficiency.
[0023] 3. In the method for detecting the current data edge of a high-altitude simulation test system provided by the present invention, adopting binarization processing can reduce noise interference and improve the detection accuracy and the accuracy of the detection result.
[0024] 4. In the method for detecting the current data edge of a high-altitude simulation test system provided by the present invention, adopting the method of first-order difference processing effectively improves the dynamic characteristics in the data, and further improves the real-time performance of the detection.
[0025] 5. A method for detecting the current data edge of a high-altitude simulation test system provided by the present invention is simple to operate, and improves the efficiency of current data analysis on the premise of ensuring accuracy. Description of the Drawings
[0026] Figure 1 is the current curve when any valve of any embodiment of the present invention works any time;
[0027] Figure 2 is Figure 1 a partial enlarged view of the current rising edge in the current curve;
[0028] Figure 3 is Figure 1 a partial enlarged view of the current falling edge in the current curve;
[0029] Figure 4 is the new current curve diagram obtained in step 4 of the embodiment of the present invention;
[0030] Figure 5It is the graph of the slope change of the rising edge current curve before the binarization process in step 5 of the embodiment of the present invention;
[0031] Figure 6 It is the current data curve graph after the first binarization process in step 5 of the embodiment of the present invention;
[0032] Figure 7 It is the current data curve graph after the second binarization process in step 5 of the embodiment of the present invention;
[0033] Figure 8 It is the current data curve graph after the first-order difference process in step 5 of the embodiment of the present invention. Detailed implementation manners
[0034] To make the objectives, advantages and features of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments. Those skilled in the art should understand that these embodiments are only used to explain the technical principle of the present invention and are not used to limit the protection scope of the present invention.
[0035] Taking a certain valve of the high-altitude simulation test system as an example, the current data sampling rate f s = 1000 Hz. Since the sampling rate is relatively high and there is noise interference in the current signal, in order to quickly process the current data, this embodiment provides a method for detecting the edges of current data in a high-altitude simulation test system, including the following steps:
[0036] Step 1: Through the current acquisition device, respectively obtain the current curves of each valve during each operation in the whole process of the operation of the high-altitude simulation test system, and obtain the original current data set; wherein, one opening and closing of the valve is one operation.
[0037] The current acquisition device in this embodiment adopts a cRIO 9035 current acquisition system. Of course, other acquisition devices that can achieve the same or higher sampling accuracy can also be used.
[0038] Step 2: Extract the current curve of any valve during any operation ( Figure 1 shown), and the local enlarged views of its current rising edge and falling edge are as shown in Figure 2 , Figure 3 shown. By comparison, the instantaneous current maximum and minimum values of the valve during this operation can be obtained.
[0039] The current curve of the valve during this operation is represented by the data set I = {(t k , i k )}, where: t k represents the sampling moment, and i kRepresents the instantaneous current value corresponding to the sampling moment, where k ∈ [0, n - 1] and n is the total number of samplings of the valve; the time of the entire working process of the high-altitude simulation test system f s is the sampling rate. The sampling rate in this embodiment is 1000 Hz, and t k ∈ [0, t].
[0040] By comparing the magnitudes of the instantaneous current values i k in the data set I, the maximum instantaneous current I max =(t m , i m ) and the minimum value I min =(t n , i n ) of the valve during this working process are obtained, where m, n ∈ [0, n - 1];
[0041] Step 3: Based on the maximum instantaneous current I max and the minimum value I min , use the two-point averaging method to calculate the average value I mid , that is, I mid =(i m + i n ) / 2.
[0042] Step 4: Combine the average value obtained in Step 3 and subtract it from all the instantaneous currents in the current curve described in Step 2 to obtain a new current curve ( Figure 4 shown), and this current curve is represented by the new data set I′, I′ ={(t k , i k - I mid )}={(t k , i′ k )}, where i′ k is the instantaneous current after subtraction, and k ∈ [0, n - 1].
[0043] Step 5: Perform binarization processing and first-order difference processing on the new current curve in sequence to obtain a current set curve, and then obtain the current rising edge and falling edge of the valve during this working process.
[0044] As Figure 2 shown, by magnifying the local curve of the valve opening action, it can be seen that the differential of the current rising edge of the valve opening is not always positive, which is caused by the inherent working characteristics when the valve opens. For the new data set I′ processed through the above steps, during the current rising process, there exists I a =(t a , i a ) and I b =(tb , i b ) Two points, the differential value As Figure 5 shown. At this time, for t a to t b interval, all instantaneous current values i' ∈ [i a , i b are binarized so that i' = 0, thus obtaining the set I", I" = {(t k , i" k )}, and its corresponding current curve is as Figure 6 shown.
[0045] Next, the set I" is binarized, that is: if i" k > 0, let i" k = 1; if i" k ≤ 0, then let i" k = 0, thus obtaining the data set I bin , and its corresponding curve is as Figure 7 shown.
[0046] Finally, the first-order difference of the data set I bin is calculated to obtain the data set I dif , and then the current rising edge I u = (t u , 1), the current falling edge I d = (t d , -1), as Figure 8 shown.
[0047] Based on this current rising edge and falling edge, the actual opening time and actual closing time of the valve during this operation can be calculated. The actual opening time The actual closing time Furthermore, it can be known whether it matches the preset opening time and preset closing time.
[0048] Step 6: According to the methods in Step 2 to Step 5, obtain the current rising edge and falling edge of the valve during each operation in the whole process of the high-altitude simulation test system.
[0049] Step 7: According to the methods in Step 2 to Step 6, obtain the current rising edge and falling edge of the remaining valves in Step 1 during each operation in the whole process of the high-altitude simulation test system, thus completing the edge detection of the current data of the high-altitude simulation test system.
[0050] Through the above method, the influencing factors of different amplitudes and interference noises can be excluded, and then the opening and closing edges of the valve current data collected by the high-altitude simulation test system can be quickly detected, so as to accurately obtain the opening or closing time of the valve and ensure the smooth progress of the high-altitude simulation test.
[0051] Meanwhile, this embodiment also provides a computer system, including a memory, a processor, and a computer program stored on the memory. The processor is used to execute the computer program to implement the steps of the method for detecting the current data edge of the high-altitude simulation test system described in this embodiment.
[0052] In addition, this embodiment also provides a computer-readable storage medium, on which a computer program or instruction is stored. When the computer program or instruction is executed by a processor, the steps of the method for detecting the current data edge of the high-altitude simulation test system described in this embodiment are implemented.
[0053] 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 them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions recorded in the foregoing embodiments, or perform equivalent replacements on some or all of the technical features; and 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 present invention.
Claims
1. A method for detecting the edge of current data in a high-altitude simulation test system, characterized in that Including the following steps: Step 1: Through a current acquisition device, respectively obtain the current curves of each valve during each operation in the whole process of the high-altitude simulation test system, and obtain the original current data set; one operation of the valve means one opening and closing of the valve. Step 2: Extract the current curve of any valve during any operation, and obtain the maximum and minimum instantaneous currents of the valve during this operation by comparison. Step 3: Calculate the average value based on the maximum and minimum instantaneous currents. Step 4: Combine the average value obtained in Step 3, and subtract all the instantaneous currents in the current curve described in Step 2 to obtain a new current curve. Step 5: Perform binarization processing and first-order difference processing on the new current curve in sequence to obtain a current set curve, and then obtain the rising edge and falling edge of the current of the valve during this operation. Step 6: According to the method of Step 2 to Step 5, obtain the rising edge and falling edge of the current of the valve during each operation. Step 7: According to the method of Step 2 to Step 6, obtain the rising edge and falling edge of the current of the remaining valves in Step 1 during each operation, so as to complete the edge detection of the current data of the high-altitude simulation test system.
2. The method for edge detection of current data of the high-altitude simulation test system according to claim 1, wherein: In Step 1, the current acquisition device uses a cRIO 9035 current acquisition system.
3. The method for edge detection of current data of the high-altitude simulation test system according to claim 1, wherein: In Step 4, subtracting all the instantaneous currents in the current curve described in Step 2 means subtracting the average value from each instantaneous current to obtain a series of new instantaneous current values.
4. The method for edge detection of current data of the high-altitude simulation test system according to claim 1, wherein: Step 5 is specifically to perform binarization processing on the rising part of the current data in the new current curve once, and then perform binarization processing and first-order difference processing on all the current data again, so as to obtain the rising edge and falling edge of the current of the valve during this operation.
5. A computer system, including a memory, a processor, and a computer program stored on the memory, wherein: The processor is used to execute the computer program to implement the steps of the method for edge detection of current data of the high-altitude simulation test system according to any one of claims 1 to 4.
6. A computer-readable storage medium, on which a computer program or instruction is stored, wherein: The computer program or instruction, when executed by the processor, implements the steps of the method for edge detection of current data of the high-altitude simulation test system according to any one of claims 1 to 4.