Method, system and device for measuring volume of sacrificial anode and storage medium

By generating the reference coordinate system and converting the boundary coordinate information, calculating the current volume of the sacrificial anode, the problem of inaccurate measurement in the prior art is solved, and the rapid and accurate measurement effect is achieved, reducing safety risks and resource waste.

CN119826701APending Publication Date: 2025-04-15SUZHOU NUCLEAR POWER RES INST CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202510158776.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-13
Publication Date
2025-04-15

AI Technical Summary

Technical Problem

The prior art is difficult to measure the remaining dimensions of the sacrificed anode in industrial facilities in a convenient, fast and accurate manner, resulting in safety risks or waste of resources.

Method used

By acquiring the captured image of the sacrificial anode and the first boundary coordinate information, a reference coordinate system is generated, and the first boundary coordinate information is converted into the second boundary coordinate information, the volumes of each preset interval height interval are accumulated along the direction of the height coordinate axis to calculate the current volume of the sacrificial anode.

Benefits of technology

The rapid and accurate measurement of the remaining volume of the sacrificial anode is achieved, assisting the inspectors to determine whether its status meets the usage requirements, reducing safety risks and resource waste.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119826701A_ABST
    Figure CN119826701A_ABST
Patent Text Reader

Abstract

The invention provides a method, a system and a device for measuring the volume of a sacrificial anode and a storage medium, and relates to the field of metal anti-corrosion monitoring. The method for measuring the volume of the sacrificial anode comprises the steps that a shot image of the sacrificial anode and first boundary coordinate information are obtained, and the first boundary coordinate information comprises boundary coordinates of the sacrificial anode in a detector coordinate system; generating a reference coordinate system based on the shot image; converting the first boundary coordinate information into second boundary coordinate information, wherein the second boundary coordinate information comprises boundary coordinates of the sacrificial anode in the reference coordinate system; and based on the second boundary coordinate information, accumulating the corresponding volumes of the sacrificial anode in each preset interval height interval along the height coordinate axis direction to obtain the current volume of the sacrificial anode. According to the method for measuring the volume of the sacrificial anode, the residual volume of the sacrificial anode can be rapidly and accurately measured, evaluation of the residual size of the sacrificial anode is completed, and an inspector is assisted in judging whether the state of the sacrificial anode meets the use requirement or not.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of metal corrosion protection monitoring, and in particular to a method, system, device and storage medium for measuring the volume of a sacrificial anode. Background Art

[0002] Cathodic protection is an effective anti-corrosion technology that is achieved by turning the protected metal structure into the cathode in an electrochemical cell. The two common methods are sacrificial anode cathodic protection and impressed current cathodic protection. Among them, the sacrificial anode method is widely used in various industrial environments due to its simple operation, flexible design, and relatively low maintenance cost. Since the sacrificial anode will be consumed during the protection process, its size will continue to decrease, and the protection time it can provide will become shorter. Personnel need to check and evaluate regularly to ensure that its remaining amount can meet the use requirements of the next cycle.

[0003] At present, the assessment of the remaining size of sacrificial anodes mainly relies on the inspection personnel's visual inspection and judgment based on experience. The accuracy is not very high and there are large errors, which can easily cause safety risks or waste of resources. On the one hand, since there is a window period for equipment maintenance in many industrial environments, if the sacrificial anode is consumed in advance before it is replaced, the equipment will be in a state of lack of protection before the next maintenance window arrives, resulting in an increased risk of equipment corrosion; on the other hand, if the sacrificial anode is always replaced in advance when it still has protection capabilities, it will lead to a large waste of resources and an increase in costs, increasing the burden on the company.

[0004] Therefore, it is necessary to provide a method, system, device and storage medium for measuring the volume of a sacrificial anode to solve the above problems. Summary of the invention

[0005] The purpose of the present invention is to provide a method, system, device and storage medium for measuring the volume of sacrificial anodes, so as to improve the technical problem that existing measurement methods are difficult to conveniently, quickly and accurately measure the remaining size of sacrificial anodes in industrial facilities.

[0006] To achieve the above-mentioned object and other related objects, in a first aspect, the present invention provides a method for measuring the volume of a sacrificial anode, the method for measuring the volume of a sacrificial anode comprising the following steps:

[0007] Acquire a captured image of the sacrificial anode and first boundary coordinate information, where the first boundary coordinate information includes boundary coordinates of the sacrificial anode in a detector coordinate system;

