Detection method for waste biomass materials used in mobile solar carbonization vehicles

The method uses image processing to analyze edge features and significance values for precise detection of biomass carbonization degree, addressing inaccuracy and time issues in existing methods.

CN118840372BActive Publication Date: 2024-12-13SUZHOU FENGHUA XUEYUE INFORMATION TECHNOLOGY CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411321493.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-23
Publication Date
2024-12-13
Estimated Expiration
2044-09-23

AI Technical Summary

Technical Problem

Existing methods for detecting the carbonization degree of biomass materials in mobile solar carbonization vehicles are inaccurate and time-consuming, particularly due to the subtle color changes during the initial and carbonization stages.

Method used

A method involving image processing techniques to obtain grayscale images of biomass materials at each moment during carbonization, analyze edge features, and calculate significance values based on distances, angles, and grayscale means to accurately determine the carbonization degree.

Benefits of technology

Enables real-time, precise detection of the carbonization degree by characterizing the structural changes and color transitions of biomass materials, improving the accuracy and efficiency of the carbonization process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118840372B_ABST
    Figure CN118840372B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of image processing technology, and in particular to a method for detecting waste biomass materials for a mobile solar carbonization vehicle. The method comprises: obtaining a carbonization degree test area in a biomass grayscale image; obtaining a first distance and a second distance corresponding to each straight line; fitting a fitted straight line using edge pixels on each straight line and the straight line; obtaining a significance of the carbonization degree test area based on each fitted straight line in the carbonization degree test area and the first distance and the second distance corresponding to each straight line; obtaining a significant value of carbonization decomposition of the carbonization degree test area based on aggregated pixels and grayscale mean values ​​in the carbonization degree test area in the biomass grayscale image at each moment; obtaining carbonization significance based on the significant value of carbonization decomposition of the carbonization degree test area and the significance to be decomposed; and judging the carbonization degree of the biomass material based on the carbonization significance of the carbonization degree test area. The present invention can accurately detect the carbonization degree of the biomass material.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of image processing, and in particular to a method for detecting waste biomass materials used in a mobile solar carbonization vehicle. Background Art

[0002] The main grains grown in China are rice, wheat, corn, sorghum, etc., all of which are crops that produce straw. There is a saying in the agricultural proverb "a pound of grain equals a pound of grass", which means that for every pound of grain produced, more than 1 pound of straw is produced. Straw is the byproduct with the highest yield, the most variety, and the greatest economic benefits among crops, so it is necessary to make reasonable and comprehensive use of straw. Carbonizing straw is a straw fuel utilization technology that converts straw into renewable energy and clean energy. The generated straw carbon can be used to make carbon-based fertilizers, and the biochar can be returned to farmland to improve soil structure and other physical and chemical properties and increase soil organic carbon content.

[0003] However, during the carbonization process, the amount of straw filled, the humidity, and the degree of crushing are different, and the time required for each carbonization step is different. Therefore, it is necessary to accurately judge the carbonization degree of the straw and better control the straw carbonization process. The traditional detection method mainly detects the carbonization degree of the biomass material based on the color change of the biomass material in the image taken during the carbonization process. However, the color change of the biomass material is not obvious in the initial stage and the carbonization stage of carbonization. Therefore, it is inaccurate to detect the carbonization degree of the biomass material only by its color change. Summary of the invention

[0004] In order to solve the technical problem that it takes a long time and is inaccurate to detect the carbonization degree of straw using chemical methods, the purpose of the present invention is to provide a method for detecting waste biomass materials for a mobile solar carbonization vehicle. The technical solution adopted is as follows:

[0005] Obtaining the surface image of the biomass material at each moment during the carbonization process and processing it to obtain the biomass grayscale image; obtaining the carbonization degree to be measured area in the biomass grayscale image;

[0006] Obtain the straight line corresponding to each edge in the carbonization degree test area, and the minimum distances from each edge pixel point on the straight line corresponding to each edge to the edge pixel points on other straight lines; the minimum value of all the minimum distances corresponding to each straight line is the first distance, and the maximum value is the second distance;

[0007] The edge pixel points on each straight line are used to fit the straight line to obtain a fitting straight line; based on each fitting straight line in the carbonization degree to be measured area, the first distance and the second distance corresponding to each straight line are used to obtain the significance of the carbonization degree to be measured area to be decomposed;

[0008] Obtaining a significant value of carbonization decomposition degree of the carbonization degree test area according to the aggregated pixels and grayscale mean value in the carbonization degree test area in the biomass grayscale image at each moment;

[0009] The carbonization significance of the carbonization degree testing area is obtained based on the carbonization decomposition degree significance value and the significance to be decomposed of the carbonization degree testing area; and the carbonization degree of the biomass material is judged based on the carbonization significance of the carbonization degree testing area.

[0010] Preferably, based on each fitted straight line in the carbonization degree test area, the first distance and the second distance corresponding to each straight line are obtained to obtain the significance of decomposition of the carbonization degree test area, including: obtaining the inclination angle of each fitted straight line in the carbonization degree test area; obtaining the length of the edge corresponding to each straight line in the carbonization degree test area; and obtaining the significance of decomposition of the carbonization degree test area according to the first and second distances corresponding to each straight line in the carbonization degree test area, the length of the edge corresponding to each straight line and the inclination angle of each fitted straight line.

[0011] Preferably, the significance of decomposition in the carbonization degree test area is:

[0012]

[0013] in, Indicates the significance of decomposition in the carbonization area to be tested; Indicates the length of the edge corresponding to the i-th straight line in the carbonization degree test area; Indicates the maximum value among the lengths of the straight lines corresponding to all the edges in the area to be tested for carbonization degree; Indicates the number of straight lines in the area to be tested for carbonization degree; Indicates the first distance corresponding to a straight line in the carbonization degree test area. represents the second distance corresponding to the straight line; Represents the inclination angle of the i-th fitting straight line in the carbonization degree test area; It represents the average value of the inclination angles of all the fitting straight lines in the carbonization degree test area.

[0014] Preferably, a significant value of the carbonization decomposition degree of the carbonization degree to be measured area is obtained based on the aggregated pixels and grayscale means in the carbonization degree to be measured area in the biomass grayscale image at each moment, including: obtaining the difference in grayscale means of the same carbonization degree to be measured area in the biomass grayscale image at the current moment and the previous moment; obtaining the number of aggregated pixels in the carbonization degree to be measured area and the grayscale mean of all aggregated pixels in the biomass grayscale image at the current moment; and obtaining the significant value of the carbonization decomposition degree of the carbonization degree to be measured area in the biomass grayscale image at the current moment based on the difference in grayscale means, the number of aggregated pixels and the grayscale mean of all aggregated pixels.

[0015] Preferably, the significant value of carbonization decomposition degree in the carbonization degree test area is:

[0016]

[0017] in, Indicates the significant value of carbonization decomposition degree in the area to be tested; and Respectively represent the grayscale mean of the same carbonization degree test area in the biomass grayscale image at the previous moment and the current moment; Indicates the number of aggregated pixels in the carbonization degree test area in the biomass grayscale image at the current moment; It represents the grayscale mean of all aggregated pixels in the carbonization degree test area in the biomass grayscale image at the current moment.

[0018] Preferably, the carbonization significance of the carbonization degree area to be tested is obtained based on the carbonization decomposition degree significance value and the significance to be decomposed of the carbonization degree area to be tested, including: the carbonization decomposition degree significance value of the carbonization degree area to be tested is positively correlated with the carbonization significance; the significance to be decomposed of the carbonization degree area to be tested is negatively correlated with the carbonization significance.

[0019] Preferably, judging the carbonization degree of the biomass material based on the carbonization significance of the carbonization degree area to be tested includes: if the carbonization significance of the carbonization degree area to be tested is less than or equal to a first threshold value, the carbonization degree of the carbonization degree area to be tested is preliminary carbonization; if the carbonization significance of the carbonization degree area to be tested is greater than the first threshold value and less than or equal to the second threshold value, the carbonization degree of the carbonization degree area to be tested is moderate carbonization; if the carbonization significance of the carbonization degree area to be tested is greater than the second threshold value and less than or equal to the third threshold value, the carbonization degree of the carbonization degree area to be tested is deep carbonization; if the carbonization significance of the carbonization degree area to be tested is greater than the third threshold value, the carbonization degree of the carbonization degree area to be tested is complete carbonization;

[0020] The numbers of carbonization degree test areas with preliminary carbonization, moderate carbonization, deep carbonization and complete carbonization in the biomass grayscale image are counted respectively, and recorded as the first number, the second number, the third number and the fourth number. If the maximum value among the first, second, third and fourth numbers is the value in the first, second and third numbers, the carbonization degree of the biomass material is the carbonization degree corresponding to the maximum value; if the maximum value is the fourth number, the ratio of the number of carbonization degree test areas with complete carbonization to the number of all carbonization degree test areas in the biomass grayscale image is obtained, which is recorded as the first ratio. If the first ratio is greater than or equal to the fourth threshold value, the carbonization of the biomass material is completed.

[0021] Preferably, obtaining the carbonization degree test area in the biomass grayscale image includes: performing edge detection on the biomass grayscale image, obtaining the area surrounded by closed edges, and recording it as a closed area; if the closed area contains other closed areas, then the closed area containing other areas is the carbonization degree test area.

