Underwater cleaning method and system for ship
Through the detection and planning technology of the ship's underwater cleaning system, virtual hull models and maps are generated, and cleaning paths are formulated, which solves the problem of incomplete cleaning in the existing technology and achieves efficient hull cleaning.
Patent Information
- Application Number
- CN202410830171.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-25
- Publication Date
- 2024-09-13
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing technology cannot accurately know the actual situation of attachments everywhere on the ship's hull, resulting in inappropriate cleaning paths, resulting in incomplete cleaning that requires rework, and low efficiency.
A ship underwater cleaning system including a control device, a detection device and a cleaning device is used to extract contour and attachment information through detection data, generate a virtual hull model and map, formulate a cleaning planning path, and judge the cleanliness based on the images before and after cleaning. Wash twice to ensure cleanliness.
It improves the cleaning efficiency, ensures that attachments in all areas of the hull are completely removed, avoids rework, and ensures the cleaning effect.
Smart Images

Figure CN118637034A
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of cleaning equipment, and in particular relates to a method and system for underwater cleaning of a ship. Background Art
[0002] There are many kinds of organisms living in the ocean. Any object that comes into contact with seawater, such as underwater pipelines, oil platform jackets, buoys, embankments, ships and other equipment, will be in contact with seawater for a long time. Even if the surface is coated with anti-fouling paint (toxic substances released by toxic anti-corrosion paint will affect the safety of the entire ecosystem through the food chain), marine organisms will still be attached to the surface of the equipment after a period of time. There are about 4,000-5,000 kinds of fouling organisms in the ocean, and 50-100 common ones are mainly barnacles, shellfish, polychaetes, bryozoans, coelenterates, algae, etc. Especially for ships, large areas of marine organisms attached to the surface of the equipment pose a serious threat to the safe operation of the facilities.
[0003] For ocean vessels, marine organisms attached to the surface of the ship will increase the ship's navigation resistance. The main reason is that the attached organisms change the streamlined shape of the hull and increase the weight of the hull. Secondly, the attached organisms will destroy the anti-corrosion coating on the surface of the attached object, causing the anti-fouling paint on the surface of the ship to fall off, exposing the metal of the attached surface and being corroded by seawater, causing danger. In addition, marine aquatic organisms will block underwater facilities, reduce the operating efficiency of equipment, and even cause danger.
[0004] At present, the main method for removing marine organisms attached to the surface of ships is to use manual cleaning after landing. The equipment needs to occupy the dry dock when it is landed, which leads to very high cleaning costs. The ship cleaning takes a long time, resulting in long equipment downtime, making the overall cleaning cost high. In addition, the method of manually removing the attachments on the surface of the equipment has the disadvantages of high cost, low efficiency, poor effect, and damage to the coating. The underwater cleaning method can avoid docking, thereby saving costs, but the existing underwater cleaning equipment is mainly a friction cleaning machine, which uses physical action to scrape the pollutants. Its disadvantages include large equipment, high equipment cost, high operation intensity, low efficiency, poor cleaning effect on hard marine organisms, and easy scratching of the coating; while the use of cleaning machines When people and other automated cleaning equipment are used to clean ships, there is a problem of being unable to accurately know the actual situation of attachments on various parts of the hull and formulate a suitable cleaning path based on the actual situation, resulting in incomplete cleaning and the need for rework, which in turn leads to low cleaning efficiency. Summary of the invention
[0005] The purpose of the present invention is to provide a method and system for underwater cleaning of a ship, aiming to solve the problem in the prior art that it is impossible to accurately know the actual situation of attachments on various parts of the hull and formulate a suitable cleaning path according to the actual situation, resulting in incomplete cleaning and the need for rework, which in turn leads to low cleaning efficiency.
[0006] To achieve the above-mentioned object, an embodiment of the present invention provides a method for underwater cleaning of a ship, the method being applied to an underwater cleaning system of a ship, the underwater cleaning system of the ship comprising a control device, a cleaning device and a detection device, the cleaning device and the detection device being both communicatively connected to the control device, the method comprising: Step S100: acquiring an initial detection data set generated by detecting the hull by the detection device, and performing feature extraction on the initial detection data set to generate a contour information set and an attachment information set; Step S200: generating a virtual hull model based on preset hull parameter information according to the contour information set, generating marking information according to the attachment information set, and generating a virtual hull map according to the marking information and the virtual hull model; Step S300: generating a cleaning planning path according to the virtual hull map so that the cleaning device cleans the hull according to the cleaning planning path, acquiring a pre-cleaning image and a post-cleaning image, and generating a hull cleanliness degree according to the pre-cleaning image and the post-cleaning image; Step S400: determining whether the cleanliness of the hull is less than a preset first cleanliness; if so, generating a secondary cleaning path according to the cleanliness of the hull and sending it to the cleaning device, so that the cleaning device cleans the hull according to the secondary cleaning path.
[0007] As a preferred solution, the step S100: obtaining an initial detection data set generated by the detection device for detecting the hull, and performing feature extraction on the initial detection data set to generate a contour information set and an attachment information set, specifically includes: Step S110: acquiring scanning sonar data generated by scanning the hull by the sonar scanning unit in the detection device, and performing denoising and compensation processing on the sonar data to generate first point cloud data; Step S120: acquiring scanning image data generated by scanning the hull by the structured light scanning unit in the detection device, and performing feature extraction on the scanning image data to generate second point cloud data; Step S130: registering and merging the first point cloud data and the second point cloud data based on a preset coordinate system to generate an initial detection data set; Step S140: performing importance sampling on the initial detection data set to generate a sampling data set, and performing DBSCAN clustering on the sampling data set to generate a contour information set and an attachment information set.
[0008] As a preferred solution, the step S200: generating a virtual hull model based on preset hull parameter information according to the contour information set, generating marking information according to the attachment information set, and generating a virtual hull map according to the marking information and the virtual hull model, specifically includes: Step S210: obtaining preset hull parameter information, and generating a virtual hull frame according to the hull parameter information, wherein the hull parameter information includes the length, width, depth and curvature; Step S220: performing feature matching on the outline information set and the virtual hull frame to generate a virtual hull model; Step S230: putting the attachment information set into a convolutional neural network based on a spatial transformation network for feature recognition and generating tag information, wherein the attachment information set includes a plurality of attachment information, and each attachment information corresponds to one tag information; Step S240: Generate a virtual hull map according to the marking information and the virtual hull model.
[0009] As a preferred solution, the step S300: generating a cleaning planning path according to the virtual hull map so that the cleaning device cleans the hull according to the cleaning planning path, acquiring a pre-cleaning image and a post-cleaning image, and generating a hull cleanliness according to the pre-cleaning image and the post-cleaning image, specifically includes: Step S310: dividing the virtual hull map based on a preset coordinate system and generating a plurality of areas to be cleaned; Step S320: generating cleaning difficulty information according to the marking information and the area to be cleaned, wherein each area to be cleaned corresponds to one piece of cleaning difficulty information; Step S330: generating a cleaning planning path according to the area to be cleaned and the cleaning difficulty information, and sending the cleaning planning path to the cleaning device, so that the cleaning device cleans the hull according to the cleaning planning path; Step S340: acquiring the pre-cleaning image and the post-cleaning image taken by the cleaning device when the cleaning device is moving along the planned path, wherein the pre-cleaning image includes multiple regional pre-cleaning images, the post-cleaning image includes multiple regional post-cleaning images, and each of the regions to be cleaned corresponds to one regional pre-cleaning image and one regional post-cleaning image; Step S350: Processing the image of the region before cleaning and the image of the region after cleaning according to the global threshold segmentation method, generating the attachment area before cleaning and the attachment area after cleaning respectively, generating the regional cleanliness according to the attachment area before cleaning and the attachment area after cleaning, and generating the hull cleanliness according to the cleanliness of each region.
[0010] As a preferred solution, the step S330: generating a cleaning planning path according to the area to be cleaned and the cleaning difficulty information, and sending the cleaning planning path to the cleaning device so that the cleaning device cleans the hull according to the cleaning planning path, specifically includes: Step S331: generating an initial planning path according to the area to be cleaned and the cleaning difficulty information; Step S332: sending the initial planned path to the cleaning device; Step S333: obtaining the sonar positioning coordinates of the cleaning device, generating a walking offset according to the sonar positioning coordinates and the initial planned route, and determining whether the walking offset is greater than a preset value; Step S334: if the judgment is yes, a deviation correction instruction is generated according to the walking offset, a cleaning planning path is generated according to the initial planning path and the deviation correction instruction, and the cleaning planning path is sent to the cleaning device, so that the cleaning device cleans the hull according to the cleaning planning path; Step S335: If the judgment is no, the initial planned path is used as the cleaning planned path, and the cleaning planned path is sent to the cleaning device, so that the cleaning device cleans the hull according to the cleaning planned path.
[0011] As a preferred solution, the step S400: determining whether the cleanliness of the hull is less than a preset first cleanliness, if so, generating a secondary cleaning path according to the cleanliness of the hull and sending it to the cleaning device, specifically includes: Step S410: determining whether the cleanliness of the hull is less than a preset first cleanliness; Step S420: If the judgment is no, then the cleaning is completed; if the judgment is yes, then further determining whether the cleanliness of each of the regions is less than a preset second cleanliness; Step S430: if the judgment is no, then the cleaning is completed; if the judgment is yes, then the to-be-cleaned area whose cleanliness of each area is less than or corresponds to the second cleanliness is obtained; Step S440: generating a secondary cleaning path according to each of the to-be-cleaned areas and the cleanliness of the corresponding area and sending the path to the cleaning device.
[0012] The embodiment of the present invention further discloses an underwater ship cleaning system, which includes a control device, a cleaning device and a detection device, wherein the cleaning device and the detection device are both communicatively connected to the control device, and the control device is provided with: An initial detection data acquisition module is used to acquire an initial detection data set generated based on the detection of the hull by the detection device, and perform feature extraction on the initial detection data set to generate a contour information set and an attachment information set; A virtual hull map generating module, configured to generate a virtual hull model based on preset hull parameter information according to the outline information set, generate marking information according to the attachment information set, and generate a virtual hull map according to the marking information and the virtual hull model; A hull cleanliness generation module is used to generate a cleaning planning path according to the virtual hull map so that the cleaning device cleans the hull according to the cleaning planning path, obtain a pre-cleaning image and a post-cleaning image, and generate a hull cleanliness according to the pre-cleaning image and the post-cleaning image; The hull cleanliness judgment module is used to judge whether the hull cleanliness is less than a preset first cleanliness. If the judgment is no, a secondary cleaning path is generated according to the hull cleanliness and sent to the cleaning device.
[0013] An embodiment of the present invention further discloses a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the underwater ship cleaning method when executing the computer program.
[0014] The embodiment of the present invention further discloses a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of the underwater ship cleaning method are implemented.
[0015] The above one or more technical solutions in the underwater ship cleaning method and system provided by the embodiments of the present invention have at least one of the following technical effects: The above-mentioned underwater ship cleaning method sequentially obtains an initial detection data set generated by detecting the hull based on the detection device, extracts features from the initial detection data set to generate a contour information set and an attachment information set; generates a virtual hull model based on the preset hull parameter information according to the contour information set, generates marking information according to the attachment information set, and generates a virtual hull map according to the marking information and the virtual hull model; generates a cleaning planning path according to the virtual hull map so that the cleaning device cleans the hull according to the cleaning planning path, obtains a pre-cleaning image and a post-cleaning image, and generates a hull cleanliness according to the pre-cleaning image and the post-cleaning image; determines whether the hull cleanliness is less than a preset first cleanliness, and if so, generates a secondary cleaning path according to the hull cleanliness and sends it to the cleaning device, so that the cleaning device cleans the hull according to the secondary cleaning path, thereby achieving underwater cleaning of the ship.
[0016] Furthermore, the present invention checks and marks the attachments on the hull surface, and formulates the corresponding cleaning degree according to the marking information of each area, thereby establishing a cleaning planning path to clean the hull, thereby avoiding the situation where areas with more serious attachments cannot be effectively cleaned, and effectively improving the cleaning efficiency. At the same time, the images before and after cleaning are compared to verify the cleaning efficiency, and the individual missed areas are cleaned again to ensure the cleaning effect. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0018] Figure 1 A schematic diagram of a process flow of a ship cleaning method provided by an embodiment of the present invention; Figure 2 A structural block diagram of a ship cleaning system provided by an embodiment of the present invention; Figure 3 An internal structure diagram of a computer device provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0019] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.
[0020] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.
[0021] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0022] As used in the specification and appended claims of this application, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is detected" or "in response to detecting [described condition or event]", depending on the context.
[0023] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.
[0024] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0025] In one embodiment of the present invention, Figure 1 As shown, a method for underwater cleaning of a ship is provided, the method is applied to an underwater cleaning system of a ship, the underwater cleaning system of the ship comprises a control device, a cleaning device and a detection device, the method comprises: Step S100: acquiring an initial detection data set generated based on the detection of the hull by the detection device, and performing feature extraction on the initial detection data set to generate a contour information set and an attachment information set.
[0026] In this step, since the ship usually includes two or three sides, the surface cleaning of one side of the ship is completed first, and then the other sides are cleaned. The detection device is placed far away from one side of the ship, and the side of the ship is detected by sonar, photography, structured light scanning, etc., and an initial detection data set is generated based on the acquired data integration. The initial detection data set includes the underwater contour of this side of the ship, as well as data such as barnacles, shellfish and other attachments attached to the surface of the ship. By extracting features from the initial detection data, the contour information set and the attachment information set are separated to facilitate subsequent three-dimensional reconstruction.
[0027] Step S200: generating a virtual hull model according to the profile information set based on preset hull parameter information, generating marking information according to the attachment information set, and generating a virtual hull map according to the marking information and the virtual hull model.
[0028] In this step, the hull parameter information can be obtained in advance, and a virtual hull frame can be quickly built through the hull parameter information, while accelerating the data registration between the contour information set and the virtual hull frame to generate a virtual hull model. The attachment information set contains many types and quantities of attachments. The deep learning model is used to quickly identify the types and quantities of attachments to generate marking information. The virtual hull map formed by integrating the marking information with the virtual hull model can intuitively understand the types and densities of attachments in various areas on the side of the ship, which is convenient for the subsequent formulation of a schematic cleaning path.
[0029] Step S300: generating a cleaning planning path according to the virtual hull map so that the cleaning device cleans the hull according to the cleaning planning path, acquiring a pre-cleaning image and a post-cleaning image, and generating a hull cleanliness degree according to the pre-cleaning image and the post-cleaning image.
[0030] In this step, the attachment situation in each area is understood through the virtual hull map. According to the density and type of attachments in different areas, the cleaning speed, cleaning jet intensity, cleaning times, cleaning sequence and other parameters of the cleaning device in different areas are adjusted. These parameters are integrated to generate a clear planning path and sent to the cleaning device, so that the cleaning device cleans the hull according to the cleaning planning path. The front camera and rear camera set on the cleaning device are used to shoot at a close distance to obtain higher clarity. The hull is photographed before and after cleaning, and the results of the two shots are compared, and the hull cleanliness is generated in combination with other parameters.
[0031] Step S400: determining whether the cleanliness of the hull is less than a preset first cleanliness; if so, generating a secondary cleaning path according to the cleanliness of the hull and sending it to the cleaning device, so that the cleaning device cleans the hull according to the secondary cleaning path.
[0032] In this step, the hull cleanliness is generated by a preset formula to determine whether the hull is cleaned. If the preset first cleanliness is not met, a planned path is regenerated to control the cleaning device to perform a second cleaning on the hull to ensure that the hull is fully cleaned.
[0033] In one embodiment, the step S100: acquiring an initial detection data set generated by detecting the hull by the detection device, and performing feature extraction on the initial detection data set to generate a contour information set and an attachment information set, specifically includes: Step S110: acquiring scanning sonar data generated by scanning the hull by the sonar scanning unit in the detection device, and performing denoising and compensation processing on the sonar data to generate first point cloud data; Step S120: acquiring scanning image data generated by scanning the hull by the structured light scanning unit in the detection device, and performing feature extraction on the scanning image data to generate second point cloud data; Step S130: registering and merging the first point cloud data and the second point cloud data based on a preset coordinate system to generate an initial detection data set; Step S140: performing importance sampling on the initial detection data set to generate a sampling data set, and performing DBSCAN clustering on the sampling data set to generate a contour information set and an attachment information set.
[0034] In this embodiment, the detection device includes a sonar scanning unit and a structured light scanning unit, which scan the hull in these two ways and convert the scanned data into point cloud data. The sonar scanning unit cannot directly generate point cloud data. It is necessary to perform denoising, compensation and other processing on the collected scanning sonar data, and then calculate the distance information and angle information of each reflection point through the echo time of the sonar and the propagation speed of the sound wave in the water. The spatial position coordinates of each emission point in the preset coordinate system are calculated based on these data. All the calculated coordinate points are combined to form the first point cloud data. In this embodiment, the structured light scanning unit uses blue light for scanning. The blue light has small scattering and strong penetration, which can better adapt to the darker and turbid environment underwater and obtain better imaging effects. At the same time, the hull can also be photographed by the camera on the structured light scanning unit to obtain the captured image data, and the captured image data is used to generate the third point cloud data through the simultaneous localization and mapping (SLAM) technology. After registering and fusing these point cloud data, an initial detection data set is generated. The initial detection data set contains all the point cloud information on the side of the hull. The data volume is relatively large, so importance sampling is performed to reduce the data size. The sampled data generated after importance sampling is subjected to feature extraction through DBSCAN clustering to separate the contour point cloud and attachment point cloud on the side of the hull, and the contour information set and attachment information set are generated respectively.
[0035] In one embodiment, the step S200: generating a virtual hull model based on preset hull parameter information according to the contour information set, generating marking information according to the attachment information set, and generating a virtual hull map according to the marking information and the virtual hull model, specifically includes: Step S210: obtaining preset hull parameter information, and generating a virtual hull frame according to the hull parameter information, wherein the hull parameter information includes the length, width, depth and curvature; Step S220: performing feature matching on the outline information set and the virtual hull frame to generate a virtual hull model; Step S230: putting the attachment information set into a convolutional neural network based on a spatial transformation network for feature recognition and generating tag information, wherein the attachment information set includes a plurality of attachment information, and each attachment information corresponds to one tag information; Step S240: Generate a virtual hull map according to the marking information and the virtual hull model.
[0036] In this embodiment, by obtaining basic parameters such as the length, width, draft and curvature of the ship, a virtual hull framework can be built, and the virtual hull model can be generated more quickly and accurately through the virtual hull framework. The attachment information set contains many types and quantities of attachments. The model generated by training the convolutional neural network based on the spatial transformation network performs feature recognition on the point cloud clusters on the attachment information set and generates marking information. The various attachments identified can be represented by the number of dot arrays to indicate the number and density of attachments, and the type of attachments can be represented by adjusting the shape and color of the dot array. These marking information are integrated with the virtual hull model to generate a virtual hull map.
[0037] In one embodiment, the step S300: generating a cleaning planning path according to the virtual hull map so that the cleaning device cleans the hull according to the cleaning planning path, acquiring a pre-cleaning image and a post-cleaning image, and generating a hull cleanliness according to the pre-cleaning image and the post-cleaning image, specifically includes: Step S310: dividing the virtual hull map based on a preset coordinate system and generating a plurality of areas to be cleaned; In this step, before planning the cleaning path, for larger tonnage ships, due to the larger side area, it is necessary to divide the virtual hull map into multiple areas to be cleaned according to a preset coordinate system to facilitate distinguishing the cleaning conditions of each area to be cleaned.
[0038] Step S320: generating cleaning difficulty information according to the marking information and the area to be cleaned, wherein each area to be cleaned corresponds to one piece of cleaning difficulty information; In this step, while the virtual hull map is divided into multiple areas to be cleaned, the marking information on the virtual hull map is also divided into each area to be cleaned. According to the type and quantity of attachments on each area to be cleaned, the cleaning difficulty of each area to be cleaned is determined according to a pre-set grading system and the cleaning difficulty information is generated.
[0039] Step S330: generating a cleaning planning path according to the area to be cleaned and the cleaning difficulty information, and sending the cleaning planning path to the cleaning device, so that the cleaning device cleans the hull according to the cleaning planning path; In this step, the cleaning strategy of the cleaning device is set according to the cleaning difficulty of each area to be cleaned, which includes adjusting the travel speed and cleaning frequency of the cleaning device in different areas, summarizing the predicted cleaning conditions of all areas to be cleaned and optimizing them to generate the overall cleaning planning path. In order to improve the cleaning efficiency and reduce unnecessary turns, it is necessary to temporarily merge adjacent areas of continuous, large areas, and the same type of attachments into one cleaning unit. This strategy not only avoids the frequent change of direction of the cleaning device, but also ensures the consistency and comprehensiveness of the cleaning work. At the same time, it will also be set to prohibit continuous cleaning across multiple areas to avoid some areas being missed, resulting in the need to move a long distance on the surface of the hull after most areas are cleaned to clean the missed areas scattered everywhere. The cleaning planning path is sent to the cleaning device so that it cleans the hull according to the cleaning planning path.
[0040] Step S340: acquiring the pre-cleaning image and the post-cleaning image taken by the cleaning device when the cleaning device is moving along the planned path, wherein the pre-cleaning image includes multiple regional pre-cleaning images, the post-cleaning image includes multiple regional post-cleaning images, and each of the regions to be cleaned corresponds to one regional pre-cleaning image and one regional post-cleaning image; In this step, before the cleaning device cleans, the area to be cleaned is photographed to obtain a pre-cleaning image, which is sent to the control device for comparison with the marking information to verify the accuracy of the marking information and for deep learning training to improve the accuracy of subsequent attachment recognition. After the cleaning device completes the cleaning of the area, the image is photographed to obtain a post-cleaning image.
[0041] Step S350: Processing the image of the region before cleaning and the image of the region after cleaning according to the global threshold segmentation method, generating the attachment area before cleaning and the attachment area after cleaning respectively, generating the regional cleanliness according to the attachment area before cleaning and the attachment area after cleaning, and generating the hull cleanliness according to the cleanliness of each region.
[0042] In this step, the attachment area before cleaning and the attachment area after cleaning of each area to be cleaned are quickly calculated by the global threshold separation method, and the regional cleanliness is generated based on the comparison of the two areas. At the same time, the attachment area before cleaning of each area is compared with the attachment area after cleaning of each area to generate the overall hull cleanliness, or the overall hull cleanliness is generated by weighted average according to the preset importance and / or cleaning difficulty information of each area to be cleaned, so as to provide a comprehensive evaluation of the cleaning effect.
[0043] In one embodiment, the step S330: generating a cleaning planning path according to the area to be cleaned and the cleaning difficulty information, and sending the cleaning planning path to the cleaning device so that the cleaning device cleans the hull according to the cleaning planning path, specifically includes: Step S331: generating an initial planning path according to the area to be cleaned and the cleaning difficulty information; Step S332: sending the initial planned path to the cleaning device; Step S333: obtaining the sonar positioning coordinates of the cleaning device, generating a walking offset according to the sonar positioning coordinates and the initial planned route, and determining whether the walking offset is greater than a preset value; Step S334: if the judgment is yes, a deviation correction instruction is generated according to the walking offset, a cleaning planning path is generated according to the initial planning path and the deviation correction instruction, and the cleaning planning path is sent to the cleaning device, so that the cleaning device cleans the hull according to the cleaning planning path; Step S335: If the judgment is no, the initial planned path is used as the cleaning planned path, and the cleaning planned path is sent to the cleaning device, so that the cleaning device cleans the hull according to the cleaning planned path.
[0044] In this embodiment, an initial planning path is first generated based on the area to be cleaned and the cleaning difficulty information, and the path is sent to the cleaning device. The actual position of the cleaning device is then monitored by sonar positioning coordinates, and the travel offset is calculated. This offset is compared with a preset value to determine whether the cleaning device has deviated from the established path. If the travel offset exceeds the preset value, a correction instruction is generated and applied to the initial planning path to generate a new cleaning planning path. This adjusted path is then sent to the cleaning device to instruct it to clean according to the updated path to ensure the accuracy and comprehensiveness of the cleaning work. If the travel offset does not exceed the preset value, the validity of the initial planning path is confirmed and sent to the cleaning device as the final cleaning planning path. The cleaning device will follow this path for cleaning until the task is completed. Through this real-time monitoring and adjustment mechanism, it can ensure that the cleaning device maintains accurate path tracking in a complex environment, thereby improving cleaning efficiency, reducing duplication of work, and ensuring high quality standards for hull cleaning.
[0045] In one embodiment, the step S400: determining whether the cleanliness of the hull is less than a preset first cleanliness, and if so, generating a secondary cleaning path according to the cleanliness of the hull and sending it to the cleaning device, specifically includes: Step S410: determining whether the cleanliness of the hull is less than a preset first cleanliness; Step S420: If the judgment is no, then the cleaning is completed; if the judgment is yes, then further determining whether the cleanliness of each of the regions is less than a preset second cleanliness; Step S430: if the judgment is no, then the cleaning is completed; if the judgment is yes, then the to-be-cleaned area whose cleanliness of each area is less than or corresponds to the second cleanliness is obtained; Step S440: generating a secondary cleaning path according to each of the to-be-cleaned areas and the cleanliness of the corresponding area and sending the path to the cleaning device.
[0046] In this embodiment, the cleanliness of the hull is first judged, and the cleanliness of the hull is compared with the preset first cleanliness threshold to determine whether further cleaning operations are required. If the cleanliness of the hull is not lower than the first cleanliness threshold, it indicates that the cleaning effect has met the requirements, and the cleaning task is determined to be completed. If the cleanliness of the hull is lower than the first cleanliness threshold, the cleanliness of each area is further analyzed and compared with the preset second cleanliness threshold. For those areas whose cleanliness is lower than the second cleanliness threshold, the control will identify these areas and generate a secondary cleaning path based on their cleanliness and position information. Targeted re-cleaning is performed on areas with insufficient cleanliness to improve the overall cleaning effect. Finally, the generated secondary cleaning path is sent to the cleaning device to instruct it to re-clean the hull according to the new path to ensure that the cleanliness of all areas meets the predetermined standards. Through this step-by-step cleanliness evaluation and targeted cleaning path planning, high-quality results of hull cleaning can be effectively guaranteed.
[0047] In one embodiment, Figure 2 As shown, a ship underwater cleaning system is provided, which includes a control device 100, a cleaning device 200 and a detection device 300, wherein the control device 100 is provided with an initial detection data acquisition module 110, a virtual hull map generation module 120, a hull cleanliness generation module 130 and a hull cleanliness judgment module 140.
[0048] The initial detection data acquisition module 110 is used to acquire an initial detection data set generated based on the detection of the hull by the detection device, and perform feature extraction on the initial detection data set to generate a contour information set and an attachment information set.
[0049] The virtual hull map generating module 120 is used to generate a virtual hull model according to the contour information set based on preset hull parameter information, generate marking information according to the attachment information set, and generate a virtual hull map according to the marking information and the virtual hull model.
[0050] The hull cleanliness generation module 130 is used to generate a cleaning planning path according to the virtual hull map so that the cleaning device cleans the hull according to the cleaning planning path, obtain the image before cleaning and the image after cleaning, and generate the hull cleanliness according to the image before cleaning and the image after cleaning.
[0051] The hull cleanliness determination module 140 is used to determine whether the hull cleanliness is less than a preset first cleanliness. If the determination is no, a secondary cleaning path is generated according to the hull cleanliness and sent to the cleaning device.
[0052] In one embodiment, the initial detection data acquisition module 110 is further used to: The method comprises the steps of: obtaining scanning sonar data generated by scanning the hull by the sonar scanning unit in the detection device, and performing denoising and compensation processing on the sonar data to generate first point cloud data; obtaining scanning image data generated by scanning the hull by the structured light scanning unit in the detection device, and performing feature extraction on the scanning image data to generate second point cloud data; registering and merging the first point cloud data and the second point cloud data based on a preset coordinate system to generate an initial detection data set; performing importance sampling on the initial detection data set to generate a sampling data set, and performing DBSCAN clustering on the sampling data set to generate a contour information set and an attachment information set.
[0053] In one embodiment, the virtual hull map generation module 120 is further used for: The method comprises the steps of obtaining preset hull parameter information, generating a virtual hull frame according to the hull parameter information, wherein the hull parameter information includes the length, width, depth and curvature of the ship; performing feature matching on the contour information set and the virtual hull frame to generate a virtual hull model; placing the attachment information set into a convolutional neural network based on a spatial transformation network to perform feature recognition and generate tag information, wherein the attachment information set includes a plurality of attachment information, and each attachment information corresponds to one tag information; and generating a virtual hull map according to the tag information and the virtual hull model.
[0054] In one embodiment, the hull cleanliness generation module 130 is further used for: The virtual hull map is divided based on a preset coordinate system and a plurality of areas to be cleaned are generated; cleaning difficulty information is generated according to the marking information and the areas to be cleaned, wherein each area to be cleaned corresponds to a piece of cleaning difficulty information; a cleaning planning path is generated according to the areas to be cleaned and the cleaning difficulty information, and the cleaning planning path is sent to the cleaning device so that the cleaning device cleans the hull according to the cleaning planning path; a pre-cleaning image and a post-cleaning image taken by the cleaning device when the cleaning device is operating according to the planned path are obtained, wherein the pre-cleaning image includes a plurality of area pre-cleaning images, the post-cleaning image includes a plurality of area post-cleaning images, and each area to be cleaned corresponds to a pre-cleaning image of the area and a post-cleaning image of the area; the pre-cleaning image of the area and the post-cleaning image of the area are processed according to a global threshold separation method to generate a pre-cleaning attachment area and a post-cleaning attachment area respectively, a regional cleanliness is generated according to the pre-cleaning attachment area and the post-cleaning attachment area, and a hull cleanliness is generated according to each of the regional cleanlinesses.
[0055] In one embodiment, the hull cleanliness generation module 130 is further used for: An initial planned path is generated according to the area to be cleaned and the cleaning difficulty information; and the initial planned path is sent to the cleaning device; the sonar positioning coordinates of the cleaning device are obtained, a walking offset is generated according to the sonar positioning coordinates and the initial planned route, and it is determined whether the walking offset is greater than a preset value; if it is determined to be yes, a correction instruction is generated according to the walking offset, a cleaning planned path is generated according to the initial planned path and the correction instruction, and the cleaning planned path is sent to the cleaning device, so that the cleaning device cleans the hull according to the cleaning planned path; if it is determined to be no, the initial planned path is used as the cleaning planned path, and the cleaning planned path is sent to the cleaning device, so that the cleaning device cleans the hull according to the cleaning planned path.
[0056] In one embodiment, the hull cleanliness determination module 140 is further used to: Determine whether the cleanliness of the hull is less than a preset first cleanliness; if not, complete the cleaning; if yes, further determine whether the cleanliness of each area is less than a preset second cleanliness; if no, complete the cleaning; if yes, obtain the areas to be cleaned whose cleanliness of each area is less than or corresponds to the second cleanliness; generate a secondary cleaning path according to each area to be cleaned and the corresponding cleanliness of the area and send it to the cleaning device.
[0057] In one embodiment, Figure 3As shown, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the underwater ship cleaning method when executing the computer program.
[0058] 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 steps of the underwater ship cleaning method are implemented.
[0059] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be implemented 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 this application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of 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), etc.
[0060] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0061] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.
Claims
1. A method for underwater cleaning of a ship, characterized in that: The method is applied to an underwater ship cleaning system, wherein the underwater ship cleaning system comprises a control device, a cleaning device and a detection device, wherein both the cleaning device and the detection device are communicatively connected to the control device, and the method comprises: Step S100: acquiring an initial detection data set generated by detecting the hull by the detection device, and performing feature extraction on the initial detection data set to generate a contour information set and an attachment information set; Step S200: generating a virtual hull model based on preset hull parameter information according to the contour information set, generating marking information according to the attachment information set, and generating a virtual hull map according to the marking information and the virtual hull model; Step S300: generating a cleaning planning path according to the virtual hull map so that the cleaning device cleans the hull according to the cleaning planning path, acquiring a pre-cleaning image and a post-cleaning image, and generating a hull cleanliness degree according to the pre-cleaning image and the post-cleaning image; Step S400: determining whether the cleanliness of the hull is less than a preset first cleanliness; if so, generating a secondary cleaning path according to the cleanliness of the hull and sending it to the cleaning device, so that the cleaning device cleans the hull according to the secondary cleaning path.
2. The underwater ship cleaning method according to claim 1, characterized in that: The step S100: acquiring an initial detection data set generated by detecting the hull by the detection device, and performing feature extraction on the initial detection data set to generate a contour information set and an attachment information set, specifically includes: Step S110: acquiring scanning sonar data generated by scanning the hull by the sonar scanning unit in the detection device, and performing denoising and compensation processing on the sonar data to generate first point cloud data; Step S120: acquiring scanning image data generated by scanning the hull by the structured light scanning unit in the detection device, and performing feature extraction on the scanning image data to generate second point cloud data; Step S130: registering and merging the first point cloud data and the second point cloud data based on a preset coordinate system to generate an initial detection data set; Step S140: performing importance sampling on the initial detection data set to generate a sampling data set, and performing DBSCAN clustering on the sampling data set to generate a contour information set and an attachment information set.
3. The underwater ship cleaning method according to claim 1, characterized in that: The step S200: generating a virtual hull model based on the preset hull parameter information according to the contour information set, generating marking information according to the attachment information set, and generating a virtual hull map according to the marking information and the virtual hull model, specifically includes: Step S210: obtaining preset hull parameter information, and generating a virtual hull frame according to the hull parameter information, wherein the hull parameter information includes the length, width, depth and curvature; Step S220: performing feature matching on the outline information set and the virtual hull frame to generate a virtual hull model; Step S230: putting the attachment information set into a convolutional neural network based on a spatial transformation network for feature recognition and generating tag information, wherein the attachment information set includes a plurality of attachment information, and each attachment information corresponds to one tag information; Step S240: Generate a virtual hull map according to the marking information and the virtual hull model.
4. The underwater ship cleaning method according to any one of claims 1 to 3, characterized in that: The step S300: generating a cleaning planning path according to the virtual hull map so that the cleaning device cleans the hull according to the cleaning planning path, acquiring a pre-cleaning image and a post-cleaning image, and generating a hull cleanliness degree according to the pre-cleaning image and the post-cleaning image, specifically includes: Step S310: dividing the virtual hull map based on a preset coordinate system and generating a plurality of areas to be cleaned; Step S320: generating cleaning difficulty information according to the marking information and the area to be cleaned, wherein each area to be cleaned corresponds to one piece of cleaning difficulty information; Step S330: generating a cleaning planning path according to the area to be cleaned and the cleaning difficulty information, and sending the cleaning planning path to the cleaning device, so that the cleaning device cleans the hull according to the cleaning planning path; Step S340: acquiring the pre-cleaning image and the post-cleaning image taken by the cleaning device when the cleaning device is moving along the planned path, wherein the pre-cleaning image includes multiple regional pre-cleaning images, the post-cleaning image includes multiple regional post-cleaning images, and each of the regions to be cleaned corresponds to one regional pre-cleaning image and one regional post-cleaning image; Step S350: Processing the image of the region before cleaning and the image of the region after cleaning according to the global threshold segmentation method, generating the attachment area before cleaning and the attachment area after cleaning respectively, generating the regional cleanliness according to the attachment area before cleaning and the attachment area after cleaning, and generating the hull cleanliness according to the cleanliness of each region.
5. The underwater ship cleaning method according to claim 4, characterized in that: The step S330: generating a cleaning planning path according to the area to be cleaned and the cleaning difficulty information, and sending the cleaning planning path to the cleaning device so that the cleaning device cleans the hull according to the cleaning planning path, specifically includes: Step S331: generating an initial planning path according to the area to be cleaned and the cleaning difficulty information; Step S332: sending the initial planned path to the cleaning device; Step S333: obtaining the sonar positioning coordinates of the cleaning device, generating a walking offset according to the sonar positioning coordinates and the initial planned route, and determining whether the walking offset is greater than a preset value; Step S334: if the judgment is yes, a deviation correction instruction is generated according to the walking offset, a cleaning planning path is generated according to the initial planning path and the deviation correction instruction, and the cleaning planning path is sent to the cleaning device, so that the cleaning device cleans the hull according to the cleaning planning path; Step S335: If the judgment is no, the initial planned path is used as the cleaning planned path, and the cleaning planned path is sent to the cleaning device, so that the cleaning device cleans the hull according to the cleaning planned path.
6. The underwater ship cleaning method according to claim 4, characterized in that: The step S400: determining whether the cleanliness of the hull is less than a preset first cleanliness, and if so, generating a secondary cleaning path according to the cleanliness of the hull and sending it to the cleaning device, so that the cleaning device cleans the hull according to the secondary cleaning path, specifically includes: Step S410: determining whether the cleanliness of the hull is less than a preset first cleanliness; Step S420: If the judgment is no, then the cleaning is completed; if the judgment is yes, then further determining whether the cleanliness of each of the regions is less than a preset second cleanliness; Step S430: if the judgment is no, then the cleaning is completed; if the judgment is yes, then the to-be-cleaned area whose cleanliness of each area is less than or corresponds to the second cleanliness is obtained; Step S440: generating a secondary cleaning path according to each of the to-be-cleaned areas and the cleanliness of the corresponding area and sending the path to the cleaning device.
7. A ship underwater cleaning system, characterized in that: The underwater ship cleaning system comprises a control device, a cleaning device and a detection device, wherein the cleaning device and the detection device are both connected to the control device for communication, and the control device is provided with: An initial detection data acquisition module is used to acquire an initial detection data set generated based on the detection of the hull by the detection device, and perform feature extraction on the initial detection data set to generate a contour information set and an attachment information set; A virtual hull map generating module, configured to generate a virtual hull model based on preset hull parameter information according to the outline information set, generate marking information according to the attachment information set, and generate a virtual hull map according to the marking information and the virtual hull model; A hull cleanliness generation module is used to generate a cleaning planning path according to the virtual hull map so that the cleaning device cleans the hull according to the cleaning planning path, obtain a pre-cleaning image and a post-cleaning image, and generate a hull cleanliness according to the pre-cleaning image and the post-cleaning image; The hull cleanliness judgment module is used to judge whether the hull cleanliness is less than a preset first cleanliness. If the judgment is no, a secondary cleaning path is generated according to the hull cleanliness and sent to the cleaning device.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
9. 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 method according to any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Bulkhead region partitioned-cleaning method, device and equipment and storage medium
CN110525604A
Underwater multi-degree-of-freedom intelligent decontamination device and method based on image recognition
CN114670983A
Underwater automatic cleaning device
CN115649380A
Ship cleaning method and system based on underwater sonar positioning and medium
CN115892378A
Image processing method for processing multiple camera images of ship cleaning robot into one image, computer-readable recording medium, computer program, and robot control method using same
CN116671098A
Cited By
Water environment cleaning autonomous decision-making auxiliary system based on machine intelligence
CN119002293A
Underwater image enhancement method for underwater robot cleaning
CN119251449A
Automatic cleaning method of cleaning robot and cleaning robot
CN119284085A