[0008] A reference coordinate system is generated based on the captured image; in the reference coordinate system, the origin is located on the sacrificial anode mounting surface, the length coordinate axis and the width coordinate axis are located on the sacrificial anode mounting surface, and the height coordinate axis is perpendicular to the sacrificial anode mounting surface;

[0009] Converting the first boundary coordinate information into second boundary coordinate information, wherein the second boundary coordinate information includes boundary coordinates of the sacrificial anode in a reference coordinate system;

[0010] Based on the second boundary coordinate information, the corresponding volumes of the sacrificial anode in each preset interval height range are accumulated along the height coordinate axis direction to obtain the current volume of the sacrificial anode.

[0011] In a second aspect, the present invention provides a system for measuring the volume of a sacrificial anode, the system comprising:

[0012] An information acquisition module, which acquires a photographed image of the sacrificial anode and first boundary coordinate information, wherein the first boundary coordinate information includes boundary coordinates of the sacrificial anode in a detector coordinate system;

[0013] A reference coordinate system construction module generates a reference coordinate system based on the captured image; in the reference coordinate system, the origin is located on the sacrificial anode mounting surface, the length coordinate axis and the width coordinate axis are located on the sacrificial anode mounting surface, and the height coordinate axis is perpendicular to the sacrificial anode mounting surface;

[0014] A coordinate data conversion module, used to convert the first boundary coordinate information into second boundary coordinate information, where the second boundary coordinate information includes the boundary coordinates of the sacrificial anode in the reference coordinate system;

[0015] The volume calculation module accumulates the corresponding volumes of the sacrificial anode in each preset height interval along the height coordinate axis direction based on the second boundary coordinate information to obtain the current volume of the sacrificial anode.

[0016] In a third aspect, the present invention provides a device for measuring a sacrificial anode, the device comprising a camera, a detector and a computer device. The camera captures an image containing the sacrificial anode; the detector is arranged on the same side as the camera, and the detector is used to obtain the first boundary coordinate information of the sacrificial anode, the first boundary coordinate information including the boundary coordinates of the sacrificial anode in the detector coordinate system; the computer device is connected to the camera and the detector for communication, and is used to execute the steps of the above-mentioned method for measuring the volume of the sacrificial anode.

[0017] In a fourth aspect, the present invention provides a computer-readable storage medium storing a computer program, which implements the steps of the above-mentioned method for measuring the volume of a sacrificial anode when executed by a processor.

[0018] The above-mentioned sacrificial anode volume measurement method, system, device and storage medium use the captured image to form a reference coordinate system with the sacrificial anode installation surface as the reference plane, and then transform the first boundary coordinate information of the sacrificial anode obtained by detection into the second boundary coordinate information in the reference coordinate system, so as to facilitate the second boundary coordinate information to obtain the current volume of the sacrificial anode by layered calculation along the height coordinate axis direction. The sacrificial anode volume measurement method and device can quickly and accurately measure the remaining volume of the sacrificial anode, complete the evaluation of its remaining size, and assist the inspector in judging whether its status meets the use requirements. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] The features and advantages of the present invention will be more clearly understood by referring to the accompanying drawings, which are schematic and should not be construed as limiting the present invention in any way. In the accompanying drawings:

[0020] Figure 1 It is a schematic flow chart showing the steps of a method for measuring the volume of a sacrificial anode according to an embodiment of the present invention;

[0021] Figure 2 It is a schematic diagram of the process of step S2 in one embodiment of the present invention;

[0022] Figure 3 It is a schematic diagram of the process of step S4 in one embodiment of the present invention;

[0023] Figure 4 It is a schematic diagram of the process of step S42 in one embodiment of the present invention;

[0024] Figure 5 It is a schematic diagram of the process of step S5 in one embodiment of the present invention;

[0025] Figure 6 It is a front structural schematic diagram of a device for measuring the volume of a sacrificial anode according to an embodiment of the present invention;

[0026] Figure 7 It is a schematic diagram of the back structure of a device for measuring the volume of a sacrificial anode according to an embodiment of the present invention;

[0027] Figure 8 Shown is a schematic diagram of the structure of a computer device in a measuring device according to an embodiment of the present invention;

[0028] Fig. 9 Shown is a schematic diagram of the use of a measuring device in one embodiment of the present invention;

[0029] Fig.10 Shown is a schematic diagram of forming a sampling frame in a display screen in one embodiment of the present invention;

[0030] Fig.11Shown is a schematic diagram of adjusting the sampling frame size in one embodiment of the present invention;

[0031] Fig.12 Shown is a structural block diagram of a system for measuring the volume of a sacrificial anode according to an embodiment of the present invention.

[0032] Component number description:

[0033] 10. Measurement system; 11. Information acquisition module; 12. Reference coordinate system construction module; 13. Coordinate data conversion module; 14. Volume calculation module; 15. Sampling module;

[0034] 100, measuring device; 110, housing; 111, camera; 112, detector; 113, display; 120, handle; 121, switch; 122, sampling control unit; 1221, sampling frame generation button; 1222, sampling frame adjustment wheel; 123, data acquisition button; 124, data transmission interface;

[0035] 200, sacrificial anode; 300, sampling frame; a, control point; b, verification point. DETAILED DESCRIPTION

[0036] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0037] See also Figure 1-12 It should be noted that the illustrations provided in this embodiment are only used to illustrate the basic concept of the present invention in a schematic manner, and the drawings only show components related to the present invention rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed arbitrarily, and the component layout may also be more complicated.

[0038] See also Figure 1 and Fig. 9 The present invention provides a method and device for measuring the volume of a sacrificial anode, which is used to quickly and accurately measure the remaining volume of a sacrificial anode at an industrial facility site, complete the evaluation of its remaining size, and assist inspectors in determining whether its state meets the use requirements. The device for measuring the volume of a sacrificial anode uses a detector to obtain the first boundary coordinate information of the sacrificial anode in the detector coordinate system, and uses a camera to obtain a captured image of the sacrificial anode, and then executes the above-mentioned measurement method, uses the captured image to assist in processing the first boundary coordinate information, and thus calculates the current volume of the sacrificial anode.

[0039] See also Figure 1 , Figure 1 A schematic flow chart of a method for measuring the volume of a sacrificial anode provided in an embodiment of the present invention comprises the following steps:

[0040] S1. Acquire a captured image of a sacrificial anode and first boundary coordinate information, where the first boundary coordinate information includes boundary coordinates of the sacrificial anode in a detector coordinate system;

[0041] In step S1, the image of the sacrificial anode captured by the camera of the measuring device and the first boundary coordinate information of the sacrificial anode collected by the detector are obtained. The detector may be a laser radar, which emits laser light to the sacrificial anode and uses a photoelectric sensor array to receive reflected light signals, thereby generating the first boundary coordinate information of the sacrificial anode in the detector coordinate system, and the first boundary coordinate information includes the coordinate information of any point on the surface of the sacrificial anode in the detector coordinate system; wherein the detector coordinate system is a Cartesian coordinate system or a spherical coordinate system formed with the position of the detector as the origin, for example, the detector coordinate system may be a Cartesian coordinate system formed according to the spiral rule with the position of the detector as the origin, the origin as the starting point and the normal direction of the detector installation surface as a coordinate axis.

[0042] Next, executing step S2, generating a reference coordinate system based on the captured image; in the reference coordinate system, the origin is located on the sacrificial anode mounting surface, the length coordinate axis and the width coordinate axis are located on the sacrificial anode mounting surface, and the height coordinate axis is perpendicular to the sacrificial anode mounting surface;

[0043] Specific as Figure 2 , Fig.10 and Fig.11 As shown, in some embodiments, step S2 includes the following steps:

[0044] S21, generating a sampling area on the captured image, wherein the sampling area is formed on the captured image in the form of a sampling frame, and the sampling area needs to include all sacrificial anodes in the captured image, and the sampling area boundary (i.e., the sampling frame) needs to be located on the sacrificial anode mounting surface;

[0045] It should be noted that the shape of the sampling area formed on the captured image is not limited, and the shape of the sampling area (i.e., the sampling frame) can be selected according to the projection shape of the sacrificial anode on the mounting surface along the vertical direction, for example Fig.10 As shown, since the common initial sacrificial anode 200 is in the shape of a cuboid or a cylinder, the shape of the sampling area (ie, the sampling frame 300 ) is correspondingly rectangular or circular.

[0046] S22, taking a preset point on the sampling area boundary (i.e., the sampling frame) as the origin, and taking the origin as the starting point to generate a length coordinate axis, a width coordinate axis, and a height coordinate axis, to obtain a reference coordinate system; wherein, Fig.10 and Fig.11 As shown, the length coordinate axis and the width coordinate axis are located on the sacrificial anode mounting surface, and the height coordinate axis is perpendicular to the sacrificial anode mounting surface.

[0047] Next, step S3 is executed to convert the first boundary coordinate information into second boundary coordinate information, where the second boundary coordinate information includes the boundary coordinates of the sacrificial anode in the reference coordinate system.