[0022] The embodiments of the present invention have at least the following beneficial effects: One embodiment of the present invention provides a method for detecting waste biomass materials for a mobile solar carbonization vehicle: the present invention collects surface images of the biomass material at each moment during the carbonization process to analyze the carbonization process of the biomass material, and can obtain the carbonization degree of the biomass material during the carbonization process in real time; at the same time, the biomass grayscale image contains the carbonization degree test area of ​​the biomass material, which can more accurately analyze the carbonization degree of the biomass material; further, the straight line and the fitted straight line in the carbonization degree test area are processed with the first distance and the second distance to obtain the decomposition significance of the carbonization degree test area, which is based on the strip characteristics of the surface of the biomass material during the carbonization process. The obtained data can accurately characterize the degree to which the strip features of the biomass material are destroyed during the carbonization process, and then characterize the degree of carbonization of the biomass material; then, according to the characteristics of the aggregated pixels and the grayscale mean in the carbonization degree test area during the carbonization process, the carbonization decomposition degree significance value of the carbonization degree test area is obtained, and the carbonization degree of the biomass material is reflected from the color change characteristics of the carbonization degree test area during the carbonization process; finally, the carbonization decomposition degree significance value of the carbonization degree test area and the decomposition significance are combined to obtain the carbonization significance of the carbonization degree test area, which combines the color change characteristics of the biomass material during the carbonization process and the change characteristics of the surface biological tissue during the carbonization process, thereby improving the accuracy of the detection of the carbonization degree of the biomass material. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0024] Figure 1 A method flow chart of a method for detecting waste biomass materials in a mobile solar carbonization vehicle provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0025] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the following is a detailed description of the specific implementation method, structure, characteristics and effects of a method for detecting waste biomass materials for a mobile solar carbonization vehicle proposed by the present invention in combination with the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" does not necessarily refer to the same embodiment. In addition, specific features, structures, or characteristics in one or more embodiments may be combined in any suitable form.

[0026] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.

[0027] A specific scheme of a method for detecting waste biomass materials in a mobile solar carbonization vehicle provided by the present invention will be described in detail below with reference to the accompanying drawings.

[0028] Example:

[0029] The main application scenario of the present invention is: in order to further improve the utilization rate of energy, some biomass materials will be carbonized and then utilized. There are many types of biomass materials, but they are mainly crop straws, among which corn straw is the most utilized biomass material during carbonization. Therefore, this embodiment obtains an image of corn straw in a mobile solar carbonization vehicle, analyzes the image, and then determines the degree of carbonization of the corn straw.

[0030] See also Figure 1 , which shows a method flow chart of a method for detecting waste biomass materials of a mobile solar carbonization vehicle provided by an embodiment of the present invention, the method comprising the following steps:

[0031] Step S1, obtaining a surface image of the biomass material at each moment during the carbonization process and processing it to obtain a biomass grayscale image; obtaining a carbonization degree test area in the biomass grayscale image.

[0032] The mobile solar carbonization vehicle places the carbonization and granulation process of the waste biomass materials on a truck, and mainly includes a drying-carbonization integrated chamber, a pulverizer, an extruder and other main equipment. The drying and carbonization process of the waste biomass materials is carried out in the drying-carbonization integrated chamber. For the convenience of description, the drying-carbonization integrated chamber is recorded as the carbonization chamber in the embodiment of the present invention. During the processing, the waste biomass materials do not need to be transferred, so only the situation in the carbonization chamber needs to be analyzed.

[0033] An industrial camera is set on the top of the carbonization chamber, and a ring light source is used for illumination. The surface of the biomass material being processed is photographed with the industrial camera to obtain a surface image, and the obtained surface image is recorded as a biomass image, which is an RGB image. Because the carbonization of the carbonized biomass material is a process, it is necessary to obtain an image every 10 minutes to obtain a biomass image at each moment, and the interval between each moment is 10 minutes. The implementer can also adjust the time interval for obtaining the biomass image according to the specific situation.

[0034] Furthermore, the biomass image at each moment is grayed to obtain a corresponding grayscale image. Since environmental interference may cause noise in the image, which may affect subsequent analysis, the grayscale image needs to be processed, that is, noise reduction processing. Preferably, in this embodiment, Gaussian filtering is used to denoise the grayscale image at each moment to improve the accuracy and quality of the grayscale image, and the filtered grayscale image is recorded as the biomass grayscale image. It should be noted that Gaussian filtering denoising is a well-known technology, and the specific process will not be described in detail.

[0035] Perform edge detection on the biomass grayscale image. Preferably, in the embodiment of the present invention, a canny detection operator is used to perform edge detection on the biomass grayscale image to obtain an edge image corresponding to the biomass image at each moment, wherein the edge image is a binary image. It should be noted that obtaining an edge image by edge detection is a well-known technique and will not be elaborated on in detail herein. The edge image is recorded as a biomass edge image. Select from each edge in the biomass edge image to obtain an area surrounded by closed edges, which is recorded as a closed area. Each closed area is recorded as a carbonization degree test area. The carbonization degree test area corresponds to the corn stalk segment that is placed in the carbonization chamber for carbonization after primary crushing. Each corn stalk segment corresponds to a carbonization degree test area.

