Isolation section shock wave string dynamic tracking and positioning method and system based on image processing

By constructing a density gradient square function and performing edge detection based on image processing, the problem of shock train position tracking in the isolation section of the ramjet engine is solved, the accuracy of the shock train positioning and the quality of the flow field image are improved, and the front shock train is realized. Two-dimensional spatial position tracking of two shock waves.

CN118537403AActive Publication Date: 2024-08-23HUAZHONG UNIV OF SCI & TECH

Patent Information

Application Number
CN202410687560.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-30
Publication Date
2024-08-23
Estimated Expiration
2044-05-30

AI Technical Summary

Technical Problem

Existing technology makes it difficult to accurately track the location of important shock units within the shock train in the isolation section of the ramjet engine, resulting in insufficient dynamic shock train monitoring capabilities and limiting research on shock train structural characteristics, oscillation suppression, and feedback control.

Method used

Using an image processing-based method, the density gradient square function is constructed by obtaining the air flow direction and density, extracting the shock wave flow field image, performing preprocessing and edge detection, calculating the shock reflection point and shock foot flow direction position, and calculating the flow direction position according to the geometry. The length is converted into coordinates to achieve dynamic tracking and positioning of shock wave trains.

Benefits of technology

It improves the quality and accuracy of shock wave train flow field images, realizes rapid and accurate positioning of shock wave trains, enhances the ability to resolve shock wave characteristics, and can effectively track the two-dimensional spatial positions of the first two shock waves of the shock wave train. .

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118537403A
    Figure CN118537403A
Patent Text Reader

Abstract

The invention discloses an isolation section shock wave string dynamic tracking and positioning method and system based on image processing, and belongs to the technical field of shock wave string dynamic monitoring, and the method comprises the steps: obtaining the airflow flowing direction and airflow density of a ramjet isolation section shock wave string, and constructing a density gradient square function; extracting a shock wave string flow field image of the density gradient square function at a preset time interval, and performing preprocessing and edge detection on the shock wave string flow field image to obtain a shock wave pixel position image; calculating a shock wave reflection point flow direction position and a shock wave foot flow direction position of the shock wave string according to the shock wave pixel position image; and performing coordinate conversion on the shock wave reflection point flow direction position and the shock wave foot flow direction position according to the geometric length of the ramjet engine isolation section to obtain a shock wave string two-dimensional space tracking and positioning result. According to the method, irrelevant background interference in the shock wave string flow field is reduced by constructing the density gradient square function, the quality of the shock wave string flow field image is improved, and rapid and accurate positioning of the shock wave string is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of dynamic monitoring of shock wave trains in an isolation section of a ramjet engine, and in particular relates to a method and system for dynamic tracking and positioning of shock wave trains in an isolation section based on image processing. Background Art

[0002] The isolation section is located between the ramjet engine inlet and the combustion chamber. It compresses the airflow through the shock train structure to match the inlet conditions of the combustion chamber, effectively preventing the combustion back pressure from interfering with the operation of the inlet. It is one of the important components of the ramjet engine. The shock train is a special flow phenomenon that occurs in the supersonic reverse pressure pipe flow and is formed by the interference of shock waves and boundary layers. The position of the leading edge of the shock train is particularly important for the stable operation of the ramjet engine, especially when the length of the shock train is too long, the first shock wave at the leading edge of the shock train will enter the inlet, causing the inlet to fail to start and deteriorating the performance of the ramjet engine. In addition, the shock train is often unstable, usually showing low-frequency self-excited oscillations and forced oscillations caused by unstable combustion back pressure. The oscillating shock train will cause serious problems such as engine performance fluctuations, wall structure resonance damage, thermal protection and noise.