[0048] In step 3, the first boundary coordinate information is converted into second boundary coordinate information, so that the second boundary coordinate information uses the sacrificial anode mounting surface as a reference plane with a height coordinate z of 0, so that the second boundary coordinate information can be used for layered volume calculation in subsequent steps, thereby obtaining the current volume of the sacrificial anode with a small amount of computing resources, which is convenient for application in small-volume handheld measuring devices.

[0049] Next, step S4 is performed to accumulate the corresponding volumes of the sacrificial anode in each preset height interval along the height coordinate axis direction based on the second boundary coordinate information to obtain the current volume of the sacrificial anode.

[0050] Specifically, since the reference coordinate system referred to by the second boundary coordinate information takes the sacrificial anode mounting surface as the reference surface, the height coordinate in the second boundary coordinate information matches the boundary height of the sacrificial anode surface. Therefore, step S4 calculates the second boundary coordinate information in layers according to the preset interval height intervals along the height coordinate axis direction to obtain the corresponding volume of the sacrificial anode in each preset interval height interval, and accumulates the corresponding volume of each preset interval height interval, that is, the current volume of the sacrificial anode can be quickly and accurately obtained with a small amount of computing resources.

[0051] like Figure 3 As shown, in some embodiments, step S4 includes the following steps:

[0052] S41, along the height coordinate axis direction, dividing the second boundary coordinate information into a plurality of groups of sub-boundary coordinate information corresponding to preset interval heights; the sub-boundary coordinate information includes a length coordinate and a width coordinate, and the sub-boundary coordinate information may include a height coordinate, wherein when the sub-boundary coordinate information includes a height coordinate, the height coordinates in the same group of sub-boundary coordinate information are the same and represent group information of the sub-boundary coordinate information;

[0053] In some embodiments, in step S41, along the height coordinate axis direction, the second boundary coordinate information is classified with the approximate unit height as the preset interval height, and the second boundary coordinate information belonging to the same interval height interval is classified into one category, and the length coordinate x and width coordinate y of the same type of second boundary coordinate information are retained, so as to obtain multiple groups of sub-boundary coordinate information corresponding to each interval height interval. Specifically, along the height coordinate axis direction, starting from the sacrificial anode mounting surface (z=0), the second boundary coordinate information is divided into N groups according to the approximate unit height coordinate, where the interval height intervals corresponding to the i-th group are: when i=1, the interval height interval is z i ∈[0,i+0.4]; when 2≤i≤N, the interval height interval z i ∈[i-0.5,i+0.4].

[0054] That is, for any coordinate (x, y, z) in the second boundary coordinate information, the z value is a positive integer starting from 1. When the obtained z value is less than 1, it is taken as 1, and when the obtained z value is greater than 1, it is converted into a positive integer according to the principle of rounding; finally, points with the same z value are classified into one category, and then multiple groups of sub-boundary coordinate information corresponding to the preset interval height range can be obtained.

[0055] S42, for each group of sub-boundary coordinate information, using a Gaussian polygon area algorithm to calculate the corresponding volume of the sacrificial anode in the corresponding preset interval height interval;

[0056] In step S42, the Gaussian polygon area algorithm is used to calculate the volume V corresponding to the preset interval height interval of each group of sub-boundary coordinate information. i , in order to realize the layered calculation of the volume of the sacrificial anode. Figure 4 As shown, in some embodiments, in step S2, the volume of the sacrificial anode in the corresponding preset interval height interval is calculated using a Gaussian polygon area algorithm, including the following steps:

[0057] S421, sorting the sub-boundary coordinate information in a clockwise direction or a counterclockwise direction in the reference coordinate system;

[0058] Specifically, for the first group of interval height intervals, that is, all coordinate points in the sub-boundary coordinate information with a z value of 1 are sorted as follows:

[0059] (x 1,1 ,y 1,1 ),(x 1,2 ,y 1,2 )……(x 1,n1 ,y 1,n1 ),

[0060] For the second group of interval height intervals, that is, all coordinate points in the sub-boundary coordinate information with a z value of 2 are sorted as follows:

[0061] (x 2,1 ,y 1,1 ),(x 2,2 ,y 2,2 )……(x 2,n2 ,y 2,n2 ),

[0062] Similarly, for the Nth group of interval height intervals, that is, all coordinate points in the sub-boundary coordinate information with z value N are sorted as follows:

[0063] (x N,1 ,y N,1 ),(x N,2 ,y N,2 )……(x N,nN ,y N,nN ).

[0064] S422, substituting the sorted sub-boundary coordinate information into the Gaussian polygon area formula to obtain the average cross-sectional area of ​​the sacrificial anode in the corresponding preset interval height interval;

[0065] Specifically, for the i-th group of sub-boundary coordinate information (corresponding to the i-th preset interval height interval of the sacrificial anode), the sorted sub-boundary coordinate information is substituted into the Gaussian polygon area formula to obtain the average cross-sectional area S of the sacrificial anode in the i-th preset interval height interval. i .

[0066] Substituting the sub-boundary coordinate information into the Gaussian polygon area formula can be expressed as:

[0067]

[0068] Among them, x i,ni+1 =x i,1 ,y i,ni+1 =y i,1 .

[0069] S423, calculating the product of the average cross-sectional area and the corresponding preset interval height to obtain the corresponding volume of the sacrificial anode in the preset interval height range.

[0070] Specifically, for the i-th preset interval height interval of the sacrificial anode, the average cross-sectional area S in the preset interval height interval is i The preset interval height △z i The product of is the corresponding volume V i ; Corresponding volume V i It is expressed as:

[0071] Vi =S i Δz i

[0072] In one example, the preset interval height is a unit height, and the corresponding volume V of the sacrificial anode in the i-th preset interval height interval is i The average cross-sectional area S i The same as above, without the need to perform the calculation in step S423, the corresponding volume V of the sacrificial anode in the i-th preset interval height interval i It can be expressed as:

[0073]

[0074] Among them, x i,ni+1 =x i,1 ,y i,ni+1 =y i,1 .

[0075] S43, accumulating the corresponding volumes of the sacrificial anode in each preset height interval to obtain the current volume of the sacrificial anode.

[0076] In step S43, the corresponding volumes V of the sacrificial anodes in each preset height interval are accumulated. i , the current volume V of the sacrificial anode can be obtained, where the current volume V is expressed as

[0077] In addition, if Figure 5 As shown, in some embodiments, the measurement method further includes step S5, i.e., a step of evaluating the use status of the sacrificial anode based on measuring the current volume of the sacrificial anode, and step S5 includes the following steps:

[0078] S51, obtaining the initial volume of the sacrificial anode;

[0079] S52: Obtain consumed volume information and remaining volume information of the sacrificial anode according to the initial volume and current volume of the sacrificial anode.

[0080] In step S52, by comparing the current volume V of the sacrificial anode with the initial volume V o , you can get the remaining volume information and consumed volume information of the sacrificial anode, such as the remaining volume ratio V / V o and consumption volume ratio (V o -V) / V o .

[0081] It should be understood that the order of execution of the steps in the above embodiment does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present invention.

[0082] like Figures 6 to 8 As shown, the present invention also provides a measuring device 100 for a sacrificial anode, and a worker can hold the measuring device 100 to measure the current volume of a sacrificial anode 200 in an industrial facility site, and then quickly determine whether its state meets the use requirements. The measuring device 100 includes a camera 111, a detector 112, and a computer device. The camera 111 is used to capture an image containing the sacrificial anode 200. The detector 112 is arranged on the same side as the camera 111, and the detector 112 is used to obtain the first boundary coordinate information of the sacrificial anode 200. The detector 112 can be a laser radar, and the detector 112 emits a laser to the sacrificial anode 200 and uses a photoelectric sensor array to receive the reflected light signal, thereby generating the first boundary coordinate information of the sacrificial anode 200 in the coordinate system of the detector 112, and the first boundary coordinate information includes the coordinate information of any point on the surface of the sacrificial anode 200 in the coordinate system of the detector 112.

[0083] The computer device includes a processor and a memory connected through a system bus. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The computer device is connected to the camera 111 and the detector 112 in communication, and the computer device receives the captured image and the first boundary coordinate information through the memory; the computer device executes the method for measuring the volume of the sacrificial anode 200 in any of the above embodiments through the processor to obtain the current volume of the sacrificial anode 200 based on the captured image and the first boundary coordinate information.

[0084] like Figure 6 and Figure 7 As shown, the measuring device 100 includes a handle 120 and a housing 110, and the handle 120 is fixedly connected to the housing 110. A display 113 is provided on one side of the housing 110, and a camera 111 and a detector 112 are provided on the other side of the housing 110. The display 113 is communicatively connected with the camera 111, and the display 113 is used to display the captured image. The display 113 can also input relevant information in response to user operations, such as the model, shape, initial volume data, etc. of the sacrificial anode 200.