[0036] In addition, the corn stalk skin is mainly composed of the epidermis and fascicles. The epidermis is an irregular and thin wax layer. The fascicles are mainly composed of vascular bundles and fiber bundles formed by fiber cells bonded by lignin and hemicellulose. The fiber bundles are closely arranged in a direction approximately perpendicular to the cross-section of the corn stalk skin, so the surface of the corn stalk can clearly see the closely arranged strips of tissue in a direction approximately perpendicular to the cross-section of the corn stalk skin. Therefore, the closed area corresponding to a corn stalk segment displayed on the edge image may contain multiple relatively small closed areas. It should be noted that if a closed area contains multiple closed areas, only the larger outer circle closed area is used as a carbonization degree test area, and the closed area contained inside is not analyzed as a carbonization degree test area. In this way, the carbonization degree test area on the biomass edge image can be obtained, and then according to the position information of each pixel point in the carbonization degree test area, the carbonization degree test area in the biomass grayscale image corresponding to the biomass edge image can be obtained.

[0037] So far, the carbonization degree test area in the biomass grayscale image at each moment is obtained. The carbonization degree test area contains biomass materials, that is, corn stalks. Analyzing the carbonization test area can make the subsequent analysis of the carbonization degree of biomass materials more accurate.

[0038] Step S2, obtaining the straight line corresponding to each edge in the carbonization degree test area, and the minimum distance between each edge pixel point on the straight line corresponding to each edge and the edge pixel points on other straight lines; the minimum value of all minimum distances corresponding to each straight line is the first distance, and the maximum value is the second distance.

[0039] Before entering the carbonization chamber, the corn stalks are only subjected to primary crushing treatment, that is, the stalks are cut into multiple sections perpendicular to the cross-sectional direction of the corn stalk skin to obtain sections of corn stalks, so the tightly arranged strip-like tissue on the surface of the corn stalks remains intact. Therefore, during the edge detection process in step S1, multiple straight edges will appear in each carbonization degree test area; however, during the straw carbonization process, hemicellulose and lignin gradually decompose slowly, and the strip-like characteristics of these strip-like tissues will gradually disappear.

[0040] Therefore, based on the changes in the strip characteristics of corn stalks during the carbonization process, Hough line detection is performed on the carbonization degree test area to obtain a straight line corresponding to each edge in the carbonization degree test area. The changes in the edges corresponding to the straight lines in the carbonization degree test area can be used to characterize the changes in the strip characteristics of the corn stalks during carbonization, and then the carbonization degree of the corn stalks can be measured.

[0041] Among them, the straight lines in the carbonization degree test area do not include the straight lines on the edge of the outermost circle of the carbonization degree test area. This is because the strip features of the edge of the outermost circle of the corn stalk are different from the strip features of the inner surface of the corn stalk. Therefore, if the straight lines on the edge of the carbonization degree test area are introduced for subsequent analysis, it will cause certain errors. So far, the number of straight lines in each carbonization degree test area can be obtained, which is , and then get the maximum value of the length of each straight line After the corn stalks are crushed into multiple sections, each section of corn stalks is a rectangle in the biomass grayscale image, and the maximum value of the straight line corresponding to each edge is , which is the length of the corresponding rectangle.

[0042] These strips on the surface of corn stalks are closely arranged and very neat, so the intervals between the strips are also very uniform, so it is necessary to use the intervals between straight lines to characterize this feature; specifically, obtain the edge pixels on each straight line, and then calculate the Euclidean distances between these edge pixels and the edge pixels on other straight lines, and take the minimum value of all the Euclidean distances corresponding to each of these edge pixels, which is recorded as the minimum distance , It should be noted that when obtaining the Euclidean distance between each edge pixel point on a straight line and the edge pixel points on other straight lines, it is necessary to obtain them in order. For example, the straight lines are arranged in order. When obtaining the Euclidean distance between the edge pixel points on the first straight line and the edge pixel points on other straight lines, only the distances between the edge pixel points on the other straight lines after the first straight line are calculated. When calculating the Euclidean distance between the edge pixel points on the second straight line and the edge pixel points on other straight lines, only the distances between the edge pixel points on the other straight lines after the second straight line are calculated. Each edge pixel point on a straight line can get a minimum distance, Represents the minimum distance corresponding to the i-th edge pixel on the straight line; obtain the minimum value of all minimum distances corresponding to a straight line, recorded as the first distance , the maximum value among all minimum distances, recorded as the second distance At this point, the first distance and the second distance corresponding to each straight line in the carbonization degree test area can be obtained.

[0043] If the degree of carbonization is not high, the intervals between the strip tissues on the surface of the corn stalks are still uniform, and the difference between the first distance and the second distance is relatively small. If the degree of carbonization is high, the intervals between the strip tissues on the surface of the corn stalks are uneven, and the difference between the first distance and the second distance is relatively large. Therefore, the degree of carbonization of the biomass material can be analyzed by the first distance and the second distance.

[0044] Step S3, fitting the edge pixel points on each straight line with the straight line to obtain a fitted straight line; based on each fitted straight line in the carbonization degree test area, the first distance and the second distance corresponding to each straight line obtain the significance to be decomposed of the carbonization degree test area.

