Safety early warning platform of cutter suction dredger gauge pile
Through the design of the cutter suction dredger positioning pile safety early warning platform, the MySQL database and Three.js and other technologies were used to realize real-time monitoring and early warning of the cutter suction dredger positioning pile, and solved the problem of positioning pile safety monitoring in the existing technology. The problem of inaccuracy improves the safety and stability of ship engineering.
Patent Information
- Application Number
- CN202410915853.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-09
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2044-07-09
AI Technical Summary
The existing technology lacks a platform for real-time safety warning of cutter suction dredger positioning piles. The traditional method relies on inaccurate visual observation and lacks data support, resulting in delayed maintenance and safety hazards. Moreover, the existing platform is difficult to run on the browser and Achieve visualization and interaction of 3D models.
A safety early warning platform for cutter suction dredger positioning piles is designed, including a back-end data acquisition module, a data import module and a front-end data processing module. It uses MySQL database, Three.js, deep learning and digital twin technology to achieve real-time monitoring. Data visualization and interaction with three-dimensional models provide fatigue warning through target recognition models.
Real-time early warning and safety monitoring of positioning piles of cutter suction dredgers are realized on the browser side. Potential problems can be discovered in time and measures can be taken in advance to improve the safety and stability of ship engineering and avoid the visual dependence and data dependence of traditional methods. Insufficient problem.
Smart Images