[0085] The handle 120 is provided with a switch 121, a sampling control unit 122 and a data acquisition button 123. The switch 121 is used to control the state of the switch 121 of the measuring device 100. The data acquisition button 123 is used to control the start and stop of data acquisition of the measuring device 100. For example, when the data acquisition button 123 is pressed, the measuring device 100 starts data acquisition, and when the data acquisition button 123 is released, the measuring device 100 stops data acquisition. The sampling control unit 122 includes a sampling frame generation button 1221 and a sampling frame adjustment roller 1222. The sampling frame generation button 1221 is used to generate a corresponding generation instruction in response to a user operation. The generation instruction is used to instruct the computer device to form a sampling frame 300 on the captured image displayed on the display 113. The area surrounded by the sampling frame 300 is the sampling area. With the sampling frame 300 as the boundary, the computer device only needs to pay attention to the data within the sampling frame 300 when executing the measurement method, and ignores the data outside the sampling frame 300; at the same time, the generation instruction can also instruct to select the shape of the sampling frame 300, for example Fig.10 The shape of the sampling frame 300 can be rectangular or circular. Fig.12 As shown, the sampling frame adjustment wheel 1222 is used to generate corresponding adjustment instructions in response to user operations, and the adjustment instructions are used to instruct the computer device to adjust the size of the sampling area to ensure that the sampling frame 300 can include all the sacrificial anodes 200 in the captured image.

[0086] And, if Fig.10 As shown, the sampling frame 300 generated in the camera image has three control points a and one verification point b, wherein a preset point in the control point a is the origin of the reference coordinate system switched from the detector 112 coordinate system, such as the upper left corner control point a in the rectangular sampling frame 300 is set as the origin of the reference coordinate system, and the top control point a in the circular sampling frame 300 is set as the origin of the reference coordinate system; the verification point b is used to check whether the surface determined by the three control points coincides with the installation surface of the sacrificial anode 200.

[0087] In addition, if Figure 6 As shown, in some embodiments, the handle 120 is also provided with a data transmission interface 124, which is used to export data generated by the measuring device 100 or upload information required by the measuring device 100, and the data transmission interface 124 also has a charging function.

[0088] like Fig. 9As shown, when the above-mentioned measuring device 100 is in use, the staff can select and enter the data such as the model specification, shape and initial volume of the sacrificial anode 200 to be measured on the display 113 of the measuring device 100, and then use the sampling frame generation button 1221 to form a corresponding sampling frame 300 on the display 113 according to the projection shape of the sacrificial anode 200 to be measured on the installation surface along the vertical direction, and then adjust the size of the sampling frame 300 through the sampling frame adjustment roller 1222, so that the sampling frame 300 can include all the sacrificial anodes 200 in the captured image, and finally press the data acquisition button 123 to drive the detector 112 in the measuring device 100 to collect data, and drive the computer device in the measuring device 100 to execute the measurement method, calculate and obtain the current volume of the sacrificial anode 200 based on the first boundary coordinate information, and compare the current volume with the initial volume to obtain the consumption degree of the sacrificial anode 200.

[0089] In some embodiments, the present invention provides a system for measuring the volume of a sacrificial anode, and the system for measuring the volume of a sacrificial anode corresponds one-to-one to the method for measuring the volume of a sacrificial anode in the above embodiments.

[0090] like Fig.12 As shown, the sacrificial anode volume measurement system 10 includes an information acquisition module 11, a reference coordinate system construction module 12, a coordinate data conversion module 13 and a volume calculation module 14. The functional modules are described in detail as follows:

[0091] An information acquisition module 11 is configured to acquire a captured image of a sacrificial anode and first boundary coordinate information, wherein the first boundary coordinate information includes boundary coordinates of the sacrificial anode in a detector coordinate system;

[0092] A reference coordinate system construction module 12 generates a reference coordinate system based on the captured image; in the reference coordinate system, the origin is located on the sacrificial anode mounting surface, the length coordinate axis and the width coordinate axis are located on the sacrificial anode mounting surface, and the height coordinate axis is perpendicular to the sacrificial anode mounting surface;

[0093] A coordinate data conversion module 13, configured to convert the first boundary coordinate information into second boundary coordinate information, wherein the second boundary coordinate information includes boundary coordinates of the sacrificial anode in the reference coordinate system;

[0094] The volume calculation module 14 accumulates the corresponding volumes of the sacrificial anode in each preset height interval along the height coordinate axis direction based on the second boundary coordinate information to obtain the current volume of the sacrificial anode.