[0003] In the research of ramjet engines, precise monitoring and display technology is an important technical means for the scientific research of shock trains and the application of isolation section engineering. At present, most of the domestic and foreign methods use single-side wall pressure information to conduct preliminary detection of the leading edge of the shock train, which has poor ability to distinguish the structure of the shock train and can only obtain the position of the single-side shock foot, which is difficult to meet the needs of quantitative research on the shock train structure. In addition, the existing technology has a serious lack of monitoring capabilities for dynamic shock trains, and it is difficult to output the position of important shock wave units in the shock train in real time, which seriously limits the research on the structural characteristics, oscillation suppression and feedback control of the shock train.

[0004] Therefore, improving the dynamic tracking and positioning capability of the isolation section shock wave train is particularly important for achieving efficient and stable operation of the ramjet engine. Summary of the invention

[0005] In view of this, the present invention proposes a method and system for dynamic tracking and positioning of an isolated segment shock wave train based on image processing, which is used to solve the problem that it is difficult to accurately track the position of important shock wave units in the shock wave train in the prior art.

[0006] In a first aspect, the present invention discloses a method for dynamic tracking and positioning of an isolation segment shock wave train based on image processing, the method comprising:

[0007] Obtain the airflow direction and airflow density of the shock wave train of the ramjet isolation section, and construct a density gradient square function according to the airflow direction and airflow density;

[0008] Extracting the shock wave train flow field image of the density gradient square function at a preset time interval, preprocessing and edge detection of the shock wave train flow field image, and obtaining the shock wave pixel position image;

[0009] Calculate the flow direction position of the shock wave reflection point and the flow direction position of the shock wave foot of the shock wave train according to the shock wave pixel position image;

[0010] According to the geometric length of the ramjet isolation section, the coordinates of the shock wave reflection point and the shock wave foot in the shock wave train flow field image are converted to obtain the dynamic tracking and positioning result of the shock wave train.

[0011] On the basis of the above technical solution, preferably, the formula of the density gradient square function is:

[0012]

[0013] Where Y is the square of the density gradient, x is the airflow direction, y is the direction perpendicular to the airflow direction, and ρ is the airflow density.

[0014] On the basis of the above technical solution, preferably, extracting the shock wave train flow field image of the density gradient square function at a preset time interval, preprocessing and edge detection of the shock wave train flow field image, and obtaining the shock wave pixel position image specifically includes:

[0015] Adjusting the display range of the density gradient square function to a first display range, in which the shock wave train flow field image includes positions of a first shock wave and a second shock wave;

[0016] Extracting shock wave flow field images of density gradient square function at preset time intervals;

[0017] The shock wave flow field image is converted into a grayscale image, and the edge of the grayscale image is extracted using an edge detection algorithm to obtain the shock wave pixel position image.

[0018] On the basis of the above technical solution, preferably, the step of calculating the flow direction position of the shock wave reflection point and the flow direction position of the shock wave foot of the shock wave train according to the shock wave pixel position image specifically includes:

[0019] Extract the minimum column index of pixels corresponding to each row of the shock wave pixel position image to form a first pixel set Φ1;

[0020] Extract the maximum value in the first pixel set Φ1, and take the pixel position corresponding to the maximum value as the flow position P of the reflection point of the first shock wave of the shock wave train. X1 ;

[0021] The reflection point P of the first shock wave X1The corresponding row coordinate is the row dividing point, and the minimum column index on both sides of the row dividing point is calculated as the flow direction position of the shock foot of the first shock wave of the shock wave train.

[0022] On the basis of the above technical solution, preferably, the reflection point P of the first shock wave X1 The corresponding row coordinates are the row dividing points, and the minimum values ​​of the column indices on both sides of the row dividing points are calculated as the shock foot flow direction position of the first shock wave of the shock wave train, specifically including:

[0023] Extract the elements whose row number is less than the row dividing point in the first pixel set Φ1, calculate the minimum value of the column index among the elements whose row number is less than the row dividing point, and take the minimum value of the column index as the first shock wave foot flow direction position P of the first shock wave of the shock wave train. X2 ;

[0024] Extract the elements whose row number is greater than or equal to the row dividing point in the first pixel set Φ1, calculate the minimum value of the column index among the elements whose row number is greater than or equal to the row dividing point, and use the minimum value of the column index as the flow direction position P of the second shock foot of the first shock wave of the shock wave train. X3 .

