CN116342965B - Water level measurement error analysis and control method and system - Google Patents

Water level measurement error analysis and control method and system Download PDF

Info

Publication number
CN116342965B
CN116342965B CN202310603123.3A CN202310603123A CN116342965B CN 116342965 B CN116342965 B CN 116342965B CN 202310603123 A CN202310603123 A CN 202310603123A CN 116342965 B CN116342965 B CN 116342965B
Authority
CN
China
Prior art keywords
water level
image
level image
water
gray
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202310603123.3A
Other languages
Chinese (zh)
Other versions
CN116342965A (en
Inventor
邹金杰
杨华
陈荣
熊俊柳
罗鹏
吴晓辉
韩贞强
杨凡
彭旭辉
户晓斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
PowerChina Jiangxi Electric Power Engineering Co Ltd
Original Assignee
PowerChina Jiangxi Electric Power Engineering Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by PowerChina Jiangxi Electric Power Engineering Co Ltd filed Critical PowerChina Jiangxi Electric Power Engineering Co Ltd
Priority to CN202310603123.3A priority Critical patent/CN116342965B/en
Publication of CN116342965A publication Critical patent/CN116342965A/en
Application granted granted Critical
Publication of CN116342965B publication Critical patent/CN116342965B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/70Arrangements for image or video recognition or understanding using pattern recognition or machine learning
    • G06V10/764Arrangements for image or video recognition or understanding using pattern recognition or machine learning using classification, e.g. of video objects
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01FMEASURING VOLUME, VOLUME FLOW, MASS FLOW OR LIQUID LEVEL; METERING BY VOLUME
    • G01F23/00Indicating or measuring liquid level or level of fluent solid material, e.g. indicating in terms of volume or indicating by means of an alarm
    • G01F23/80Arrangements for signal processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/22Image preprocessing by selection of a specific region containing or referencing a pattern; Locating or processing of specific regions to guide the detection or recognition
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/26Segmentation of patterns in the image field; Cutting or merging of image elements to establish the pattern region, e.g. clustering-based techniques; Detection of occlusion
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/70Arrangements for image or video recognition or understanding using pattern recognition or machine learning
    • G06V10/84Arrangements for image or video recognition or understanding using pattern recognition or machine learning using probabilistic graphical models from image or video features, e.g. Markov models or Bayesian networks

Abstract

The application discloses a water level measurement error analysis and control method and a system, which are applied to the technical field of image processing, wherein the method comprises the following steps: acquiring a drum water level image; determining a region containing a water level gauge and a region identified by errors through coarse positioning of the first water level image; positioning the water level of the steam-containing area and the water level of the saturated water area through fine positioning; establishing gray level co-occurrence matrixThe method comprises the steps of carrying out a first treatment on the surface of the Analyzing a local mode and an arrangement rule of a first water level image in the gray level co-occurrence matrix; mapping the features of the first water level image to a high-dimensional feature space through a nonlinear function, and constructing a classification hyperplane to classify the first water level image; acquiring a time stamp of the drum water level, outputting an analog signal, and converting the analog signal into corresponding digital information through A/D conversion; the effect on the detail aspect of the first water level image is enhanced, so that the control is more accurate.

Description

Water level measurement error analysis and control method and system
Technical Field
The present application relates to the field of image processing technologies, and in particular, to a method and a system for analyzing and controlling a water level measurement error.
Background
The steam drum is a device for steam-water separation, a large amount of steam-water mixture exists in the steam drum, and the steam drum water level system is a large-lag nonlinear system. The larger the evaporation amount, the smaller the water capacity, the smaller the water storage amount which allows fluctuation, and the higher the control requirement on the drum water level. When the water level is too high, the steam is brought with water and salt, so that the overall quality is seriously reduced, and the production and the safety are seriously influenced; too low a water level will destroy the water circulation of part of the water-cooled wall, causing the water-cooled wall to be damaged due to local overheating. Therefore, the drum water level is required to be measured and controlled in real time, and the following problems exist in the prior technical scheme:
(1) When the water supply quantity is controlled only according to the water level signal, the load change is large, namely when the step disturbance is large, the error is generated in the measurement of the water level of the steam drum due to the phenomenon of false water level;
(2) Analog control of drum water level is increasingly limited and it is difficult to implement multivariable control.
The patent application number CN202210670908.8 discloses a method for cooperatively identifying the drum water level of an FCB set based on various neural networks, which comprises the following specific contents: acquiring two-way videos from two steam drum bicolor water level gauges: analyzing a two-way video: training a first generation reactance network: respectively training a second neural network and a third neural network according to at least one of the calibrated video frame picture and the calibrated water level value, the electric signal AI of the drum water level in-situ liquid level transmitter at the corresponding moment and the electric signal DI of the drum water level electric contact water level gauge at the corresponding moment; and determining the drum water level in real time based on the trained first generation reactance network, the second neural network and the third neural network.
The prior art adopts different measuring modes to fuse and monitor the drum water level, so that the drum water level is monitored intelligently, but the drum bicolor water level gauge adopted by the scheme can only be used for water level monitoring in a control room, cannot participate in automatic water level adjustment and protection, and has the condition that errors are generated when the drum water level is measured, so that the application provides a water level measuring error analysis and control method and system, realizes self-adaptive control of the drum water level, and effectively analyzes the measuring result.
Disclosure of Invention
The application aims to provide a water level measurement error analysis and control method and system, which aim to solve the problems that the data for measuring the water level of a steam drum has errors and the water level of the steam drum cannot be effectively controlled.
In order to achieve the above purpose, the present application provides the following technical solutions:
the application provides a water level measurement error analysis and control method, which comprises the following steps:
s1: acquiring a drum water level image, and preprocessing to obtain a first water level image;
s2: determining a region containing a water level gauge and a region identified by errors through coarse positioning of the first water level image; positioning the water level of the steam-containing area and the water level of the saturated water area through fine positioning, and comprehensively obtaining the position of a steam drum water level demarcation point;
s3: establishing gray level co-occurrence matrixThe gray level co-occurrence matrix reflects the first water level imageComprehensive information of direction, adjacent interval and variation amplitude;
analyzing a local mode and an arrangement rule of a first water level image in the gray level co-occurrence matrix, and extracting features of the first water level image from the gray level co-occurrence matrix, wherein the features of the first water level image comprise angular second moment, contrast, correlation degree and entropy;
s4: mapping the features of the first water level image to a high-dimensional feature space through a nonlinear function, and constructing a classification hyperplane to classify the first water level image;
s5: classifying to obtain low liquid level H1, high liquid level H2, extremely low liquid level H3 and extremely high liquid level H4, acquiring a timestamp of the drum water level, outputting an analog signal, converting the analog signal into corresponding digital information through A/D conversion, and sequentially comparing the digital information with the classified water level by a singlechip.
Further, the step S3 includes:
calculating the measurement of the gray level distribution uniformity of the first water level image, wherein the formula is as follows:
wherein the method comprises the steps ofFor the probability of grey level occurrence in the first water level image, is>For the pixel gray level satisfying the distance in the first water level image,/for the pixel gray level satisfying the distance in the first water level image>The pixel gray scale meeting the direction in the first water level image is represented by L, which is the number of lines in the gray level co-occurrence matrix;
the contrast of the first water level image is calculated, and the formula is as follows:
wherein the method comprises the steps ofContrast is the definition of texture in the first water level image, when +.>The larger the first water level image is, the clearer the first water level image is;
the correlation degree of the first water level image is calculated, and the formula is as follows:
wherein the method comprises the steps ofThe method comprises the following steps of:
the correlation degree is the similarity degree of image points in the gray level co-occurrence matrix in the row or column direction;
calculating entropy of the first water level image, wherein the formula is as follows:
entropy is a measure of the amount of information that the first water level image has, if the first water level image has no amount of informationIf->Maximum value>Middle->Is equal.
Further, the area containing the water level gauge and the area with error identification are determined through coarse positioning of the first water level image; and positioning the water level of the steam-containing area and the water level of the saturated water area through fine positioning, wherein the step of comprehensively obtaining the position of the drum water level demarcation point comprises the following steps:
the rough positioning is to extract an interface by using a segmentation threshold value, and the specific process is as follows:
obtaining the maximum and minimum gray values of the first water level imageLet the threshold initial value be: />Wherein->The ratio of gray level average values of the water level meter area and the background area is obtained; according to threshold->Dividing the image into two parts A and B, and finding the average gray value +.>The method comprises the steps of carrying out a first treatment on the surface of the Updating the threshold value, ending iteration if the iteration times exceed a preset value, otherwise, re-solving the average gray value of the two parts; and dividing the first water level image by using a threshold value after iteration is finished, and determining a region containing the water level gauge and a region with error identification.
Further, the fine positioning is to position the first water level image by adopting a convolutional neural network, and the activation function is as follows:
wherein the method comprises the steps ofIs the total number of types>Is a characteristic channel->In pixel +.>Activation function at whenIs a characteristic channel->Is at maximum activation function of->Then for other characteristic channels +.>,/>The method comprises the steps of carrying out a first treatment on the surface of the For activating function->The minimized error of (2) is:
wherein the method comprises the steps ofIs a weight.
Further, the step of mapping the features of the first water level image to the high-dimensional feature space through a nonlinear function and constructing a classification hyperplane to classify the first water level image includes:
the method for obtaining the classification hyperplane comprises the following steps:wherein->For relaxation variable, ++>For the adjustment factor, N is the classifier and w is the plane parameter.
Further, the step of obtaining low liquid level H1, high liquid level H2, extremely low liquid level H3 and extremely high liquid level H4 by classification, obtaining a timestamp of the drum water level, outputting an analog signal, converting the analog signal into corresponding digital information by a/D conversion, performing data processing by a singlechip, and comparing the obtained digital information with the classified water level in sequence, comprises the following steps:
when the water level of the steam drum reaches a preset detection position, the output port of the steam drum outputs low level to the singlechip; the first position from top to bottom is a water level upper limit alarm line, namely when the water level is higher than the first position, the boiled water valve control system automatically alarms; the second position is to automatically stop the water adding line, namely when the water level is higher than the second position, the control system automatically closes the water adding valve to stop water adding; the third position is an automatic water adding line, namely when the water level is lower than the third position, the control system can automatically switch on a water adding valve to start water adding; the fourth position is a water level lower limit alarm line, namely, when the water level is lower than the position, the control system automatically alarms.
Further, the step of obtaining the drum water level image and preprocessing to obtain the first water level image includes:
and removing noise from the drum water level image by adopting a smoothing processing method, and carrying out edge sharpening on the drum water level image by utilizing a sharpening algorithm.
There is also provided a water level measurement error analysis and control system, characterized by comprising:
the acquisition module is used for: acquiring a drum water level image, and preprocessing to obtain a first water level image;
and a positioning module: determining a region containing a water level gauge and a region identified by errors through coarse positioning of the first water level image; positioning the water level of the steam-containing area and the water level of the saturated water area through fine positioning, and comprehensively obtaining the position of a steam drum water level demarcation point;
and an analysis module: establishing gray level co-occurrence matrixThe gray level co-occurrence matrix reflects comprehensive information of the direction, adjacent interval and variation amplitude of the first water level image;
analyzing a local mode and an arrangement rule of a first water level image in the gray level co-occurrence matrix, and extracting features of the first water level image from the gray level co-occurrence matrix, wherein the features of the first water level image comprise angular second moment, contrast, correlation degree and entropy;
and a classification module: classifying the first water level image by adopting a C-SVM classification method, mapping an input vector to a high-dimensional feature space through a nonlinear function, and constructing a classification hyperplane to classify nonlinear data;
and the control module is used for: classifying to obtain low liquid level H1, high liquid level H2, extremely low liquid level H3 and extremely high liquid level H4, acquiring a timestamp of the drum water level, outputting an analog signal, converting the analog signal into corresponding digital information through A/D conversion, and sequentially comparing the digital information with the classified water level by a singlechip.
The application provides a water level measurement error analysis and control method and a system, which have the following beneficial effects:
(1) Acquiring a drum water level image, performing image preprocessing on the drum water level image to improve the display quality of the water level image, and determining a region containing a water level gauge and a region with error identification through coarse positioning and fine positioning; interference of the background on the first water level image can be eliminated to the greatest extent, the effect on the detail aspect of the first water level image is enhanced, and the control is more accurate;
(2) Establishing a gray level co-occurrence matrix, wherein the gray level co-occurrence matrix reflects comprehensive information of the direction, adjacent interval and variation amplitude of the first water level image, and extracting characteristic information of the image to enable a classification result to be more accurate and clear;
(3) The water level of the drum is controlled by adopting a singlechip, the CPU circularly detects the output state of a sensor, 3-bit seven-segment LEDs are used for displaying the liquid level height, detecting the liquid level data, implementing alarm safety prompt, when the liquid level of the water body is lower than a preset value, automatically opening a pump for water feeding, and when the water level reaches a set value, automatically closing the water pump or opening a drainage pump; the water level of the steam drum is controlled by sequentially comparing the water level obtained by the data processing with the water level obtained by classification through A/D conversion into corresponding digital information and carrying out data processing by a singlechip.
Drawings
FIG. 1 is a flow chart of a water level measurement error analysis and control method according to an embodiment of the application;
FIG. 2 is a schematic diagram of a water level measurement error analysis and control system according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a liquid level control system according to an embodiment of the present application.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
Referring to fig. 1, a flow chart of a water level measurement error analysis and control method provided by the application is shown;
the application provides a water level measurement error analysis and control method, which comprises the following steps:
s1: acquiring a drum water level image, and preprocessing to obtain a first water level image; and removing noise from the drum water level image by adopting a smoothing processing method, and carrying out edge sharpening on the drum water level image by utilizing a sharpening algorithm.
In this step, because the acquired drum water level image contains various noises, the edges of the water level partial area are blurred, and the range is large during acquisition, the image contains not only the water level gauge itself but also a large amount of background information, and these factors all cause interference to the characteristics of the drum water level, so a series of pretreatment processes are required; firstly, a smoothing method is adopted, the main purpose of which is to eliminate noise, the smoothing method of the image depends on the characteristics of the noise, and generally, the noise can be reduced by using domain averaging in the spatial domain, wherein the domain averaging is divided into linearity and nonlinearity, and the cost of noise elimination is increased by large-size filtering of a template, and the loss of detail and the increase of calculation amount are caused. Since the edges of the drum water level image are very blurred, the details of the image are kept and the noise of the image is filtered;
the sharpening algorithm is utilized to enlarge the edge gradient value of the image, the condition that the red and green edges of the steam drum high-level water level gauge are blurred can be well improved, and the water level gauge can be clearly divided from the background, so that the image segmentation is more favorable for the next image segmentation, and the common sharpening algorithm comprises a first-order differential operator, a second-order differential operator and the like.
S2: determining a region containing a water level gauge and a region identified by errors through coarse positioning of the first water level image; positioning the water level of the steam-containing area and the water level of the saturated water area through fine positioning, and comprehensively obtaining the position of a steam drum water level demarcation point;
the rough positioning is to extract an interface by using a segmentation threshold value, and the specific process is as follows:
obtaining the maximum and minimum gray values of the first water level imageLet the threshold initial value be: />Wherein->The ratio of gray level average values of the water level meter area and the background area is obtained; according to threshold->Dividing the image into two parts A and B, and finding the average gray value +.>The method comprises the steps of carrying out a first treatment on the surface of the Updating the threshold value, ending iteration if the iteration times exceed a preset value, otherwise, re-solving the average gray value of the two parts; dividing the first water level image by using a threshold value after iteration is finished, and determining a region containing a water level gauge and a region with error identification;
the fine positioning is to position the first water level image by adopting a convolutional neural network, and the activation function is as follows:
wherein the method comprises the steps ofIs the total number of types>Is a characteristic channel->In pixel +.>Activation function at ∈>Is a characteristic channel->Is at maximum activation function of->Then for other characteristic channels +.>,/>The method comprises the steps of carrying out a first treatment on the surface of the For activating function->The minimized error of (2) is:
wherein the method comprises the steps ofIs a weight.
In this step, the maximum and minimum gray values of the first water level image are obtained during coarse positioningLet the threshold initial value be: />Wherein->The ratio of gray level average values of the water level meter area and the background area is obtained; according to threshold->Dividing the image into two parts A and B, and finding the average gray value +.>
Wherein the method comprises the steps ofIs an image->Gray value of dot +.>Is an image->The weight coefficient of the point;
find a new oneThreshold value:if->(/>The allowable error) or the iteration times exceed a preset value, ending the iteration, otherwise, re-solving the average gray values of the two parts; dividing the first water level image by using a threshold value after iteration is finished, and determining a region containing a water level gauge and a region with error identification; interference of the background on the first water level image can be eliminated to the greatest extent, the effect on the detail aspect of the first water level image is enhanced, and the control is more accurate.
S3: establishing gray level co-occurrence matrixThe gray level co-occurrence matrix reflects comprehensive information of the direction, adjacent interval and variation amplitude of the first water level image;
and analyzing the local mode and the arrangement rule of the first water level image in the gray level co-occurrence matrix, and extracting the characteristics of the first water level image from the gray level co-occurrence matrix, wherein the characteristics of the first water level image comprise angular second moment, contrast, correlation degree and entropy.
In the step, the gray level co-occurrence matrix is an analysis method based on estimating a 2-order combined conditional probability density function, the gray level matrix of the image reflects visual information of the image, and the gray level co-occurrence matrix reflects comprehensive information of the first water level image about direction, adjacent interval and variation amplitude; analyzing the gray level co-occurrence matrix can analyze the local mode and the arrangement rule of the first water level image, and the characteristics of the first water level can be extracted from the gray level co-occurrence matrix, wherein the characteristics comprise the characteristics of angular second moment, contrast, correlation degree and entropy; the angular second moment is a measure of the uniformity of the gray scale distribution of an image when the distribution of elements in the gray scale co-occurrence matrix is more concentrated on the principal diagonal. Illustrating that the gray distribution of the first water level image is uniform when the local area is observed, and the angular second moment is the sum of squares of pixel values of the gray level co-occurrence matrix; the contrast of the first water level image can be understood as the definition of the image, wherein the larger the contrast is, the clearer the image is; the correlation degree is the similarity degree of the elements of the gray level co-occurrence matrix in the row direction or the column direction; entropy is a measure of the amount of information that the first water level image has, texture information also belongs to image information, and if the first water level image does not have any texture, the gray level co-occurrence matrix is a matrix of zero.
S4: mapping the features of the first water level image to a high-dimensional feature space through a nonlinear function, and constructing a classification hyperplane to classify the first water level image; the method for obtaining the classification hyperplane comprises the following steps:whereinFor relaxation variable, ++>For the adjustment factor, N is the classifier and w is the plane parameter.
In this step, the features of the first water level image are mapped as input vectors to a high-dimensional feature space by a nonlinear function, and a classification hyperplane is constructed in the space, so that the classification of nonlinear data can be performed, and the specific form of the nonlinear function is not required to be known in the mapping process, and only a kernel function is required to be used in the input spaceThus, the popularization capability can be improved.
S5: classifying to obtain a low liquid level H1, a high liquid level H2, an extremely low liquid level H3 and an extremely high liquid level H4, acquiring a timestamp of the drum water level, outputting an analog signal, converting the analog signal into corresponding digital information through A/D conversion, and sequentially comparing the digital information with the classified water level by a singlechip; when the water level of the steam drum reaches a preset detection position, the output port of the steam drum outputs low level to the singlechip; the first position from top to bottom is a water level upper limit alarm line, namely when the water level is higher than the first position, the boiled water valve control system automatically alarms; the second position is to automatically stop the water adding line, namely when the water level is higher than the second position, the control system automatically closes the water adding valve to stop water adding; the third position is an automatic water adding line, namely when the water level is lower than the third position, the control system can automatically switch on a water adding valve to start water adding; the fourth position is a water level lower limit alarm line, namely, when the water level is lower than the position, the control system automatically alarms.
In the step, four classified liquid levels are transmitted to a singlechip through an analog-to-digital converter, three states of the liquid levels and alarm safety prompts are displayed through a 3-bit seven-segment LED display, the LED display has the characteristics of clear display, high brightness, low use voltage, high photoelectric conversion efficiency and the like, whether a water pump is started or not is determined according to the current liquid level value and the water level set by a user, whether a motor for driving a valve is required to be started or stopped is determined according to the current liquid level value and the water level set by the user, wherein a structural schematic diagram of a liquid level control system is shown in a figure 3, a sensor can be observed to output an analog signal, the analog signal is converted into a digital signal through the analog-to-digital converter, the digital signal is controlled through operation of the singlechip, the LED display is performed through an alarm device, and the regulation control on the liquid level of a water body is realized through the starting of the valve after the alarm display.
Also provided is a water level measurement error analysis and control system, comprising:
the acquisition module is used for: acquiring a drum water level image, and preprocessing to obtain a first water level image;
and a positioning module: determining a region containing a water level gauge and a region identified by errors through coarse positioning of the first water level image; positioning the water level of the steam-containing area and the water level of the saturated water area through fine positioning, and comprehensively obtaining the position of a steam drum water level demarcation point;
and an analysis module: establishing gray level co-occurrence matrixThe gray level co-occurrence matrix reflects comprehensive information of the direction, adjacent interval and variation amplitude of the first water level image;
analyzing a local mode and an arrangement rule of a first water level image in the gray level co-occurrence matrix, and extracting features of the first water level image from the gray level co-occurrence matrix, wherein the features of the first water level image comprise angular second moment, contrast, correlation degree and entropy;
and a classification module: classifying the first water level image by adopting a C-SVM classification method, mapping an input vector to a high-dimensional feature space through a nonlinear function, and constructing a classification hyperplane to classify nonlinear data;
and the control module is used for: classifying to obtain low liquid level H1, high liquid level H2, extremely low liquid level H3 and extremely high liquid level H4, acquiring a timestamp of the drum water level, outputting an analog signal, converting the analog signal into corresponding digital information through A/D conversion, and sequentially comparing the digital information with the classified water level by a singlechip.
In summary, the first water level image is obtained by preprocessing the drum water level image, and the position of the drum water level demarcation point is comprehensively obtained by adopting two positioning of coarse positioning and fine positioning; and establishing a gray level co-occurrence matrix to extract characteristic information of the drum water level, classifying, converting the characteristic information into corresponding digital information through A/D conversion, performing data processing by a singlechip, and sequentially comparing the data processing with the classified water level to realize the control of the drum water level.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, apparatus, article, or method that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, apparatus, article, or method. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, apparatus, article or method that comprises the element.
The foregoing description is only of the preferred embodiments of the present application and is not intended to limit the scope of the application, and all equivalent structures or equivalent processes using the descriptions and drawings of the present application or direct or indirect application in other related technical fields are included in the scope of the present application.
Although embodiments of the present application have been shown and described, it will be understood by those skilled in the art that various changes, modifications, substitutions and alterations can be made therein without departing from the principles and spirit of the application, the scope of which is defined in the appended claims and their equivalents.
Of course, the present application can be implemented in various other embodiments, and based on this embodiment, those skilled in the art can obtain other embodiments without any inventive effort, which fall within the scope of the present application.

Claims (4)

1. A water level measurement error analysis and control method and system are characterized by comprising the following steps:
s1: acquiring a drum water level image, and preprocessing to obtain a first water level image;
s2: determining a region containing a water level gauge and a region identified by errors through coarse positioning of the first water level image; positioning the water level of the steam-containing area and the water level of the saturated water area through fine positioning, and comprehensively obtaining the position of a steam drum water level demarcation point;
s3: establishing a gray level co-occurrence matrix L multiplied by L, wherein the gray level co-occurrence matrix reflects the comprehensive information of the direction, adjacent interval and variation amplitude of the first water level image;
analyzing a local mode and an arrangement rule of a first water level image in the gray level co-occurrence matrix, and extracting features of the first water level image from the gray level co-occurrence matrix, wherein the features of the first water level image comprise angular second moment, contrast, correlation degree and entropy;
s4: mapping the features of the first water level image to a high-dimensional feature space through a nonlinear function, and constructing a classification hyperplane to classify the first water level image;
s5: classifying to obtain a low liquid level H1, a high liquid level H2, an extremely low liquid level H3 and an extremely high liquid level H4, acquiring a timestamp of the drum water level, outputting an analog signal, converting the analog signal into corresponding digital information through A/D conversion, and sequentially comparing the digital information with the classified water level by a singlechip;
the rough positioning is to extract an interface by using a segmentation threshold value, and the specific process is as follows:
obtaining the maximum and minimum gray values G of the first water level image 1 ,G k Let the threshold initial value be: t (T) 0 =Q×G 1 +(1-Q)×G k Wherein Q is the ratio of the gray average value of the water level meter area and the background area; according to threshold T o Dividing the image into two parts A and B, and obtaining the average gray value G of the two parts A ,G B The method comprises the steps of carrying out a first treatment on the surface of the Updating the threshold value, ending iteration if the iteration times exceed a preset value, otherwise, re-solving the average gray value of the two parts; dividing the first water level image by using a threshold value after iteration is finished, and determining a region containing a water level gauge and a region with error identification;
the fine positioning is to position the first water level image by adopting a convolutional neural network, and the activation function is as follows:
where K is the total number of types, a k (x) Is the activation function of the characteristic channel k at pixel x e omega, when a k (x) P is the maximum activation function of the characteristic channel k k (x) For other characteristic channels k, p, =1 k (x) =0; for the activation function p k (x) The minimized error of (2) is:
where w is the weight.
2. The method and system for analyzing and controlling water level measurement errors according to claim 1, wherein the steps of obtaining low liquid level H1, high liquid level H2, very low liquid level H3, very high liquid level H4 by classification, obtaining a time stamp of a drum water level, outputting an analog signal, converting the analog signal into corresponding digital information by a/D conversion, performing data processing by a singlechip, and sequentially comparing the obtained water level with the classified water level, comprise:
when the water level of the steam drum reaches a preset detection position, the output port of the steam drum outputs low level to the singlechip; the first position from top to bottom is a water level upper limit alarm line, namely when the water level is higher than the first position, the boiled water valve control system automatically alarms; the second position is to automatically stop the water adding line, namely when the water level is higher than the second position, the control system automatically closes the water adding valve to stop water adding; the third position is an automatic water adding line, namely when the water level is lower than the third position, the control system can automatically switch on a water adding valve to start water adding; the fourth position is a water level lower limit alarm line, namely, when the water level is lower than the position, the control system automatically alarms.
3. The method and system for analyzing and controlling water level measurement errors according to claim 1, wherein the step of obtaining a drum water level image and performing preprocessing to obtain a first water level image comprises the steps of:
and removing noise from the drum water level image by adopting a smoothing processing method, and carrying out edge sharpening on the drum water level image by utilizing a sharpening algorithm.
4. The water level measurement error analysis and control system is characterized by comprising:
the acquisition module is used for: acquiring a drum water level image, and preprocessing to obtain a first water level image;
and a positioning module: determining a region containing a water level gauge and a region identified by errors through coarse positioning of the first water level image; positioning the water level of the steam-containing area and the water level of the saturated water area through fine positioning to obtain the position of a steam drum water level demarcation point;
and an analysis module: establishing a gray level co-occurrence matrix L multiplied by L, wherein the gray level co-occurrence matrix reflects the comprehensive information of the direction, adjacent interval and variation amplitude of the first water level image;
analyzing a local mode and an arrangement rule of a first water level image in the gray level co-occurrence matrix, and extracting features of the first water level image from the gray level co-occurrence matrix, wherein the features of the first water level image comprise angular second moment, contrast, correlation degree and entropy;
and a classification module: classifying the first water level image by adopting a C-SVM classification method, mapping an input vector to a high-dimensional feature space through a nonlinear function, and constructing a classification hyperplane to classify nonlinear data;
and the control module is used for: classifying to obtain low liquid level H1, high liquid level H2, extremely low liquid level H3 and extremely high liquid level H4, acquiring a timestamp of the drum water level, outputting an analog signal, converting the analog signal into corresponding digital information through A/D conversion, and sequentially comparing the digital information with the classified water level by a singlechip.
The rough positioning is to extract an interface by using a segmentation threshold value, and the specific process is as follows:
obtaining the maximum and minimum gray values G of the first water level image 1 ,G k Let the threshold initial value be T 0 =Q×G 1 +(1-Q)×G k : wherein Q is the ratio of the gray average value of the water level meter area and the background area; according to threshold T o Dividing the image into two parts A and B, and obtaining the average gray value G of the two parts A ,G B The method comprises the steps of carrying out a first treatment on the surface of the Updating the threshold value, ending iteration if the iteration times exceed a preset value, otherwise, re-solving the average gray value of the two parts; dividing the first water level image by using a threshold value after iteration is finished, and determining a region containing a water level gauge and a region with error identification;
the fine positioning is to position the first water level image by adopting a convolutional neural network, and the activation function is as follows:
where K is the total of the typesNumber, a k (x) Is the activation function of the characteristic channel at pixel x e omega, when a k (x) P is the maximum activation function of the characteristic channel k k (x) For other characteristic channels k, p, =1 k (x) =0; for the activation function p k (x) The minimized error of (2) is:
where w is the weight.
CN202310603123.3A 2023-05-26 2023-05-26 Water level measurement error analysis and control method and system Active CN116342965B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310603123.3A CN116342965B (en) 2023-05-26 2023-05-26 Water level measurement error analysis and control method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310603123.3A CN116342965B (en) 2023-05-26 2023-05-26 Water level measurement error analysis and control method and system

Publications (2)

Publication Number Publication Date
CN116342965A CN116342965A (en) 2023-06-27
CN116342965B true CN116342965B (en) 2023-11-24

Family

ID=86886185

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310603123.3A Active CN116342965B (en) 2023-05-26 2023-05-26 Water level measurement error analysis and control method and system

Country Status (1)

Country Link
CN (1) CN116342965B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106920241A (en) * 2017-03-13 2017-07-04 华北电力大学 A kind of steam water-level monitoring method, apparatus and system
KR101873124B1 (en) * 2016-12-30 2018-06-29 부산대학교 산학협력단 Method and system for measuring watar level of liquid storage tanks
CN109522889A (en) * 2018-09-03 2019-03-26 中国人民解放军国防科技大学 Hydrological ruler water level identification and estimation method based on image analysis
CN115393700A (en) * 2022-07-26 2022-11-25 腾讯科技(深圳)有限公司 Water level height identification method and device, electronic equipment and storage medium
WO2022253027A1 (en) * 2021-05-31 2022-12-08 江苏科技大学 Underwater sonar image matching method based on gaussian distribution clustering
CN115601713A (en) * 2022-12-15 2023-01-13 中国电建集团江西省电力设计院有限公司(Cn) Steam drum water level image recognition method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20210374466A1 (en) * 2020-05-26 2021-12-02 Zhejiang University Water level monitoring method based on cluster partition and scale recognition

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101873124B1 (en) * 2016-12-30 2018-06-29 부산대학교 산학협력단 Method and system for measuring watar level of liquid storage tanks
CN106920241A (en) * 2017-03-13 2017-07-04 华北电力大学 A kind of steam water-level monitoring method, apparatus and system
CN109522889A (en) * 2018-09-03 2019-03-26 中国人民解放军国防科技大学 Hydrological ruler water level identification and estimation method based on image analysis
WO2022253027A1 (en) * 2021-05-31 2022-12-08 江苏科技大学 Underwater sonar image matching method based on gaussian distribution clustering
CN115393700A (en) * 2022-07-26 2022-11-25 腾讯科技(深圳)有限公司 Water level height identification method and device, electronic equipment and storage medium
CN115601713A (en) * 2022-12-15 2023-01-13 中国电建集团江西省电力设计院有限公司(Cn) Steam drum water level image recognition method and device

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
一种基于图像识别的水位测量算法;仲志远;;国外电子测量技术(06);全文 *
基于模式识别与灰度共生矩阵的神经元图像分类;赵安科;;西安石油大学学报(自然科学版)(05);全文 *
纹理分析在电厂锅炉汽包水位监视中的应用;苏毅康等;上海电力学院学报(3);正文第1-5节 *
锅炉汽包水位数字图像处理算法研究;蔡皓, 于向军, 吕震中;锅炉技术(01);正文第2节 *

Also Published As

Publication number Publication date
CN116342965A (en) 2023-06-27

Similar Documents

Publication Publication Date Title
CN110705376A (en) Abnormal behavior detection method based on generative countermeasure network
CN109214470B (en) Image visibility detection method based on coding network fine adjustment
CN115018844B (en) Plastic film quality evaluation method based on artificial intelligence
CN108154499B (en) Woven fabric texture flaw detection method based on K-SVD learning dictionary
CN111141653B (en) Tunnel leakage rate prediction method based on neural network
CN117274722B (en) Intelligent detection method for distribution box based on infrared image
CN116758491A (en) Printing monitoring image analysis method and system applied to 3D printing
CN108399614B (en) Fabric defect detection method based on non-sampling wavelet and Gumbel distribution
CN115619708A (en) Method for judging fault based on image recognition of oil quality change of main shaft bearing lubricating oil
Mamatov et al. Methods for improving contrast of agricultural images
CN116883412B (en) Graphene far infrared electric heating equipment fault detection method
CN116342965B (en) Water level measurement error analysis and control method and system
CN111753877A (en) Product quality detection method based on deep neural network transfer learning
CN115423807B (en) Cloth defect detection method based on outlier detection
CN115855961B (en) Distribution box fault detection method used in operation
CN111612734A (en) Background clutter characterization method based on image structure complexity
Hu et al. Quantum automated object detection algorithm
CN116309493A (en) Method and system for detecting defects of textile products
CN115601713A (en) Steam drum water level image recognition method and device
CN116559713A (en) Intelligent monitoring method and device for power supply of communication base station
Jeffrey Kuo et al. Self-organizing map network for automatically recognizing color texture fabric nature
CN111325720B (en) Multi-visual feature integrated reference-free super-resolution image quality evaluation method
CN114611633A (en) Health monitoring method of electromagnetic valve
CN116754467B (en) Evaluation method for ageing performance of natural rubber
Yang et al. Infrared image change detection of substation equipment in power system using Random Forest

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant