A method for measuring blade parameters based on image
Through the image-based blade parameter measurement method, using image acquisition and image processing technology, the problem of insufficient accuracy and efficiency of traditional blade measurement methods is solved, and high-precision and low-cost blade parameter measurement is achieved, which is suitable for impeller machinery and general machinery. Blade design.
Patent Information
- Application Number
- CN202210698531.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-20
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2042-06-20
AI Technical Summary
It is difficult for traditional blade measurement methods to balance detection accuracy and efficiency. The contact method is costly and has poor versatility. The non-contact method is expensive in equipment and requires professional locations and personnel.
Using an image-based blade parameter measurement method, through image acquisition, preprocessing, geometric reference calculation, polynomial fitting and least squares iteration, combined with the Levenberg-Marquardt algorithm, the blade profile information can be quickly extracted and Parameter measurements.
It realizes non-contact measurement of blade parameters, which is direct, simple to operate and has high measurement accuracy. It is suitable for impeller machinery and general machinery. The measurement result error is small and suitable for blade design guidance.
Smart Images

Figure CN114972306B
Abstract
Description
Technical Field
[0001] The invention relates to a blade parameter measurement method for an impeller machine, and in particular to an image-based blade parameter measurement method. Background Art
[0002] Blades are key parts of turbine machinery. The accurate measurement and detection of blades play an important a priori role in blade processing and manufacturing, and are also an important step in blade performance diagnosis. Blade production is generally batch production with a wide variety of types. Traditional blade measurement methods are difficult to take into account the requirements of detection accuracy and efficiency. At present, the common blade measurement methods in China can be divided into contact and non-contact types. Among them, contact measurement includes sample measurement, inductance meter measurement and three-coordinate machine measurement, and non-contact measurement includes laser measurement and machine vision measurement. The sample measurement method detects the blade shape error by measuring the light leakage gap between the standard sample and the actual blade. It is simple to operate and low in cost, but a large number of standard samples are required for matching, and the measurement efficiency and automation are low; the inductance meter measurement uses a sensor to measure the deviation between the actual blade and the standard blade, with high measurement accuracy, but the instrument needs to be calibrated with a standard blade, poor versatility, and expensive equipment; the three-coordinate measuring machine uses a high-precision probe to obtain blade profile information, with high measurement accuracy, suitable for the final inspection of the blade, but the measurement efficiency is low, the cost is high, and a professional measurement site is required. Laser measurement and machine vision measurement are characterized by high automation and high measurement efficiency. Compared with the two, laser measurement equipment has higher cost and requires professional personnel and measurement sites. Summary of the invention
[0003] Purpose of the invention: The purpose of the present invention is to provide an image-based blade parameter measurement method that can quickly extract blade profile information, measure key blade profile parameters, and perform error assessment on the measurement results.
[0004] Technical solution: The blade parameter measurement method of the present invention comprises the following steps:
[0005] S1, image acquisition instrument is used to acquire images of the blade cross section;
[0006] S2, preprocessing the leaf image to obtain leaf contour coordinate information;
[0007] S3, processing the blade profile coordinates, using standard geometric reference objects to calculate the ratio information between the image coordinates and the physical coordinates, and mapping the pixel coordinates of the blade profile curve to the physical coordinate system;
[0008] S4, processing the image obtained in step S3, obtaining a single-pixel blade skeleton, performing cubic polynomial fitting on the extracted blade skeleton, obtaining a function distribution of the mid-arc line, and calculating the blade initial parameters and thickness distribution curve according to the blade curve contour coordinates and the mid-arc line coordinates;
[0009] S5, reconstructs the blade profile according to the initial parameters of the blade profile, takes the original blade image as prior information, and uses the least squares method to iterate the blade profile parameters to describe the difference between the reconstructed blade profile and the original blade profile; uses the Levenberg-Marquardt algorithm to iteratively solve the equations to obtain the precise blade profile parameters, and outputs the measured parameters of the blade profile when the iteration conditions are met.
[0010] Furthermore, in step S1, Gaussian filtering is used to process the image. When there is no obvious noise in the image, a linear operation is performed on the image to improve the image brightness and contrast and enhance the image edge by adjusting parameters a and b to obtain the leaf profile image f(i, j):
[0011] f(i,j)=af G (i,j)+b
[0012] Among them, (i, j) represents the pixel point in the image, f G (i,j) represents the image after Gaussian filtering, and are contrast adjustment factor and brightness adjustment factor respectively, is the set of real numbers;
[0013] When a>1, the image contrast is enhanced, and when a<1, the contrast is reduced;
[0014] When b>0, the image brightness increases, and when b<0, the brightness decreases.
[0015] Further, the implementation process in step S2 is as follows:
[0016] S21, given the grayscale threshold of edge pixels, use the Canny operator to perform edge detection on the image. When the pixel value of point (i, j) is greater than the maximum edge threshold or less than the minimum edge threshold, the point is considered not to be an edge.
[0017] S22, performing morphological processing on the edge information of the extracted image, using an erosion operation to remove discrete noise points of the image, using an expansion operation to fill holes, and adjusting the sizes of the erosion and expansion operators until a closed leaf-shaped curve appears in the image;
[0018] S23, using the maximum outer edge contour extraction method to obtain the blade contour coordinate information, using a 3×3 window to scan the image, when a continuous and complete blade curve is extracted, the background segmentation is determined to be successful, the inside of the blade curve is filled, and a binary image with a white blade and a black background is output, and the pixel coordinates of the blade curve and the square reference object are returned; when there is no complete blade curve in the image, the calculation is terminated and the image needs to be re-collected.
[0019] Furthermore, for the leaf profile binary image obtained in step S2, erosion and opening operations are performed on the image using structure elements B with different radii. Let A represent the leaf area to be detected, and S(A) represent the set of points on the mid-arc C(x). Then the expression S for erosion and opening operations is k (A) is:
[0020]
[0021] Where k is the number of iterations, symbol and Represent corrosion and opening operations respectively;
[0022] When a single-pixel leaf skeleton appears in the image, the iteration is stopped; a cubic polynomial is fitted to the extracted leaf skeleton to obtain the function distribution of the mid-arc line, and the initial leaf parameter P is calculated based on the leaf curve contour coordinates and the mid-arc line coordinates. 0 and thickness distribution curve.
[0023] Furthermore, in step S5, the blade profile curve H(i,j) is reconstructed by superimposing the thickness distribution with the mid-camber line, and the accurate measurement process of the blade profile parameters is as follows:
[0024]
[0025] stL≤max(f c,x )
[0026] Among them, f c (i, j) is the leaf contour point extracted from the original image, f c,x f c (i, j) is the abscissa, H(i, j) is the blade profile determined by the blade parameter P;
[0027] The Levenberg-Marquardt algorithm is used to iteratively solve the precise blade parameters, with the chord length axial distance L being less than the blade curve axial distance as a constraint; when the number of iterations is met or the residual set value is reached, the iteration is stopped and the measured parameters are output.
[0028] Compared with the prior art, the present invention has the following significant effects:
[0029] 1. Compared with the traditional contact measurement, the present invention uses image processing to achieve non-contact measurement of the characteristic parameters of the impeller machinery blades, which is direct and easy to operate;
[0030] 2. The present invention can be widely used in the measurement of blade cross-section parameters of impeller machinery, general machinery, etc. The measured parameters can be directly imported into blade design software to guide blade shape design. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] Figure 1is a flow chart of the present invention;
[0032] FIG. 2( a ) is a schematic diagram of background points in the present invention;
[0033] FIG2( b ) is a schematic diagram of an internal point in the present invention;
[0034] FIG2( c ) is a schematic diagram of contour points in the present invention;
[0035] Figure 3 This is the original image taken for printing of a certain type of turbine blade. DETAILED DESCRIPTION
[0036] The present invention is further described in detail below in conjunction with the accompanying drawings and specific implementation methods.
[0037] like Figure 1 As shown, the blade profile parameter measurement method of the present invention comprises the following steps:
[0038] S1. Obtain an original leaf image, convert it into a grayscale image, preprocess the leaf image to enhance image features, and improve the visual effect of the leaf image;
[0039] S2, performing background segmentation on the main body of the blade and extracting the blade contour coordinate information;
[0040] S3, calculating the length of a unit pixel by the pixels occupied by the square reference object in the figure, and mapping the leaf contour coordinates to the physical world coordinates;
[0041] S4, extracting the blade image skeleton, performing curve fitting to obtain the blade profile mid-arc function, preliminarily calculating the blade profile parameters, and fitting the thickness distribution function;
[0042] S5, reconstructing the blade profile curve according to the blade profile parameters in step S4, comparing it with the original blade profile curve profile, and iteratively adjusting the blade profile parameters;
[0043] S6. Compare the blade profile parameters obtained in step S5 with the true values of the original blades, and calculate the relative measurement error.
[0044] Combination Figure 3 Take an image of a certain model of turbine blade printout and measure its parameters, including the following steps:
[0045] Step 1: Collect the image of the turbine blade and transfer it to the image preprocessing module. The region of interest (ROI) of the image is intercepted so that the image contains the complete blade and the square reference object. The image is processed using Gaussian filtering to reduce the Gaussian noise of the image. When there is no obvious noise in the image, the image is linearly operated. The image brightness and contrast are adjusted according to formula (1) to enhance the edge information of the image.
[0046] When the ROI area contains the complete leaf area and there is less blank information near the leaf, the Gaussian filter kernel G(i, j) is used to filter the image. According to formula (1), the parameters a and b are adjusted to improve the image brightness and contrast and enhance the image edge to obtain an accurate and clear leaf image f(i, j):
[0047] f(i,j)=af G (i,j)+b (1)
[0048] Among them, f G (i,j) represents the image after Gaussian filtering, and are contrast adjustment factor and brightness adjustment factor respectively, is the set of real numbers.
[0049] When a>1, the image contrast is enhanced, and when a<1, the contrast is reduced;
[0050] When b>0, the image brightness increases, and when b<0, the brightness decreases.
[0051] When a clear and bright leaf image is obtained without obvious noise in the image, the preprocessing is determined to be qualified and step 2 is performed.
[0052] Step 2: Given the grayscale threshold of edge pixels, use the Canny operator to detect the edge of the image. When the pixel value of the pixel point (i, j) is greater than the maximum edge threshold or less than the minimum edge threshold, the point is considered not to be an edge. After the edge information of the image is extracted, morphological processing is performed. The erosion and expansion operations in the morphological processing are used to eliminate isolated points and fill holes. When a closed leaf-shaped curve is obtained in the image, the edge information is determined to be qualified, otherwise the size of the erosion and expansion operators is adjusted. The maximum edge contour method is then used to screen the extracted edge information. The specific implementation method is as follows:
[0053] Define the target area pixel value as 1, the background area pixel value as 0, use a 3×3 convolution template (structural element) to corrode the image, use the center of the structural element to traverse each element of the image, take the minimum pixel value of the original image corresponding to the area covered by the structural element to replace the pixel at the center of the current structural element, use a 3×3 convolution template (structural element) to dilate the image, use the center of the structural element to traverse each element of the image, take the maximum pixel value of the original image corresponding to the area covered by the structural element to replace the pixel at the center of the current structural element, adjust the size of the structural element, and when a closed leaf curve is obtained in the image, use the maximum outer edge contour extraction method to obtain the leaf contour coordinate information, and use a 3×3 window to scan the image f(i,j). If the pixel point (i,j) and the 8 pixel points N in its neighborhood are 8If (i, j) are both 0, the pixel (i, j) is considered a background point, as shown in Figure 2(a); otherwise, it is an internal point, as shown in Figure 2(b); if the pixel (i, j) and the 8 pixels N in its neighborhood 8 When (i, j) is both 0 and 1, the pixel point (i, j) is judged to be a contour point, as shown in Figure 2(c).
[0054] When a continuous and complete leaf-shaped curve is extracted, the background segmentation is determined to be successful, the inside of the leaf-shaped curve is filled, and a binary image with white leaves and black background is output. The pixel coordinates of the leaf-shaped curve and the square reference object are returned. When there is no complete leaf-shaped curve in the image, the calculation is terminated and the image needs to be re-collected.
[0055] Step 3, according to the pixel coordinates of the square obtained in step 2, calculate the pixels occupied by the square, and obtain the size of the unit pixel in the image, so as to deduce the key parameters of the leaf shape according to the pixels of the leaf shape in the image.
[0056] Step 4: For the leaf profile binary graph obtained in step 2, use structural elements B with different radii i Perform erosion and opening operations on the image. Let A be the leaf area to be detected, S(A) represents the set of points on the arc C(x) in A, and perform erosion and opening operations on the image with structural elements B of different radii. The expression S for erosion and opening operations is k (A) is:
[0057]
[0058] Where k is the number of iterations, symbol and Represent the erosion and opening operations respectively.
[0059] When a single-pixel leaf skeleton appears in the image, the iteration is stopped, and a cubic polynomial is fitted to the extracted leaf skeleton to obtain the function distribution of the mid-arc line. The initial parameters of the leaf are calculated based on the leaf curve contour coordinates and the mid-arc line coordinates:
[0060] L=O r,x -O f,x
[0061]
[0062]
[0063] T max =T x -O f,x
[0064]
[0065]
[0066]
[0067]
[0068] P max =O max,x -O f,x (3)
[0069] Among them, O f (O f,x ,O f,y ) and O r (O r,x ,O r,y ) are the centers of the front and rear edges of the blade, R f and R r is the radius of the front and rear edge arcs, and L is the x-axis distance between the centers of the front and rear edges. The blade mid-arc is denoted by O f O r , α f and α r is the angle between the tangent of the median arc at the inlet and outlet and the x-axis, recorded as the geometric inlet angle and geometric outlet angle. j ,y j They represent the horizontal and vertical coordinates of the jth point on the blade profile, j∈[1,m], m is the number of blade profile points, S i,x , S i,y They represent the horizontal and vertical coordinates of the i-th point on the blade arc, i∈[1,n], n is the number of arc points in the blade, O max , R max P is the center and radius of the arc at the maximum thickness of the blade; max The center of the front edge is O f to max The x-axis distance. T is the maximum y value point of the mid-arc, T x is the horizontal coordinate of point T, T max is the x-axial distance between the center of the leading edge and T.
[0070] Step 5, accurately measure the initial parameters of the blade profile obtained in step 4. The objective function of the accurate measurement process of blade profile parameters can be described as formula (4). The distance between the reconstructed blade profile curve and the original image curve is optimized by least squares, and the constraint condition is: the axial chord length L is less than the axial distance of the contour point x.
[0071] The accurate parameter measurement uses the method of superimposing the thickness distribution of the mid-arc line to reconstruct the blade profile curve H(i,j). The accurate measurement process of the blade profile parameters can be described as:
[0072]
[0073] Among them, f c (i, j) is the leaf contour point extracted from the original image, f c,x f c The horizontal coordinate of (i, j), H(i, j) is the blade profile determined by the blade parameter P, and the Levenberg-Marquardt (LM) algorithm is used to iteratively solve the accurate blade profile parameters. When the number of iterations n ≥ 1400 or the residual ε ≤ e -6 When convergence is determined, the iteration is stopped and accurate measurement parameters are output. The measurement results of this embodiment are shown in Table 1:
[0074] Table 1 Measurement results of a certain type of turbine blade
[0075]
[0076] Experiments show that the present invention has high measurement accuracy, with an absolute measurement error of no more than ±0.2 mm and a relative measurement error of no more than 1.5%.
Claims
1. A blade parameter measurement method based on an image, characterized in that: The steps include: S1, image acquisition instrument is used to acquire images of the blade cross section; S2, preprocessing the leaf image to obtain leaf contour coordinate information; S3, processing the blade profile coordinates, using standard geometric reference objects to calculate the ratio information between the image coordinates and the physical coordinates, and mapping the pixel coordinates of the blade profile curve to the physical coordinate system; S4, processing the image obtained in step S3, obtaining a single-pixel blade skeleton, performing cubic polynomial fitting on the extracted blade skeleton, obtaining a function distribution of the mid-arc line, and calculating the blade initial parameters and thickness distribution curve according to the blade curve contour coordinates and the mid-arc line coordinates; S5, reconstructs the blade profile according to the initial parameters of the blade profile, takes the original blade image as prior information, and uses the least squares method to iterate the blade profile parameters to describe the difference between the reconstructed blade profile and the original blade profile; uses the Levenberg-Marquardt algorithm to iteratively solve the equations to obtain the precise blade profile parameters, and outputs the measured parameters of the blade profile when the iteration conditions are met.
2. The image-based blade parameter measurement method according to claim 1, characterized in that: In step S1, Gaussian filtering is used to process the image. When there is no obvious noise in the image, a linear operation is performed on the image to improve the image brightness and contrast and enhance the image edge by adjusting parameters a and b to obtain a leaf profile image f(i, j): f(i,j)=of G (i,j)+b Among them, (i, j) represents the pixel point in the image, f G (i,j) represents the image after Gaussian filtering, and are contrast adjustment factor and brightness adjustment factor respectively, is the set of real numbers; When a>1, the image contrast is enhanced, and when a<1, the contrast is reduced; When b>0, the image brightness increases, and when b<0, the brightness decreases.
3. The image-based blade parameter measurement method according to claim 1, characterized in that: The implementation process in step S2 is as follows: S21, given the grayscale threshold of edge pixels, use the Canny operator to perform edge detection on the image. When the pixel value of point (i, j) is greater than the maximum edge threshold or less than the minimum edge threshold, the point is considered not to be an edge. S22, performing morphological processing on the edge information of the extracted image, using an erosion operation to remove discrete noise points of the image, using an expansion operation to fill holes, and adjusting the sizes of the erosion and expansion operators until a closed leaf-shaped curve appears in the image; S23, using the maximum outer edge contour extraction method to obtain the blade contour coordinate information, using a 3×3 window to scan the image, when a continuous and complete blade curve is extracted, the background segmentation is determined to be successful, the inside of the blade curve is filled, and a binary image with a white blade and a black background is output, and the pixel coordinates of the blade curve and the square reference object are returned; when there is no complete blade curve in the image, the calculation is terminated and the image needs to be re-collected.
4. The image-based blade parameter measurement method according to claim 3, characterized in that: In step S4, the leaf profile binary image obtained in step S2 is subjected to erosion and opening operations using structural elements B of different radii. Let A represent the leaf area to be detected, and S(A) represent the set of points on the mid-arc C(x). Then the expression S for erosion and opening operations is: k (A) is: Where k is the number of iterations, symbol and Represent corrosion and opening operations respectively; When a single-pixel blade skeleton appears in the image, the iteration is stopped; a cubic polynomial is fitted to the extracted blade skeleton to obtain the function distribution of the mid-arc line, and the blade initial parameter P0 and thickness distribution curve are calculated based on the blade curve contour coordinates and the mid-arc line coordinates.
5. The image-based blade parameter measurement method according to claim 1, characterized in that: In step S5, the blade profile curve H(i,j) is reconstructed by superimposing the thickness distribution of the mid-camber line. The accurate measurement process of the blade profile parameters is as follows: s.t.L≤max(f c,x ) Among them, f c (i, j) is the leaf contour point extracted from the original image, f c,x f c (i, j) is the abscissa, H(i, j) is the blade profile determined by the blade parameter P; The Levenberg-Marquardt algorithm is used to iteratively solve the precise blade parameters, with the chord length axial distance L being less than the blade curve axial distance as a constraint; when the number of iterations is met or the residual set value is reached, the iteration is stopped and the measured parameters are output.