[0025] On the basis of the above technical solution, preferably, the method further comprises:

[0026] The display range of the density gradient square function is increased to the second display range, so that only the right half of the first shock wave and the positive shock wave of the second shock wave are displayed on the shock wave train flow field image;

[0027] Performing edge detection on the grayscale image of the shock wave train flow field image in the second display range to obtain a new shock wave pixel position image;

[0028] Extract the maximum column index of the pixels corresponding to each row of the new shock wave pixel position image to form a second pixel set Φ2;

[0029] Eliminate the elements of the first shock wave from the second pixel set Φ2 to obtain a third pixel set Φ3;

[0030] Extract the minimum value in the third pixel set Φ3, and use the pixel position corresponding to the minimum value as the flow direction position P of the reflection point of the second shock wave of the shock wave train. X4 ;

[0031] The flow direction position P of the reflection point of the second shock wave X4 The corresponding row coordinates are the row dividing points, and the maximum values ​​of the column indices on both sides of the row dividing point are calculated as the shock foot flow direction position P of the second shock wave in the shock wave train. X5 , P X6 .

[0032] On the basis of the above technical solution, preferably, the removing the elements of the first shock wave from the second pixel set Φ2 to obtain the third pixel set Φ3 specifically includes:

[0033] Calculate the maximum value P in the second pixel set Φ2 max and the minimum value P min ;

[0034] Remove the elements in the second pixel set Φ2 whose values ​​are less than w×P max +(1-w)×P min The remaining elements are combined into a third pixel set Φ3, where w∈[0,1] is a preset weight.

[0035] On the basis of the above technical solution, preferably, the formula for converting the coordinates of the flow direction position of the shock wave reflection point and the flow direction position of the shock wave foot in the shock wave train flow field image according to the geometric length of the ramjet isolation section is:

[0036]

[0037] Where i = 1, 2, 3, 4, 5, 6, L is the geometric length of the ramjet isolation section, P0 and P1 are the starting and ending positions of the column pixels of the shock wave flow field image, respectively, and P Xi is the reflection point of the shock wave or the flow direction position of the shock wave foot in the shock wave train flow field image, X i This is the tracking and positioning result of the shock wave train in two-dimensional space.

[0038] In a second aspect, the present invention discloses a system for dynamically tracking and positioning isolated segment shock trains based on image processing, the system comprising:

[0039] Data acquisition module: used to obtain the airflow direction and airflow density of the shock wave train of the ramjet isolation section, and construct a density gradient square function according to the airflow direction and airflow density; extract the shock wave train flow field image of the density gradient square function at a preset time interval, pre-process and edge detect the shock wave train flow field image, and obtain the shock wave pixel position image;

[0040] Position calculation module: used to calculate the flow direction position of the shock wave reflection point and the flow direction position of the shock wave foot of the shock wave train according to the shock wave pixel position image;

[0041] Coordinate conversion module: It is used to convert the coordinates of the shock wave reflection point flow direction position and the shock wave foot flow direction position in the shock wave train flow field image according to the geometric length of the ramjet engine isolation section, and obtain the dynamic tracking and positioning results of the shock wave train.

[0042] In a third aspect of the present invention, an electronic device is disclosed, comprising: at least one processor, at least one memory, a communication interface and a bus;

[0043] Wherein, the processor, memory, and communication interface communicate with each other via the bus;

[0044] The memory stores program instructions that can be executed by the processor, and the processor calls the program instructions to implement the method according to the first aspect of the present invention.

[0045] Compared with the prior art, the present invention has the following beneficial effects:

[0046] 1) The present invention creates a density gradient square function based on the airflow direction and airflow density of the shock wave train in the isolation section of the ramjet engine, and presents the shock wave train flow field as a picture containing only shock waves and a monochrome background. The shock wave pixel position image obtained based on the density gradient function can eliminate all features other than the shock wave, and at the same time eliminate the influence of the wall boundary layer, reduce interference, make the shock wave train flow field clearer and easier to observe, improve the quality of the shock wave train flow field image, and provide more accurate and reliable data for dynamic tracking and positioning of the shock wave train.

