Visual gas turbine supervision system and method based on image recognition
Through a visual supervision system based on image recognition, the gas turbine flame status is monitored in real time by combining the shape, color and brightness deviation, which solves the problems of low flame monitoring accuracy and complex operation in the existing technology, and improves the operating efficiency and safety of the gas turbine. .
Patent Information
- Application Number
- CN202410624214.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-20
- Publication Date
- 2024-08-30
AI Technical Summary
Existing gas turbine flame monitoring technology is greatly affected by ambient temperature and humidity, has low accuracy, and is complex to operate. It is difficult to effectively monitor the flame status in real time, resulting in reduced combustion efficiency and potential safety hazards.
A visual supervision system based on image recognition is adopted to obtain multiple flame images of the gas turbine in a stable combustion state, establish a benchmark image set and a target image set, calculate the deviation degree of shape, color and brightness, judge the flame state, and realize real-time monitoring of the gas turbine flame. monitor.
It improves the accuracy of gas turbine flame monitoring and simplifies the operating process. It can detect unstable or incomplete flame conditions in time, reduce maintenance costs and downtime, and improve the economic benefits of the unit.
Smart Images

Figure CN118570498A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of image recognition, and in particular to a visualized gas turbine monitoring system and method based on image recognition. Background Art
[0002] Gas turbines are the most widely used power generation equipment in the current energy system and are gradually becoming an important model in the power industry. However, due to the harsh working environment of gas turbines, they are affected by various factors such as high temperature, high pressure and high vibration, resulting in a high failure rate. When the gas turbine is operating normally, the flame remains stable, the combustion efficiency is high, and the emission of combustion products meets environmental protection requirements. However, under specific operating conditions such as startup, shutdown, and load changes, the flame of the gas turbine may become unstable, which may lead to a decrease in combustion efficiency and even the risk of fire or explosion. During the combustion process of the gas turbine, if the fuel and air mixture ratio is not appropriate, or the combustion temperature is not high enough, it may lead to incomplete combustion and produce some harmful gases, such as carbon monoxide.
[0003] Therefore, real-time monitoring of gas turbines can effectively improve their reliability and efficiency. The real-time monitoring system can sense the status of the gas turbine in real time, discover problems in time, effectively solve hidden dangers, reduce maintenance costs and downtime, and improve the economic benefits of the unit. At present, the visual supervision of gas turbine flames on the market mainly includes: one is to use infrared thermal imaging cameras to capture the thermal image of the gas turbine flame, and monitor the flame state by analyzing the thermal distribution of the flame to achieve visual supervision. However, thermal imaging technology is greatly affected by factors such as ambient temperature and humidity, which may affect the accuracy of monitoring; the other is to use a spectrometer or spectral camera to analyze the spectral characteristics of the gas turbine flame to achieve monitoring and identification of the flame state. This method requires professional knowledge and equipment, and the operation and analysis process is relatively complicated. Summary of the invention
[0004] The object of the present invention is to provide a visual gas turbine monitoring system and method based on image recognition to solve the problems raised in the above background technology.
[0005] In order to solve the above technical problems, the present invention provides the following technical solutions:
[0006] A visual gas turbine monitoring method based on image recognition comprises the following steps:
[0007] Step S1: acquiring multiple flame images of a gas turbine in a stable combustion state and obtaining a reference image set, acquiring multiple flame images to be detected of the gas turbine and obtaining a target image set; dividing each reference image and each target image into a number of local areas, and sorting the target image set and the reference image set according to the same rule;
[0008] Step S2: Compare the number of pixels corresponding to the same local area in each target image with the same serial number and the reference image, obtain the pixel deviation value of each target image with the same serial number compared with the reference image, and then obtain the morphological deviation degree of the target image set compared with the reference image set;
[0009] Step S3: randomly acquiring m pixels in each local area of each target image, and obtaining the RGB value of each pixel, thereby creating a target color set; randomly acquiring m pixels in each local area of each reference image, and obtaining the RGB value of each pixel, thereby creating a reference color set; according to the target color set and the reference color set, obtaining the color deviation degree of the target image set compared with the reference image set;
[0010] Step S4: Aggregate the pixel points of the same local area in each reference image, and then establish a reference histogram of each local area; establish a target histogram of each local area in each target image according to all the pixel points of each local area of each target image; obtain the brightness deviation degree of the target image set compared with the reference image set according to the reference histogram of each local area and the target histogram of each local area in each target image;
[0011] Step S5: Determine the flame deviation value of the target image set according to the morphological deviation, color deviation and brightness deviation of the target image set compared with the reference image set, and then judge the flame state of the gas turbine.
[0012] Further, step S1 includes:
[0013] Step S1-1: acquiring T consecutive flame images of a gas turbine under a stable combustion state within a second and with a time interval of b seconds, preprocessing the acquired T flame images, and using the preprocessed T flame images as a reference image set;
[0014] Step S1-2: obtaining T consecutive flame images to be detected of the gas turbine within a seconds before the current time and with a time interval of b seconds, and preprocessing the obtained T flame images to be detected, and using the preprocessed T flame images to be detected as a target image set;
[0015] Step S1-3: Divide each reference image and each target image into a plurality of local areas according to flame features, wherein the local areas include a flame core area, a flame inner flame area and a flame outer flame area.
[0016] Further, step S2 includes the following steps:
[0017] Step S2-1: The formula for calculating the pixel deviation value between each target image with the same serial number and the reference image is:
[0018]
[0019] Among them, ΔM x is the pixel deviation value of the target image with serial number x compared with the reference image, n is the number of local areas into which the target image is divided, α y is the morphological weight of the yth local area that the target image is divided into, S xy is the total number of pixels in the yth local area into which the reference image with sequence number x is divided, M xy is the total number of pixels in the yth local area into which the target image with sequence number x is divided;
[0020] Step S2-2: The formula for the degree of morphological deviation between the target image set and the reference image set is:
[0021]
[0022] Among them, Δθ is the morphological deviation degree between the target image set and the reference image set, T is the number of target images in the target image set, and ΔM x is the pixel deviation value between the target image with serial number x and the reference image.
[0023] Further, step S3 includes the following steps:
[0024] Step S3-1: obtaining a color distribution vector of each pixel according to the RGB values of m pixels in each local area of each target image, and further obtaining a mean value of the color distribution vector of each local area of each target image as the first color element of each target image;
[0025] Step S3-2: Calculate the Pearson correlation coefficient of each local area of the target images numbered a and b according to the first color element of each target image, as the target color coefficient of each local area of the target image numbered b; where a+1=b, 1≤a <b≤T;
[0026] Step S3-3: using the target color coefficients of each local area of each target image as the second color element of each target image, and creating a target color set according to the first color element and the second color element of each target image; wherein the number of elements in the target color set is T-1;
[0027] Step S3-4: obtaining a color distribution vector of each pixel according to the RGB values of the m pixels in each local area of each reference image, and further obtaining a mean value of the color distribution vector of each local area of each reference image as the first color element of each reference image;
[0028] Step S3-5: Based on the first color element of each reference image, calculate the Pearson correlation coefficient of each local area of the reference images numbered a and b as the reference color coefficient of each local area of the reference image numbered b; wherein a+1=b, 1≤a <b≤T;
[0029] Step S3-6: using the reference color coefficient of each local area of each reference image as the second color element of each reference image, and creating a reference color set according to the first color element and the second color element of each reference image; wherein the number of elements in the reference color set is T-1;
[0030] Step S3-7: The formula for calculating the color deviation between the target image set and the reference image set is:
[0031]
[0032] Where μ represents the color deviation between the target image set and the reference image set, T-1 is the number of elements in the target color set, n is the number of local areas into which the target image is divided, and β j is the color weight of the jth local area that the target image is divided into, K1 and K2 are constants, Sr ij is the reference color coefficient of the jth local area of the reference image with sequence number i in the reference color set, Mr ij is the target color coefficient of the jth local area of the target image with sequence number i in the target color set, max(Sr ij ,Mr ij )To find Sr ij and Mr. ij The maximum value in S ij represents the mean value of the color distribution vector of the jth local area of the reference image with sequence number i in the reference color set, M ij represents the mean color distribution vector of the j-th local area of the target image with sequence number i in the target color set, and the symbol · represents the dot product.
[0033] Further, step S4 includes the following steps:
[0034] Step S4-1: Calculating the Euclidean distance similarity of the histograms of each local area in each target image according to the target histogram of each local area in each target image and the reference histogram of each local area;
[0035] Step S4-2: Calculate the brightness deviation between the target image set and the reference image set based on the Euclidean distance similarity of the histogram of each local area in each target image. The specific formula is:
[0036]
[0037] Where ΔDO is the brightness deviation between the target image set and the reference image set, T is the number of target images in the target image set, n is the number of local areas into which the target image is divided, K is a constant, and ω q is the brightness weight of the qth local area that the target image is divided into, O(S,M p ) q is the Euclidean distance similarity of the histogram of the qth local area of the pth target image.
[0038] Further, determining the flame deviation value of the target image set in step S5 includes the following steps:
[0039] Step S5-1: respectively obtaining a first weight, a second weight, and a third weight corresponding to the morphological deviation degree, the color deviation degree, and the brightness deviation degree of the target image set compared with the reference image set;
[0040] Step S5-2: normalizing the morphological deviation, color deviation and brightness deviation of the target image set compared with the reference image set;
[0041] Step S5-3: The formula for calculating the flame deviation value of the target image set is:
[0042]
[0043] in, is the flame deviation value of the target image set, Δθ, μ and ΔDO are the morphological deviation, color deviation and brightness deviation of the target image set compared with the reference image set after normalization, a, b and c are the first weight, second weight and third weight corresponding to the morphological deviation, color deviation and brightness deviation of the target image set compared with the reference image set, respectively.
[0044] Further, the step of determining the flame state of the gas turbine includes:
[0045] If the flame deviation value of the target image set satisfy It is determined that the gas turbine flame is in a stable combustion state; if the flame deviation value of the target image set satisfy The gas turbine flame is determined to be in an unstable combustion state; if the flame deviation value of the target image set satisfy It is determined that the gas turbine flame is in an incomplete combustion state; if the flame deviation value of the target image set satisfy The gas turbine flame is deemed to be extinguished; is the first combustion state threshold value set, is the second combustion state threshold value set, is the third combustion state threshold value set,
[0046] A visual gas turbine monitoring system based on image recognition includes the following modules:
[0047] Image acquisition module: used to acquire multiple flame images of the gas turbine under stable combustion state and obtain a reference image set, acquire multiple flame images to be detected of the gas turbine and obtain a target image set; divide each reference image and each target image into several local areas, and sort the target image set and the reference image set according to the same rule;
[0048] Morphological deviation degree module: used to compare the number of pixels corresponding to the same local area in each target image with the same serial number and the reference image, obtain the pixel deviation value of each target image with the same serial number compared with the reference image, and then obtain the morphological deviation degree of the target image set compared with the reference image set;
[0049] Color deviation degree module: used to randomly obtain m pixels in each local area of each target image, and obtain the RGB value of each pixel obtained, thereby creating a target color set; randomly obtain m pixels in each local area of each reference image, and obtain the RGB value of each pixel obtained, thereby creating a reference color set; obtain the color deviation degree of the target image set compared with the reference image set according to the target color set and the reference color set;
[0050] Brightness deviation degree module: used to aggregate the pixel points of the same local area in each reference image, and then establish the reference histogram of each local area; according to all the pixel points of each local area of each target image, establish the target histogram of each local area in each target image; according to the reference histogram of each local area and the target histogram of each local area in each target image, obtain the brightness deviation degree of the target image set compared with the reference image set;
[0051] Flame state judgment module: It is used to determine the flame deviation value of the target image set according to the morphological deviation, color deviation and brightness deviation of the target image set compared with the reference image set, and then judge the flame state of the gas turbine.
[0052] Furthermore, the image acquisition module includes the following units:
[0053] Reference image unit: obtain T consecutive flame images of the gas turbine under stable combustion state within a second and with a time interval of b seconds, preprocess the obtained T flame images, and use the preprocessed T flame images as the reference image set;
[0054] Target image unit: obtain T consecutive flame images to be detected of the gas turbine within a seconds before the current time and with a time interval of b seconds, and pre-process the obtained T flame images to be detected, and use the pre-processed T flame images to be detected as the target image set;
[0055] Area division unit: each reference image and each target image are divided into a plurality of local areas according to flame features, wherein the local areas include a flame core area, a flame inner flame area and a flame outer flame area.
[0056] Compared with the prior art, the beneficial effects achieved by the present invention are as follows: the present invention provides a visual gas turbine monitoring system and method based on image recognition, including: obtaining multiple flame images of the gas turbine in a stable combustion state to obtain a reference image set; obtaining multiple flame images to be detected of the gas turbine to obtain a target image set; calculating the degree of morphological deviation according to the number of pixels in the local area of each target image and the reference image; calculating the degree of color deviation according to the RGB value of the pixels in the local area of each target image and the reference image; calculating the degree of brightness deviation according to the grayscale value of the pixels in the local area of each target image and the reference image; finally determining the flame deviation value of the target image set, and then judging the flame state of the gas turbine. The present invention comprehensively considers the changes in the morphology, color and brightness of the flame, and then judges the flame state of the gas turbine, which ensures the accuracy of monitoring while reducing the complexity of operation. BRIEF DESCRIPTION OF THE DRAWINGS
[0057] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:
[0058] Figure 1 It is a flow chart of a visualized gas turbine monitoring method based on image recognition according to the present invention;
[0059] Figure 2 It is a structural diagram of a visual gas turbine monitoring system based on image recognition according to the present invention; DETAILED DESCRIPTION
[0060] The following will be combined with the drawings in 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.
[0061] See also Figure 1-Figure 2 The present invention provides a visual gas turbine monitoring system and method based on image recognition, and a flowchart of a visual gas turbine monitoring method based on image recognition is shown as follows: Figure 1 As shown. The following steps are included:
[0062] Step S1: Acquire multiple flame images of a gas turbine in a stable combustion state and obtain a reference image set, acquire multiple flame images to be detected of the gas turbine and obtain a target image set; divide each reference image and each target image into a number of local areas, and sort the target image set and the reference image set according to the same rule.
[0063] Step S1-1: acquiring T consecutive flame images of a gas turbine under a stable combustion state within a second and with a time interval of b seconds, preprocessing the acquired T flame images, and using the preprocessed T flame images as a reference image set.
[0064] Take T consecutive flame images of the gas turbine in a stable combustion state within a second and with a time interval of b seconds. The flame state in the stable combustion state should remain stable, the combustion efficiency is high, and the combustion product emissions meet environmental protection requirements. Input the T flame images into the deep neural network DNN inside the computer to obtain T flame four-value images. All pixels in these T flame four-value images are marked as 0, 1, 2 or 3. Of course, the DNN network is pre-trained, and its corresponding training process is as follows:
[0065] A DNN network is constructed, a large number of gas turbine flame combustion images are obtained, and a training data set is obtained. The training data set is divided into a training set and a validation set, wherein the ratio of the number of images in the training set to the validation set is 7:3. Since the shape, color and brightness of the flame core, outer flame and inner flame of the gas turbine flame are quite different, if the flame state is judged as a whole by the shape, color or brightness, the judgment result will have a large error. Therefore, the flame combustion image is divided into four parts according to the flame characteristics, that is, all the pixels in the flame combustion image are divided into four categories, and the non-flame pixel value is manually marked as 0, the flame core pixel value is manually marked as 1, the inner flame pixel value is manually marked as 2, and the outer flame pixel value is manually marked as 3. After the training data set is labeled, the constructed DNN network is trained using the training data set to obtain a trained DNN network. The specific training process is the existing technology and will not be repeated here.
[0066] Obtain T flame four-value images of the gas turbine in a stable combustion state output by the DNN network, perform product operations on these T flame four-value images and the corresponding flame images in a stable combustion state, and obtain T RGB images of only the flame core part pixel points, outer flame part pixel points and inner flame part pixel points of the gas turbine in a stable combustion state, and then use bilateral filtering to perform edge-preserving noise reduction processing on these T RGB images, and then enhance these T RGB images after edge-preserving noise reduction processing. The T images obtained after the above series of processing are used as the reference image set. In this implementation, a=5, b=1, T=5 in the T consecutive flame images of the gas turbine in a stable combustion state within a second and with a time interval of b seconds. The specific values can be adjusted according to actual conditions.
[0067] Step S1-2: Obtain T consecutive flame images to be detected of the gas turbine within a seconds before the current time and with a time interval of b seconds, and preprocess the obtained T flame images to be detected, and use the preprocessed T flame images to be detected as the target image set.
[0068] According to the camera model, shooting angle and position, image resolution and size, and shooting parameters of the gas turbine in the stable combustion state in step S1-1, take T consecutive flame images to be detected and processed of the gas turbine within a second before the current time and with a time interval of b seconds, and pre-process the acquired T flame images to be detected and processed. The pre-processing process refers to step S1, including obtaining T flame four-value images through the DNN network, multiplying the T flame four-value images with the flame image to be detected, obtaining T RGB images with only the flame core part pixel points, the outer flame part pixel points, and the inner flame part pixel points of the flame, and performing edge-preserving noise reduction processing and enhancing the T RGB images. The T images to be detected obtained after the above series of processing are used as the target image set. In order to facilitate the observation of the flame changes of the gas turbine in a short time, in this embodiment, a=5, b=1, T=5, which are consistent with step S1.
[0069] Step S1-3: Divide each reference image and each target image into a plurality of local areas according to flame features, wherein the local areas include a flame core area, a flame inner flame area and a flame outer flame area.
[0070] Each reference image in the reference image set is divided into three local areas according to the flame core part, inner flame part and outer flame part, and each target image in the target image set is divided into three local areas according to the flame core part, inner flame part and outer flame part.
[0071] In this embodiment, both the target image set and the reference image set sort the images in chronological order, and the image with the earliest shooting time is numbered 1, and the image with the latest shooting time is numbered 5.
[0072] Step S2: Compare the number of pixels corresponding to the same local area in each target image with the same serial number and the reference image to obtain the pixel deviation value of each target image with the same serial number compared with the reference image, and then obtain the degree of morphological deviation between the target image set and the reference image set.
[0073] Step S2-1: Since the gas turbine flame has different shapes under different combustion states, the flame in the stable combustion state is stable, uniform, round or conical, while the flame in the unstable combustion state may shake, flicker or be irregular, and the color of the flame in the incomplete combustion state may be dim and uneven, that is, except for the stable combustion state, the flame will be deformed and the pixel points will change in other states. Therefore, the number of pixels in each local area of the target image and the reference image is used to characterize the degree of morphological deviation between the target image set and the reference image set. The formula for calculating the pixel deviation value of each target image with the same serial number compared to the reference image is:
[0074]
[0075] Among them, ΔM x is the pixel deviation value of the target image with serial number x compared with the reference image, n is the number of local areas into which the target image is divided, α y is the morphological weight of the yth local area that the target image is divided into, S xy is the total number of pixels in the yth local area into which the reference image with sequence number x is divided, M xy is the total number of pixels of the yth local area into which the target image with sequence number x is divided. In this embodiment, the morphological weight of the flame core is α1=0.3, the morphological weight of the flame inner flame is α2=0.5, and the morphological weight of the flame outer flame is α3=0.2. The specific values can be adjusted according to the actual situation.
[0076] Step S2-2: Obtain the degree of morphological deviation between the target image set and the reference image set. The specific formula is:
[0077]
[0078] Among them, Δθ is the morphological deviation degree between the target image set and the reference image set, T is the number of target images in the target image set, and ΔM x is the pixel deviation value of the target image compared with the reference image whose serial number is x. The smaller the morphological deviation degree Δθ between the target image set and the reference image set, the smaller the morphological deviation between the target image set and the reference image set, and the more stable the flame state of the gas turbine.
[0079] Step S3: randomly obtain m pixels in each local area of each target image, and obtain the RGB value of each pixel obtained, thereby creating a target color set; randomly obtain m pixels in each local area of each reference image, and obtain the RGB value of each pixel obtained, thereby creating a reference color set; based on the target color set and the reference color set, obtain the degree of color deviation between the target image set and the reference image set.
[0080] Since the color of the gas turbine flame is quite different under different combustion states, the flame in the stable combustion state is blue or bluish-white, while the flame color in the unstable combustion state or incomplete combustion state may be abnormal colors such as yellow and orange, and may be accompanied by black smoke emission, and no longer has obvious color when extinguished. Therefore, the present invention considers the influence of color on the change of the gas turbine flame state, and uses the Pearson Correlation Coefficient to calculate the correlation between the color distribution of the target image and the reference image. The Pearson Correlation Coefficient is used to obtain the degree of color deviation between the target image and the reference image. The specific steps are as follows:
[0081] Step S3-1: According to the RGB values of m pixels in each local area of each target image, a color distribution vector of each pixel is obtained, and then a mean value of the color distribution vector of each local area of each target image is obtained as the first color element of each target image.
[0082] Randomly select m pixels from the flame core, inner flame, and outer flame of each target image (in order to reduce the amount of calculation, the number of pixels m selected should not be too many. If there are less than m pixels in each part of the flame in the target image, it is judged that the gas turbine is about to be extinguished or has been extinguished), and obtain the RGB values of these pixels. The RGB values of these pixels are normalized, that is, the RGB values are divided by 255, the value of each channel is scaled to between 0 and 1, and then the normalized RGB values are converted into color distribution vectors, and the normalized RGB values are used as the three components of the vector, namely (R, G, B). For example, for a color with an RGB value of (120, 50, 200), the color distribution vector can be obtained as (0.47, 0.20, 0.78) according to the above steps. Then, the mean value of the color distribution vector of each local area of each target image is obtained as the first color element of each target image.
[0083] Step S3-2: Calculate the Pearson correlation coefficient of each local area of the target images numbered a and b according to the first color element of each target image, as the target color coefficient of each local area of the target image numbered b; where a+1=b, 1≤a <b≤T。
[0084] The present invention uses the Pearson correlation coefficient to characterize the correlation between color distributions. Taking the calculation of the Pearson correlation coefficient of the kth local area of the target image with serial numbers a and b as an example, the calculation formula of the Pearson correlation coefficient is:
[0085]
[0086] in, represents the Pearson correlation coefficient of the kth local area of the target images with serial numbers a and b, m is the number of pixels obtained in each local area in each target image, and a kh represents the color distribution vector of the hth pixel in the kth local area of the target image with serial number a, b kh Represents the color distribution vector of the hth pixel point in the kth local area into which the target image with serial number b is divided, Represents the color distribution vector mean of the kth local area of the target image with serial number a. Represents the mean color distribution vector of the kth local area into which the target image with serial number b is divided.
[0087] By calculating the Pearson correlation coefficient between the color distribution vectors, a value between -1 and 1 can be obtained to represent the correlation between the color distribution of the target image with serial number a and the kth local area of the target image with serial number b. The closer the Pearson correlation coefficient is to 1, the closer it is to a positive linear relationship, that is, the more similar the color distribution is; the closer the Pearson correlation coefficient is to -1, the closer it is to a negative linear relationship, that is, the less similar the color distribution is; the closer the Pearson correlation coefficient is to 0, the less linear correlation there is between the color distributions. The calculated Pearson correlation coefficient result is used as the target color coefficient of the kth local area of the target image with serial number b. From this, the target color coefficients of each local area of the target image with serial number b can be obtained.
[0088] Step S3-3: Using the target color coefficients of each local area of each target image as the second color element of each target image, and creating a target color set according to the first color element and the second color element of each target image; wherein the number of elements in the target color set is T-1.
[0089] The first color element of each target image is the color distribution vector mean of each local area of each target image, and the second color element of each target image is the target color coefficient of each local area of each target image. The first color element and the second color element corresponding to each target image are combined to create a target color set. Since the number of second color elements of each target image is only T-1, the number of elements in the created target color set is also only T-1.
[0090] Step S3-4: Obtain the color distribution vector of each pixel according to the RGB values of the m pixels in each local area of each reference image, and then obtain the mean value of the color distribution vector of each local area of each reference image as the first color element of each reference image.
[0091] Referring to step S4-1 of this embodiment, m pixels are randomly selected from the flame core part, the inner flame part and the outer flame part of each reference image, and the RGB values of these pixels are obtained. The RGB values of these pixels are normalized, and then the normalized RGB values are converted into color distribution vectors. Then, the mean value of the color distribution vector of each local area of each reference image is obtained as the first color element of each reference image.
[0092] Step S3-5: Based on the first color element of each reference image, calculate the Pearson correlation coefficient of each local area of the reference images numbered a and b as the reference color coefficient of each local area of the reference image numbered b; wherein a+1=b, 1≤a <b≤T。
[0093] Calculate the Pearson correlation coefficient of the kth local area of the reference image with serial numbers a and b. The formula is:
[0094]
[0095] in, represents the Pearson correlation coefficient of the kth local area of the reference images with serial numbers a and b, m is the number of pixels obtained in each local area in each reference image, and a kh represents the color distribution vector of the hth pixel in the kth local area divided from the reference image with serial number a, b kh represents the color distribution vector of the hth pixel point in the kth local area divided by the reference image with serial number b, represents the mean value of the color distribution vector of the kth local area divided by the reference image with serial number a, The color distribution vector mean of the k-th local area divided by the reference image with the serial number b is represented. The calculated Pearson correlation coefficient result is used as the reference color coefficient of the k-th local area of the reference image with the serial number b. From this, the reference color coefficient of each local area of the reference image with the serial number b can be obtained.
[0096] Step S3-6: Using the reference color coefficient of each local area of each reference image as the second color element of each reference image, and creating a reference color set according to the first color element and the second color element of each reference image; wherein the number of elements in the reference color set is T-1.
[0097] The first color element of each reference image is the mean of the color distribution vectors of each local area of each reference image, and the second color element of each reference image is the reference color coefficient of each local area of each reference image. The first color element and the second color element corresponding to each reference image are combined to create a reference color set. Since the number of second color elements of each reference image is only T-1, the number of elements in the created reference color set is also only T-1.
[0098] Step S3-7: According to the target color set and the reference color set, the color deviation degree of the target image set compared with the reference image set is obtained, and the formula is:
[0099]
[0100] Where μ represents the color deviation between the target image set and the reference image set, T-1 is the number of elements in the target color set, n is the number of local areas into which the target image is divided, and β j is the color weight of the jth local area that the target image is divided into, K1 and K2 are constants, Sr ij is the reference color coefficient of the jth local area of the reference image with sequence number i in the reference color set, Mr ij is the target color coefficient of the jth local area of the target image with sequence number i in the target color set, max(Sr ij ,Mr ij )To find Sr ij and Mr. ij The maximum value in S ij represents the mean value of the color distribution vector of the jth local area of the reference image with sequence number i in the reference color set, M ij It represents the mean value of the color distribution vector of the jth local area of the target image with sequence number i in the target color set, and the symbol · represents the dot product. Formula is the cosine similarity, with a value between -1 and 1. The closer it is to 1, the closer S ij and M ij The closer. The smaller the color deviation μ between the target image set and the reference image set, the closer the color between the target image set and the reference image set is, and the more stable the flame state of the gas turbine is. In this embodiment, the color weight β1 of the flame core is 0.25, the color weight β2 of the flame inner flame is 0.4, the color weight β3 of the flame outer flame is 0.35, the constant K1 is 100, and the constant K2 is 10. The specific values can be adjusted according to the actual situation.
[0101] Step S4: Aggregate the pixel points of the same local area in each reference image, and then establish a reference histogram of each local area; establish a target histogram of each local area in each target image based on all the pixel points of each local area of each target image; obtain the brightness deviation degree of the target image set compared with the reference image set based on the reference histogram of each local area and the target histogram of each local area in each target image.
[0102] Since the brightness of the gas turbine flame varies greatly under different combustion states, the flame in the stable combustion state is bright and has a wide illumination range, while the unstable combustion state may be unstable, sometimes bright and sometimes dim. The flame brightness is low in the incomplete combustion state, and there is no brightness at all when it is extinguished. Therefore, the present invention considers the influence of brightness on the change of the gas turbine flame state, uses Euclidean distance similarity to calculate the correlation between the brightness of the target image and the reference image, and obtains the degree of brightness deviation between the target image and the reference image through Euclidean distance similarity. The specific steps are as follows:
[0103] According to all the pixels of each local area of each benchmark image, the pixels of the same local area are aggregated to obtain each pixel of each local area in the benchmark image set, and the grayscale histogram of each local area in the benchmark image set is established, that is, the benchmark histogram, and this grayscale histogram is displayed on the visualization platform. Taking the vth local area in the benchmark image set as an example, the grayscale histogram of the vth local area established in the benchmark image set is s v ={s v1 ,s v2 ,……,s vh}, since the grayscale level is 256, in order to facilitate calculation, the grayscale is downgraded in this embodiment, and the grayscale value is divided by 16, that is, the grayscale is divided into 16 levels, that is, h=16 in this embodiment, and the grayscale histogram S v The grayscale values after degradation processing are 0 to 15 as the horizontal axis, and the probability s of the grayscale values after degradation processing 0 to 15 appearing respectively v1 ~s vh The vertical axis is gray, and the larger the gray value, the brighter the flame.
[0104] According to all the pixels of each local area of each target image, a grayscale histogram of each local area is established in the target image, namely, a target histogram, and this grayscale histogram is displayed on the visualization platform. Taking the vth local area of the target image with sequence number w in the target image set as an example, the grayscale histogram of the vth local area established in the target image with sequence number w in the target image set is mw v ={mw v1 ,mw v2 , ..., mw vh}, referring to step S5-1, this embodiment performs grayscale degradation processing, divides the grayscale into 16 levels, h=16, and the grayscale histogram mw v The grayscale values after degradation processing are 0 to 15 as the horizontal axis, and the probability mw of the grayscale values after degradation processing 0 to 15 appearing respectively v1 ~mw vh Is the vertical axis.
[0105] Step S4 - 1 : Calculate the Euclidean distance similarity of the histograms of each local area in each target image according to the target histogram of each local area in each target image and the reference histogram of each local area.
[0106] Taking the vth local area of the target image with sequence number w in the target image set as an example, according to the grayscale histogram s of the vth local area established in the reference image set v , and the grayscale histogram mw of the vth local area established in the target image with sequence number w in the target image set v , the histogram Euclidean distance similarity formula is obtained as:
[0107]
[0108] Among them, O(S,M w ) v is the Euclidean distance similarity of the histogram of the vth local area of the wth target image, s vh is the probability of the hth gray value corresponding to the reference image in the vth local area, mw vh is the probability of the hth gray value corresponding to the wth target image in the vth local area. vh ,mw vh is the normalized probability value, that is, 0≤s pq ≤1,0≤mw pq ≤1. Histogram Euclidean distance similarity O(S,M w ) v The smaller it is, the smaller the histogram s v and histogram mw v The closer.
[0109] Step S4-2: Calculate the brightness deviation between the target image set and the reference image set based on the Euclidean distance similarity of the histogram of each local area in each target image. The specific formula is:
[0110]
[0111] Where ΔDO is the brightness deviation between the target image set and the reference image set, T is the number of target images in the target image set, n is the number of local areas into which the target image is divided, K is a constant, and ωq is the brightness weight of the qth local area that the target image is divided into, O(S,M p ) q is the histogram Euclidean distance similarity of the qth local area of the pth target image. The smaller the brightness deviation ΔDO between the target image set and the reference image set, the smaller the brightness deviation between the target image set and the reference image set, and the more stable the flame state of the gas turbine. In this embodiment, the brightness weight of the flame core ω1=0.25, the brightness weight of the flame inner flame ω2=0.45, the brightness weight of the flame outer flame ω3=0.30, and the constant K=100. The specific value can be adjusted according to the actual situation.
[0112] Step S5: Determine the flame deviation value of the target image set according to the morphological deviation, color deviation and brightness deviation of the target image set compared with the reference image set, and then judge the flame state of the gas turbine.
[0113] Step S5-1: respectively obtaining a first weight, a second weight, and a third weight corresponding to the morphological deviation degree, the color deviation degree, and the brightness deviation degree of the target image set compared with the reference image set;
[0114] Step S5-2: normalizing the morphological deviation, color deviation and brightness deviation of the target image set compared with the reference image set;
[0115] Step S5-3: The formula for calculating the flame deviation value of the target image set is:
[0116]
[0117] in, is the flame deviation value of the target image set, Δθ, μ and ΔDO are the morphological deviation, color deviation and brightness deviation of the target image set compared with the reference image set after normalization, respectively, a, b and c are the first weight, second weight and third weight corresponding to the morphological deviation, color deviation and brightness deviation of the target image set compared with the reference image set, respectively. Since color and brightness are more affected by flame changes, the values of this scheme are a=0.25, b=0.4, c=0.35, and the specific weight values can be adjusted according to actual conditions. Among them, The value range is [0,1].
[0118] Step S5-4: Based on the flame deviation value of the target image set Determine the flame status of the gas turbine.
[0119] The present invention divides the combustion state of the gas turbine into a stable combustion state, an unstable combustion state, an incomplete combustion state, and an extinguished state. In the stable combustion state, the fuel can be fully burned, and the heat and light generated can be effectively utilized; in the unstable combustion state, irregular combustion occurs during the combustion process, and obvious flame fluctuations, uneven combustion, etc. may occur; in the incomplete combustion state, the fuel fails to completely react with oxygen, resulting in insufficient heat and light to meet the demand; and in the extinguished state, the flame is about to or has been extinguished and cannot continue to burn. Therefore, the color and brightness of the unstable combustion state are closer to the stable combustion state than the incomplete combustion state, so this embodiment distinguishes the combustion states as follows:
[0120] If the flame deviation value of the target image set satisfy It is determined that the gas turbine flame is in a stable combustion state; if the flame deviation value of the target image set satisfy The gas turbine flame is determined to be in an unstable combustion state; if the flame deviation value of the target image set satisfy It is determined that the gas turbine flame is in an incomplete combustion state; if the flame deviation value of the target image set satisfy The gas turbine flame is deemed to be extinguished; is the first combustion state threshold value set, is the second combustion state threshold value set, is the third combustion state threshold value set, In this embodiment The specific value can be adjusted according to actual conditions.
[0121] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.
[0122] Finally, it should be noted that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art can still modify the technical solutions described in the aforementioned embodiments or replace some of the technical features therein by equivalents. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A visual gas turbine monitoring method based on image recognition, characterized in that: The following steps are involved: Step S1: acquiring multiple flame images of a gas turbine in a stable combustion state and obtaining a reference image set, acquiring multiple flame images to be detected of the gas turbine and obtaining a target image set; dividing each reference image and each target image into a number of local areas, and sorting the target image set and the reference image set according to the same rule; Step S2: Compare the number of pixels corresponding to the same local area in each target image with the same serial number and the reference image, obtain the pixel deviation value of each target image with the same serial number compared with the reference image, and then obtain the morphological deviation degree of the target image set compared with the reference image set; Step S3: randomly acquiring m pixels in each local area of each target image, and obtaining the RGB value of each pixel acquired, thereby creating a target color set; Randomly acquire m pixels in each local area of each reference image, and obtain the RGB value of each pixel acquired, thereby creating a reference color set; According to the target color set and the reference color set, the color deviation degree of the target image set compared with the reference image set is obtained; Step S4: Aggregate the pixel points of the same local area in each reference image, and then establish a reference histogram of each local area; establish a target histogram of each local area in each target image according to all the pixel points of each local area of each target image; obtain the brightness deviation degree of the target image set compared with the reference image set according to the reference histogram of each local area and the target histogram of each local area in each target image; Step S5: Determine the flame deviation value of the target image set according to the morphological deviation, color deviation and brightness deviation of the target image set compared with the reference image set, and then judge the flame state of the gas turbine.
2. A visual gas turbine monitoring method based on image recognition according to claim 1, characterized in that: Step S1 includes: Step S1-1: acquiring T consecutive flame images of a gas turbine under a stable combustion state within a second and with a time interval of b seconds, preprocessing the acquired T flame images, and using the preprocessed T flame images as a reference image set; Step S1-2: obtaining T consecutive flame images to be detected of the gas turbine within a seconds before the current time and with a time interval of b seconds, and preprocessing the obtained T flame images to be detected, and using the preprocessed T flame images to be detected as a target image set; Step S1-3: Divide each reference image and each target image into a plurality of local areas according to flame features, wherein the local areas include a flame core area, a flame inner flame area and a flame outer flame area.
3. The method for visualizing gas turbine monitoring based on image recognition according to claim 1, characterized in that: Step S2 includes the following steps: Step S2-1: The formula for calculating the pixel deviation value between each target image with the same serial number and the reference image is: Among them, ΔM x is the pixel deviation value of the target image with serial number x compared with the reference image, n is the number of local areas into which the target image is divided, α y is the morphological weight of the yth local area that the target image is divided into, S xy is the total number of pixels in the yth local area into which the reference image with sequence number x is divided, M xy is the total number of pixels in the yth local area into which the target image with sequence number x is divided; Step S2-2: The formula for the degree of morphological deviation between the target image set and the reference image set is: Among them, Δθ is the morphological deviation degree between the target image set and the reference image set, T is the number of target images in the target image set, and ΔM x is the pixel deviation value between the target image with serial number x and the reference image.
4. The method for visualizing gas turbine monitoring based on image recognition according to claim 1, characterized in that: Step S3 includes the following steps: Step S3-1: obtaining a color distribution vector of each pixel according to the RGB values of m pixels in each local area of each target image, and further obtaining a mean value of the color distribution vector of each local area of each target image as the first color element of each target image; Step S3-2: Calculate the Pearson correlation coefficient of each local area of the target images numbered a and b according to the first color element of each target image, as the target color coefficient of each local area of the target image numbered b; where a+1=b, 1≤a <b≤T; Step S3-3: using the target color coefficients of each local area of each target image as the second color element of each target image, and creating a target color set according to the first color element and the second color element of each target image; wherein the number of elements in the target color set is T-1; Step S3-4: obtaining a color distribution vector of each pixel according to the RGB values of the m pixels in each local area of each reference image, and further obtaining a mean value of the color distribution vector of each local area of each reference image as the first color element of each reference image; Step S3-5: Based on the first color element of each reference image, calculate the Pearson correlation coefficient of each local area of the reference images numbered a and b as the reference color coefficient of each local area of the reference image numbered b; wherein a+1=b, 1≤a <b≤T; Step S3-6: using the reference color coefficient of each local area of each reference image as the second color element of each reference image, and creating a reference color set according to the first color element and the second color element of each reference image; wherein the number of elements in the reference color set is T-1; Step S3-7: The formula for calculating the color deviation between the target image set and the reference image set is: Where μ represents the color deviation between the target image set and the reference image set, T-1 is the number of elements in the target color set, n is the number of local areas into which the target image is divided, and β j is the color weight of the jth local area that the target image is divided into, K1 and K2 are constants, Sr ij is the reference color coefficient of the jth local area of the reference image with sequence number i in the reference color set, Mr ij is the target color coefficient of the jth local area of the target image with sequence number i in the target color set, max(Sr ij ,Mr ij )To find Sr ij and Mr. ij The maximum value in S ij represents the mean value of the color distribution vector of the jth local area of the reference image with sequence number i in the reference color set, M ij represents the mean color distribution vector of the j-th local area of the target image with sequence number i in the target color set, and the symbol · represents the dot product.
5. The method for visualizing gas turbine monitoring based on image recognition according to claim 1, characterized in that: Step S4 includes the following steps: Step S4-1: Calculating the Euclidean distance similarity of the histograms of each local area in each target image according to the target histogram of each local area in each target image and the reference histogram of each local area; Step S4-2: Calculate the brightness deviation between the target image set and the reference image set based on the Euclidean distance similarity of the histogram of each local area in each target image. The specific formula is: Where ΔDO is the brightness deviation between the target image set and the reference image set, T is the number of target images in the target image set, n is the number of local areas into which the target image is divided, K is a constant, and ω q is the brightness weight of the qth local area that the target image is divided into, O(S,M p ) q is the Euclidean distance similarity of the histogram of the qth local area of the pth target image.
6. The method for visualizing gas turbine monitoring based on image recognition according to claim 1, characterized in that: Determining the flame deviation value of the target image set in step S5 includes the following steps: Step S5-1: respectively obtaining a first weight, a second weight, and a third weight corresponding to the morphological deviation degree, the color deviation degree, and the brightness deviation degree of the target image set compared with the reference image set; Step S5-2: normalizing the morphological deviation, color deviation and brightness deviation of the target image set compared with the reference image set; Step S5-3: The formula for calculating the flame deviation value of the target image set is: in, is the flame deviation value of the target image set, Δθ, μ and ΔDO are the morphological deviation, color deviation and brightness deviation of the target image set compared with the reference image set after normalization, a, b and c are the first weight, second weight and third weight corresponding to the morphological deviation, color deviation and brightness deviation of the target image set compared with the reference image set, respectively.
7. A visual gas turbine monitoring method based on image recognition according to claim 6, characterized in that: The steps for determining the flame status of a gas turbine include: If the flame deviation value of the target image set satisfy It is determined that the gas turbine flame is in a stable combustion state; if the flame deviation value of the target image set satisfy The gas turbine flame is determined to be in an unstable combustion state; if the flame deviation value of the target image set satisfy It is determined that the gas turbine flame is in an incomplete combustion state; if the flame deviation value of the target image set satisfy The gas turbine flame is deemed to be extinguished; is the first combustion state threshold value set, is the second combustion state threshold value set, is the third combustion state threshold value set, 8. A visual gas turbine monitoring system for executing a visual gas turbine monitoring method based on image recognition as described in any one of claims 1 to 7, characterized in that: Includes the following modules: Image acquisition module: used to acquire multiple flame images of the gas turbine under stable combustion state and obtain a reference image set, acquire multiple flame images to be detected of the gas turbine and obtain a target image set; divide each reference image and each target image into several local areas, and sort the target image set and the reference image set according to the same rule; Morphological deviation degree module: used to compare the number of pixels corresponding to the same local area in each target image with the same serial number and the reference image, obtain the pixel deviation value of each target image with the same serial number compared with the reference image, and then obtain the morphological deviation degree of the target image set compared with the reference image set; Color deviation degree module: used to randomly acquire m pixels in each local area of each target image, and obtain the RGB value of each pixel, thereby creating a target color set; Randomly acquire m pixels in each local area of each reference image, and obtain the RGB value of each pixel acquired, thereby creating a reference color set; According to the target color set and the reference color set, the color deviation degree of the target image set compared with the reference image set is obtained; Brightness deviation degree module: used to aggregate the pixel points of the same local area in each reference image, and then establish the reference histogram of each local area; according to all the pixel points of each local area of each target image, establish the target histogram of each local area in each target image; according to the reference histogram of each local area and the target histogram of each local area in each target image, obtain the brightness deviation degree of the target image set compared with the reference image set; Flame state judgment module: It is used to determine the flame deviation value of the target image set according to the morphological deviation, color deviation and brightness deviation of the target image set compared with the reference image set, and then judge the flame state of the gas turbine.
9. The visual gas turbine monitoring system according to claim 8, characterized in that: The image acquisition module includes the following units: Reference image unit: obtain T consecutive flame images of the gas turbine under stable combustion state within a second and with a time interval of b seconds, preprocess the obtained T flame images, and use the preprocessed T flame images as the reference image set; Target image unit: obtain T consecutive flame images to be detected of the gas turbine within a seconds before the current time and with a time interval of b seconds, and pre-process the obtained T flame images to be detected, and use the pre-processed T flame images to be detected as the target image set; Area division unit: each reference image and each target image are divided into a plurality of local areas according to flame features, wherein the local areas include a flame core area, a flame inner flame area and a flame outer flame area.
