A temperature-resistant ultrasonic detection method and system for oil tank corrosion
Through temperature measurement and image processing technology, efficient and accurate results of oil storage tank corrosion detection are achieved, solving the problem of low manual detection efficiency and accuracy, and providing objective corrosion status analysis.
Patent Information
- Application Number
- CN202210473235.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-29
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2042-04-29
AI Technical Summary
The efficiency and accuracy of corrosion detection in oil storage tanks are low, mainly due to manual cleaning and subjective observation. The lack of unified standards affects detection efficiency and accuracy.
The oil storage tank corrosion ultrasonic detection method that is resistant to temperature interference is used. Through temperature measurement probes and image processing, the temperature sequence outside and inside the wall is obtained, multi-scale entropy analysis and interpolation calculation are performed, the corrosion thickness and corrosion area are determined, and the corrosion status is generated.
It improves the efficiency and accuracy of oil storage tank corrosion detection, reduces cleaning steps, objectively quantifies thickness, and avoids the influence of human subjective judgment.
Smart Images

Figure CN114965705B
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of material testing and analysis, and in particular to an ultrasonic detection method and system for oil tank corrosion that is resistant to temperature interference. Background Art
[0002] With the rapid development of the national economy, the demand for oil as one of the important energy sources is increasing day by day. Harmful gases such as sulfur dioxide, hydrogen sulfide, and nitrogen dioxide in the atmosphere often form a water film containing acids, alkalis, salts, and other impurities on the outer wall of the oil storage tank due to adsorption, condensation, or rain, causing electrochemical corrosion on the metal surface. In addition, the water of impurities contained in the medium on the inner wall of the oil storage tank often contains a large amount of chlorides, sulfides, oxygen, acids, etc. After a long period of precipitation, a strong electrolyte solution is often formed, resulting in electrochemical corrosion. Due to the different oxygen content in the medium and the meteorological space above the medium, an oxygen concentration cell can be formed at the level fluctuation of the tank wall, causing corrosion. As a dangerous product, oil will cause great pollution to the ecological environment once it leaks, and it will also cause huge economic losses. Therefore, it is very important to conduct corrosion detection on oil storage tanks. At present, when conducting corrosion detection on oil storage tanks, the usual method is: through manual methods, first of all, it is often necessary to clean the inside of the oil storage tank, and then determine whether the oil storage tank is corroded.
[0003] However, when the above method is adopted, the following technical problems often occur:
[0004] First: Cleaning the inside of the oil tank often takes a long time, which often leads to low efficiency in detecting corrosion of the oil tank;
[0005] Second, manual methods often rely on subjective observation to determine whether an oil storage tank is corroded. Since the determination of whether an oil storage tank is corroded is greatly affected by subjective factors and there is a lack of unified determination standards, the judgments made are often inaccurate, which often leads to low accuracy in oil storage tank corrosion detection. Summary of the invention
[0006] The content of this disclosure is used to introduce concepts in a brief form, which will be described in detail in the detailed implementation section below. The content of this disclosure is not intended to identify the key features or essential features of the technical solution claimed for protection, nor is it intended to limit the scope of the technical solution claimed for protection.
[0007] Some embodiments of the present disclosure provide an ultrasonic detection method for oil tank corrosion that is resistant to temperature interference to solve one or more of the technical problems mentioned in the above background technology section.
[0008] In a first aspect, some embodiments of the present disclosure provide a method for ultrasonic detection of oil tank corrosion that is resistant to temperature interference, the method comprising: using a temperature measuring probe, respectively determining the temperatures corresponding to a preset number of monitoring points included in a preset number of preset groups outside and inside the wall of the target oil tank, and respectively obtaining a first monitoring temperature sequence corresponding to the wall outside the target oil tank and a second monitoring temperature sequence corresponding to the wall inside the target oil tank; obtaining a target oil tank image sequence, performing stain correction processing on each target oil tank image in the target oil tank image sequence, determining a corrected image corresponding to the target oil tank image, and obtaining a corrected image sequence; performing light absorption processing on the corrected image in the corrected image sequence, and determining a multi-scale entropy value corresponding to each target position included on the wall outside the target oil tank. , obtain a multi-scale entropy set; according to the above-mentioned first monitoring temperature sequence and the above-mentioned multi-scale entropy set, interpolate and determine the temperatures corresponding to each target position included outside the wall of the above-mentioned target oil storage tank, and obtain a first updated temperature sequence; according to the above-mentioned second monitoring temperature sequence, interpolate and determine the second updated temperature sequence corresponding to the wall of the above-mentioned target oil storage tank; according to each first updated temperature in the above-mentioned first updated temperature sequence and the second updated temperature in the above-mentioned second updated temperature sequence corresponding to the above-mentioned first updated temperature, determine the target thickness corresponding to the target position of the above-mentioned target oil storage tank corresponding to the above-mentioned first updated temperature, and obtain a target thickness set; according to the above-mentioned target thickness set and the pre-acquired specification thickness of the above-mentioned target oil storage tank, determine the corrosion area of the above-mentioned target oil storage tank, and generate the corrosion condition of the above-mentioned target oil storage tank.
[0009] In a second aspect, the present disclosure provides an ultrasonic detection system for oil tank corrosion that is resistant to temperature interference, including a processor and a memory, wherein the processor is used to process instructions stored in the memory to implement the ultrasonic detection method for oil tank corrosion that is resistant to temperature interference.
[0010] The above-mentioned various embodiments of the present disclosure have the following beneficial effects: through the temperature-interference-resistant ultrasonic detection method for oil tank corrosion of some embodiments of the present disclosure, the efficiency and accuracy of oil tank corrosion detection are improved. Specifically, the reasons for the low efficiency and accuracy of oil tank corrosion detection are: First, it often takes a long time to clean the inside of the oil tank, which often leads to low efficiency in detecting oil tank corrosion. Second, by manual means, it is often determined by manual subjective observation whether the oil tank is corroded. Since the determination of whether the oil tank is corroded is greatly affected by human subjective factors and lacks a unified determination standard, the judgment made is often inaccurate, which often leads to low accuracy of oil tank corrosion detection. Therefore, when using manual methods, first of all, it is often necessary to clean the inside of the oil tank, and then determine whether the oil tank is corroded, which often leads to low efficiency and accuracy of oil tank corrosion detection. Based on this, the temperature-interference-resistant ultrasonic detection method for corrosion of oil tanks in some embodiments of the present disclosure uses optical means, specifically visible light means, to analyze and test materials (oil tanks), thereby solving the problem of low efficiency and accuracy of corrosion detection of oil tanks and improving the efficiency and accuracy of corrosion detection of oil tanks. First, the temperature corresponding to the preset number of monitoring points included in the preset number of preset groups outside and inside the wall of the target oil tank is determined by a temperature measuring probe, and the first monitoring temperature sequence corresponding to the wall outside the target oil tank and the second monitoring temperature sequence corresponding to the wall inside the target oil tank are obtained. Since the temperature outside and inside the wall of the target oil tank often affects the speed at which the ultrasonic wave passes through the side of the target oil tank, it is necessary to determine the temperature outside and inside the wall of the target oil tank. Secondly, a target oil tank image sequence is obtained, and each target oil tank image in the target oil tank image sequence is subjected to stain correction processing, and the corrected image corresponding to the target oil tank image is determined to obtain a corrected image sequence. Next, the corrected image in the corrected image sequence is subjected to light absorption processing to determine the multiscale entropy corresponding to each target position included on the outside of the wall of the target oil storage tank, and obtain a multiscale entropy set. Since light often causes the outer wall of the target oil storage tank to heat up, by performing light absorption processing on the corrected image, the absorption of light by the target oil storage tank can be characterized by multiscale entropy, so that the influence of light on the temperature of the outer wall of the target oil storage tank can be obtained. Then, based on the first monitored temperature sequence and the multiscale entropy set, the temperature corresponding to each target position included on the outside of the wall of the target oil storage tank is determined by interpolation to obtain a first updated temperature sequence. Afterwards, based on the second monitored temperature sequence, the second updated temperature sequence corresponding to the inside of the wall of the target oil storage tank is determined by interpolation. Through interpolation, the temperature corresponding to each position inside and outside the wall of the target oil storage tank can be obtained.Then, according to each first update temperature in the first update temperature sequence and the second update temperature in the second update temperature sequence corresponding to the first update temperature, the target thickness corresponding to the target position of the target oil storage tank corresponding to the first update temperature is determined to obtain a target thickness set. Finally, according to the target thickness set and the pre-acquired specification thickness of the target oil storage tank, the corrosion area of the target oil storage tank is determined to generate the corrosion condition of the target oil storage tank. The target thickness corresponding to the target position of the target oil storage tank is quantified, and the thickness of each position on the side of the target oil storage tank is obtained to be more objective and accurate, and there is no need to clean the inside of the target oil storage tank, thereby improving the efficiency and accuracy of oil tank corrosion detection.
[0011] Furthermore, the light absorption processing is performed on the corrected images in the corrected image sequence to determine the multi-scale entropy corresponding to each target position outside the wall of the target oil storage tank, including:
[0012] Each corrected image in the corrected image sequence is divided into a reflection image and an incident image; based on the reflection image and the incident image corresponding to each corrected image in the corrected image sequence, an absorption image corresponding to the corrected image is determined to obtain an absorption image sequence; based on the absorption image sequence, a multi-scale entropy corresponding to each target position outside the wall of the target oil storage tank is determined.
[0013] Furthermore, the interpolation determines the temperature corresponding to each target position outside the wall of the target oil storage tank, including:
[0014] According to the monitoring points corresponding to the first monitoring temperature in the first monitoring temperature sequence, the last frame of the corrected image in the corrected image sequence is square segmented to obtain a square area set; the first monitoring temperature in the first monitoring temperature sequence corresponding to the small area corresponding to the monitoring point included in each target square area in the target square area set is determined as the temperature corresponding to the target square area, wherein the target square area in the target square area set is a square area in the square area set that does not meet the interpolation condition, and the interpolation condition is that the square area does not include the small area corresponding to the monitoring point; the square area that meets the interpolation condition is selected from the square area set to obtain a square area set to be interpolated, wherein the square area to be interpolated is The domain set includes a first set of regions to be interpolated and a second set of regions to be interpolated, and there is a target square area in the horizontal direction or the vertical direction where the second region to be interpolated in the second set of regions to be interpolated is located; according to the center point of each first region to be interpolated in the first set of regions to be interpolated and the temperatures corresponding to the four target square areas included in the target square area set corresponding to the first region to be interpolated and the multi-scale entropy set, the temperature corresponding to the first region to be interpolated is determined by interpolation; according to the center point of each second region to be interpolated in the second set of regions to be interpolated and the temperatures corresponding to the two target square areas included in the target square area set corresponding to the second region to be interpolated and the multi-scale entropy set, the temperature corresponding to the second region to be interpolated is determined by interpolation.
[0015] Furthermore, the formula for determining the temperature corresponding to the first area to be interpolated by the interpolation is:
[0016]
[0017] Among them, u i is the distance weight corresponding to the i-th target square area in the four target square areas included in the target square area set corresponding to the first interpolation area, d i is the distance between the center point of the i-th target square area in the four target square areas included in the target square area set corresponding to the first area to be interpolated and the center point of the first area to be interpolated, v i is the grayscale weight corresponding to the i-th target square area in the four target square areas included in the target square area set corresponding to the first interpolation area, i is the grayscale difference between the center point of the i-th target square area in the four target square areas included in the target square area set corresponding to the first interpolation area and the center point of the first interpolation area, ε iis the inverse tangent function value corresponding to the multi-scale entropy in the multi-scale entropy set corresponding to the center point of the i-th target square area in the four target square areas included in the target square area set corresponding to the first interpolation area, δ i is the multi-scale entropy in the multi-scale entropy set corresponding to the center point of the i-th target square area in the four target square areas included in the target square area set corresponding to the first interpolation area, y i is the multi-scale entropy weight corresponding to the i-th target square area in the four target square areas included in the target square area set corresponding to the first interpolation area, w i is the total weight corresponding to the i-th target square area in the four target square areas included in the target square area set corresponding to the first interpolation area, q is the temperature corresponding to the first interpolation area, q i is the temperature corresponding to the i-th target square area among the four target square areas included in the target square area set corresponding to the first area to be interpolated.
[0018] Furthermore, the formula for determining the temperature corresponding to the second interpolation area by interpolation is:
[0019]
[0020] Among them, u j is the distance weight corresponding to the jth target square area in the two target square areas included in the target square area set corresponding to the second interpolation area, d j is the distance between the center point of the jth target square area in the two target square areas included in the target square area set corresponding to the second area to be interpolated and the center point of the second area to be interpolated, v j is the grayscale weight corresponding to the jth target square area in the two target square areas included in the target square area set corresponding to the second interpolation area, j is the grayscale difference between the center point of the jth target square area in the two target square areas included in the target square area set corresponding to the second interpolation area and the center point of the second interpolation area, ε j is the inverse tangent function value corresponding to the multi-scale entropy in the multi-scale entropy set corresponding to the center point of the j-th target square area in the two target square areas included in the target square area set corresponding to the second interpolation area, δ j is the multi-scale entropy in the multi-scale entropy set corresponding to the center point of the j-th target square area in the two target square areas included in the target square area set corresponding to the second interpolation area, y jis the multi-scale entropy weight corresponding to the j-th target square area in the two target square areas included in the target square area set corresponding to the second interpolation area, w j is the total weight corresponding to the jth target square area in the two target square areas included in the target square area set corresponding to the second interpolation area, Q is the temperature corresponding to the second interpolation area, Q j is the temperature corresponding to the j-th target square area among the two target square areas included in the target square area set corresponding to the second area to be interpolated.
[0021] Furthermore, the interpolation determines the second updated temperature sequence corresponding to the inner wall of the target oil storage tank, including:
[0022] The target oil tank wall inner region is segmented to obtain a set of wall inner square regions, wherein the wall inner square regions in the set of wall inner square regions correspond to the square regions in the set of square regions one by one; the second monitoring temperature in the second monitoring temperature sequence corresponding to the monitoring point included in each target wall inner square region in the set of target wall inner square regions is determined as the temperature corresponding to the target wall inner square region, wherein the target wall inner square region in the set of target wall inner square regions is the wall inner square region in the set of target wall inner square regions that does not meet the wall inner interpolation condition in the set of wall inner square regions, and the wall inner interpolation condition is that the wall inner square region does not include the monitoring point; the wall inner square region that meets the wall inner interpolation condition is selected from the set of wall inner square regions to obtain a set of wall inner regions to be interpolated, wherein the set of wall inner regions to be interpolated includes the first wall inner region to be interpolated, the second monitoring temperature in the second monitoring temperature sequence corresponding to the monitoring point included in each target wall inner square region in the set of target wall inner square regions, and the second monitoring temperature in the second monitoring temperature sequence corresponding to the monitoring point included in the first wall inner region to be interpolated ... A domain set and a second set of wall inner regions to be interpolated, wherein there is a target wall inner square region in the horizontal direction or the vertical direction where the second wall inner region to be interpolated in the second set of wall inner regions to be interpolated is located; according to the center point of each first wall inner region to be interpolated in the first set of wall inner regions to be interpolated and the temperatures corresponding to four target wall inner square regions in the set of target wall inner square regions corresponding to the first wall inner region to be interpolated, the second update temperature in the second update temperature sequence corresponding to the first wall inner region to be interpolated is determined by interpolation; according to the center point of each second wall inner region to be interpolated in the second set of wall inner regions to be interpolated and the temperatures corresponding to two target wall inner square regions in the set of target wall inner square regions corresponding to the second wall inner region to be interpolated, the second update temperature in the second update temperature sequence corresponding to the second wall inner region to be interpolated is determined by interpolation.
[0023] Furthermore, the formula for determining the second updated temperature in the second updated temperature sequence corresponding to the first to-be-interpolated wall inner region by interpolation is:
[0024]
[0025] Among them, u m is the distance weight corresponding to the mth target wall inner square area in the four target wall inner square areas in the target wall inner square area set corresponding to the first wall inner area to be interpolated, d m is the distance between the center point of the first to-be-interpolated inner wall area and the center point of the mth target inner wall square area in the set of four target inner wall square areas corresponding to the first to-be-interpolated inner wall area, z m is the height weight corresponding to the mth target wall inner square area in the four target wall inner square areas in the target wall inner square area set corresponding to the first wall inner area to be interpolated, h m is the distance from the center point of the first interpolation wall area to the bottom of the target oil storage tank wall, is the total weight corresponding to the mth target wall inner square area in the four target wall inner square areas in the target wall inner square area set corresponding to the first wall inner area to be interpolated, T 0 is the second updated temperature in the second updated temperature sequence corresponding to the first wall inner region to be interpolated, T m is the temperature corresponding to the mth target inner wall square area among the four target inner wall square areas in the target inner wall square area set corresponding to the first inner wall area to be interpolated.
[0026] Furthermore, the formula for determining the second updated temperature in the second updated temperature sequence corresponding to the second to-be-interpolated wall inner region by interpolation is:
[0027]
[0028] Among them, u n is the distance weight corresponding to the nth target wall inner square area in the two target wall inner square areas in the target wall inner square area set corresponding to the second wall inner area to be interpolated, d n is the distance between the center point of the second to-be-interpolated wall region and the center point of the nth target wall region in the two target wall regions in the target wall region set corresponding to the second to-be-interpolated wall region, z n is the height weight corresponding to the nth target wall inner square area in the two target wall inner square areas in the target wall inner square area set corresponding to the second wall inner area to be interpolated, h n is the distance from the center point of the second interpolation wall area to the bottom of the target oil tank wall, is the total weight corresponding to the nth target wall inner square area in the two target wall inner square areas in the target wall inner square area set corresponding to the second wall inner area to be interpolated, T is the second updated temperature in the second updated temperature sequence corresponding to the second wall inner area to be interpolated, T n is the temperature corresponding to the nth target inner wall square area among the two target inner wall square areas in the target inner wall square area set corresponding to the second inner wall area to be interpolated.
[0029] Furthermore, the formula for determining the target thickness corresponding to the target position of the target oil storage tank corresponding to the first updated temperature is:
[0030]
[0031] Wherein, x is the distance between the point on the line between the monitoring point corresponding to the target position of the target oil storage tank corresponding to the first updated temperature and the monitoring point corresponding to the second updated temperature in the second updated temperature sequence corresponding to the first updated temperature and the monitoring point corresponding to the first updated temperature, and t 0 is the second update temperature in the second update temperature sequence corresponding to the first update temperature, t 1 is the first update temperature, l is the target thickness corresponding to the target position of the target oil storage tank corresponding to the first update temperature, a and b are correction parameters, t is the one-way time of the ultrasonic wave passing through the target thickness corresponding to the target position of the target oil storage tank corresponding to the first update temperature, t 3 is the round trip time of the ultrasonic wave passing through the target thickness corresponding to the target position of the target oil storage tank corresponding to the first updated temperature. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] In order to more clearly illustrate the technical solutions and advantages of the embodiments of the present disclosure 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 disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0033] Figure 1 Flow charts of some embodiments of the ultrasonic detection method for oil tank corrosion resistant to temperature interference according to the present disclosure;
[0034] Figure 2 is a schematic diagram of a monitoring point according to the present disclosure;
[0035] Figure 3 is a schematic diagram of a square area or a square area within a wall according to the present disclosure;
[0036] Figure 4 is a schematic diagram of a square area to be interpolated or an area within a wall to be interpolated according to the present disclosure;
[0037] Figure 5 A schematic diagram for determining the temperature corresponding to the first area to be interpolated or the first area within the wall to be interpolated according to the present disclosure;
[0038] Figure 6 A schematic diagram for determining the temperature corresponding to the second area to be interpolated or the second area within the wall to be interpolated according to the present disclosure;
[0039] Figure 7 It is a schematic diagram of the first update temperature corresponding to the second update temperature according to the present disclosure. DETAILED DESCRIPTION
[0040] In order to further explain the technical means and effects adopted by the present disclosure to achieve the predetermined invention purpose, the specific implementation methods, structures, features and effects of the technical solutions proposed by the present disclosure are described in detail below in conjunction 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.
[0041] 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 disclosure belongs.
[0042] This embodiment provides an ultrasonic detection method for oil tank corrosion that is resistant to temperature interference, and the method includes the following steps:
[0043] By using the temperature measuring probe, the temperatures corresponding to the preset number of monitoring points included in the preset number of preset groups on the outer wall and the inner wall of the target oil storage tank are respectively determined, and a first monitoring temperature sequence corresponding to the outer wall of the target oil storage tank and a second monitoring temperature sequence corresponding to the inner wall of the target oil storage tank are respectively obtained;
[0044] Acquire a target oil storage tank image sequence, perform stain correction processing on each target oil storage tank image in the target oil storage tank image sequence, determine a corrected image corresponding to the target oil storage tank image, and obtain a corrected image sequence;
[0045] Performing light absorption processing on the corrected images in the corrected image sequence, determining the multi-scale entropy corresponding to each target position outside the wall of the target oil storage tank, and obtaining a multi-scale entropy set;
[0046] According to the first monitored temperature sequence and the multi-scale entropy set, interpolation is performed to determine the temperature corresponding to each target position outside the wall of the target oil storage tank to obtain a first updated temperature sequence;
[0047] According to the second monitored temperature sequence, interpolate and determine a second updated temperature sequence corresponding to the inner wall of the target oil storage tank;
[0048] According to each first update temperature in the first update temperature sequence and the second update temperature in the second update temperature sequence corresponding to the first update temperature, determine a target thickness corresponding to the target position of the target oil storage tank corresponding to the first update temperature to obtain a target thickness set;
[0049] According to the target thickness set and the pre-acquired specification thickness of the target oil storage tank, the corrosion area of the target oil storage tank is determined, and the corrosion status of the target oil storage tank is generated.
[0050] The following is a detailed explanation of each of the above steps:
[0051] refer to Figure 1 , shows the process of some embodiments of an ultrasonic detection method for oil tank corrosion resistant to temperature interference according to the present disclosure. The ultrasonic detection method for oil tank corrosion resistant to temperature interference includes the following steps:
[0052] Step S1, using a temperature measuring probe, respectively determine the temperatures corresponding to a preset number of monitoring points included in a preset number of preset groups on the outside and inside of the wall of the target oil storage tank, and respectively obtain a first monitoring temperature sequence corresponding to the outside of the wall of the target oil storage tank and a second monitoring temperature sequence corresponding to the inside of the wall of the target oil storage tank.
[0053] In some embodiments, the executor (e.g., a computing device) of the temperature-resistant ultrasonic detection method for oil storage tank corrosion can determine the temperatures corresponding to a preset number of monitoring points included in a preset number of preset groups on the outside and inside of the wall of the target oil storage tank through a temperature measuring probe, and obtain a first monitoring temperature sequence corresponding to the outside of the wall of the target oil storage tank and a second monitoring temperature sequence corresponding to the inside of the wall of the target oil storage tank.
[0054] It should be noted that the above-mentioned computing device can be hardware or software. When the computing device is hardware, it can be implemented as a distributed cluster consisting of multiple servers or terminal devices, or it can be implemented as a single server or a single terminal device. When the computing device is embodied as software, it can be installed in the hardware devices listed above. It can be implemented as multiple software or software modules for providing distributed services, for example, or it can be implemented as a single software or software module. No specific limitation is made here.
[0055] Among them, the temperature measuring probe can be a temperature transmitter. The structural features of the temperature transmitter can be small size, bus type and digital. The target oil storage tank can be an oil storage tank to be detected for corrosion. The outer wall and inner wall of the target oil storage tank can be the outer surface and inner surface of the side of the target oil storage tank, respectively. The preset number can be a preset value. The preset group can include a preset number of monitoring points, wherein the monitoring points outside the wall or inside the wall of the target oil storage tank each account for half, and the monitoring points outside the wall and inside the wall of the target oil storage tank correspond one to one. For example, Figure 2 As shown, a preset group of the target oil storage tank 201 may include monitoring points 202, 203, 204, 205, 206 and 207 inside the wall, and monitoring points 208, 209, 210, 211, 212 and 213 outside the wall. Among them, 202 and 208, 203 and 209, 204 and 210, 205 and 211, 206 and 212, 207 and 213 correspond to each other one by one. The above-mentioned preset number may be a preset value. The above-mentioned monitoring point may be a point pre-selected outside or inside the wall of the above-mentioned target oil storage tank, and the temperature is measured by the above-mentioned temperature measurement probe. The first monitoring temperature in the above-mentioned first monitoring temperature sequence may be the temperature corresponding to the monitoring point outside the wall of the above-mentioned target oil storage tank. The second monitoring temperature in the above-mentioned second monitoring temperature sequence may be the temperature corresponding to the monitoring point inside the wall of the above-mentioned target oil storage tank.
[0056] As an example, when the preset number is 3, the preset groups may be spaced 120° apart, and the distances between the monitoring points outside or inside the wall of the target oil storage tank in the same preset group may be equal.
[0057] Step S2, obtaining a target oil storage tank image sequence, performing stain correction processing on each target oil storage tank image in the target oil storage tank image sequence, determining a corrected image corresponding to the target oil storage tank image, and obtaining a corrected image sequence.
[0058] In some embodiments, the execution entity may obtain a target oil storage tank image sequence, perform stain correction processing on each target oil storage tank image in the target oil storage tank image sequence, determine a corrected image corresponding to the target oil storage tank image, and obtain a corrected image sequence.
[0059] The target oil storage tank image in the target oil storage tank image sequence may be a panoramic visible light image of the side of the target oil storage tank. The visible light image may be an RGB image. The target oil storage tank images in the target oil storage tank image sequence may be shot at different times, and may be shot at the same angle and position.
[0060] As an example, this step may include the following steps:
[0061] The first step is to obtain the above target oil tank image sequence.
[0062] For example, the execution subject may obtain the target oil tank image sequence by wired connection or wireless connection. For example, the execution subject may obtain the target oil tank image sequence by image acquisition device. The image acquisition device may be a device for acquiring images of the target oil tank. For example, the image acquisition device may be a camera.
[0063] In the second step, stain correction processing is performed on each target oil storage tank image in the target oil storage tank image sequence, and a corrected image corresponding to the target oil storage tank image is determined to obtain a corrected image sequence.
[0064] For example, this step may include the following sub-steps:
[0065] In the first sub-step, each target oil storage tank image in the target oil storage tank image sequence is gray-scaled to determine the oil storage tank gray-scale image corresponding to the target oil storage tank image, thereby obtaining the oil storage tank gray-scale image sequence.
[0066] In the second sub-step, an image segmentation algorithm is used to segment each grayscale image of the oil storage tank in the grayscale image sequence of the oil storage tank, and a target image corresponding to the grayscale image of the oil storage tank is determined to obtain a target image sequence.
[0067] The above-mentioned image segmentation algorithm may be an algorithm for identifying and segmenting the target oil storage tank area from the grayscale image of the oil storage tank as the target image.
[0068] The third sub-step is to perform stain detection on each target image in the target image sequence, determine a stain region set corresponding to the target image, and obtain a stain region set sequence.
[0069] The stain region in the stain region set sequence may be an image region corresponding to the stain on the target oil storage tank.
[0070] For example, first, the execution subject may perform edge detection on each target image in the target image sequence by using a stain edge detection algorithm, determine the target region set corresponding to the target image, and obtain a target region set sequence. Then, the execution subject may filter out a target region that meets the stain screening condition from each target region set in the target region set sequence as a stain region, and obtain a stain region set sequence. The stain screening condition may be that the grayscale value of the pixel point in the target region corresponding to the pixel point on the target image is lower. Since the target region may be an area surrounded by stains or light, and the grayscale value of the area illuminated by sunlight is often higher than the grayscale value of the stain, the area with a higher grayscale value may be an illuminated area, and the area with a lower grayscale value may be a stain area.
[0071] The stain edge detection algorithm may be an edge detection algorithm for detecting stain edges.
[0072] For another example, first, the execution subject can determine the gradient value corresponding to each pixel point on the target image in the target image sequence through the Sobel operator, and normalize the gradient value to determine the gradient map corresponding to the target image to obtain a gradient map sequence. The normalization process can make the gradient value range in [0,1].
[0073] Next, the execution subject may perform region detection on each gradient map in the gradient map sequence, determine the target region set contained in the target image, and obtain a target region set sequence. The target region in the target region set sequence may be a region composed of pixels whose gradient values are greater than a gradient threshold. Since stains or illumination often cause changes in gradient values, the target region in the target region set sequence may be a region surrounded by stains or illumination. The gradient threshold may be a pre-set value. For example, for each gradient map in the gradient map sequence, first, the execution subject may traverse the gradient map through a 3×3 sliding window. When the eight neighborhoods of the current sliding window contain pixels whose gradient values are greater than the gradient threshold, the pixel is marked, and the current sliding window is slid so that the pixel is used as the center point of the current sliding window. The marked pixel points may not be marked repeatedly, and finally all the pixel points on the gradient map are traversed. Next, the marked pixel points obtained by each traversal of the current sliding window are connected to obtain a target region set.
[0074] Then, the execution subject may select a target area satisfying the stain screening condition from each target area set in the target area set sequence as the stain area, and obtain the stain area set sequence. The stain screening condition may be that the grayscale value of the pixel point in the target area corresponding to the pixel point on the target image is low. Since the target area may be an area surrounded by stains or light, and the grayscale value of the area illuminated by sunlight is often higher than the grayscale value of the stain, the area with a higher grayscale value may be the illuminated area, and the area with a lower grayscale value may be the stain area.
[0075] The fourth sub-step is to perform stain correction on each stain area in the stain area set sequence to obtain the corrected image sequence.
[0076] For example, for each target image in the target image sequence, the execution subject may repair the stain area in the stain area set on the target image by using PS technology to obtain a corrected image corresponding to the target image.
[0077] Step S3, performing light absorption processing on the corrected images in the corrected image sequence, determining the multi-scale entropy corresponding to each target position included outside the wall of the target oil storage tank, and obtaining a multi-scale entropy set.
[0078] In some embodiments, the execution entity may perform light absorption processing on the corrected images in the corrected image sequence to determine the multi-scale entropy corresponding to each target position outside the wall of the target oil storage tank to obtain a multi-scale entropy set.
[0079] The points corresponding to the above target positions can constitute the surface where the wall of the target oil storage tank is located. The target position can be represented by coordinates.
[0080] As an example, this step may include the following steps:
[0081] In the first step, each corrected image in the corrected image sequence is divided into a reflected image and an incident image.
[0082] For example, the execution subject may divide each corrected image in the corrected image sequence into a reflected image and an incident image according to the Retinex theory by using the following formula:
[0083] S(X,Y)=L(X,Y)·R(X,Y)
[0084] Among them, S(X,Y) is the corrected image. L(X,Y) is the incident image. R(X,Y) is the reflected image. (X,Y) can be the coordinates of the pixel points on the corresponding image.
[0085] The second step is to determine the absorption image corresponding to each corrected image in the corrected image sequence according to the reflected image and the incident image corresponding to each corrected image in the corrected image sequence, and obtain the absorption image sequence.
[0086] For example, the execution subject may determine the absorption image corresponding to each corrected image in the corrected image sequence according to the reflection image and the incident image corresponding to each corrected image by the following formula:
[0087] I(X,Y)=L(X,Y)-R(X,Y)
[0088] Where I(X,Y) is the absorption image corresponding to the corrected image. L(X,Y) is the incident image. R(X,Y) is the reflected image. (X,Y) can be the coordinates of the pixel on the corresponding image.
[0089] The pixel value corresponding to the pixel point on the absorption image can represent the amount of light absorbed by the target oil storage tank. The larger the pixel value corresponding to a pixel point on the absorption image, the more light the corresponding point of the pixel point on the target oil storage tank absorbs, and the faster the temperature rises.
[0090] The third step is to determine the multi-scale entropy corresponding to each target position outside the wall of the target oil storage tank according to the absorption image sequence.
[0091] For example, the execution subject may determine the multi-scale entropy corresponding to the target position corresponding to the pixel point with coordinates (X, Y) according to the pixel value corresponding to the pixel point with coordinates (X, Y) on each absorption image in the absorption image sequence.
[0092] Step S4, interpolating and determining the temperatures corresponding to the various target positions outside the wall of the target oil storage tank according to the first monitored temperature sequence and the multi-scale entropy set, to obtain a first updated temperature sequence.
[0093] In some embodiments, the execution entity may interpolate and determine the temperatures corresponding to the various target positions outside the wall of the target oil storage tank according to the first monitored temperature sequence and the multi-scale entropy set to obtain a first updated temperature sequence.
[0094] As an example, this step may include the following steps:
[0095] In the first step, according to the monitoring points corresponding to the first monitoring temperature in the first monitoring temperature sequence, the last frame of the corrected image in the corrected image sequence is square segmented to obtain a set of square regions.
[0096] The side length of the square area in the square area set may be a preset length. The small area corresponding to the monitoring point on the last frame of the corrected image in the above corrected image sequence may be at the center of the square area. The small area may be composed of multiple pixel points on the last frame of the corrected image in the corrected image sequence.
[0097] For example, Figure 3 As shown, the square grid can represent a square area. The solid dots in the square grid can represent the small area corresponding to the monitoring point on the last frame of the corrected image in the corrected image sequence.
[0098] In the second step, the first monitoring temperature in the first monitoring temperature sequence corresponding to the small area corresponding to the monitoring point included in each target square area in the target square area set is determined as the temperature corresponding to the target square area.
[0099] The target square area in the target square area set may be a square area in the square area set that does not meet the interpolation condition. The interpolation condition may be a small area in the square area that does not include the monitoring point.
[0100] The third step is to select the square areas satisfying the above interpolation conditions from the above square area set to obtain the set of square areas to be interpolated.
[0101] The above-mentioned set of square regions to be interpolated may include a first set of regions to be interpolated and a second set of regions to be interpolated. There may be no target square region in the horizontal direction or vertical direction where the second region to be interpolated in the above-mentioned first set of regions to be interpolated is located. There may be a target square region in the horizontal direction or vertical direction where the second region to be interpolated in the above-mentioned second set of regions to be interpolated is located.
[0102] For example, Figure 4 As shown, the square can represent a square area. The solid dots in the square can represent the small area corresponding to the monitoring point on the last frame of the corrected image in the above corrected image sequence. The square where the solid five-pointed star is located can represent the first area to be interpolated. The square where the solid four-pointed star is located can represent the second area to be interpolated.
[0103] In the fourth step, the temperature corresponding to the first area to be interpolated is determined by interpolation based on the center point of each first area to be interpolated in the first area to be interpolated set, the temperatures corresponding to the four target square areas included in the target square area set corresponding to the first area to be interpolated, and the multi-scale entropy set.
[0104] The four target square areas corresponding to the first area to be interpolated may be the four target square areas that are most adjacent to the first area to be interpolated.
[0105] For example, Figure 5 As shown, the square where 501 is located may be the first area to be interpolated. The squares where 502, 503, 504 and 505 are located may be target square areas. The squares where 502, 503, 504 and 505 corresponding to the square where 501 is located may be four target square areas corresponding to the first area to be interpolated.
[0106] The formula for determining the temperature corresponding to the first interpolation area by interpolation is:
[0107]
[0108] Among them, u i is the distance weight corresponding to the i-th target square area among the four target square areas included in the target square area set corresponding to the first area to be interpolated. i is the distance between the center point of the i-th target square area in the four target square areas included in the target square area set corresponding to the first area to be interpolated and the center point of the first area to be interpolated. i is the grayscale weight corresponding to the i-th target square area in the four target square areas included in the target square area set corresponding to the first area to be interpolated. iis the grayscale difference between the center point of the i-th target square area among the four target square areas included in the target square area set corresponding to the first area to be interpolated and the center point of the first area to be interpolated. i is the inverse tangent function value corresponding to the multi-scale entropy in the multi-scale entropy set corresponding to the center point of the i-th target square area in the four target square areas included in the target square area set corresponding to the first interpolation area. i is the multi-scale entropy in the multi-scale entropy set corresponding to the center point of the i-th target square area in the four target square areas included in the target square area set corresponding to the first interpolation area. i is the multi-scale entropy weight corresponding to the i-th target square area in the four target square areas included in the target square area set corresponding to the first interpolation area. i is the total weight corresponding to the i-th target square area in the four target square areas included in the target square area set corresponding to the first interpolation area. q is the temperature corresponding to the first interpolation area. i is the temperature corresponding to the i-th target square area among the four target square areas included in the target square area set corresponding to the first interpolation area. The larger the multi-scale entropy corresponding to the center point of the i-th target square area among the four target square areas included in the target square area set corresponding to the first interpolation area, the smaller the multi-scale entropy weight corresponding to the center point of the i-th target square area, and the smaller the influence on the temperature corresponding to the first interpolation area.
[0109] The fifth step is to interpolate and determine the temperature corresponding to the second area to be interpolated based on the center point of each second area to be interpolated in the second area to be interpolated set and the temperatures corresponding to the two target square areas included in the target square area set corresponding to the second area to be interpolated and the multi-scale entropy set.
[0110] The two target square areas corresponding to the second area to be interpolated may be two target square areas that are most adjacent to the second area to be interpolated in the horizontal or vertical direction.
[0111] For example, Figure 6 As shown, the square where 601 is located may be the second area to be interpolated. The squares where 602 and 603 are located may be target square areas. The squares where 602 and 603 corresponding to the square where 601 is located may be two target square areas corresponding to the second area to be interpolated.
[0112] The formula for determining the temperature corresponding to the second interpolation area by interpolation is:
[0113]
[0114] Among them, u j is the distance weight corresponding to the jth target square area in the two target square areas included in the target square area set corresponding to the second area to be interpolated. j is the distance between the center point of the jth target square area in the two target square areas included in the target square area set corresponding to the second area to be interpolated and the center point of the second area to be interpolated. j is the grayscale weight corresponding to the jth target square area in the two target square areas included in the target square area set corresponding to the second interpolation area. j is the grayscale difference between the center point of the jth target square area in the two target square areas included in the target square area set corresponding to the second area to be interpolated and the center point of the second area to be interpolated. j is the inverse tangent function value corresponding to the multi-scale entropy in the multi-scale entropy set corresponding to the center point of the j-th target square area in the two target square areas included in the target square area set corresponding to the second interpolation area. j is the multi-scale entropy in the multi-scale entropy set corresponding to the center point of the j-th target square area in the two target square areas included in the target square area set corresponding to the second interpolation area. j is the multi-scale entropy weight corresponding to the j-th target square area in the two target square areas included in the target square area set corresponding to the second interpolation area. j is the total weight corresponding to the jth target square area in the two target square areas included in the target square area set corresponding to the second area to be interpolated. Q is the temperature corresponding to the second area to be interpolated. Q j is the temperature corresponding to the j-th target square area among the two target square areas included in the target square area set corresponding to the second area to be interpolated.
[0115] The temperature corresponding to the center point of the square area is used as the temperature of each position in the square area, which reduces the amount of computer calculation and the waste of computer computing resources. Secondly, by selecting the adjacent target square area for interpolation, the accuracy of determining the temperature corresponding to the square area to be interpolated is improved.
[0116] Step S5: interpolate and determine a second updated temperature sequence corresponding to the inner wall of the target oil storage tank according to the second monitored temperature sequence.
[0117] In some embodiments, the execution entity may interpolate and determine a second updated temperature sequence corresponding to the wall of the target oil storage tank according to the second monitored temperature sequence.
[0118] Among them, the temperatures corresponding to various positions in the wall of the above-mentioned target oil storage tank can constitute the above-mentioned second updated temperature sequence.
[0119] As an example, this step may include the following steps:
[0120] In the first step, the inner area of the target oil storage tank wall is segmented to obtain a set of square areas within the wall.
[0121] The inner wall square area in the inner wall square area set may correspond to the square area in the square area set one by one. The area size of the outer wall of the target oil storage tank corresponding to the square area in the square area set may be the same as the area size of the inner wall square area corresponding to the square area.
[0122] For example, Figure 3 As shown, the square grid can also represent the square area in the wall. The solid dots in the square grid can also represent the monitoring points on the wall of the above-mentioned target oil storage tank.
[0123] In the second step, the second monitoring temperature in the second monitoring temperature sequence corresponding to the monitoring point included in each target inner wall square area in the target inner wall square area set is determined as the temperature corresponding to the target inner wall square area.
[0124] The target inner-wall square area in the target inner-wall square area set may be an inner-wall square area in the inner-wall square area set that does not meet the inner-wall interpolation condition. The inner-wall interpolation condition may be that the inner-wall square area does not include a monitoring point.
[0125] The third step is to select the square areas within the wall that meet the above-mentioned conditions for interpolation within the wall from the above-mentioned set of square areas within the wall, and obtain a set of inner wall areas to be interpolated.
[0126] The above-mentioned set of in-wall regions to be interpolated may include a first set of in-wall regions to be interpolated and a second set of in-wall regions to be interpolated. The horizontal direction or vertical direction of the first in-wall region to be interpolated in the above-mentioned first set of in-wall regions to be interpolated may not contain a target in-wall square region. The horizontal direction or vertical direction of the second in-wall region to be interpolated in the above-mentioned second set of in-wall regions to be interpolated may contain a target in-wall square region.
[0127] For example, Figure 4 As shown, the square grid can also represent the square area in the wall. The solid dots in the square grid can also represent the monitoring points on the wall of the above-mentioned target oil storage tank. The square grid where the solid five-pointed star is located can also represent the first wall area to be interpolated. The square grid where the solid four-pointed star is located can also represent the second wall area to be interpolated.
[0128] In the fourth step, based on the center point of each first intra-wall area to be interpolated in the above-mentioned first intra-wall area set and the temperatures corresponding to the four target intra-wall square areas in the above-mentioned target intra-wall square area set corresponding to the above-mentioned first intra-wall area to be interpolated, the second updated temperature in the above-mentioned second updated temperature sequence corresponding to the above-mentioned first intra-wall area to be interpolated is interpolated to determine.
[0129] The four target inner-wall square regions corresponding to the first inner-wall region to be interpolated may be the four target inner-wall square regions that are most adjacent to the first inner-wall region to be interpolated.
[0130] For example, Figure 5 As shown, the square where 501 is located can also be the first inner wall area to be interpolated. The squares where 502, 503, 504 and 505 are located can also be the target inner wall square area. The squares where 502, 503, 504 and 505 corresponding to the square where 501 is located can also be the four target inner wall square areas corresponding to the first inner wall area to be interpolated.
[0131] The formula for determining the second updated temperature in the second updated temperature sequence corresponding to the first to-be-interpolated wall inner region by interpolation is:
[0132]
[0133] Among them, u m is the distance weight corresponding to the mth target wall inner square area in the four target wall inner square areas in the target wall inner square area set corresponding to the first wall inner area to be interpolated. m is the distance between the center point of the first to-be-interpolated inner wall area and the center point of the mth target inner wall square area among the four target inner wall square areas in the target inner wall square area set corresponding to the first to-be-interpolated inner wall area. m is the height weight corresponding to the mth target wall square area in the four target wall square areas in the target wall square area set corresponding to the first wall area to be interpolated. m It is the distance from the center point of the first wall area to be interpolated to the bottom of the target oil storage tank wall. is the total weight corresponding to the mth target wall square area in the four target wall square areas in the target wall square area set corresponding to the first wall area to be interpolated. 0 is the second updated temperature in the second updated temperature sequence corresponding to the first inner wall area to be interpolated. m is the temperature corresponding to the mth target inner wall square area among the four target inner wall square areas in the target inner wall square area set corresponding to the first inner wall area to be interpolated.
[0134] The fifth step is to interpolate and determine the second updated temperature in the second updated temperature sequence corresponding to the second inner wall area to be interpolated based on the center point of each second inner wall area to be interpolated in the second inner wall area set and the temperatures corresponding to two target inner wall square areas in the target inner wall square area set corresponding to the second inner wall area to be interpolated.
[0135] The two target inner wall square regions corresponding to the second inner wall region to be interpolated may be two target inner wall square regions that are most adjacent to the second inner wall region to be interpolated in the horizontal or vertical direction.
[0136] For example, Figure 6 As shown, the square where 601 is located can also be the second inner wall area to be interpolated. The squares where 602 and 603 are located can also be the target inner wall square areas. The squares where 602 and 603 corresponding to the square where 601 is located can also be the two target inner wall square areas corresponding to the second inner wall area to be interpolated.
[0137] The formula for determining the second updated temperature in the second updated temperature sequence corresponding to the second to-be-interpolated wall inner region by interpolation is:
[0138]
[0139] Among them, u n is the distance weight corresponding to the nth target wall inner square area in the two target wall inner square areas in the target wall inner square area set corresponding to the second wall inner area to be interpolated. n is the distance between the center point of the second to-be-interpolated inner wall area and the center point of the nth target inner wall square area among the two target inner wall square areas in the target inner wall square area set corresponding to the second to-be-interpolated inner wall area. n is the height weight corresponding to the nth target wall inner square area in the two target wall inner square areas in the target wall inner square area set corresponding to the second wall inner area to be interpolated. n It is the distance from the center point of the second wall area to be interpolated to the bottom of the target oil storage tank wall. is the total weight corresponding to the nth target wall inner square area in the two target wall inner square areas in the target wall inner square area set corresponding to the second wall inner area to be interpolated. T is the second updated temperature in the second updated temperature sequence corresponding to the second wall inner area to be interpolated. T n is the temperature corresponding to the nth target inner wall square area among the two target inner wall square areas in the target inner wall square area set corresponding to the second inner wall area to be interpolated.
[0140] Since the heater is located at the bottom of the target oil storage tank, the oil temperature gradually decreases upwards. The closer to the bottom of the target oil storage tank, that is, the smaller the height from the bottom of the target oil storage tank, the higher the inner wall temperature. Taking this factor into consideration, the height from the bottom of the target oil storage tank is also used as part of the weight for temperature solution.
[0141] The temperature corresponding to the center point of the square area in the wall is used as the temperature of each position in the square area in the wall, which reduces the amount of computer calculation and the waste of computer computing resources. Secondly, by selecting the adjacent target square area in the wall for interpolation, the accuracy of determining the temperature corresponding to the wall area to be interpolated is improved.
[0142] Step S6, determining a target thickness corresponding to a target position of a target oil storage tank corresponding to the first update temperature according to each first update temperature in the first update temperature sequence and a second update temperature in the second update temperature sequence corresponding to the first update temperature, to obtain a target thickness set.
[0143] In some embodiments, the execution entity may determine the target thickness corresponding to the target position of the target oil storage tank corresponding to the first update temperature based on each first update temperature in the first update temperature sequence and the second update temperature in the second update temperature sequence corresponding to the first update temperature, and obtain a target thickness set.
[0144] Among them, each target thickness in the above target thickness set can be the thickness corresponding to each position on the side of the above target oil storage tank. Figure 7 As shown, the second updated temperature corresponding to the first updated temperature may be the temperature at 702 corresponding to the temperature at 701. 701 and 702 are at the same height, and the line connecting the points 701 and 702 is perpendicular to the height of the side of the target oil storage tank.
[0145] As an example, the formula for determining the target thickness corresponding to the target position of the target oil storage tank corresponding to the first updated temperature is:
[0146]
[0147] Wherein, x is the distance between the point on the line between the monitoring point corresponding to the target position of the target oil storage tank corresponding to the first updated temperature and the monitoring point corresponding to the second updated temperature in the second updated temperature sequence corresponding to the first updated temperature and the monitoring point corresponding to the first updated temperature. 0 is the second update temperature in the second update temperature sequence corresponding to the first update temperature. 1is the first update temperature. l is the target thickness corresponding to the target position of the target oil tank corresponding to the first update temperature. a and b are calibration parameters. t is the one-way time of the ultrasonic wave passing through the target thickness corresponding to the target position of the target oil tank corresponding to the first update temperature. t 3 is the round trip time of the ultrasonic wave passing through the target thickness corresponding to the target position of the target oil storage tank corresponding to the first updated temperature. 3 It can be the time difference of adjacent echo signals.
[0148] Since the thickness of the target oil storage tank wall is often very thin, the temperature change inside the tank wall can be approximated to be linear. The temperature change formula inside the tank wall can be shown as follows:
[0149]
[0150] Wherein, t(x) is the temperature at a distance x from the outer surface of the wall of the target oil storage tank. x is the distance between the point on the line between the monitoring point corresponding to the target position of the target oil storage tank corresponding to the first updated temperature and the monitoring point corresponding to the second updated temperature in the second updated temperature sequence corresponding to the first updated temperature and the monitoring point corresponding to the first updated temperature. t 0 is the second update temperature in the second update temperature sequence corresponding to the first update temperature. 1 is the first update temperature. l is the target thickness corresponding to the target position of the target oil storage tank corresponding to the first update temperature.
[0151] Since the propagation speed of ultrasound is often linearly related to temperature, the formula for this linear relationship can be shown as follows:
[0152] v(t)=at(x)+b
[0153] Where v(t) is the propagation velocity of ultrasound at temperature t(x). t(x) is the temperature at a distance x from the outer surface of the target oil tank. a and b are correction parameters. The values of a and b can be determined by the material of the target oil tank. By adding coupling agent to the target oil tank, the propagation of ultrasound can be achieved.
[0154] Step S7, determining the corrosion area of the target oil storage tank according to the target thickness set and the pre-acquired specification thickness of the target oil storage tank, and generating the corrosion status of the target oil storage tank.
[0155] In some embodiments, the execution entity may determine the corrosion area of the target oil storage tank and generate the corrosion status of the target oil storage tank according to the target thickness set and the pre-acquired specification thickness of the target oil storage tank.
[0156] The standard thickness may be the thickness of the target oil storage tank when it is not corroded. The corrosion area may be composed of points on the side of the target oil storage tank corresponding to a target thickness smaller than the standard thickness.
[0157] As an example, first, the execution subject may select the target thickness less than the specification thickness in the target thickness set as the corrosion thickness to obtain the corrosion thickness set. Then, the execution subject may perform regional growth according to the target position corresponding to each corrosion thickness in the corrosion thickness set to obtain the corrosion region of the target oil storage tank and generate the corrosion status of the target oil storage tank.
[0158] The above-mentioned various embodiments of the present disclosure have the following beneficial effects: through the temperature-interference-resistant ultrasonic detection method for oil tank corrosion of some embodiments of the present disclosure, the efficiency and accuracy of oil tank corrosion detection are improved. Specifically, the reasons for the low efficiency and accuracy of oil tank corrosion detection are: First, it often takes a long time to clean the inside of the oil tank, which often leads to low efficiency in detecting oil tank corrosion. Second, by manual means, it is often determined by manual subjective observation whether the oil tank is corroded. Since the determination of whether the oil tank is corroded is greatly affected by human subjective factors and lacks a unified determination standard, the judgment made is often inaccurate, which often leads to low accuracy of oil tank corrosion detection. Therefore, when using manual methods, first of all, it is often necessary to clean the inside of the oil tank, and then determine whether the oil tank is corroded, which often leads to low efficiency and accuracy of oil tank corrosion detection. Based on this, the temperature-interference-resistant ultrasonic detection method for corrosion of oil tanks in some embodiments of the present disclosure uses optical means, specifically visible light means, to analyze and test materials (oil tanks), thereby solving the problem of low efficiency and accuracy of corrosion detection of oil tanks and improving the efficiency and accuracy of corrosion detection of oil tanks. First, the temperature corresponding to the preset number of monitoring points included in the preset number of preset groups outside and inside the wall of the target oil tank is determined by a temperature measuring probe, and the first monitoring temperature sequence corresponding to the wall outside the target oil tank and the second monitoring temperature sequence corresponding to the wall inside the target oil tank are obtained. Since the temperature outside and inside the wall of the target oil tank often affects the speed at which the ultrasonic wave passes through the side of the target oil tank, it is necessary to determine the temperature outside and inside the wall of the target oil tank. Secondly, a target oil tank image sequence is obtained, and each target oil tank image in the target oil tank image sequence is subjected to stain correction processing, and the corrected image corresponding to the target oil tank image is determined to obtain a corrected image sequence. Next, the corrected image in the corrected image sequence is subjected to light absorption processing to determine the multiscale entropy corresponding to each target position included on the outside of the wall of the target oil storage tank, and obtain a multiscale entropy set. Since light often causes the outer wall of the target oil storage tank to heat up, by performing light absorption processing on the corrected image, the absorption of light by the target oil storage tank can be characterized by multiscale entropy, so that the influence of light on the temperature of the outer wall of the target oil storage tank can be obtained. Then, based on the first monitored temperature sequence and the multiscale entropy set, the temperature corresponding to each target position included on the outside of the wall of the target oil storage tank is determined by interpolation to obtain a first updated temperature sequence. Afterwards, based on the second monitored temperature sequence, the second updated temperature sequence corresponding to the inside of the wall of the target oil storage tank is determined by interpolation. Through interpolation, the temperature corresponding to each position inside and outside the wall of the target oil storage tank can be obtained.Then, according to each first update temperature in the first update temperature sequence and the second update temperature in the second update temperature sequence corresponding to the first update temperature, the target thickness corresponding to the target position of the target oil storage tank corresponding to the first update temperature is determined to obtain a target thickness set. Finally, according to the target thickness set and the pre-acquired specification thickness of the target oil storage tank, the corrosion area of the target oil storage tank is determined to generate the corrosion condition of the target oil storage tank. The target thickness corresponding to the target position of the target oil storage tank is quantified, and the thickness of each position on the side of the target oil storage tank is obtained to be more objective and accurate, and there is no need to clean the inside of the target oil storage tank, thereby improving the efficiency and accuracy of oil tank corrosion detection.
[0159] Based on the same inventive concept as the above-mentioned method embodiment, this embodiment provides an ultrasonic detection system for oil tank corrosion that is resistant to temperature interference. The system includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the above-mentioned computer program is executed by the processor, the steps of an ultrasonic detection method for oil tank corrosion that is resistant to temperature interference are implemented.
[0160] It should be noted that the above-mentioned sequence of the embodiments of the present disclosure is for description only and does not represent the advantages and disadvantages of the embodiments. The above-mentioned specific embodiments of this specification are described. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. 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.
[0161] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the above embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the above embodiments, or replace some of the technical features therein by equivalents. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A temperature-resistant ultrasonic detection method for oil tank corrosion, characterized in that: The following steps are involved: By using a temperature measuring probe, the temperatures corresponding to the preset number of monitoring points included in the preset number of preset groups outside and inside the wall of the target oil storage tank are determined respectively, and a first monitoring temperature sequence corresponding to the wall outside the target oil storage tank and a second monitoring temperature sequence corresponding to the wall inside the target oil storage tank are obtained respectively; Acquire a target oil storage tank image sequence, perform stain correction processing on each target oil storage tank image in the target oil storage tank image sequence, determine a corrected image corresponding to the target oil storage tank image, and obtain a corrected image sequence; Performing light absorption processing on the corrected images in the corrected image sequence, determining the multi-scale entropy corresponding to each target position included outside the wall of the target oil storage tank, and obtaining a multi-scale entropy set; According to the first monitored temperature sequence and the multi-scale entropy set, interpolation is performed to determine the temperature corresponding to each target position included outside the wall of the target oil storage tank, so as to obtain a first updated temperature sequence; According to the second monitored temperature sequence, interpolating and determining a second updated temperature sequence corresponding to the inner wall of the target oil storage tank; Determine, according to each first update temperature in the first update temperature sequence and the second update temperature in the second update temperature sequence corresponding to the first update temperature, a target thickness corresponding to the target position of the target oil storage tank corresponding to the first update temperature, to obtain a target thickness set; Determine the corrosion area of the target oil storage tank according to the target thickness set and the pre-acquired specification thickness of the target oil storage tank, and generate the corrosion status of the target oil storage tank; The performing light absorption processing on the corrected images in the corrected image sequence to determine the multi-scale entropy corresponding to each target position outside the wall of the target oil storage tank includes: splitting each corrected image in the corrected image sequence into a reflected image and an incident image; Determine the absorption image corresponding to each corrected image in the corrected image sequence according to the reflected image and the incident image corresponding to the corrected image, and obtain the absorption image sequence; Determine, according to the absorption image sequence, the multi-scale entropy corresponding to each target position included outside the wall of the target oil storage tank; The interpolation determines the temperature corresponding to each target position outside the wall of the target oil storage tank, including: According to the monitoring point corresponding to the first monitoring temperature in the first monitoring temperature sequence, the last frame of the corrected image in the corrected image sequence is subjected to square segmentation processing to obtain a set of square regions; Determine the first monitored temperature in the first monitored temperature sequence corresponding to the small area corresponding to the monitoring point included in each target square area in the target square area set as the temperature corresponding to the target square area, wherein the target square area in the target square area set is a square area in the square area set that does not meet the interpolation condition, and the interpolation condition is that the square area does not include the small area corresponding to the monitoring point; Filtering out square areas that meet the interpolation condition from the square area set to obtain a square area set to be interpolated, wherein the square area set to be interpolated includes a first area set to be interpolated and a second area set to be interpolated, and a target square area exists in the horizontal direction or the vertical direction where the second area to be interpolated in the second area set to be interpolated is located; Determine the temperature corresponding to the first area to be interpolated by interpolation according to the center point of each first area to be interpolated in the first area to be interpolated set, the temperatures corresponding to the four target square areas included in the target square area set corresponding to the first area to be interpolated, and the multi-scale entropy set; Determine the temperature corresponding to the second area to be interpolated by interpolation according to the center point of each second area to be interpolated in the second area to be interpolated set, the temperatures corresponding to the two target square areas included in the target square area set corresponding to the second area to be interpolated, and the multi-scale entropy set; The formula for determining the temperature corresponding to the first to-be-interpolated area by interpolation is: Among them, u i is the distance weight corresponding to the i-th target square area in the four target square areas included in the target square area set corresponding to the first to-be-interpolated area, d i is the distance between the center point of the i-th target square area in the four target square areas included in the target square area set corresponding to the first to-be-interpolated area and the center point of the first to-be-interpolated area, v i is the grayscale weight corresponding to the i-th target square area among the four target square areas included in the target square area set corresponding to the first to-be-interpolated area, f i is the grayscale difference between the center point of the i-th target square area in the four target square areas included in the target square area set corresponding to the first to-be-interpolated area and the center point of the first to-be-interpolated area, ε i is the inverse tangent function value corresponding to the multi-scale entropy in the multi-scale entropy set corresponding to the center point of the i-th target square area in the four target square areas included in the target square area set corresponding to the first interpolation area, δ i is the multi-scale entropy in the multi-scale entropy set corresponding to the center point of the i-th target square area in the four target square areas included in the target square area set corresponding to the first to-be-interpolated area, y i is the multi-scale entropy weight corresponding to the i-th target square area among the four target square areas included in the target square area set corresponding to the first to-be-interpolated area, w i is the total weight corresponding to the i-th target square area in the four target square areas included in the target square area set corresponding to the first to-be-interpolated area, q is the temperature corresponding to the first to-be-interpolated area, q i is the temperature corresponding to the i-th target square area among the four target square areas included in the target square area set corresponding to the first to-be-interpolated area; The formula for determining the temperature corresponding to the second to-be-interpolated area by interpolation is: Among them, u j is the distance weight corresponding to the jth target square area in the two target square areas included in the target square area set corresponding to the second to-be-interpolated area, d j is the distance between the center point of the jth target square area in the two target square areas included in the target square area set corresponding to the second area to be interpolated and the center point of the second area to be interpolated, v j is the grayscale weight corresponding to the jth target square area in the two target square areas included in the target square area set corresponding to the second to-be-interpolated area, f j is the grayscale difference between the center point of the jth target square area in the two target square areas included in the target square area set corresponding to the second area to be interpolated and the center point of the second area to be interpolated, ε j is the inverse tangent function value corresponding to the multi-scale entropy in the multi-scale entropy set corresponding to the center point of the j-th target square area in the two target square areas included in the target square area set corresponding to the second interpolation area, δ j is the multi-scale entropy in the multi-scale entropy set corresponding to the center point of the j-th target square area in the two target square areas included in the target square area set corresponding to the second to-be-interpolated area, y j is the multi-scale entropy weight corresponding to the j-th target square area in the two target square areas included in the target square area set corresponding to the second to-be-interpolated area, w j is the total weight corresponding to the jth target square area in the two target square areas included in the target square area set corresponding to the second area to be interpolated, Q is the temperature corresponding to the second area to be interpolated, and Q j is the temperature corresponding to the j-th target square area of the two target square areas included in the target square area set corresponding to the second area to be interpolated; The interpolation determines a second updated temperature sequence corresponding to the inner wall of the target oil storage tank, comprising: Segmenting the target oil storage tank wall inner region to obtain a wall inner square region set, wherein the wall inner square regions in the wall inner square region set correspond one to one with the square regions in the square region set; Determine the second monitoring temperature in the second monitoring temperature sequence corresponding to the monitoring point included in each target inner-wall square area in the target inner-wall square area set as the temperature corresponding to the target inner-wall square area, wherein the target inner-wall square area in the target inner-wall square area set is the inner-wall square area in the set of inner-wall square areas that does not meet the inner-wall interpolation condition, and the inner-wall interpolation condition is that the inner-wall square area does not include the monitoring point; Screening out the square inner wall areas that meet the inner wall interpolation condition from the inner wall square area set to obtain the inner wall area set to be interpolated, wherein the inner wall area set to be interpolated includes a first inner wall area set to be interpolated and a second inner wall area set to be interpolated, and a target inner wall square area exists in the horizontal direction or the vertical direction where the second inner wall area to be interpolated in the second inner wall area set to be interpolated is located; Determine, by interpolation, a second update temperature in the second update temperature sequence corresponding to the first inner wall area to be interpolated according to the center point of each first inner wall area to be interpolated in the first inner wall area set and the temperatures corresponding to four target inner wall square areas in the target inner wall square area set corresponding to the first inner wall area to be interpolated; Determine, by interpolation, a second update temperature in the second update temperature sequence corresponding to the second wall inner region to be interpolated according to the center point of each second wall inner region to be interpolated in the second wall inner region set and the temperatures corresponding to two target wall inner square regions in the target wall inner square region set corresponding to the second wall inner region to be interpolated; The formula for determining the second updated temperature in the second updated temperature sequence corresponding to the first to-be-interpolated wall inner area by interpolation is: Among them, u m is the distance weight corresponding to the mth target wall square area in the set of four target wall square areas corresponding to the first wall area to be interpolated, d m is the distance between the center point of the first to-be-interpolated inner wall area and the center point of the mth target inner wall square area among the four target inner wall square areas in the target inner wall square area set corresponding to the first to-be-interpolated inner wall area, m is the height weight corresponding to the mth target wall inner square area in the four target wall inner square areas in the target wall inner square area set corresponding to the first wall inner area to be interpolated, h m is the distance from the center point of the first to-be-interpolated wall region to the bottom of the target oil storage tank wall, is the total weight corresponding to the mth target wall inner square area in the four target wall inner square areas in the target wall inner square area set corresponding to the first wall inner area to be interpolated, T0 is the second updated temperature in the second updated temperature sequence corresponding to the first wall inner area to be interpolated, T m is the temperature corresponding to the mth target inner wall square area among the four target inner wall square areas in the target inner wall square area set corresponding to the first inner wall area to be interpolated; The formula for determining the second updated temperature in the second updated temperature sequence corresponding to the second to-be-interpolated wall inner area by interpolation is: Among them, u n is the distance weight corresponding to the nth target wall inner square area among the two target wall inner square areas in the target wall inner square area set corresponding to the second wall inner area to be interpolated, d n is the distance between the center point of the second to-be-interpolated inner wall area and the center point of the nth target inner wall square area among the two target inner wall square areas in the target inner wall square area set corresponding to the second to-be-interpolated inner wall area, n is the height weight corresponding to the nth target wall inner square area in the two target wall inner square areas in the target wall inner square area set corresponding to the second wall inner area to be interpolated, h n is the distance from the center point of the second to-be-interpolated wall region to the bottom of the target oil storage tank wall, is the total weight corresponding to the nth target wall inner square area in the two target wall inner square areas in the target wall inner square area set corresponding to the second wall inner area to be interpolated, T is the second updated temperature in the second updated temperature sequence corresponding to the second wall inner area to be interpolated, T n is the temperature corresponding to the nth target inner wall square area among the two target inner wall square areas in the target inner wall square area set corresponding to the second inner wall area to be interpolated; The formula for determining the target thickness corresponding to the target position of the target oil storage tank corresponding to the first updated temperature is: Among them, x is the distance between the point on the line between the monitoring point corresponding to the target position of the target oil storage tank corresponding to the first update temperature and the monitoring point corresponding to the second update temperature in the second update temperature sequence corresponding to the first update temperature to the monitoring point corresponding to the first update temperature, t0 is the second update temperature in the second update temperature sequence corresponding to the first update temperature, t1 is the first update temperature, l is the target thickness corresponding to the target position of the target oil storage tank corresponding to the first update temperature, a and b are correction parameters, t is the one-way time for the ultrasonic wave to pass through the target thickness corresponding to the target position of the target oil storage tank corresponding to the first update temperature, and t3 is the round-trip time for the ultrasonic wave to pass through the target thickness corresponding to the target position of the target oil storage tank corresponding to the first update temperature.
2. An ultrasonic detection system for oil tank corrosion resistant to temperature interference, characterized in that: It comprises a processor and a memory, wherein the processor is used to process instructions stored in the memory to implement the temperature-interference-resistant ultrasonic detection method for oil tank corrosion according to claim 1.