[0047] 2) The present invention adopts an edge detection algorithm to mark the shock wave pixel position, extracts the minimum column index of the pixels corresponding to each row of the shock wave pixel position image to form a first pixel set, reflects the overall shape of the left half of the first shock wave with a smaller amount of data, reduces the difficulty of extracting shock wave features, and obtains the flow position of the reflection point of the first shock wave of the shock wave train by extracting the maximum value in the first pixel set. The row coordinates corresponding to the reflection point of the first shock wave are used as the row dividing point, and the minimum values ​​of the column indexes on the upper and lower sides of the row dividing point are calculated as the flow position of the shock wave foot of the first shock wave of the shock wave train, thereby realizing rapid and accurate positioning of the shock wave train.

[0048] 3) The present invention can enhance the resolution of shock wave features by increasing the display range of the density gradient square function to filter out low-intensity shock waves and highlight the characteristics of high-intensity shock waves. On this basis, the interference of the first shock wave is further filtered out, the shock wave feature extraction is optimized and the influence of irrelevant information is reduced. Finally, the main position of the positive shock wave of the second curve in the shock wave train is captured, thereby effectively tracking and locating the two-dimensional spatial positions of the first two shock waves in the shock wave train, thereby improving the accuracy of positioning. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0050] Figure 1It is a flow chart of the method for dynamic tracking and positioning of the isolation section shock wave train based on image processing of the present invention;

[0051] Figure 2 It is a schematic diagram of the shock wave flow field cloud diagram in the first display range Y (0-300000) of the present invention;

[0052] Figure 3 It is a schematic diagram of the shock wave pixel position image in the first display range Y (0-300000) of the present invention;

[0053] Figure 4 It is a schematic diagram of the shock wave pixel position image in the second display range Y (0-500000) of the present invention;

[0054] Figure 5 It is a schematic diagram of the positioning result of the main position of the second shock wave in the shock wave train according to the present invention. DETAILED DESCRIPTION

[0055] The following will be combined with the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. 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.

[0056] See also Figure 1 The present invention discloses a method for dynamic tracking and positioning of an isolation segment shock wave train based on image processing, the method comprising:

[0057] S1. Obtain the airflow direction and airflow density of the shock wave train of the ramjet isolation section, and construct a density gradient square function according to the airflow direction and airflow density.

[0058] The formula of the density gradient square function constructed by the present invention is:

[0059]

[0060] Where Y is the square of the density gradient, x is the airflow direction, y is the direction perpendicular to the airflow direction, and ρ is the airflow density.

[0061] Density gradient is an important feature of airflow in a flow field. The present invention obtains the shock wave string flow field image by constructing a density gradient square function. The purpose of not squaring the density gradient in the y direction is to eliminate the influence of the wall boundary layer. The density gradient scoring function can eliminate all features except the shock wave, and present the shock wave string flow field as a picture containing only the shock wave and a monochrome background.

[0062] S2. Extracting the shock wave train flow field image of the density gradient square function at a preset time interval, preprocessing and edge detection of the shock wave train flow field image, and obtaining a shock wave pixel position image.

[0063] The display range of the density gradient square function is adjusted to the first display range. In the first display range, the shock wave train flow field image includes the positions of the first shock wave and the second shock wave, and the shock wave train flow field image of the density gradient square function is extracted at a preset time interval. Figure 2 The figure shows a schematic diagram of the shock wave train flow field cloud diagram in the first display range Y (0-300000). Schematic diagrams X1-X6 represent the specific positions of the first two shock waves of the shock wave train, respectively indicating: the reflection position X1 of the first X / λ shock wave of the shock wave train, the upper shock wave foot position X2 of the first X / λ shock wave, the lower shock wave foot position X3 of the first X / λ shock wave, the position X4 of the second curve positive shock wave, the upper shock wave foot position X5 of the second curve positive shock wave, and the lower shock foot position X6 of the second curve positive shock wave.