[0095] In some embodiments, the sacrificial anode volume measurement system 10 also includes a sampling module 15, which is used to form a sampling area on the captured image in response to a generation instruction, wherein the boundaries of the sampling area are all located on the sacrificial anode mounting surface, and the sampling area contains the sacrificial anode to be measured; the reference coordinate system construction module 12 uses a point on the boundary of the sampling area as the origin, and generates a length coordinate axis, a width coordinate axis and a height coordinate axis with the origin as the starting point to obtain a reference coordinate system.

[0096] In some embodiments, the reference coordinate system construction module 12 is used to:

[0097] Generating a sampling area on the captured image, wherein the boundaries of the sampling area are all located on the sacrificial anode mounting surface, and the sampling area includes the sacrificial anode;

[0098] A point on the boundary of the sampling area is taken as the origin, and a length coordinate axis, a width coordinate axis and a height coordinate axis are generated with the origin as the starting point to obtain a reference coordinate system; wherein the length coordinate axis and the width coordinate axis are located on the sacrificial anode mounting surface, and the height coordinate axis is perpendicular to the sacrificial anode mounting surface.

[0099] In some embodiments, the volume calculation module 14 is used to:

[0100] Along the height coordinate axis direction, dividing the second boundary coordinate information into a plurality of groups of sub-boundary coordinate information corresponding to preset interval heights;

[0101] For each set of sub-boundary coordinate information, a Gaussian polygon area algorithm is used to calculate the corresponding volume of the sacrificial anode in the corresponding preset interval height interval;

[0102] The corresponding volumes of the sacrificial anode in each preset height interval are accumulated to obtain the current volume of the sacrificial anode.

[0103] In some embodiments, the volume calculation module 14 is used to:

[0104] sorting the sub-boundary coordinate information in a clockwise direction or a counterclockwise direction in the reference coordinate system;

[0105] Substituting the sorted sub-boundary coordinate information into the Gaussian polygon area formula to obtain the average cross-sectional area of ​​the sacrificial anode in the corresponding preset interval height interval;

[0106] The average cross-sectional area is multiplied by the corresponding preset interval height to obtain the corresponding volume of the sacrificial anode in the preset interval height range.

[0107] The specific definition of the sacrificial anode volume measurement system 10 can refer to the definition of the sacrificial anode volume measurement method mentioned above, which will not be repeated here. Each module in the above-mentioned sacrificial anode volume measurement system 10 can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0108] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:

[0109] Acquire a captured image and first boundary coordinate information of the sacrificial anode, wherein the first boundary coordinate information includes boundary coordinates of the sacrificial anode in a detector coordinate system;

[0110] Generate a reference coordinate system based on the captured image; in the reference coordinate system, the origin is located on the sacrificial anode mounting surface, the length coordinate axis and the width coordinate axis are located on the sacrificial anode mounting surface, and the height coordinate axis is perpendicular to the sacrificial anode mounting surface;

[0111] converting the first boundary coordinate information into second boundary coordinate information, wherein the second boundary coordinate information includes boundary coordinates of the sacrificial anode in the reference coordinate system;

[0112] Based on the second boundary coordinate information, the corresponding volumes of the sacrificial anode in each preset height interval are accumulated along the height coordinate axis direction to obtain the current volume of the sacrificial anode.

[0113] It should be noted that the above functions or steps that can be implemented by the computer-readable storage medium or computer device can refer to the relevant descriptions on the server side and the client side in the aforementioned method embodiment. To avoid repetition, they will not be described one by one here.

[0114] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in the present application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink), DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0115] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.

[0116] The embodiments described above are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such 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 invention, and should all be included in the protection scope of the present invention.

Claims

1. A method for measuring the volume of a sacrificial anode, characterized in that: include: Acquire a captured image and first boundary coordinate information of the sacrificial anode, wherein the first boundary coordinate information includes boundary coordinates of the sacrificial anode in a detector coordinate system; Generate a reference coordinate system based on the captured image; in the reference coordinate system, the origin is located on the sacrificial anode mounting surface, the length coordinate axis and the width coordinate axis are located on the sacrificial anode mounting surface, and the height coordinate axis is perpendicular to the sacrificial anode mounting surface; converting the first boundary coordinate information into second boundary coordinate information, wherein the second boundary coordinate information includes boundary coordinates of the sacrificial anode in the reference coordinate system; Based on the second boundary coordinate information, the corresponding volumes of the sacrificial anode in each preset height interval are accumulated along the height coordinate axis direction to obtain the current volume of the sacrificial anode.