[0045] First, obtain the edge length corresponding to each straight line, which are As carbonization continues, the fiber bundles on the surface of the corn stalks will gradually disappear, and the length of the edge corresponding to each straight line will continue to decrease. Therefore, it is necessary to obtain the length of each edge for further analysis to characterize the carbonization degree of the biomass material. The fiber bundles on the surface of the undecomposed corn stalks appear as strips on the grayscale image of the biomass, running through the entire surface of the corn stalks. Therefore, the length of the edge corresponding to each straight line detected in the carbonization degree test area should be the maximum value of the length of the straight line corresponding to the carbonization degree test area. Consistent.

[0046] At the same time, the strips of tissue on the surface of the corn stalk are closely arranged and in the same direction, which is very regular. Therefore, it is necessary to use the least squares method to fit the edge pixel points on each straight line with the straight line to obtain the fitting straight line corresponding to each edge. It should be noted that the fitting straight line corresponding to each edge obtained by fitting the edge pixel points on each straight line with the straight line is a well-known technology and will not be elaborated in detail here. Then, the inclination angle of each fitting straight line is obtained. , It represents the inclination angle of the i-th fitting straight line in the carbonization degree test area, wherein a reference line needs to be specified when obtaining the inclination angle of each fitting straight line. Preferably, in this embodiment, a horizontal straight line is selected as the reference line, and the angle between the fitting straight line and the reference line is the inclination angle of the fitting straight line. The implementer can also determine different reference lines according to actual conditions. In the early stage of carbonization, because the strip tissue on the surface of the corn stalk has not been destroyed, the direction of the strip tissue is the same, and the difference between the inclination angles of the fitting straight lines can be used to characterize this feature.

[0047] Finally, according to the first and second distances corresponding to each straight line in the carbonization degree test area, the length of the edge corresponding to each straight line and the inclination angle of each fitting straight line, the significance of the carbonization degree test area to be decomposed is obtained, which is expressed by the formula:

[0048]

[0049] in, Indicates the significance of decomposition in the carbonization area to be tested; Indicates the length of the edge corresponding to the i-th straight line in the carbonization degree test area; Indicates the maximum value among the lengths of the straight lines corresponding to all the edges in the area to be tested for carbonization degree; Indicates the number of straight lines in the area to be tested for carbonization degree; Indicates the first distance corresponding to a straight line in the carbonization degree test area. represents the second distance corresponding to the straight line; Represents the inclination angle of the i-th fitting straight line in the carbonization degree test area; It represents the average value of the inclination angles of all the fitting straight lines in the carbonization degree test area.

[0050] in addition, It represents the ratio of the length of the edge corresponding to each straight line in the carbonization degree test area to the length of the longest straight line. This item can characterize the changes of the strip structure on the surface of corn stalk as carbonization proceeds. The larger the value, the lower the degree of carbonization. It is the difference between the first distance and the second distance corresponding to a straight line, which represents the uniformity between the two edges in the carbonization degree test area, that is, the uniformity between two adjacent strips on the surface of corn stalks. The smaller the value, the more uniform it is. The sum can characterize the uniformity of the distribution of the strip-like tissue on the surface of the corn stalk. The more uniform it is, the lower the carbonization degree is. It indicates the difference between the inclination angle of each fitting straight line in the carbonization degree test area and the average value of the inclination angle. The smaller the value, the smaller the difference in the inclination angle of the strip tissue on the surface of the corn stalk is, indicating that the direction of the strip tissue is the same. Further summing can characterize whether the directions of the strip tissues on the entire surface of the corn stalk are the same. If the sum value is smaller, the directions of the strip tissues are relatively similar, and the carbonization degree of the corn stalk is relatively low. In general, the greater the significance of decomposition in the carbonization degree test area, the lower the carbonization degree of the carbonization degree test area, that is, the carbonization degree of the corn stalk corresponding to the carbonization degree test area is, the lighter the carbonization degree of the corn stalk.

[0051] At this point, each carbonization degree test area can obtain a corresponding significance to be decomposed, and this value reflects the significance of the original structure of the corn stalk corresponding to the carbonization degree test area.

[0052] Step S4, obtaining a significant value of carbonization decomposition degree of the area to be measured for carbonization degree according to the aggregated pixels and grayscale mean value in the area to be measured for carbonization degree in the biomass grayscale image at each moment.

[0053] As the degree of carbonization of corn stalks deepens, the fixed carbon content increases rapidly, and the color of the surface of corn stalks gradually darkens with the increase of temperature and time. The deeper the degree of carbonization, the more thorough the decomposition of the bundled tissue on the surface of the stalks, and the more uniform the dark color of the surface. When the degree of carbonization of the stalks increases, the rate of color darkening decreases and the color of the corresponding area of ​​the stalks is darker black. Further analysis is based on these characteristics.