[0064] The shock wave flow field image is converted into a grayscale image, and the edge of the grayscale image is extracted using an edge detection algorithm. The shock wave pixel position is marked to obtain a shock wave pixel position image. Specifically, shock wave detection and position marking can be achieved based on the local gradient amplitude of each pixel point and a given threshold.

[0065] The present invention obtains the shock wave pixel position image by constructing a density gradient square function, which can eliminate all features except the shock wave, and present the shock wave train flow field as a picture containing only the shock wave and a monochrome background, reducing interference. At the same time, all shock wave positions are characterized as a data set composed of a small number of pixel coordinates through edge detection, and the entire shock wave train flow field data is simplified, significantly reducing the amount of data to be processed. S3. Calculate the flow direction position of the shock wave reflection point and the flow direction position of the shock wave foot of the shock wave train according to the shock wave pixel position image.

[0066] The present invention can realize the positioning of the first two shock waves of the shock wave train, and step S3 specifically includes the following sub-steps:

[0067] S31, first shock wave positioning.

[0068] like Figure 3 The figure shows a schematic diagram of the shock wave pixel position image in the first display range Y (0-300000). The present invention processes each row of pixels, firstly tracks the cross reflection point in the middle of the shock wave, and then captures the upper and lower shock wave feet based on this.

[0069] S311, extracting the minimum column index of the pixels corresponding to each row of the shock wave pixel position image to form a first pixel set Φ1. The first pixel set Φ1 can reflect the overall shape of the left half of the first shock wave with a small amount of data, such as Figure 2 The first shock wave is shown in the figure.

[0070] S312, extracting the maximum value in the first pixel set Φ1, and taking the pixel position corresponding to the maximum value as the flow direction position P of the reflection point of the first shock wave of the shock wave train X1 .

[0071] That is, the maximum flow position pixel P in the first pixel set Φ1 X1 It is the flow position of the cross reflection point in the middle of the first X / λ shock wave train, combined with the corresponding pixel row coordinate P Y1 The pixel coordinates of the point can be obtained.

[0072] S313, the reflection point P of the first shock wave X1 The corresponding row coordinate is the row dividing point, and the minimum column index on both sides of the row dividing point is calculated as the flow direction position of the shock foot of the first shock wave of the shock wave train.

[0073] Specifically, when calculating the shock foot flow direction position of the first shock wave, extract the elements whose row number is less than the row boundary point in the first pixel set Φ1, calculate the minimum value of the column index among the elements whose row number is less than the row boundary point, and use the minimum value of the column index as the first shock foot flow direction position P of the first shock wave of the shock wave train. X2 ; Extract the elements whose row number is greater than or equal to the row dividing point in the first pixel set Φ1, calculate the minimum value of the column index among the elements whose row number is greater than or equal to the row dividing point, and use the minimum value of the column index as the flow direction position P of the second shock foot of the first shock wave of the shock wave train X3 .

[0074] S21, positioning of the second shock wave.

[0075] On the basis of the first display range Y (0-300000), the display range of the density gradient square function is increased to the second display range Y (0-500000), thereby filtering out low-intensity shock waves, highlighting high-intensity shock wave characteristics, and enhancing the resolution of shock wave characteristics, so that only the right half of the first shock wave and the positive shock wave of the second shock wave are displayed on the shock wave string flow field image.

[0076] S211 , performing edge detection on the grayscale image of the shock wave train flow field image in the second display range to obtain a new shock wave pixel position image.

[0077] like Figure 4 It is a schematic diagram of the shock wave pixel position image in the second display range Y (0-500000).

[0078] S212, extracting the maximum column index of the pixels corresponding to each row of the new shock wave pixel position image to form a second pixel set Φ2.

[0079] S213, removing the elements of the first shock wave from the second pixel set Φ2 to obtain a third pixel set Φ3.