Figure CN118733647A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of simulation digital twins, and in particular to a safety early warning platform for positioning piles of a cutter suction dredger. Background Art
[0002] A cutter suction dredger is a common offshore engineering equipment used to clean up silt and sludge in rivers, ports and waterways. Positioning piles are important auxiliary equipment used by cutter suction dredgers to locate and fix their positions when working, and are usually made of steel. Before the cutter suction dredger starts working, the crew will determine the working position of the cutter suction dredger according to the needs of the project and the site conditions; when the cutter suction dredger approaches the working position, the crew will use a crane or other equipment to install the positioning piles on the bottom of the water, which involves inserting the positioning piles into the bottom of the water or nailing them into the bottom; then the cutter suction dredger can start to absorb and remove silt and sludge; when the work is completed or it is necessary to move to a new working position, the crew will pull the positioning piles out from the bottom of the water and start moving the cutter suction dredger to the next target position.
[0003] The positioning piles of a cutter suction dredger will gradually wear, fatigue and eventually deform and break during long-term operation. The positioning piles are immersed in water for a long time and are susceptible to underwater corrosion, especially the salt and chemicals in the seawater will accelerate the corrosion rate; when the cutter suction dredger is working, the positioning piles will rub and collide, resulting in wear and damage to the surface of the positioning piles; the positioning piles will be frequently used during operation, bearing the weight and power of the ship, which may cause material fatigue over a long period of time, especially in large cutter suction dredgers and engineering projects; the vibration and impact generated by the ship during operation will also accelerate the fatigue process of the positioning piles, especially in waters with large waves or turbulent water; with the accumulation of wear and fatigue, cracks, deformation or severe corrosion may appear on the surface of the positioning piles, which will affect the structural integrity and stability of the positioning piles; once the positioning piles reach a certain degree of wear, fatigue or structural damage, there may be safety hazards, which may cause the ship to shift, capsize or cause other accidents during operation.
[0004] Therefore, it is necessary to provide early warning for the positioning piles of the cutter suction dredger to monitor the status of the positioning piles in real time, so as to facilitate the crew to inspect, maintain and replace the positioning piles, ensure the safety and effectiveness of the work, and thus extend the service life of the cutter suction dredger. However, there is currently no research and platform for early warning of the positioning piles of the cutter suction dredger, and the status of the traditional positioning piles mainly depends on the visual observation of the crew. This method has the problems of inaccuracy and lack of data support, which will delay the timely inspection and maintenance of the positioning piles, thereby endangering the life safety of the crew and the integrity of the ship, and affecting the progress and quality of the entire offshore engineering project.
[0005] In summary, combined with relevant research contents at home and abroad, it can be seen that there is currently no safety early warning platform for positioning piles of cutter suction dredgers that can run on the browser side, and there are still some shortcomings in the safety monitoring and early warning platforms in other research areas:
[0006] (1) In terms of model construction and visualization, dedicated software is often required, which is difficult to directly port to the web page. The safety status of the model and components cannot be viewed in real time. Even if the model is loaded to the web page, it is difficult to achieve true visualization, including the display of various parts of the model, model labels, model click interaction, etc.
[0007] (2) In terms of data import and interaction, the design data and engineering data information in the previous early warning platform was not comprehensive, and there was no relevant functional module for data import and real-time query;
[0008] (3) The safety assessment data results are only displayed separately in the form of charts and cannot be interactively displayed in conjunction with the early warning platform model, making it difficult to analyze the data in a timely manner and to quickly view early warning information. Summary of the invention
[0009] The present invention provides a safety early warning platform for positioning piles of a cutter suction dredger to overcome the above technical problems.
[0010] In order to achieve the above object, the technical solution of the present invention is:
[0011] A safety warning platform for positioning piles of a cutter suction dredger, comprising a back-end data acquisition module, a data import module and a front-end data processing module:
[0012] The back-end data acquisition module is used to acquire the periodic monitoring data of the positioning piles of the cutter suction dredger, so as to create a MySQL monitoring database according to the periodic monitoring data;
[0013] The periodic monitoring data includes the horizontal displacement, vertical displacement and bending moment of each positioning pile obtained in the corresponding sampling period;
[0014] The data import module is used to import the periodic monitoring data in the MySQL monitoring database into the front-end data processing module;
[0015] The front-end data processing module includes a monitoring module, a platform management module, a data interaction module, a three-dimensional simulation module, an early warning function module and a target recognition module;
[0016] The three-dimensional simulation module is used to obtain a 3D simulation model of the positioning pile of the cutter suction dredger, and perform scene processing on the 3D simulation model to obtain a 3D scene simulation model, and transmit the obtained 3D scene simulation model to the platform management module;
[0017] The platform management module is used to retrieve the current periodic monitoring data in the MySQL monitoring database and obtain the digital twin simulation model according to the 3D scene simulation model;
[0018] The monitoring module is used to perform visualization processing based on the Vue.js framework and the Ecahrts table library according to the periodic monitoring data in the MySQL monitoring database retrieved by the platform management module, and obtain the visualization data of the current period;
[0019] The visualization processing is to return the periodic monitoring data in JSON format to the platform management module for real-time rendering and visualization;
[0020] The target recognition module is used to obtain a target recognition model for identifying the cutter suction dredger and the positioning piles according to a pre-created cutter suction dredger positioning pile image data set;
[0021] The data interaction module is used to call the acquired digital twin simulation model and target recognition module to the early warning function module;
[0022] The warning function module is used to obtain the identification features of the cutter suction dredger or the positioning pile according to the called target recognition model and the digital twin simulation model, and obtain the safety warning data of the cutter suction dredger positioning pile according to the current cycle visualization data and the set fatigue threshold;
[0023] The security warning data includes warning rendering identification features, warning pop-up windows and warning logs. Further, the method of creating a MySQL monitoring database based on periodic monitoring data is as follows:
[0024] The periodic monitoring data of the positioning piles of the cutter suction dredger are collected periodically through sensors, and the periodic monitoring data are converted into an Excel data table;
[0025] The Excel data table includes the component number of the positioning pile of the cutter suction dredger and the horizontal displacement, vertical displacement and bending moment corresponding to the component number;
[0026] The Excel data table is transferred to a pre-created MySQL database and stored to obtain a MySQL monitoring database.
[0027] Furthermore, the three-dimensional simulation module includes an initialization module, a camera adding module, a renderer creating module, a model loading module, a light source adding module, a rendering cycle module and an event interaction module;
[0028] The initialization module is used to create a THREE.Scene model as a container of the 3D world based on Three.js;
[0029] The camera adding module is used to set the position, orientation and field of view of the camera used for scene rendering according to the THREE.Scene model;
[0030] The cameras used include a perspective camera THREE.PerspectiveCamera and an orthographic camera THREE.OrthographicCamera;
[0031] The renderer creation module is used to create a WebGL renderer based on THREE.WebGLRenderer and add the WebGL renderer to a preset HTML DOM; according to the elements of the HTML DOM <canvas>Set the rendering size and clear color parameters of the WebGL renderer to achieve scene rendering of the THREE.Scene model through the WebGL renderer;
[0032] The model loading module is used to load the 3D simulation model of the positioning pile of the cutter suction dredger into the THREE.Scene model after scene rendering through a preset loader to obtain a linkage 3D simulation model;
[0033] The light source adding module is used to add the light source type and light source attributes to the linkage 3D simulation model according to the scene requirements to obtain the 3D scene simulation model;
[0034] The light source types include at least ambient light THREE.AmbientLight, directional light THREE.DirectionalLight and point light THREE.PointLight; the light source properties include at least light source color, light source intensity and light source position;
[0035] The rendering loop module is used to create a rendering loop requestAnimationFrame, and when the model position is transformed, rotated or scaled according to the scene requirements, the scene and camera parameters are passed to the WebGL renderer through the render method of the renderer to render and update the 3D scene simulation model;
[0036] The event interaction module is used to implement parameter settings for updating the model state and model animation effects of the 3D scene simulation model, so as to realize visualization and interactive operations of the 3D scene simulation model.
[0037] Furthermore, the target recognition module includes a data set acquisition unit, a model training unit, a parameter configuration unit, a model evaluation unit, and a model deployment unit;
[0038] The data set acquisition unit is used to acquire a pre-created image data set of positioning piles of a cutter suction dredger, and to perform target feature annotation on each sample image in the image data set through the annotation tool Labelimg to obtain an xml image file of a corresponding label category;
[0039] The target features at least include contour features of positioning piles, auger, dredger hull, dredger discharge pipe, dredger suction pipe and dredger cabin;
[0040] And divide the XML image file into training set and verification set according to the preset ratio;
[0041] The model training unit is used to obtain a target recognition model and perform target recognition training on it according to the training set;
[0042] The target recognition model includes any one of YOLO, SSD, Faster R-CNN, Mask R-CNN, RetinaNet, FCOS, DETR or EfficientDet;
[0043] The model evaluation unit is used to perform model evaluation on the trained target recognition model according to the validation set, and the parameter configuration unit is used to update the model weights through the gradient descent algorithm according to the evaluation index to optimize the hyperparameter weights of the target recognition model to update the target recognition model;
[0044] The evaluation index includes any one of the mean average precision (mAP) or mean square error (MSE);
[0045] The updated target recognition model is transmitted to the model training unit, and the model training is continued to be performed, so as to realize the cyclical replacement of the target recognition model by the model training unit and the model evaluation unit until the preset maximum number of iterations is reached, so as to obtain the final target recognition model;
[0046] The model deployment unit is used to build a Web server based on the Express.js framework in the front-end data processing module to provide an API interface for calling the target recognition model and call the final target recognition model to the early warning function module.
[0047] Furthermore, the warning function module includes an input module, an analysis module, a warning rendering module and a warning display module;
[0048] The input module is used to obtain the output of the monitoring module and the current digital twin simulation model;
[0049] The analysis module is used to compare the current output of the monitoring module with the set fatigue threshold, and transmit the characteristic number of the positioning pile corresponding to the cutter suction dredger whose current output of the monitoring module does not meet the set fatigue threshold to the early warning rendering module;
[0050] The warning rendering module is used to perform color rendering on the corresponding positioning piles in the current digital twin simulation model according to the output of the analysis module, so as to realize the recognition feature warning rendering of the corresponding positioning piles;
[0051] The warning display module is used to obtain the warning log based on the output of the analysis module and the fault information of the corresponding positioning pile recorded by AddAlarm, and to call the ShowPopup property function to create a warning pop-up window.
[0052] Beneficial effect: The present invention provides a safety warning platform for the positioning piles of a cutter suction dredger. The periodic monitoring data of the positioning piles of the cutter suction dredger is obtained through the back-end data acquisition module, so as to create a MySQL monitoring database according to the periodic monitoring data, and through the combination of Three.JS, deep learning and digital twin technology, the real-time warning and safety monitoring of the positioning piles of the cutter suction dredger can be realized on the browser side. The warning platform can be browsed anytime and anywhere without installing professional software. The safety warning platform can load and display the three-dimensional model of the cutter suction dredger and the positioning piles, interact in real time, identify in real time and display the fatigue warning information, and can also monitor the cutter suction dredger. The model components in the three-dimensional model of the suction dredger are interactively operated to obtain the digital twin simulation model, and the target recognition model for identifying the cutter suction dredger and the positioning piles is obtained through the target recognition module. The identification features of the cutter suction dredger or the positioning piles are obtained according to the target recognition model and the digital twin simulation model through the early warning function module, and the safety warning of the cutter suction dredger positioning piles is obtained according to the current cycle visualization data and the set fatigue threshold. Real-time monitoring and safety prediction of the cutter suction dredger positioning piles in the actual environment can be achieved, and possible problems can be discovered in time, so that measures can be taken in advance to ensure their normal service and improve the safety and stability of ship engineering. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are 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.
[0054] Figure 1 A schematic diagram of a safety warning platform for positioning piles of a cutter suction dredger according to the present invention;
[0055] Figure 2 This is a schematic diagram of a three-dimensional model of a cutter suction dredger constructed using Solidworks modeling software in this embodiment;
[0056] Figure 3 Schematic diagram of a 3D scene simulation model in this embodiment;
[0057] Figure 4 This is a flow chart of the visualization process of the 3D scene simulation model in this embodiment;
[0058] Figure 5 Schematic diagram of the digital twin simulation model of the cutter suction dredger in this embodiment;
[0059] Figure 6 This is a flow chart of the platform management module in this embodiment;
[0060] Figure 7 This is a schematic diagram of the login interface of the platform management module in this embodiment;
[0061] Figure 8 This is a schematic cross-sectional diagram of the operation of the early warning platform of the platform management module in this embodiment;
[0062] Fig. 9 This is a flowchart for obtaining visual data of the current cycle in this embodiment;
[0063] Fig.10 This is a flowchart of using the MySQL database in this embodiment;
[0064] Fig.11 This is a schematic diagram of sensor monitoring data of the positioning pile of the cutter suction dredger in this embodiment;
[0065] Fig.12 is a schematic diagram of sensor data based on Echarts in this embodiment;
[0066] Fig.13 This is a flowchart of obtaining a training set for the target recognition module in this embodiment;
[0067] Fig.14 is a model training flow chart of the target recognition module in this embodiment;
[0068] Fig.15 This is a schematic diagram of labeling based on the Labelimg labeling tool in this embodiment;
[0069] Fig.16 This is a schematic diagram of the XML file storage of the VOC data set in this embodiment;
[0070] Fig.17 This is a warning flow chart of the warning function module in this embodiment;
[0071] Fig.18 This is a schematic diagram of the early warning log in this embodiment;
[0072] Fig.19 This is a schematic diagram of the warning pop-up window in this embodiment;
[0073] Fig. 20 A digital twin simulation model for feature warning rendering in this embodiment. DETAILED DESCRIPTION
[0074] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings 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.
[0075] This embodiment provides a safety warning platform for positioning piles of a cutter suction dredger, such as Figure 1 As shown, it includes a back-end data acquisition module, a data import module and a front-end data processing module:
[0076] The back-end data acquisition module is used to acquire the periodic monitoring data of the positioning piles of the cutter suction dredger, so as to create a MySQL monitoring database according to the periodic monitoring data;
[0077] The periodic monitoring data includes the horizontal displacement, vertical displacement and bending moment of each positioning pile obtained in the corresponding sampling period;
[0078] Specifically, in a specific embodiment, the method for creating a MySQL monitoring database based on periodic monitoring data is: periodically collecting the periodic monitoring data of the positioning piles of the cutter suction dredger through sensors, and converting the format of the periodic monitoring data to obtain an Excel data table, as shown in Tables 1 and 2; transferring the Excel data table to a pre-created MySQL database and storing it to obtain a MySQL monitoring database; the Excel data table includes the component number of the positioning pile of the cutter suction dredger and the horizontal displacement, vertical displacement and bending moment of the corresponding component number.
[0079] Specifically, the MySQL monitoring database is mainly designed using the technology of Excel + MySQL database + Echarts. MySQL is a relational database management system based on SQL (Structured Query Language) that can be used to store, manage and call data. It supports multiple operating systems, including Windows, Linux and macOS, and provides interfaces for multiple programming languages, such as PHP, Python, Java, etc.; Echarts is an open source visualization library for creating interactive and customizable charts. It is based on JavaScript and provides a wealth of chart types and functions, allowing users to easily create various visual charts on web pages, including tables, line charts, bar charts, scatter charts, pie charts, radar charts, and maps;
[0080] Table 1. Periodic monitoring data of the positioning piles of the cutter suction dredger. First Excel data sheet
[0081]
[0082] Table 2. The second Excel data sheet of periodic monitoring data of the positioning piles of the cutter suction dredger
[0083]
[0084] The data import module is used to import the periodic monitoring data in the MySQL monitoring database into the front-end data processing module;
[0085] The front-end data processing module includes a monitoring module, a platform management module, a data interaction module, a three-dimensional simulation module, an early warning function module and a target recognition module;
[0086] The three-dimensional simulation module is used to obtain a 3D simulation model of the positioning pile of the cutter suction dredger, and perform scene processing on the 3D simulation model to obtain a 3D scene simulation model, and transmit the obtained 3D scene simulation model to the platform management module;
[0087] Specifically, Figure 2 As shown, the method for obtaining the 3D simulation model of the positioning pile of the cutter suction dredger is as follows: the cutter suction dredger in the existing actual engineering is created according to the construction standard of the cutter suction dredger in the "Guide to the Construction and Inspection of Dredging Equipment for Dredgers". In this embodiment, Solidworks modeling software is used for the first time to construct a three-dimensional model of the cutter suction dredger according to the construction standard. The method of using Solidworks modeling software to construct a three-dimensional model of the cutter suction dredger is a prior art means and will not be repeated here;
[0088] The three-dimensional simulation module includes an initialization module, a camera adding module, a renderer creating module, a model loading module, a light source adding module, a rendering cycle module and an event interaction module;
[0089] The initialization module is used to create a THREE.Scene model based on Three.js as a container for the 3D world; and the scene of the THREE.Scene model can contain multiple objects, such as 3D models, meshes, and light sources.
[0090] Specifically, if a 3D model needs to be imported and loaded in a web page, there are certain requirements for the format of the 3D model. Currently, the model formats allowed to be loaded on the web page include OBJ, FBX, IFC, GLB and GLTF, etc. However, previous studies have never involved three-dimensional models of cutter suction dredgers in corresponding formats. Therefore, in this embodiment, the 3D model of the cutter suction dredger built by Solidworks software is exported to the .GLB format that can be adapted and loaded by the browser using Blender software for the first time. Figure 3 As shown in the figure, Three.js technology and digital technology render the three-dimensional model of the cutter suction dredger and display it on the platform, render the scene, add event elements to the scene, and publish the scene to form an interactive browsing access method, such as Figure 4 As shown, Three.js is a JavaScript 3D library based on WebGL, which provides many tools and functions to make it easier to create and render 3D graphics on web pages;
[0091] The camera adding module is used to set the position, orientation and field of view of the camera used for scene rendering according to the THREE.Scene model;
[0092] The cameras used include a perspective camera THREE.PerspectiveCamera and an orthographic camera THREE.OrthographicCamera;
[0093] The renderer creation module is used to create a WebGL renderer based on THREE.WebGLRenderer and add the WebGL renderer to a preset HTML DOM; according to the elements of the HTML DOM <canvas>Set the rendering size and clear color parameters of the WebGL renderer to achieve scene rendering of the THREE.Scene model through the WebGL renderer;
[0094] The model loading module is used to load the 3D simulation model of the positioning pile of the cutter suction dredger into the THREE.Scene model after scene rendering through a preset loader to obtain a linkage 3D simulation model;
[0095] Specifically, model loading can use THREE.Geometry and THREE.Material to create a custom mesh Mesh to create a model, or it can load external 3D model files (such as .glb, .gltf, .obj, .ifc, etc.) through the loader Loader, and then add the created object to the scene;
[0096] The light source adding module is used to add the light source type and light source attributes to the linkage 3D simulation model according to the scene requirements to obtain the 3D scene simulation model;
[0097] The light source types include at least ambient light THREE.AmbientLight, directional light THREE.DirectionalLight and point light THREE.PointLight; the light source properties include at least light source color, light source intensity and light source position;
[0098] The rendering loop module is used to create a rendering loop requestAnimationFrame, and when the model position is transformed, rotated or scaled according to the scene requirements, the scene and camera parameters are passed to the WebGL renderer through the render method of the renderer to render and update the 3D scene simulation model;
[0099] The event interaction module is used to implement parameter settings for updating the model state and model animation effects of the 3D scene simulation model, so as to realize visualization and interactive operations of the 3D scene simulation model.
[0100] Specifically, Figure 5 As shown, the user can interact with the 3D scene by monitoring the preset mouse and keyboard events. The state of the objects in the scene is updated or a specific animation effect is triggered according to the events. The final effect is that when the mouse clicks on the 3D model of the cutter suction dredger, a pop-up window information is displayed at the corresponding position. The model in the platform can be rotated 360°, reduced or enlarged, and the pop-up window contains the corresponding information of the model (material, length, height, working condition, etc.), thereby realizing the visualization and interaction of the 3D model.
[0101] The platform management module is used to retrieve the current periodic monitoring data in the MySQL monitoring database and obtain the digital twin simulation model according to the 3D scene simulation model;
[0102] Specifically, this embodiment is provided with an administrator login button and a pop-up box, which realizes the interaction of display and hiding based on the conditional rendering and event processing of the Vue framework. There is an administrator information table in the login function, and the administrator information table includes an account and password. The data table in the background system management function has defined accounts and passwords, permission tables, data dictionary tables, etc. After the administrator logs in successfully, sensor data and other monitoring data can be uploaded. The design of the data table can facilitate management personnel to log in to the platform and upload positioning pile sensor monitoring data. The implementation of the administrator login function in the platform management module is an important barrier to ensure that various functions and monitoring data are not leaked. The platform front-end management design flow chart is as follows: Figure 6 As shown, the main idea is to design an interface to facilitate backend managers to log in, log out and upload data files to the backend database, thereby realizing the visualization and interaction of monitoring data;
[0103] The specific implementation steps are as follows: Figure 7 The administrator login platform shown in the figure shows a login page pop-up window when the administrator login button is clicked. The pop-up window is displayed and hidden through Vue's conditional rendering and event processing. The administrator enters the account and password in the input box for login verification and matches it with the data in the database. If the match is successful, it will display the login success and enter the system homepage. Otherwise, it will display the login failure. Figure 8 As shown in the figure, after a successful login, two buttons will appear on the platform page, namely the upload data button and the exit button. Clicking the upload data button will upload the back-end sensor monitoring data to the front-end platform for real-time visualization.
[0104] The monitoring module is used to perform visualization processing based on the Vue.js framework and the Ecahrts table library according to the periodic monitoring data in the MySQL monitoring database retrieved by the platform management module, and obtain the current period visualization data; the visualization processing is to return the periodic monitoring data in JSON format to the platform management module for real-time rendering and visualization display;
[0105] Specifically, Fig. 9 As shown in FIG. 1 , the monitoring module can store and call the sensor data, realize the access to the data and the visualization of the data on the front-end platform, and facilitate the visitors and their managers to check the safety status of the cutter suction dredger and its positioning piles in real time, so as to provide a basis for the safe operation of the platform working state. The specific implementation steps are as follows: the positioning piles of the cutter suction dredger are usually 44m steel piles. Displacement sensors and bending moment sensors are evenly installed along the pile body from the pile top to the pile tip. The sensor data on the positioning piles of the cutter suction dredger are collected every five seconds. The data includes the displacement monitoring data of the positioning piles and the bending moment monitoring data of the positioning piles. The data monitored by the sensor is then sorted and exported as an Excel table. After the administrator logs in successfully, clicking the upload data button will traverse the entire local disk file. At this time, the corresponding sensor monitoring data file can be selected for upload. After the uploaded file, it will be saved in the background folder and MySQL database. Then, based on the Node.js framework, an API service is written in the back-end (API service stands for application programming interface, which defines a set of rules and conventions to allow different software, platforms, and systems to communicate and interact; the back-end API of the back-end data acquisition module in this embodiment refers to a set of HTTP endpoints, which can process the set requests and return the corresponding data or perform the corresponding operations to retrieve the uploaded data) for the front-end data processing module to obtain the call monitoring data from the MySQL database and return the data in JSON format to the front-end platform for real-time rendering and visualization. Data import and visualization: Based on the development of the safety warning platform for positioning piles of suction dredgers, it is necessary to use relevant database technologies and development frameworks to connect to the back-end data to realize the import and visualization of the back-end data. The data connection method in this embodiment is based on the Node.js framework using a combination of MySQL database and Excel table data. MySQL is a relational database management system based on SQL (Structured Query Language), such as Fig.10 For specific implementation steps:
[0106] (1) Create a MySQL database (same as the backend database design above);
[0107] (2) After the MySQL database is successfully created, create a MySQL connection pool in the front-end platform. Use the CreatePool method of the MySQL module to create a MySQL connection pool and specify the parameters for connecting to the database (host name, user name, password, and database name). The specific code is as follows:
[0108] constpool=mysql.createPool({
[0109] connectionLimit:10,
[0110] host:'localhost',
[0111] user:'root',
[0112] password:'tian19980411',
[0113] database:'shujuku'
[0114] });
[0115] (3) Define data functions. The data functions are divided into GetLatestFil, a function for obtaining the latest data file, and UpdateData, a function for updating data. These two functions are used to obtain the latest data file that stores sensor data. Then, the xlsx module is used to parse the data in the background Excel data file and insert the data into the table of the MySQL database. Subsequently, SetInterval is used to call the database data every 5 seconds to implement the timed update of the data in the database. The specific code is as follows:
[0116] function getLatestFile(){
[0117] / /
[0118] }
[0119] function updateData(){
[0120] / /
[0121] }
[0122] setInterval(updateData,5000);
[0123] (4) Create an Express server. Use express() to create an Express server. The server defines a route / data. When the client sends a GET request (issued through the routing function of the Express.js framework) to this route, the server will execute a query to retrieve all data from the MySQL database. Finally, use app.listen(3000,...) to start the Express server and save the sensor data in the database to port 3000. The front-end platform writes an API service in the back-end based on the Node.js framework to obtain the sensor data saved in port 3000 in real time (as shown in the following code), and return the data in JSON format to the front-end platform for real-time rendering and visualization, as shown in the following code: Figure 11 to Figure 12 As shown, the display mode is in the form of table and Echarts chart, the specific code is:
[0124] const app = express(); / / Create an Express application
[0125] app.use(cors()); / / Use cross-domain middleware
[0126] / / Set up routing, process GET requests, and return data from the database
[0127] app.get(' / data',(req,res)=>{
[0128] pool.query('SELECT*FROMbiaoge',(error,results)=>{
[0129] if(error){
[0130] console.log(error);
[0131] res.status(500).send('Internal Server Error');
[0132] }else{
[0133] res.json(results);
[0134] }
[0135] });
[0136] });
[0137] / / Listen to port 3000
[0138] app.listen(3000,()=>{
[0139] console.log('Serveris running onport 3000.');
[0140] });
[0141] The target recognition module is used to obtain a target recognition model for identifying the cutter suction dredger and the positioning piles according to a pre-created cutter suction dredger positioning pile image data set;
[0142] The data interaction module is used to call the acquired digital twin simulation model and target recognition module to the early warning function module;
[0143] Specifically, based on the digital twin simulation technology, real-time early warning and safety monitoring of the cutter suction dredger positioning piles are realized in the front-end platform. Through real-time monitoring and safety prediction of the three-dimensional simulation model of the cutter suction dredger positioning piles, possible problems can be discovered in time, so that measures can be taken in advance to ensure its normal service and improve the safety and stability of ship engineering. The real-time target monitoring of the cutter suction dredger is specifically as follows: The target monitoring design flow chart in this embodiment is as follows Fig.13 As shown in the figure, the main idea is to identify the cutter suction dredger and its positioning piles in real time, so as to facilitate the management personnel to identify and monitor the cutter suction dredger and its positioning piles, so as to prevent the cutter suction dredger from being damaged by environmental and human factors. The design is mainly based on the existing deep learning algorithm to train the VOC data set to identify the cutter suction dredger and its positioning piles, so as to improve the recognition accuracy;
[0144] like Fig.14 As shown, the target recognition module includes a data set acquisition unit, a model training unit, a parameter configuration unit, a model evaluation unit and a model deployment unit;
[0145] The data set acquisition unit is used to acquire a pre-created image data set of positioning piles of a cutter suction dredger, and to perform target feature annotation on each sample image in the image data set through the annotation tool Labelimg to obtain an xml image file of a corresponding label category;
[0146] Specifically, we first collect data, including thousands or tens of thousands of images containing targets (dredgers and positioning piles). In theory, the more images provided during training, the higher the recognition accuracy. We also use the labeling tool Labelimg to annotate the location (bounding box) and category of each target in each image. Fig.15 As shown in the figure, after the annotation is completed, it will be automatically saved as an .xml file. After all the annotations are completed, the thousands or tens of thousands of xml files formed are the VOC dataset. Fig.16 As shown;
[0147] The target features at least include contour features of positioning piles, auger, dredger hull, dredger discharge pipe, dredger suction pipe and dredger cabin;
[0148] And divide the XML image file into training set and verification set according to the preset ratio;
[0149] The model training unit is used to obtain a target recognition model and perform target recognition training on it according to the training set; the target recognition model includes any one of YOLO (You Only Look Once), SSD (Single Shot MultiBox Detector), Faster R-CNN (Faster Region-based Convolutional Network), Mask R-CNN, RetinaNet, FCOS (Fully Convolutional One-Stage Object Detection), DETR (DEtection TRansformer) and EfficientDet; the implementation of the real-time target monitoring function of the cutter suction dredger in this embodiment adopts the YOLO model, which is a target detection algorithm based on a convolutional neural network (CNN), and the front-end data processing module sets a port to call a local video or an external camera (the code is mode="video", mode is used to specify the test mode: when mode="predict", it means single picture recognition; when mode="video" means video detection, the camera or video can be called for recognition), and it is displayed in real time in the form of a video stream pop-up window, which can realize the real-time scene monitoring of the cutter suction dredger and the positioning pile;
[0150] Specifically, the collected data set is run using Python. The specific running process is to input the training data into the model to obtain the predicted output, calculate the loss function value (evaluation index value) based on the predicted output and the true annotation, and then update the model weights through the gradient descent algorithm. The performance of the model is evaluated on the validation set in a cyclic manner, and hyperparameters are adjusted or the model is optimized as needed;
[0151] The model evaluation unit is used to perform model evaluation on the trained target recognition model according to the validation set, and the parameter configuration unit is used to update the model weights through the gradient descent algorithm according to the evaluation index to optimize the hyperparameter weights of the target recognition model to update the target recognition model;
[0152] The evaluation index includes any one of the mean average precision (mAP) or mean square error (MSE);
[0153] The updated target recognition model is transmitted to the model training unit, and the model training is continued to be performed, so as to realize the cyclical replacement of the target recognition model by the model training unit and the model evaluation unit until the preset maximum number of iterations is reached, so as to obtain the final target recognition model;
[0154] Specifically, the learning rate is the step size for controlling the update of the model weights, which is set to 0.005; the batch size is the number of samples used in each training iteration, which is set to 64 according to the GPU memory and computing performance; the number of training rounds is the total number of iterations of model training. Sufficient training rounds can ensure that the model fully learns the characteristics of the data, but too many training rounds may lead to overfitting. In this embodiment, the maximum number of iterations is set to 100;
[0155] The model deployment unit is used to build a Web server based on the Express.js framework in the front-end data processing module to provide an API interface for calling the target recognition model, and call the final target recognition model to the early warning function module;
[0156] The warning function module is used to obtain the identification features of the cutter suction dredger or the positioning pile according to the called target recognition model and the digital twin simulation model, and obtain the safety warning data of the cutter suction dredger positioning pile according to the current cycle visualization data and the set fatigue threshold; and the safety warning data includes warning rendering identification features, warning pop-up windows and warning logs;
[0157] Specifically, the warning function module includes an input module, an analysis module, a warning rendering module and a warning display module;
[0158] The input module is used to obtain the output of the monitoring module and the current digital twin simulation model;
[0159] The analysis module is used to compare the current output of the monitoring module with the set fatigue threshold, and transmit the characteristic number of the positioning pile corresponding to the cutter suction dredger whose current output of the monitoring module does not meet the set fatigue threshold to the early warning rendering module;
[0160] The warning rendering module is used to perform color rendering on the corresponding positioning piles in the current digital twin simulation model according to the output of the analysis module, so as to realize the recognition feature warning rendering of the corresponding positioning piles;
[0161] The warning display module is used to obtain the warning log based on the output of the analysis module, record the fault information of the corresponding positioning pile based on AddAlarm, and call the ShowPopup property function to create a warning pop-up window.
[0162] Specifically, Fig.17 Specific implementation process: set the fatigue threshold through the analysis module, use Threshold to preset the threshold, when the value of the sensor monitoring data uploaded to the platform reaches or exceeds this threshold, the early warning display module alarms, when the value is less than this threshold, the early warning display module does not change; after the data of the back-end data acquisition module is transferred to the monitoring module, the sensor data is obtained using the FetchSensorData method, and the maximum value in the data is traversed using CalculateMaxValue; judge the early warning, when the positioning pile reaches the fatigue threshold, the sensor data will exceed the preset threshold, the front-end platform displays the early warning information, and the early warning rendering module makes the positioning pile in the 3D simulation model of the cutter suction dredger display red flashing; early warning information rendering, the early warning display module uses AddAlarm to record fault information and use the ShowPopup attribute to create an early warning pop-up window, and the early warning monitoring module performs real-time rendering and displays the information of the positioning pile fault, exports the early warning log, and pops up the corresponding early warning pop-up window, such as Figures 18 to 20 shown.
[0163] This embodiment obtains the periodic monitoring data of the cutter suction dredger positioning piles through the back-end data acquisition module to create a MySQL monitoring database based on the periodic monitoring data, and realizes real-time warning and safety monitoring of the cutter suction dredger positioning piles on the browser side by combining the use of ThreeJS, deep learning and digital twin technology. The warning platform can be browsed anytime and anywhere without installing professional software. The safety warning platform can load and display the three-dimensional model of the cutter suction dredger and the positioning piles, interact in real time, recognize in real time and display fatigue warning information, and can also perform model construction in the three-dimensional model of the cutter suction dredger. The software interacts with each other to obtain the digital twin simulation model, and obtains the target recognition model for identifying the cutter suction dredger and the positioning pile through the target recognition module. The early warning function module obtains the identification features of the cutter suction dredger or the positioning pile according to the target recognition model and the digital twin simulation model, and obtains the safety early warning of the cutter suction dredger positioning pile according to the current cycle visualization data and the set fatigue threshold. It realizes real-time monitoring and safety prediction of the cutter suction dredger positioning pile in the actual environment, can timely discover possible problems, so as to take measures in advance to ensure its normal service and improve the safety and stability of ship engineering.
[0164] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.< / canvas> < / canvas>
Claims
1. A safety warning platform for positioning piles of a cutter suction dredger, characterized in that: Including back-end data acquisition module, data import module and front-end data processing module: The back-end data acquisition module is used to acquire the periodic monitoring data of the positioning piles of the cutter suction dredger, so as to create a MySQL monitoring database according to the periodic monitoring data; The periodic monitoring data includes the horizontal displacement, vertical displacement and bending moment of each positioning pile obtained in the corresponding sampling period; The data import module is used to import the periodic monitoring data in the MySQL monitoring database into the front-end data processing module; The front-end data processing module includes a monitoring module, a platform management module, a data interaction module, a three-dimensional simulation module, an early warning function module and a target recognition module; The three-dimensional simulation module is used to obtain a 3D simulation model of the positioning pile of the cutter suction dredger based on Three.js, and perform scene processing on the 3D simulation model to obtain a 3D scene simulation model, and transmit the obtained 3D scene simulation model to the platform management module; The platform management module is used to retrieve the current periodic monitoring data in the MySQL monitoring database and obtain the digital twin simulation model according to the 3D scene simulation model; The monitoring module is used to perform visualization processing based on the Vue.js framework and the Ecahrts table library according to the periodic monitoring data in the MySQL monitoring database retrieved by the platform management module, and obtain the visualization data of the current period; The visualization processing is to return the periodic monitoring data in JSON format to the platform management module for real-time rendering and visualization; The target recognition module is used to obtain a target recognition model for identifying the cutter suction dredger and the positioning piles according to a pre-created cutter suction dredger positioning pile image data set; The data interaction module is used to call the acquired digital twin simulation model and target recognition module to the early warning function module; The warning function module is used to obtain the identification features of the cutter suction dredger or the positioning pile according to the called target recognition model and the digital twin simulation model, and obtain the safety warning data of the cutter suction dredger positioning pile according to the current cycle visualization data and the set fatigue threshold; And the security warning data includes warning rendering identification features, warning pop-up windows and warning logs.
2. A safety warning platform for positioning piles of a cutter suction dredger according to claim 1, characterized in that: The method for creating a MySQL monitoring database based on periodic monitoring data is to periodically collect the periodic monitoring data of the positioning piles of the cutter suction dredger through sensors, and convert the periodic monitoring data into an Excel data table; The Excel data table includes the component number of the positioning pile of the cutter suction dredger and the horizontal displacement, vertical displacement and bending moment corresponding to the component number; The Excel data table is transferred to a pre-created MySQL database and stored to obtain a MySQL monitoring database.
3. The safety warning platform for positioning piles of a cutter suction dredger according to claim 1, characterized in that: The three-dimensional simulation module includes an initialization module, a camera adding module, a renderer creating module, a model loading module, a light source adding module, a rendering cycle module and an event interaction module; The initialization module is used to create a THREE.Scene model based on Three.js as a container of the 3D world; The camera adding module is used to set the position, orientation and field of view of the camera used for scene rendering according to the THREE.Scene model; The cameras used include a perspective camera THREE.PerspectiveCamera and an orthographic camera THREE.OrthographicCamera; The renderer creation module is used to create a WebGL renderer based on THREE.WebGLRenderer and add the WebGL renderer to a preset HTML DOM; according to the elements of the HTML DOM <canvas> Set the rendering size and clear color parameters of the WebGL renderer to achieve scene rendering of the THREE.Scene model through the WebGL renderer;< / canvas> The model loading module is used to load the 3D simulation model of the positioning pile of the cutter suction dredger into the THREE.Scene model after scene rendering through a preset loader to obtain a linkage 3D simulation model; The light source adding module is used to add the light source type and light source attributes to the linkage 3D simulation model according to the scene requirements to obtain the 3D scene simulation model; The light source types include at least ambient light THREE.AmbientLight, directional light THREE.DirectionalLight and point light THREE.PointLight; the light source properties include at least light source color, light source intensity and light source position; The rendering loop module is used to create a rendering loop requestAnimationFrame, and when the model position is transformed, rotated or scaled according to the scene requirements, the scene and camera parameters are passed to the WebGL renderer through the render method of the renderer to render and update the 3D scene simulation model; The event interaction module is used to implement parameter settings for updating the model state and model animation effects of the 3D scene simulation model, so as to realize visualization and interactive operations of the 3D scene simulation model.
4. The safety warning platform for positioning piles of a cutter suction dredger according to claim 1, characterized in that: The target recognition module includes a data set acquisition unit, a model training unit, a parameter configuration unit, a model evaluation unit and a model deployment unit; The data set acquisition unit is used to acquire a pre-created image data set of positioning piles of a cutter suction dredger, and to perform target feature annotation on each sample image in the image data set through the annotation tool Labelimg to obtain an xml image file of a corresponding label category; The target features at least include contour features of positioning piles, auger, dredger hull, dredger discharge pipe, dredger suction pipe and dredger cabin; And divide the XML image file into training set and verification set according to the preset ratio; The model training unit is used to obtain a target recognition model and perform target recognition training on it according to the training set; The target recognition model includes any one of YOLO, SSD, Faster R-CNN, Mask R-CNN, RetinaNet, FCOS, DETR or EfficientDet; The model evaluation unit is used to perform model evaluation on the trained target recognition model according to the validation set, and the parameter configuration unit is used to update the model weights through the gradient descent algorithm according to the evaluation index to optimize the hyperparameter weights of the target recognition model and then update the target recognition model; The evaluation index includes any one of the mean average precision (mAP) or mean square error (MSE); The updated target recognition model is transmitted to the model training unit, and the model training is continued to be performed, so as to realize the cyclical replacement of the target recognition model by the model training unit and the model evaluation unit until the preset maximum number of iterations is reached, so as to obtain the final target recognition model; The model deployment unit is used to build a Web server based on the Express.js framework in the front-end data processing module to provide an API interface for calling the target recognition model and call the final target recognition model to the early warning function module.
5. The safety warning platform for positioning piles of a cutter suction dredger according to claim 1, characterized in that: The warning function module includes an input module, an analysis module, a warning rendering module and a warning display module; The input module is used to obtain the output of the monitoring module and the current digital twin simulation model; The analysis module is used to compare the current output of the monitoring module with the set fatigue threshold, and transmit the characteristic number of the positioning pile corresponding to the cutter suction dredger whose current output of the monitoring module does not meet the set fatigue threshold to the early warning rendering module; The warning rendering module is used to perform color rendering on the corresponding positioning piles in the current digital twin simulation model according to the output of the analysis module, so as to realize the recognition feature warning rendering of the corresponding positioning piles; The warning display module is used to obtain the warning log based on the output of the analysis module and the fault information of the corresponding positioning pile recorded by AddAlarm, and to call the ShowPopup property function to create a warning pop-up window.