[0054] Since the camera for acquiring the biomass image is fixed and the position of each straw in the carbonization chamber does not change, the area range corresponding to each carbonization degree test area in the biomass grayscale image acquired at different times also remains unchanged. The mean grayscale value corresponding to each pixel in a carbonization degree test area in the biomass grayscale image at the current moment is The mean gray value of each pixel in the carbonization degree test area in the biomass gray image obtained at the last moment is When the carbonization degree of the straw corresponding to the carbonization degree test area is greater, the difference in the mean grayscale values ​​of the carbonization degree test area corresponding to the current moment and the previous moment is smaller, and the mean grayscale value of the carbonization degree test area corresponding to the current moment is smaller.

[0055] Get the color aggregation vector corresponding to the carbonization degree test area in the biomass grayscale image at the current moment, and record the number of aggregated pixels as The mean gray value of these pixels is , where the color aggregation vector is a more complex method in the histogram improvement algorithm, which divides each color cluster in the histogram into two parts: aggregation and non-aggregation. In the image similarity comparison process, their similarities are compared respectively, and then a similarity value is obtained after comprehensive weighing to obtain the result. After the color image is quantized, the pixels in the image can be divided into aggregation and non-aggregation by calculating the connected domain. It should be noted that the method of obtaining the color aggregation vector and the aggregation pixel is a well-known technology and will not be elaborated in detail here. When the grayscale values ​​corresponding to the pixels in the carbonization degree test area at the current moment are relatively uniform, and the number of aggregated pixels is large, and the grayscale values ​​corresponding to these aggregated pixels are small, the corresponding carbonization degree is higher.

[0056] Furthermore, the difference in the grayscale mean of the same carbonization degree to be measured area in the biomass grayscale image at the current moment and the previous moment is obtained; the number of aggregated pixels in the carbonization degree to be measured area and the grayscale mean of all aggregated pixels in the biomass grayscale image at the current moment are obtained; based on the difference in grayscale mean, the number of aggregated pixels and the grayscale mean of all aggregated pixels, the carbonization decomposition degree significance value of the carbonization degree to be measured area in the biomass grayscale image at the current moment is obtained, which is expressed by the formula:

[0057] The significant value of carbonization decomposition degree in the carbonization degree test area is:

[0058]

[0059] in, Indicates the significant value of carbonization decomposition degree in the area to be tested; and Respectively represent the grayscale mean of the same carbonization degree test area in the biomass grayscale image at the previous moment and the current moment; Indicates the number of aggregated pixels in the carbonization degree test area in the biomass grayscale image at the current moment; It represents the grayscale mean of all aggregated pixels in the carbonization degree test area in the biomass grayscale image at the current moment.

[0060] It indicates the difference in the grayscale mean of the same carbonization degree test area in the biomass grayscale image at the current moment and the previous moment. The smaller the difference is, the lower the carbonization degree of the carbonization degree test area in the biomass grayscale image at the current moment is, and the greater the significant value of carbonization decomposition degree is; It represents the grayscale mean value of the carbonization degree test area in the biomass grayscale image at the current moment. The lower the value, the darker the color of the corn stalk after carbonization, the higher the carbonization degree, and the greater the significant value of carbonization decomposition degree; The larger the value, the more uniform the color of the corn stalk surface and the deeper the carbonization degree. Represents the mean gray value of aggregated pixels. The smaller the value, the darker the color of the corn stalk surface, the deeper the carbonization degree, and the greater the significant value of carbonization decomposition degree.

[0061] At this point, the carbonization decomposition degree significance value of each carbonization degree test area in each biomass grayscale image can be obtained. The carbonization decomposition degree significance value reflects the speed, depth and uniformity of the carbonization degree in the carbonization degree test area. When the carbonization speed in the carbonization degree test area is slower, the color is darker and the more uniform it is, the carbonization decomposition degree significance value corresponding to the carbonization degree test area is larger, that is, the carbonization degree of the straw corresponding to the carbonization degree test area is deeper.

[0062] Step S5, obtaining the carbonization significance of the carbonization degree testing area based on the carbonization decomposition significance value and the significance to be decomposed of the carbonization degree testing area; and judging the carbonization degree of the biomass material based on the carbonization significance of the carbonization degree testing area.

[0063] After step S4, the carbonization decomposition degree significance value and the significance to be decomposed of each carbonization degree test area are obtained, and the carbonization decomposition degree significance value and the significance to be decomposed of each carbonization degree test area are combined to obtain the carbonization significance of the carbonization degree test area, wherein the carbonization decomposition degree significance value of the carbonization degree test area is positively correlated with the carbonization significance; the significance to be decomposed of the carbonization degree test area is negatively correlated with the carbonization significance.

[0064] Then the carbonization significance of the carbonization degree test area is:

[0065]

[0066] in, Indicates the carbonization significance of the carbonization area to be tested; Indicates the significant value of carbonization decomposition degree in the area to be tested; Indicates the significance of decomposition in the carbonization area to be tested; Represents an exponential function with the natural constant e as the base.