[0080] Specifically, Figure 4 As shown, calculate the maximum value P in the second pixel set Φ2 max and the minimum value P min ; Remove the element value in the second pixel set Φ2 that is less than w×P max +(1-w)×P min The remaining elements are combined into a third pixel set Φ3, where w∈[0,1] is a preset weight, which can be 0.6 in this embodiment.

[0081] By removing the elements of the first shock wave, the interference of the first shock wave can be eliminated, thereby optimizing the shock wave feature extraction and reducing the influence of irrelevant information.

[0082] S214, extracting the minimum value in the third pixel set Φ3, and taking the pixel position corresponding to the minimum value as the flow direction position P of the reflection point of the second shock wave of the shock wave train X4 .

[0083] S215, the flow direction position P of the reflection point of the second shock wave X4 The corresponding row coordinates are the row dividing points, and the maximum values ​​of the column indices on both sides of the row dividing point are calculated as the shock foot flow direction position P of the second shock wave in the shock wave train. X5 , P X6 .

[0084] That is, the row coordinates P of the reflection point Y4 is the row demarcation point, and the column index of the maximum marked pixel on the upper and lower sides is the flow position P of the second shock wave foot X5 , P X6 , combined with the corresponding point pixel row coordinates, the pixel coordinates can be obtained, such as Figure 5 As shown, the main position of the positive shock wave of the second curve in the shock wave train is captured.

[0085] S4. According to the geometric length of the ramjet isolation section, coordinate conversion is performed on the flow direction position of the shock wave reflection point and the flow direction position of the shock wave foot in the shock wave train flow field image to obtain the two-dimensional spatial tracking and positioning result of the shock wave train.

[0086] According to the pixel value range (P0~P1) of the flow field image of the complete isolation section shock wave train and the geometric length L of the isolation section, the tracked pixel value column index is converted into coordinates, and the flow direction position of the first two shock waves of the shock wave train at any moment can be obtained. The corresponding row coordinate is the longitudinal position, thereby effectively tracking and locating the two-dimensional spatial position of the first two shock waves of the shock wave train.

[0087] The formula for coordinate conversion is:

[0088]

[0089] Where i = 1, 2, 3, 4, 5, 6, L is the geometric length of the ramjet isolation section, P0 and P1 are the starting and ending positions of the column pixels of the shock wave flow field image, respectively, and P Xi is the reflection point of the shock wave or the flow direction position of the shock wave foot in the shock wave train flow field image, X i This is the tracking and positioning result of the shock wave train in two-dimensional space.

[0090] Assume that the maximum pixel column index range in the flow direction is 0 to 1000, the pixel row index range in the vertical direction is 0 to 200, the length of the isolation segment is 0.3 m, the vertical width is 0.03 m, the shock wave flow position corresponding to the 500 pixel column index is 0.15 m, and the shock wave longitudinal position corresponding to the 100 pixel column index is 0.015 m.

[0091] On the basis of the above method embodiments, the present invention further proposes an isolation section shock wave train dynamic tracking and positioning system based on image processing, the system comprising:

[0092] Data acquisition module: used to obtain the airflow direction and airflow density of the shock wave train of the ramjet isolation section, and construct a density gradient square function according to the airflow direction and airflow density; extract the shock wave train flow field image of the density gradient square function at a preset time interval, pre-process and edge detect the shock wave train flow field image, and obtain the shock wave pixel position image;

[0093] Position calculation module: used to calculate the flow direction position of the shock wave reflection point and the flow direction position of the shock wave foot of the shock wave train according to the shock wave pixel position image;

[0094] Coordinate conversion module: It is used to convert the coordinates of the shock wave reflection point flow direction position and the shock wave foot flow direction position in the shock wave train flow field image according to the geometric length of the ramjet engine isolation section, and obtain the dynamic tracking and positioning results of the shock wave train.

[0095] The above system embodiments and method embodiments correspond one to one, and for a brief description of the system embodiments, please refer to the method embodiments.