2. The measuring method according to claim 1, characterized in that: Generating a reference coordinate system based on the captured image includes: Generating a sampling area on the captured image, wherein the boundaries of the sampling area are all located on the sacrificial anode mounting surface, and the sampling area includes the sacrificial anode; A point on the boundary of the sampling area is taken as the origin, and a length coordinate axis, a width coordinate axis and a height coordinate axis are generated with the origin as the starting point to obtain a reference coordinate system; wherein the length coordinate axis and the width coordinate axis are located on the sacrificial anode mounting surface, and the height coordinate axis is perpendicular to the sacrificial anode mounting surface.

3. The measuring method according to claim 1, characterized in that: Based on the second boundary coordinate information, accumulating the corresponding volume of the sacrificial anode in each preset interval height interval along the height coordinate axis direction to obtain the current volume of the sacrificial anode, including: Along the height coordinate axis direction, the second boundary coordinate information is divided into a plurality of groups of sub-boundary coordinate information according to preset interval heights; the sub-boundary coordinate information includes a length coordinate and a width coordinate; For each set of sub-boundary coordinate information, a Gaussian polygon area algorithm is used to calculate the corresponding volume of the sacrificial anode in the corresponding preset interval height interval; The corresponding volumes of the sacrificial anode in each preset height interval are accumulated to obtain the current volume of the sacrificial anode.

4. The measuring method according to claim 3, characterized in that: The corresponding volume of the sacrificial anode in the corresponding preset interval height interval is calculated using a Gaussian polygon area algorithm, including: sorting the sub-boundary coordinate information in a clockwise direction or a counterclockwise direction in the reference coordinate system; Substituting the sorted sub-boundary coordinate information into the Gaussian polygon area formula to obtain the average cross-sectional area of ​​the sacrificial anode in the corresponding preset interval height interval; The average cross-sectional area is multiplied by the corresponding preset interval height to obtain the corresponding volume of the sacrificial anode in the preset interval height range.

5. The measuring method according to claim 1, characterized in that: Also includes: Obtaining the initial volume of the sacrificial anode; According to the initial volume and the current volume of the sacrificial anode, the consumed volume information and the remaining volume information of the sacrificial anode are obtained.

6. A sacrificial anode volume measurement system, characterized in that: include: An information acquisition module, which acquires a photographed image of the sacrificial anode and first boundary coordinate information, wherein the first boundary coordinate information includes boundary coordinates of the sacrificial anode in a detector coordinate system; A reference coordinate system construction module, which generates a reference coordinate system based on the captured image; in the reference coordinate system, the origin is located on the sacrificial anode mounting surface, the length coordinate axis and the width coordinate axis are located on the sacrificial anode mounting surface, and the height coordinate axis is perpendicular to the sacrificial anode mounting surface; A coordinate data conversion module, used to convert the first boundary coordinate information into second boundary coordinate information, wherein the second boundary coordinate information includes the boundary coordinates of the sacrificial anode in the reference coordinate system; The volume calculation module accumulates the corresponding volumes of the sacrificial anode in each preset height interval along the height coordinate axis direction based on the second boundary coordinate information to obtain the current volume of the sacrificial anode.

7. The measuring system according to claim 6, characterized in that It also includes a sampling module, which is used to respond to the generation instruction to form a sampling area on the captured image, the boundaries of the sampling area are all located on the sacrificial anode mounting surface, and the sampling area contains the sacrificial anode to be measured; the reference coordinate system construction module uses a point on the boundary of the sampling area as the origin, and generates a length coordinate axis, a width coordinate axis and a height coordinate axis with the origin as the starting point to obtain a reference coordinate system.

8. A sacrificial anode measuring device, characterized in that: include: A camera that captures an image containing the sacrificial anode; A detector, which is arranged on the same side as the camera, and is used to obtain first boundary coordinate information of the sacrificial anode, wherein the first boundary coordinate information includes boundary coordinates of the sacrificial anode in the detector coordinate system; A computer device is communicatively connected to the camera and the detector and is used to execute the measurement method according to any one of claims 1 to 5.

9. The measuring device according to claim 8 further includes a handle and a shell, a display is arranged on the shell, the camera and the detector are arranged on one side of the shell, and the display is arranged on the other side of the shell; the display is used to display the captured image; the handle is fixedly connected to the shell, and a sampling control unit is also arranged on the handle, the sampling control unit is used to respond to user triggers and generate corresponding generation instructions and adjustment instructions, the generation instructions are used to instruct the computer device to form a sampling area on the captured image displayed on the display, and the adjustment instructions are used to instruct the computer device to adjust the size of the sampling area.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the measurement method according to any one of claims 1 to 5 are implemented.

Citation Information

Cited By

  • Method, system and apparatus for measuring volume of sacrificial anode, and storage medium

    WO2026170676A1