[0067] The carbonization significance is a comprehensive evaluation index of the carbonization degree in the carbonization degree test area. When the corresponding decomposition significance of the carbonization degree test area is smaller and the carbonization decomposition significance value is larger, the carbonization significance of the carbonization degree test area is larger, that is, the carbonization degree of the corn stalk corresponding to the carbonization degree test area is deeper. So far, the carbonization significance that characterizes the carbonization degree of each carbonization degree test area can be obtained.

[0068] Furthermore, the carbonization degree test areas in multiple different carbonization processes are divided into four categories based on artificial experience, namely: preliminary carbonization, moderate carbonization, deep carbonization, and complete carbonization, that is, the carbonization degree is divided into four levels; according to the carbonization significance of each carbonization degree test area after the division, the thresholds between the above four categories are determined, specifically: the maximum value of the carbonization significance of each carbonization degree test area of ​​preliminary carbonization is obtained ; The minimum and maximum values ​​of carbonization significance corresponding to the carbonization degree test area of ​​moderate carbonization are and ; The minimum and maximum values ​​of carbonization significance corresponding to each carbonization degree test area corresponding to the deep carbonization are and ; The minimum value of carbonization significance corresponding to each carbonization degree test area corresponding to carbonization completion is ; From this we can get the first threshold , the second threshold and the third threshold , wherein the first threshold value can distinguish the carbonization degree to be tested area with preliminary carbonization degree from the carbonization degree to be tested area with moderate carbonization degree, the second threshold value can distinguish the carbonization degree to be tested area with moderate carbonization degree from the carbonization degree to be tested area with deep carbonization degree, and the third threshold value can distinguish the carbonization degree to be tested area with deep carbonization degree from the carbonization degree to be tested area with complete carbonization degree.

[0069] If the carbonization significance of the carbonization degree area to be tested is less than or equal to the first threshold value, the carbonization degree of the carbonization degree area to be tested is preliminary carbonization; if the carbonization significance of the carbonization degree area to be tested is greater than the first threshold value and less than or equal to the second threshold value, the carbonization degree of the carbonization degree area to be tested is moderate carbonization; if the carbonization significance of the carbonization degree area to be tested is greater than the second threshold value and less than or equal to the third threshold value, the carbonization degree of the carbonization degree area to be tested is deep carbonization; if the carbonization significance of the carbonization degree area to be tested is greater than the third threshold value, the carbonization degree of the carbonization degree area to be tested is complete carbonization.

[0070] Furthermore, the number of carbonization degree test areas with preliminary carbonization, moderate carbonization, deep carbonization and complete carbonization in the biomass grayscale image is counted respectively, and recorded as the first number, the second number, the third number and the fourth number. If the maximum value among the first, second, third and fourth numbers is the value in the first, second and third numbers, the carbonization degree of the biomass material is the carbonization degree corresponding to the maximum value. For example, if the maximum value is the first number, the carbonization degree of the biomass material is preliminary carbonization at this time; if the maximum value is the fourth number, the ratio of the number of carbonization degree test areas with complete carbonization in the biomass grayscale image to the number of all carbonization degree test areas is obtained, which is recorded as the first ratio DZ, and a fourth threshold is set. Preferably, the value of the fourth threshold in the embodiment of the present invention is 0.95. The implementer can adjust the value of the fourth threshold according to the specific situation. If the first ratio is greater than or equal to the fourth threshold, the carbonization of the biomass material in the carbonization furnace is completed.

[0071] It should be noted that the sequence of the above embodiments of the present invention is only for description and does not represent the advantages and disadvantages of the embodiments. The above is a description of a specific embodiment of this specification. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0072] The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments.

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

Claims

1. A method for detecting waste biomass materials for a mobile solar carbonization vehicle, characterized in that: The method includes: Obtaining the surface image of the biomass material at each moment during the carbonization process and processing it to obtain the biomass grayscale image; obtaining the carbonization degree to be measured area in the biomass grayscale image; Obtain the straight line corresponding to each edge in the carbonization degree test area, and the minimum distances from each edge pixel point on the straight line corresponding to each edge to the edge pixel points on other straight lines; the minimum value of all the minimum distances corresponding to each straight line is the first distance, and the maximum value is the second distance; The edge pixel points on each straight line are used to fit the straight line to obtain a fitting straight line; based on each fitting straight line in the carbonization degree to be measured area, the first distance and the second distance corresponding to each straight line are used to obtain the significance of the carbonization degree to be measured area to be decomposed; Obtaining a significant value of carbonization decomposition degree of the carbonization degree test area according to the aggregated pixels and grayscale mean value in the carbonization degree test area in the biomass grayscale image at each moment; Obtaining the carbonization significance of the carbonization degree testing area based on the carbonization decomposition significance value of the carbonization degree testing area and the significance to be decomposed; judging the carbonization degree of the biomass material based on the carbonization significance of the carbonization degree testing area; The method of obtaining the significance of the carbonization degree to be measured in the area to be measured based on each fitted straight line in the area to be measured, the first distance and the second distance corresponding to each straight line, includes: obtaining the inclination angle of each fitted straight line in the area to be measured; obtaining the length of the edge corresponding to each straight line in the area to be measured; obtaining the significance of the carbonization degree to be measured in the area to be measured according to the first and second distances corresponding to each straight line in the area to be measured, the length of the edge corresponding to each straight line and the inclination angle of each fitted straight line; The significance of the carbonization degree to be decomposed in the area to be tested is: in, Indicates the decomposition significance of the carbonization area to be tested; Indicates the length of the edge corresponding to the i-th straight line in the carbonization degree test area; Indicates the maximum value among the lengths of the straight lines corresponding to all the edges in the area to be tested for carbonization degree; Indicates the number of straight lines in the area to be tested for carbonization degree; Indicates the first distance corresponding to a straight line in the carbonization degree test area. represents the second distance corresponding to the straight line; Represents the inclination angle of the i-th fitting straight line in the carbonization degree test area; It represents the average value of the inclination angles of all the fitting straight lines in the carbonization degree test area.