[0096] The present invention also discloses an electronic device, comprising: at least one processor, at least one memory, a communication interface and a bus; wherein the processor, memory, and communication interface communicate with each other through the bus; the memory stores program instructions that can be executed by the processor, and the processor calls the program instructions to implement the aforementioned method of the present invention.

[0097] The present invention also discloses a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, wherein the computer instructions enable the computer to implement all or part of the steps of the method described in the embodiment of the present invention. The storage medium includes: a USB flash drive, a mobile hard disk, a read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk, and other media that can store program codes.

[0098] The system embodiment described above is merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be distributed to multiple network units. A person skilled in the art may select some or all of the modules according to actual needs to achieve the purpose of the solution of this embodiment without creative effort.

[0099] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for dynamic tracking and positioning of isolated shock wave train based on image processing, characterized in that: The method comprises: Obtain the airflow direction and airflow density of the shock wave train of the ramjet isolation section, and construct a density gradient square function according to the airflow direction and airflow density; Extracting shock wave train flow field images of density gradient square function at preset time intervals, preprocessing and edge detection of shock wave train flow field images, and obtaining shock wave pixel position images; Calculate the flow direction position of the shock wave reflection point and the flow direction position of the shock wave foot of the shock wave train according to the shock wave pixel position image; According to the geometric length of the ramjet isolation section, the coordinates of the shock wave reflection point and the shock wave foot in the shock wave train flow field image are converted to obtain the dynamic tracking and positioning result of the shock wave train.

2. The method for dynamic tracking and positioning of isolated shock wave train based on image processing according to claim 1 is characterized in that: The formula of the density gradient square function is: Where Y is the square of the density gradient, x is the direction of airflow, y is the direction perpendicular to the airflow, and ρ is the airflow density.

3. The method for dynamic tracking and positioning of isolated shock wave train based on image processing according to claim 1, characterized in that: The step of extracting the shock wave train flow field image of the density gradient square function at a preset time interval, preprocessing and edge detecting the shock wave train flow field image, and obtaining the shock wave pixel position image specifically includes: Adjusting the display range of the density gradient square function to a first display range, wherein the shock wave train flow field image includes positions of a first shock wave and a second shock wave in the first display range; Extracting shock wave flow field images of density gradient square function at preset time intervals; The shock wave flow field image is converted into a grayscale image, and the edge of the grayscale image is extracted using an edge detection algorithm to obtain the shock wave pixel position image.

4. The method for dynamic tracking and positioning of isolated shock wave train based on image processing according to claim 3 is characterized in that: The step of calculating the flow direction position of the shock wave reflection point and the flow direction position of the shock wave foot of the shock wave train according to the shock wave pixel position image specifically includes: Extract the minimum column index of the pixels corresponding to each row of the shock wave pixel position image to form a first pixel set Φ1; Extract the maximum value in the first pixel set Φ1, and take the pixel position corresponding to the maximum value as the flow position P of the reflection point of the first shock wave of the shock wave train. X1 ; The reflection point P of the first shock wave X1 The corresponding row coordinate is the row dividing point, and the minimum column index on both sides of the row dividing point is calculated as the flow direction position of the shock foot of the first shock wave of the shock wave train.

5. The method for dynamic tracking and positioning of isolated shock wave train based on image processing according to claim 4 is characterized in that: The reflection point P of the first shock wave X1 The corresponding row coordinates are the row dividing points, and the minimum values ​​of the column indices on both sides of the row dividing points are calculated as the shock foot flow direction position of the first shock wave of the shock wave train, specifically including: Extract the elements whose row number is less than the row dividing point in the first pixel set Φ1, calculate the minimum value of the column index among the elements whose row number is less than the row dividing point, and take the minimum value of the column index as the first shock wave foot flow direction position P of the first shock wave of the shock wave train. X2 ; Extract the elements whose row number is greater than or equal to the row dividing point in the first pixel set Φ1, calculate the minimum value of the column index among the elements whose row number is greater than or equal to the row dividing point, and use the minimum value of the column index as the flow direction position P of the second shock foot of the first shock wave of the shock wave train. X3 .

6. The method for dynamic tracking and positioning of isolated shock wave train based on image processing according to claim 3 is characterized in that: The method further comprises: The display range of the density gradient square function is increased to the second display range, so that only the right half of the first shock wave and the positive shock wave of the second shock wave are displayed on the shock wave train flow field image; Performing edge detection on the grayscale image of the shock wave train flow field image in the second display range to obtain a new shock wave pixel position image; Extract the maximum column index of pixels corresponding to each row of the new shock wave pixel position image to form a second pixel set Φ2; Eliminate the elements of the first shock wave from the second pixel set Φ2 to obtain a third pixel set Φ3; Extract the minimum value in the third pixel set Φ3, and use the pixel position corresponding to the minimum value as the flow direction position P of the reflection point of the second shock wave of the shock wave train. X4 ; The flow direction position P of the reflection point of the second shock wave X4 The corresponding row coordinates are the row dividing points, and the maximum values ​​of the column indices on both sides of the row dividing point are calculated as the shock foot flow direction position P of the second shock wave in the shock wave train. X5 , P X6 .

7. The method for dynamic tracking and positioning of isolated shock wave train based on image processing according to claim 6 is characterized in that: The step of removing the elements of the first shock wave from the second pixel set Φ2 to obtain the third pixel set Φ3 specifically includes: Calculate the maximum value P in the second pixel set Φ2 max and the minimum value P min ; Remove the elements in the second pixel set Φ2 whose values ​​are less than w×P max +(1-w)×P min The remaining elements are combined into a third pixel set Φ3, where w∈[0,1] is a preset weight.

8. The method for dynamic tracking and positioning of isolated shock wave train based on image processing according to claim 7 is characterized in that: The formula for converting the coordinates of the flow direction position of the shock wave reflection point and the flow direction position of the shock wave foot in the shock wave train flow field image according to the geometric length of the ramjet isolation section is: Where i = 1, 2, 3, 4, 5, 6, L is the geometric length of the ramjet isolation section, P0 and P1 are the starting and ending positions of the column pixels of the shock wave flow field image, respectively, and P Xi is the reflection point of the shock wave or the flow direction position of the shock wave foot in the shock wave train flow field image, X i This is the tracking and positioning result of the shock wave train in two-dimensional space.

9. An isolation section shock wave train dynamic tracking and positioning system based on image processing, characterized in that: The system comprises: Data acquisition module: used to obtain the airflow direction and airflow density of the shock wave train of the ramjet isolation section, and construct a density gradient square function according to the airflow direction and airflow density; extract the shock wave train flow field image of the density gradient square function at a preset time interval, pre-process and edge detect the shock wave train flow field image, and obtain the shock wave pixel position image; Position calculation module: used to calculate the flow direction position of the shock wave reflection point and the flow direction position of the shock wave foot of the shock wave train according to the shock wave pixel position image; Coordinate conversion module: It is used to convert the coordinates of the shock wave reflection point flow direction position and the shock wave foot flow direction position in the shock wave train flow field image according to the geometric length of the ramjet engine isolation section, and obtain the dynamic tracking and positioning results of the shock wave train.

10. An electronic device, characterized in that: include: at least one processor, at least one memory, a communication interface, and a bus; Wherein, the processor, memory, and communication interface communicate with each other via the bus; The memory stores program instructions that can be executed by the processor, and the processor calls the program instructions to implement the method according to any one of claims 1 to 8.

Citation Information

Patent Citations

  • Active detection device and method for separation section shock train leading edge of scramjet engine

    CN107576446A

  • Wave-rider design method based on gas density variable search and medium

    CN109515738A

  • Intelligent shock wave position prediction method oriented to flow field data

    CN113673147A

  • Correction method of shock train leading edge position mathematical model in inward rotation type air inlet channel

    CN115600372A

  • Multi-task identification method for flow field structure

    CN117150899A

Cited By

  • Shock wave low-frequency oscillation analysis method based on PIV instantaneous flow structure

    CN120028006A