2. A method for detecting waste biomass materials for a mobile solar carbonization vehicle according to claim 1, characterized in that: The method of obtaining a significant value of the carbonization decomposition degree of the carbonization degree to be tested area according to the aggregated pixels and grayscale mean values ​​in the carbonization degree to be tested area in the biomass grayscale image at each moment includes: obtaining the difference in grayscale mean values ​​of the same carbonization degree to be tested area in the biomass grayscale image at the current moment and the previous moment; obtaining the number of aggregated pixels in the carbonization degree to be tested area and the grayscale mean value of all aggregated pixels in the biomass grayscale image at the current moment; and obtaining the significant value of the carbonization decomposition degree of the carbonization degree to be tested area in the biomass grayscale image at the current moment based on the difference in grayscale mean values, the number of aggregated pixels and the grayscale mean value of all aggregated pixels.

3. A method for detecting waste biomass materials for a mobile solar carbonization vehicle according to claim 2, characterized in that: The significant value of carbonization decomposition degree in the carbonization degree test area is: in, Indicates the significant value of carbonization decomposition degree in the area to be tested; and Respectively represent the grayscale mean of the same carbonization degree test area in the biomass grayscale image at the previous moment and the current moment; Indicates the number of aggregated pixels in the carbonization degree test area in the biomass grayscale image at the current moment; It represents the grayscale mean of all aggregated pixels in the carbonization degree test area in the biomass grayscale image at the current moment.

4. A method for detecting waste biomass materials for a mobile solar carbonization vehicle according to claim 1, characterized in that: The method of obtaining the carbonization significance of the carbonization degree test area based on the carbonization decomposition significance value and the significance to be decomposed of the carbonization degree test area includes: the carbonization decomposition significance value of the carbonization degree test area is positively correlated with the carbonization significance; the significance to be decomposed of the carbonization degree test area is negatively correlated with the carbonization significance.

5. A method for detecting waste biomass materials for a mobile solar carbonization vehicle according to claim 1, characterized in that: The method for judging the carbonization degree of the biomass material based on the carbonization significance of the carbonization degree test area includes: if the carbonization significance of the carbonization degree test area is less than or equal to the first threshold value, the carbonization degree of the carbonization degree test area is preliminary carbonization; if the carbonization significance of the carbonization degree test area is greater than the first threshold value and less than or equal to the second threshold value, the carbonization degree of the carbonization degree test area is moderate carbonization; if the carbonization significance of the carbonization degree test area is greater than the second threshold value and less than or equal to the third threshold value, the carbonization degree of the carbonization degree test area is deep carbonization; if the carbonization significance of the carbonization degree test area is greater than the third threshold value, the carbonization degree of the carbonization degree test area is complete carbonization; The numbers of carbonization degree test areas with preliminary carbonization, moderate carbonization, deep carbonization and complete carbonization in the biomass grayscale image are counted respectively, and recorded as the first number, the second number, the third number and the fourth number. If the maximum value among the first, second, third and fourth numbers is the value in the first, second and third numbers, the carbonization degree of the biomass material is the carbonization degree corresponding to the maximum value; if the maximum value is the fourth number, the ratio of the number of carbonization degree test areas with complete carbonization to the number of all carbonization degree test areas in the biomass grayscale image is obtained, which is recorded as the first ratio. If the first ratio is greater than or equal to the fourth threshold value, the carbonization of the biomass material is completed.

6. A method for detecting waste biomass materials for a mobile solar carbonization vehicle according to claim 1, characterized in that: The method of obtaining the carbonization degree test area in the biomass grayscale image includes: performing edge detection on the biomass grayscale image to obtain an area surrounded by closed edges, which is recorded as a closed area; if the closed area contains other closed areas, the closed area containing the other areas is the carbonization degree test area.

Citation Information

Patent Citations

  • Automatic optical detection method, automatic optical detection system, and recording medium

    CN114972152A

  • Defect detection method for silicon carbide material wafer

    CN115311280A

  • Method and system for detecting surface defects in transformer production

    CN115965623A

  • Safety belt edge unevenness and loose thread defect detection method and system

    WO2024174301A1