Drainage performance testing device, method and computer equipment for marine drainage systems

CN123028802APending Publication Date: 2026-11-03WUHAN MARINE MACHINERY PLANT
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202610911421.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-06-24
Publication Date
2026-11-03

AI Technical Summary

Technical Problem

Testing the drainage performance of existing marine drainage systems requires specialized testing equipment and facilities, and consumes a lot of manpower, resources, and time, resulting in low testing efficiency.

Method used

A testing device was designed, comprising an outlet water tank, a manifold water tank, pipelines, a flow sensor, a pressure sensor, and a control module. The device controls the pump speed and valve opening through sensor data, and optimizes PID parameters by combining an LSTM model and a fuzzy logic algorithm to achieve accurate testing.

Benefits of technology

It improves the accuracy and safety of drainage performance testing, simplifies testing equipment, reduces manpower and material costs, and achieves efficient drainage performance evaluation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123028802A_ABST
    Figure CN123028802A_ABST
Patent Text Reader

Abstract

The present disclosure provides a drainage performance testing device, method and computer equipment for a marine drainage system. The drainage performance testing device for the marine drainage system comprises two outlet water tanks, a confluence water tank, two pipelines, two flow sensors, two first pressure sensors, two second pressure sensors and a control module. The two outlet water tanks are connected with two water outlets of the marine drainage system respectively, the confluence water tank is connected with an inlet water tank of the marine drainage system, and the confluence water tank is connected with the two outlet water tanks through the two pipelines respectively. The two flow sensors are located in the two pipelines respectively, the two first pressure sensors are located in the marine drainage system respectively and close to two sides of the two outlet water tanks, and the two second pressure sensors are located in the two outlet water tanks respectively.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of marine machinery, and in particular to a device, method and computer equipment for testing the drainage performance of a marine drainage system. Background Technology

[0002] In recent years, the rapid development of marine engineering has indirectly promoted the development and progress of marine drainage system manufacturing technology.

[0003] Verifying the drainage performance of marine drainage systems is crucial during the design and manufacturing phase. This not only ensures the reliability of the equipment in actual use and prevents potential safety hazards, but also helps designers identify shortcomings in the design and manufacturing of the equipment, providing opportunities for improvement and innovation, and contributing to the continuous optimization of equipment performance and the enhancement of product competitiveness.

[0004] However, testing the drainage performance of marine drainage systems currently requires not only specialized testing equipment and facilities, but also significant manpower, material resources, and time. Summary of the Invention

[0005] This disclosure provides a drainage performance testing apparatus, method, and computer equipment for marine drainage systems. The technical solution is as follows: In a first aspect, the present disclosure provides a drainage performance testing device for a marine drainage system, the drainage performance testing device for a marine drainage system comprising: two outlet water tanks, a manifold water tank, two pipelines, two flow sensors, two first pressure sensors, two second pressure sensors, and a control module; The two outlet water tanks are respectively connected to the two outlets of the marine drainage system, the manifold water tank is connected to the inlet water tank of the marine drainage system, and the manifold water tank is respectively connected to the two outlet water tanks through the two pipes; The two flow sensors are located in the two pipes respectively, the two first pressure sensors are located on both sides of the marine drainage system near the two outlet water tanks respectively, and the two second pressure sensors are located in the two outlet water tanks respectively. The control module is electrically connected to the two flow sensors, the two first pressure sensors, and the two second pressure sensors, respectively, and is used to acquire two flow data collected by the two flow sensors, first pressure data collected by the two first pressure sensors on both sides, and second pressure data collected by the two second pressure sensors on both sides; based on the flow data, the first pressure data, and the second pressure data, it controls the speed of the water pump and the valve opening of the marine drainage system; and determines the relationship curve between the speed of the water pump and the flow data, the relationship curve being used to represent the drainage performance of the marine drainage system.

[0006] Optionally, the control module is configured to acquire an LSTM model trained based on historical data; use the LSTM model to predict the PID parameters of the pumps in the marine drainage system; determine the flow difference and pressure difference based on the flow data, the first pressure data, the second pressure data, and set parameters, wherein the set parameters include set flow values ​​and set pressure values; correct the PID parameters using a fuzzy logic algorithm based on the flow difference and pressure difference; and determine the pump speed and valve opening of the marine drainage system based on the corrected PID parameters, the flow difference, and the pressure difference.

[0007] Optionally, the control module is configured to read data from the two flow sensors, the two first pressure sensors, and the two second pressure sensors using a polling method via the RS485-RTU protocol. During the reading process, the data from the two first pressure sensors and the two second pressure sensors have a higher priority than the data from the two flow sensors.

[0008] Optionally, the control module is further configured to perform first-order hysteresis filtering on the flow data, the first pressure data, and the second pressure data.

[0009] Optionally, the control module is further configured to convert the flow rate data, the first pressure data, and the second pressure data from numerical values ​​into engineering quantities.

[0010] Optionally, the control module is further configured to acquire an alarm setting value; and to trigger an alarm when the flow data, the first pressure data, or the second pressure data reaches the alarm setting value.

[0011] Optionally, a flow stabilizer is provided at the connection point between the outlet water tank and the pipeline.

[0012] In a second aspect, embodiments of this disclosure provide a method for testing the drainage performance of a marine drainage system, the method being applied to the apparatus described in any one of the first aspects, the method comprising: Acquire two flow data collected by the two flow sensors respectively, first pressure data collected by the two first pressure sensors on both sides, and second pressure data collected by the two second pressure sensors on both sides. Based on the flow rate data, the first pressure data, and the second pressure data, the speed of the water pump and the valve opening of the marine drainage system are controlled. A relationship curve is determined between the pump speed and the flow rate data of the marine drainage system, and the relationship curve is used to represent the drainage performance of the marine drainage system.

[0013] Thirdly, embodiments of this disclosure provide a computer device, the computer device comprising: a processor; a memory configured to store processor-executable instructions; wherein the processor is configured to execute the drainage performance testing method for a marine drainage system as described in any of the second aspects.

[0014] Fourthly, embodiments of this disclosure provide a computer-readable storage medium that, when the instructions in the computer-readable storage medium are executed by a processor of a computer device, enables the computer device to perform the drainage performance testing method for a marine drainage system as described in any of the second aspects.

[0015] The beneficial effects of the technical solutions provided in this disclosure are: In this embodiment, the drainage performance testing device for the marine drainage system is connected to the marine drainage system via an outlet tank, a manifold tank, and pipelines. During testing, the marine drainage system can discharge water from the inlet tank to the outlet tank, through the pipelines to the manifold tank, and finally back to the inlet tank, thus achieving a cyclic test. The system has a simple mechanical structure, and two loops can be formed through two outlet tanks and two pipelines, allowing for two-sided comparisons during testing, increasing the accuracy of the drainage performance test.

[0016] In the aforementioned mechanical device, flow sensors and pressure sensors are distributed to detect flow rate and pressure. Based on the flow rate and pressure, the pump speed and valve opening of the marine drainage system are controlled, ensuring that the pump speed and valve opening are adjusted to reasonable values ​​for flow rate and pressure. Furthermore, the relationship curve between speed and flow rate data shows the flow rate of the pump at different speeds, accurately representing the drainage performance of the drainage system.

[0017] In addition, two flow sensors are installed in the two pipelines respectively, and two first pressure sensors are located on both sides of the marine drainage system near the two outlet tanks. Two second pressure sensors are located in the two outlet tanks respectively. These sensors can determine the flow rate and pressure of the two loops respectively, providing a basis for accurate testing of drainage performance through two-sided comparison. The first and second pressure sensors are respectively located in the marine drainage system and the outlet tanks. The pressure data detected can form a pressure difference, which can be used as a basis for controlling the water pumps of the marine drainage system, avoiding unreasonable pressure differences that exceed the mechanical device's capacity, thereby improving test safety. Attached Figure Description

[0018] To more clearly illustrate the technical solutions in the embodiments of this disclosure, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this disclosure. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0019] Figure 1 This is a schematic diagram of the structure of a drainage performance testing device for a marine drainage system provided in an embodiment of this disclosure; Figure 2 This is a schematic diagram of a module for testing the drainage performance of a marine drainage system according to an embodiment of this disclosure; Figure 3 This is a schematic diagram of an HMI architecture provided in an embodiment of this disclosure; Figure 4 This is a flowchart of a method for testing the drainage performance of a marine drainage system according to an embodiment of this disclosure; Figure 5 This is a structural block diagram of a computer device provided in an embodiment of this disclosure. Detailed Implementation

[0020] To make the objectives, technical solutions, and advantages of this disclosure clearer, the embodiments of this disclosure will be described in further detail below with reference to the accompanying drawings.

[0021] Figure 1 This is a schematic diagram of a drainage performance testing device for a marine drainage system provided in an embodiment of this disclosure. See also... Figure 1 The drainage performance testing device for the marine drainage system includes: two outlet water tanks 101, a manifold water tank 102, two pipes 103, two flow sensors 105, two first pressure sensors 106, and two second pressure sensors 107.

[0022] The two outlet water tanks 101 are respectively connected to the two outlets 201 of the marine drainage system, the manifold water tank 102 is connected to the inlet water tank 202 of the marine drainage system, and the manifold water tank 102 is respectively connected to the two outlet water tanks 101 through the two pipes 103.

[0023] The two flow sensors 105 are respectively located in the two pipes 103, the two first pressure sensors 106 are respectively located on both sides of the marine drainage system near the two outlet water tanks 101, and the two second pressure sensors 107 are respectively located in the two outlet water tanks 101.

[0024] For example, two pipes 103 are symmetrically arranged on both sides of the marine drainage system, and two outlet water tanks 101 are symmetrically arranged on both sides of the marine drainage system.

[0025] Figure 2 This is a schematic diagram of a module for testing the drainage performance of a marine drainage system according to an embodiment of this disclosure. See also... Figure 2 The system also includes a control module 108, which is electrically connected to the two flow sensors 105, the first pressure sensor 106, and the two second pressure sensors 107, respectively. The control module 108 is used to acquire two flow data points collected by the two flow sensors 105, first pressure data points collected by the two first pressure sensors 106, and second pressure data points collected by the two second pressure sensors 107. Based on the flow data, the first pressure data, and the second pressure data, the control module controls the speed of the pump and the valve opening of the marine drainage system. The control module determines the relationship curve between the pump speed and the flow data, which represents the drainage performance of the marine drainage system.

[0026] In this embodiment, the drainage performance testing device for the marine drainage system is connected to the marine drainage system via an outlet tank, a manifold tank, and pipelines. During testing, the marine drainage system can discharge water from the inlet tank to the outlet tank, through the pipelines to the manifold tank, and finally back to the inlet tank, thus achieving a cyclic test. The system has a simple mechanical structure, and two loops can be formed through two outlet tanks and two pipelines, allowing for two-sided comparisons during testing, increasing the accuracy of the drainage performance test.

[0027] In the aforementioned mechanical device, flow sensors and pressure sensors are distributed to detect flow rate and pressure. Based on the flow rate and pressure, the pump speed and valve opening of the marine drainage system are controlled, ensuring that the pump speed and valve opening are adjusted to reasonable values ​​for flow rate and pressure. Furthermore, the relationship curve between speed and flow rate data shows the flow rate of the pump at different speeds, accurately representing the drainage performance of the drainage system.

[0028] In addition, two flow sensors are installed in the two pipelines respectively, and two first pressure sensors are located on both sides of the marine drainage system near the two outlet tanks. Two second pressure sensors are located in the two outlet tanks respectively. These sensors can determine the flow rate and pressure of the two loops respectively, providing a basis for accurate testing of drainage performance through two-sided comparison. The first and second pressure sensors are respectively located in the marine drainage system and the outlet tanks. The pressure data detected can form a pressure difference, which can be used as a basis for controlling the water pumps of the marine drainage system, avoiding unreasonable pressure differences that exceed the mechanical device's capacity, thereby improving test safety.

[0029] Optionally, the drainage performance testing device for the marine drainage system further includes a liquid level sensor 104, which is located within the marine drainage system.

[0030] The control module 108 is electrically connected to the liquid level sensor 104 and is used to acquire the liquid level data collected by the liquid level sensor 104. Based on the liquid level data, the head can be calculated.

[0031] In this embodiment, the marine drainage system includes a water tank in a stepped configuration, including the aforementioned inlet water tank 202. A water pump is located within the water tank and is connected to a control relay. The control module 108 controls the water pump by sending a control signal to the control relay.

[0032] The inlet of the inlet water tank 202 is connected to the manifold water tank via a detachable connection, and the two inlets 201 are connected to the two outlet water tanks via detachable connections.

[0033] The aforementioned detachable connection can refer to a flange face-to-face connection at the interface, with a rubber gasket used for sealing the mating surfaces, and assembled using 12-M4×20 screws.

[0034] like Figure 1 As shown, two gates 203 are spaced apart inside the inlet water tank 202, which can be used to control the opening and closing of the water inlet. The two gates 203 are opened during the test.

[0035] like Figure 1 As shown, the two gates 203 are sealed by U-shaped inflatable sealing strips 204.

[0036] like Figure 1 As shown, a gate 203 is provided at the end of the inlet water tank 202 near the two outlets 201, and is sealed by a U-shaped air-filled sealing strip 204. This gate 203 is closed during the test.

[0037] In this embodiment of the disclosure, the control module 108 is configured to acquire a Long Short-Term Memory (LSTM) network model trained based on historical data; use the LSTM model to predict the proportional-integral-derivative (PID) parameters of the pumps in the marine drainage system; determine the flow difference and pressure difference based on the flow data, the first pressure data, the second pressure data, and set parameters, wherein the set parameters include set flow values ​​and set pressure values; correct the PID parameters using a fuzzy logic algorithm based on the flow difference and pressure difference; and determine the pump speed and valve opening of the marine drainage system based on the corrected PID parameters, the flow difference, and the pressure difference.

[0038] For example, historical data is essentially a time-series dataset of flow rate, first pressure, and second pressure sensors, used to train the LSTM to learn the correlation between operating conditions and PID parameters; while the real-time input of the LSTM is data such as flow rate, first pressure, and second pressure, along with set parameters and dynamic deviations (the difference between the collected values ​​and the set parameters), to achieve intelligent prediction and dynamic optimization of PID parameters.

[0039] For example, historical data is used to train the LSTM model, mainly including the following key parameters: flow data collected by flow sensors (from two loops), data from the first pressure sensor (pressure on both sides of the outlet tank in the marine drainage system), data from the second pressure sensor (pressure inside the outlet tank), and optimized PID parameters (proportional, integral, and derivative coefficients). This data is accumulated over a long period under different operating conditions (such as different flow rates, pressures, and liquid levels) and is used to establish a mapping relationship between sensor data and optimal PID parameters. The trained LSTM model can dynamically predict PID parameters based on real-time sensor data.

[0040] The input to the LSTM model is based on real-time sensor data, namely the flow data, the first pressure data, and the second pressure data.

[0041] Since the flow data, the first pressure data, and the second pressure data refer to the two flow data collected by the two flow sensors 105 respectively, the first pressure data collected by the two first pressure sensors 106 on both sides, and the second pressure data collected by the two second pressure sensors 107 on both sides, there are different ways to determine the flow difference and pressure difference.

[0042] In one example, the set parameters include two set flow values ​​corresponding to two flow data, a first set pressure value corresponding to two first pressure data, and a second set pressure value corresponding to two second pressure data.

[0043] During the calculation, the flow difference and pressure difference corresponding to each flow rate and pressure are determined separately, and then the PID parameters are corrected.

[0044] In another example, the flow difference between the two sides can be determined first based on two flow data. Based on the first and second pressure data on the same side, the pressure difference on one side and the pressure difference on the other side can be determined respectively. Accordingly, the parameters set include setting the flow difference, setting the pressure difference on one side and setting the pressure difference on the other side.

[0045] During the calculation, the flow difference between the two sides and the set flow difference are determined, as well as the pressure difference between the two sides and the set pressure difference, and then the PID parameters are corrected.

[0046] In this embodiment of the disclosure, using a fuzzy logic algorithm to correct the PID parameters means designing fuzzy rules based on the dynamic response characteristics of the flow difference and pressure difference to correct the PID parameters. For example, when the deviation of the flow difference and / or pressure difference is large: increase the proportional gain, decrease the integral gain, and increase the derivative gain. When the deviation is small: decrease the proportional gain, increase the integral gain, and decrease the derivative gain.

[0047] In this embodiment of the disclosure, determining the pump speed and valve opening of the marine drainage system means that, based on the flow difference and PID parameters, the pump speed is calculated using a PID controller, and the adjustment target of the pump speed is to eliminate the flow difference; and based on the pressure difference and PID parameters, the valve opening is calculated using a PID controller, and the adjustment target of the valve opening is to eliminate the pressure difference.

[0048] In this implementation, the values ​​of the PID parameters are first obtained by LSTM prediction, then the PID parameters are corrected based on the flow difference and pressure difference, and finally the pump speed and valve opening are determined based on the corrected PID parameters to ensure the control accuracy of the speed and valve opening.

[0049] In this embodiment of the disclosure, the control module 108 is used to read data from the liquid level sensor 104, the two flow sensors 105, the first pressure sensor 106, and the two second pressure sensors 107 in a polling manner via the RS485 Remote Terminal Unit (RTU) protocol. During the reading process, the data priority of the first pressure sensor 106 and the two second pressure sensors 107 is higher than the data priority of the two flow sensors 105, and the data priority of the two flow sensors 105 is higher than the data priority of the liquid level sensor 104.

[0050] In this implementation, the above protocol is used for transmission, which can ensure the reading efficiency of each sensor data and ensure that the reading reliability of high-priority data is greater than that of low-priority data.

[0051] In this embodiment, the level sensor 104 can be a high-precision level transmitter to acquire the real-time water tank level during the operation of the marine drainage system. Under relatively steady-state conditions, the level sensor uses a moving standard deviation to detect steady-state conditions, switching to a large window (preset 30 sample points) during steady-state conditions and a small window (preset 5 sample points) during transient conditions, incrementally calculating the mean.

[0052] The first pressure sensor 106 and the second pressure sensor 107 can be digital display pressure sensors. The pressure sensors are located in a high-frequency dynamic environment and require rapid response to high-frequency changes, necessitating real-time filtering. A variable-parameter Kalman filter is employed, dynamically adjusting the process noise covariance matrix Q according to the pressure change rate. Parallel Kalman filter calculations are implemented using a Field-Programmable Gate Array (FPGA), and zero-copy data processing is achieved through Direct Memory Access (DMA) transfer, completing matrix operations in a single cycle (utilizing the FPGA's parallel multiplier). Actual average response latency: <50μs, average dynamic adaptation time: <10ms.

[0053] The flow sensor 105 is an electromagnetic flow meter that acquires the real-time water tank flow and cumulative flow during the operation of the marine drainage system. The electromagnetic flow meter terminal housing integrates an STM32 microcontroller, which includes a microcontroller unit (MCU), a memory chip (1MB Flash), and a power management unit (supporting 12-24VDC input). It is responsible for raw data filtering (Kalman filtering, real-time correction of random noise in flow data, adapting to different flow rate conditions), outlier removal, and feature extraction.

[0054] The flow sensor 105 is installed at the middle position relative to the bottom of the water tank. The second pressure sensor 107 is installed at a height of 500mm relative to the bottom of the water tank. The first pressure sensor 106 is installed at a height of 200mm relative to the bottom of the water tank. Liquid level sensor 104 installation location: located on the bottom plane of the water tank.

[0055] Sensor data is transmitted using the Message Queuing Telemetry Transport (MQTT) protocol. Communication bandwidth is dynamically allocated based on the data change rate, with highly volatile data being uploaded first. The main control PLC only receives critical information. Each sensor employs a multi-level interrupt priority system: pressure sensors have the highest priority (1ms cycle); flow sensors have a medium priority (10ms cycle); and level sensors have the lowest priority (100ms cycle).

[0056] Custom firmware is burned into each of the aforementioned sensors, integrating MQTT client, feature calculation, and priority logic. The control module is configured with an MQTT Broker (Mosquitto) and subscribes to topics. QoS levels and heartbeat intervals are set (QoS=1, KeepAlive=60s). Compressed feature data is transmitted using the MQTT protocol, with communication bandwidth dynamically allocated based on the data change rate. High-fluctuation data is uploaded first, and the main control PLC only receives critical information.

[0057] In this embodiment of the disclosure, the control module 108 is further configured to perform sliding window mean filtering on the liquid level data, and to perform first-order hysteresis filtering on the flow rate data, the first pressure data, and the second pressure data.

[0058] It should be noted that the filtering here refers to the filtering performed after the sensor data has been acquired, while the filtering mentioned earlier refers to the local filtering of the sensor.

[0059] In this implementation, by filtering the data, noise can be better eliminated, and then the data can be applied to control.

[0060] In this embodiment of the disclosure, the control module 108 is further configured to convert the liquid level data, the flow rate data, the first pressure data, and the second pressure data from numerical quantities I_Nv to engineering quantities O_Ev.

[0061] Among them, numerical quantities are directly output digital signals, while engineering quantities are the actual physical quantities corresponding to the numerical quantities. Through the above conversion, better control and display can be achieved.

[0062] In this embodiment, a linearization formula is used to convert the sensor value I_Nv collected by the control module into the engineering quantity data O_Ev required by the project. The conversion formula is as follows:

[0063] Where O_Ev: Engineering signal (engineering metric units) of analog signal. I_Nv: Analog signal acquisition signal (PLC digital signal); H_Ev, L_Ev: Calibration high / low points of engineering signals; H_Nv, L_Nv: Calibration high / low points of the acquired signal.

[0064] The aforementioned high / low points can be obtained in advance through the calibration process.

[0065] See you again Figure 1 A flow stabilizer 110 is provided at the connection between the outlet water tank 101 and the pipeline 103.

[0066] In this implementation, setting a flow stabilizing grid can stabilize the flow velocity and direction, and balance the flow distribution.

[0067] See you again Figure 1 Manual shut-off valves 111 are installed on the two pipes 103 respectively. The two pipes 103 are supported by supports 112 respectively. The two pipes 103 are connected to the transition water tank 113 and the outlet water tank 101 respectively.

[0068] like Figure 1 As shown, the system's water tank is a real-time monitoring device for the drainage performance of the propulsion device. It features a generally mirror-image circulating water circuit structure. The propulsion device is fixed in the center of the circulating water circuit. During operation, the drainage from both sides of the device flows through a flow stabilizer and the corresponding side pipe to the manifold tank, which then supplies water for the marine drainage system. This circulation achieves hydrodynamic balance within the water tank, creating the environmental conditions required for real-time monitoring of the marine drainage system's drainage performance. Symmetrical design and layered measurement precisely match the fluid dynamics characteristics, reducing local interference. The flow sensor is positioned in the center, avoiding the influence of the velocity boundary layer near the pipe wall and more accurately reflecting the average flow rate of the pipeline. The pressure sensor directly reflects the actual head of the drainage system through the pressure difference (ΔP) between the high outlet and low inlet sides, avoiding local turbulence interference. The level sensor is installed at the bottom of the tank to avoid errors caused by liquid level fluctuations or tilting, providing a stable level reference value. The water flow at the bottom of the tank is relatively gentle, allowing air bubbles to easily rise to the top vent valve, reducing the impact on level measurement.

[0069] In this embodiment, the construction process of the water tank body is described as follows: The water tank is a structural component, constructed by welding steel plates using a V-groove joint. The assembly end faces of each water tank are machined to ensure the accuracy of surface roughness and flatness. The two U-shaped air-sealing strip mounting grooves in the inlet water tank need to be rounded at the right angle at the bottom of the tank to prevent the right angle at the bottom of the groove from scratching the U-shaped air-sealing strip after inflation. Stainless steel screws are used for assembly to prevent rust from affecting water quality.

[0070] To minimize rust and ensure the durability and reliability of the water tank, the inner and outer surfaces of the tank are painted. The paint used is the HJB37A standard color sample BG01. The primer is epoxy iron oxide red with a coating thickness of 40μm*2, and the topcoat is epoxy topcoat with a coating thickness of 40μm*2. After the parts are welded and processed, two coats of anti-rust primer are applied to both the inner and outer surfaces.

[0071] To ensure the watertightness of the water tank device, the tank body in this embodiment is welded from steel pipes and flanges. The weld is a continuous weld with a height of 5mm, and sharp angles are beveled and deburred. All through holes and threads are machined after welding, and sharp angles and burrs are removed after welding. During assembly, the structural components are installed first, and then the rubber sheets and sealing strips are cut and glued to the structural components. The flatness of the outer surface of each water tank is strictly controlled. The free thickness of the rubber sealing gasket is 4mm, and it is compressed by 2mm after installation. The sealing gaskets of the flow sensor and the shut-off valve are cut from 4mm thick soft rubber sheets and installed, and compressed by 2mm after installation.

[0072] During testing, water is added to the tanks. At the start of water addition, the vent valves on both outlet tanks must be opened, and the manual shut-off valves must be fully open to prevent air from remaining trapped in the outlet tanks, which could affect the hydrodynamics at the outlet tanks and consequently the accuracy of the test equipment's performance. Therefore, when the water level reaches the vent valves on both tanks, the vent valves should be closed. Continue adding water until the required test level for the test equipment is reached, then stop adding water. Start the test equipment and complete the relevant drainage performance test to evaluate its drainage performance.

[0073] See you again Figure 2 The control module 108 is electrically connected to the display module 109.

[0074] The control module 108 can be a computer device or other interrupt, or a programmable logic controller (PLC) or other controller.

[0075] In this embodiment of the disclosure, the relationship curve between the pump speed and the flow rate data of the marine drainage system can be obtained by piecewise linearization.

[0076] Because the relationship between rotational speed and flow rate in a ship's drainage system is typically nonlinear, direct processing is very complex. Piecewise linearization approximates a curve using multiple segmented lines, dividing the entire operating range into several smaller segments. Each segment is approximated as a linear relationship, allowing the PLC to calculate using simple formulas. After segmentation, the data for each segment can be further fitted using polynomial regression, using a quadratic function for low-speed segments and a logarithmic function for high-speed segments. This better matches the actual curve characteristics to determine drainage performance.

[0077] Furthermore, since there are two flow data points in this embodiment, the relationship curve between the rotational speed and the flow data can include two relationship curves, or the average of the flow data in the two curves can be fitted into a single relationship curve.

[0078] The display module 109 displays a human-machine interface (HMI) for the control and output of the system.

[0079] The display module 109 integrates a touchscreen, buttons, and indicator lights to enable human-machine operation of the drainage device. The control system also receives control commands from the upper-level system to achieve remote operation and data feedback.

[0080] Figure 3 This is a schematic diagram of an HMI architecture provided in an embodiment of this disclosure. Figure 3 As shown, the HMI may include an alarm interface, a main interface, a historical data interface, a parameter setting interface, global data tags, and underlying touchscreen configuration software.

[0081] The main interface displays the calibrated values ​​of each sensor. The parameter settings interface requires a password to enter system program settings. The alarm interface features a pop-up window with options to confirm or ignore the alarm. The historical data interface displays all historical data and alarm information in a table format. The data and alarm information are displayed in pages and have a page-turning function.

[0082] Among them, the global data tag: centrally defines and manages the data points of all sensors and control variables in the human-machine interface, serving as the "data hub" of the entire system. The raw data (pressure, flow, liquid level) collected by the PLC is dynamically bound to the HMI display controls (instrument panel, graph, alarm light) to achieve cross-interface data sharing (the main interface and alarm interface share the same tag).

[0083] The touchscreen configuration software provides a visual development environment for designing HMI interfaces, configuring communication protocols, and defining data logic. Configuration software generation... Figure 3 The four interfaces shown (main interface, parameter settings, alarm interface, and historical data) require no coding. Sensor data is read via the RS485 protocol, global tags are updated, and the interface display is automatically refreshed, achieving real-time data synchronization.

[0084] In this embodiment of the disclosure, the control module 108 is further configured to acquire an alarm setting value; and to trigger an alarm when the liquid level data, the flow rate data, the first pressure data, or the second pressure data reaches the alarm setting value.

[0085] For example, the system compares the input digital signal status with the analog signal against a set alarm threshold. If the logic is met, the system drives the buzzer at the output port to output an alarm. The operator can also turn off the alarm and silence the buzzer using a button.

[0086] The display module 109 displays the calibrated values ​​of each sensor, alarm information, and real-time stored data.

[0087] In this embodiment of the disclosure, the alarm includes the following situations: Liquid level alarm: The corresponding alarm settings include the highest liquid level and the lowest liquid level. If the liquid level exceeds the highest level for safe system operation, there is a risk of overflow; or if the liquid level is too low, below the minimum level required for normal system operation, it may cause problems such as the water pump running dry. Both situations require an alarm.

[0088] Flow data alarm: The corresponding alarm settings include a large flow setting and a small flow setting. If the flow rate is greater than the large flow setting, it exceeds the capacity of the pipeline or related equipment, affecting the stability and safety of the system; if the flow rate is less than the small flow setting, it cannot meet the drainage requirements, indicating that there may be a blockage or other fault in the system. An alarm is required in both cases.

[0089] First pressure data alarm: The corresponding alarm settings include excessive pressure and insufficient pressure. Pressure exceeding the excessive pressure setting may damage the internal structure of the system, while pressure falling below the insufficient pressure setting may affect drainage efficiency and performance; alarms are required in both cases.

[0090] Second pressure data alarm: The corresponding alarm settings include excessive pressure setting and insufficient pressure setting. Whether the pressure exceeds the excessive pressure setting or falls below the insufficient pressure setting, it indicates abnormal pressure in the outlet water tank, which may affect water circulation and discharge, and thus affect the normal operation of the entire drainage system, requiring an alarm.

[0091] These alarm settings are preset. When the corresponding data reaches the threshold, the control module will trigger an alarm to prompt relevant personnel to handle the situation in a timely manner and ensure the safe and stable operation of the marine drainage system.

[0092] In this embodiment, by installing and fixing the marine drainage system in the center of the circulating water path, when the equipment is in operation, the drainage water from the left and right sides of the equipment flows through the flow stabilizer and the corresponding pipe to the manifold tank, which then supplies water for the marine drainage system to draw water. This cycle is repeated to achieve hydrodynamic balance within the tank device, thereby creating a stable, economical, reliable, and long-lasting drainage environment.

[0093] To ensure the real-time performance and reliability of the measured data, a parameter acquisition unit, processing and display unit are provided, optimizing the system from four dimensions: control, data acquisition, transmission, and processing. Through RS485 communication between the PLC and flow sensors, level sensors, and pressure sensors installed in the water tank, real-time flow, water tank level, and pressure values ​​can be obtained at the real-time rotational speed of the marine drainage system. Edge computing optimization and intelligent control algorithms systematically address the limitations of existing monitoring systems in data acquisition. Dynamic parameter adjustment, hardware acceleration, and multi-level verification mechanisms improve data measurement accuracy while ensuring real-time data acquisition. Each module can be fine-tuned according to specific application scenarios. Optimized communication protocols reduce communication load by 50%, improving system response time to millisecond levels. Dynamic priority scheduling ensures that single-point failures do not affect global data acquisition, significantly improving testing accuracy, response speed, and user experience, while reducing maintenance costs. The system can adapt to different application scenarios and requirements as needed.

[0094] The head is calculated based on the pressure values ​​at the outlet and inlet of the water tank. The actual working environment of the tested equipment is simulated. The speed, flow rate, and head of the tested equipment are matched. The drainage capacity of the tested equipment is evaluated based on the head curve obtained from the experiment. Based on the drainage capacity of the tested equipment, the working strategy of the tested equipment is proposed.

[0095] Figure 4 This is a flowchart of a method for testing the drainage performance of a marine drainage system according to an embodiment of this disclosure. See also... Figure 4 The method includes the following steps: S41: Obtain the liquid level data collected by the liquid level sensor, the two flow data collected by the two flow sensors respectively, the first pressure data collected by the two first pressure sensors on both sides, and the second pressure data collected by the two second pressure sensors on both sides.

[0096] S42: Based on the liquid level data, the flow rate data, the first pressure data, and the second pressure data, control the speed of the water pump and the valve opening of the marine drainage system.

[0097] S43: Determine the relationship curve between the pump speed and the flow rate data of the marine drainage system, the relationship curve being used to represent the drainage performance of the marine drainage system.

[0098] In this embodiment, the drainage performance testing device for the marine drainage system is connected to the marine drainage system via an outlet tank, a manifold tank, and pipelines. During testing, the marine drainage system can discharge water from the inlet tank to the outlet tank, through the pipelines to the manifold tank, and finally back to the inlet tank, thus achieving a cyclic test. The system has a simple mechanical structure, and two loops can be formed through two outlet tanks and two pipelines, allowing for two-sided comparisons during testing, increasing the accuracy of the drainage performance test.

[0099] The aforementioned mechanical device includes level sensors, flow sensors, and pressure sensors to detect liquid level, flow rate, and pressure. Based on these parameters, the pump speed and valve opening of the marine drainage system are controlled, ensuring that the pump speed and valve opening are adjusted to optimal values ​​for liquid level, flow rate, and pressure. Furthermore, the relationship curve between pump speed and flow rate data shows the flow rate of the pump at different speeds, accurately representing the drainage performance of the drainage system.

[0100] In addition, two flow sensors are installed in the two pipelines respectively, and two first pressure sensors are located on both sides of the marine drainage system near the two outlet tanks. Two second pressure sensors are located in the two outlet tanks respectively. These sensors can determine the flow rate and pressure of the two loops respectively, providing a basis for accurate testing of drainage performance through two-sided comparison. The first and second pressure sensors are respectively located in the marine drainage system and the outlet tanks. The pressure data detected can form a pressure difference, which can be used as a basis for controlling the water pumps of the marine drainage system, avoiding unreasonable pressure differences that exceed the mechanical device's capacity, thereby improving test safety.

[0101] It should be noted that the drainage performance testing method for marine drainage systems provided in the above embodiments and the drainage performance testing device embodiments for marine drainage systems belong to the same concept. For details of the specific implementation process, please refer to the device embodiments, which will not be repeated here.

[0102] Figure 5 This is a structural block diagram of a computer device provided in an embodiment of this disclosure. The computer device may be a control module of a drainage performance testing device for a marine drainage system.

[0103] See Figure 5The computer device 400 includes a central processing unit (CPU) 401, a system memory 404 including random access memory (RAM) 402 and read-only memory (ROM) 403, and a system bus 405 connecting the system memory 404 and the CPU 401. The computer device 400 also includes a basic input / output system (I / O system) 406 that facilitates information transfer between various devices within the computer, and a mass storage device 407 for storing the operating system 413, application programs 414, and other program modules 415.

[0104] The basic input / output system 406 includes a display 408 for displaying information and an input device 409 for user input, such as a mouse or keyboard. Both the display 408 and the input device 409 are connected to the central processing unit 401 via an input / output controller 410 connected to the system bus 405. The basic input / output system 406 may also include the input / output controller 410 for receiving and processing input from multiple other devices such as a keyboard, mouse, or electronic stylus. Similarly, the input / output controller 410 also provides output to a display screen, printer, or other types of output devices.

[0105] Mass storage device 407 is connected to central processing unit 401 via a mass storage controller (not shown) connected to system bus 405. Mass storage device 407 and its associated computer-readable media provide non-volatile storage for computer device 400. That is, mass storage device 407 may include computer-readable media (not shown) such as hard disk or CD-ROM drive.

[0106] Without loss of generality, computer-readable media can include computer storage media and communication media. Computer storage media include volatile and non-volatile, removable and non-removable media implemented using any method or technology for storing information such as computer-readable instructions, data structures, program modules, or other data. Computer storage media include RAM, ROM, EPROM, EEPROM, flash memory or other solid-state storage technologies, CD-ROM, DVD or other optical storage, magnetic tape cassettes, magnetic tape, disk storage, or other magnetic storage devices. Of course, those skilled in the art will recognize that computer storage media are not limited to the above-mentioned types. The system memory 404 and mass storage device 407 described above can be collectively referred to as memory.

[0107] According to various embodiments of this disclosure, the computer device 400 can also be connected to a remote computer on a network, such as the Internet. That is, the computer device 400 can be connected to a network 412 via a network interface unit 411 connected to a system bus 405, or the network interface unit 411 can be used to connect to other types of networks or remote computer systems (not shown).

[0108] The memory also includes one or more programs, which are stored in the memory. The central processing unit 401 implements these programs by executing them. Figure 4 The method for testing the drainage performance of a marine drainage system is shown.

[0109] In exemplary embodiments, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory including instructions that can be executed by a processor of a computer device to perform the drainage performance testing method of the marine drainage system shown in various embodiments of this disclosure. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.

[0110] The above description is merely an optional embodiment of this disclosure and is not intended to limit this disclosure. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this disclosure should be included within the protection scope of this disclosure.

Claims

1. A device for testing the drainage performance of a marine drainage system, characterized in that, The drainage performance testing device for the marine drainage system includes: two outlet water tanks, a manifold water tank, two pipelines, two flow sensors, two first pressure sensors, two second pressure sensors, and a control module. The two outlet water tanks are respectively connected to the two outlets of the marine drainage system, the manifold water tank is connected to the inlet water tank of the marine drainage system, and the manifold water tank is respectively connected to the two outlet water tanks through the two pipes. The two flow sensors are located in the two pipes respectively, the two first pressure sensors are located on both sides of the marine drainage system near the two outlet water tanks respectively, and the two second pressure sensors are located in the two outlet water tanks respectively. The control module is electrically connected to the two flow sensors, the two first pressure sensors, and the two second pressure sensors, respectively, and is used to acquire two flow data collected by the two flow sensors, first pressure data collected by the two first pressure sensors on both sides, and second pressure data collected by the two second pressure sensors on both sides; based on the flow data, the first pressure data, and the second pressure data, it controls the speed of the water pump and the valve opening of the marine drainage system; and determines the relationship curve between the speed of the water pump and the flow data, the relationship curve being used to represent the drainage performance of the marine drainage system.

2. The drainage performance testing device for a marine drainage system according to claim 1, characterized in that, The control module is used to acquire an LSTM model trained based on historical data; use the LSTM model to predict the PID parameters of the pumps in the marine drainage system; and determine the flow difference and pressure difference based on the flow data, the first pressure data, the second pressure data, and set parameters, wherein the set parameters include a set flow value and a set pressure value. Based on the flow rate difference and pressure difference, the PID parameters are corrected using a fuzzy logic algorithm; based on the corrected PID parameters, the flow rate difference, and the pressure difference, the pump speed and valve opening of the marine drainage system are determined.

3. The drainage performance testing device for a marine drainage system according to claim 1, characterized in that, The control module is used to read data from the two flow sensors, the two first pressure sensors, and the two second pressure sensors in a polling manner via the RS485-RTU protocol. During the reading process, the data from the two first pressure sensors and the two second pressure sensors have a higher priority than the data from the two flow sensors.

4. The drainage performance testing apparatus for a marine drainage system according to any one of claims 1 to 3, characterized in that, The control module is also used to perform first-order hysteresis filtering on the flow data, the first pressure data, and the second pressure data.

5. The drainage performance testing apparatus for a marine drainage system according to any one of claims 1 to 3, characterized in that, The control module is also used to convert the flow rate data, the first pressure data, and the second pressure data from numerical quantities into engineering quantities.

6. The drainage performance testing apparatus for a marine drainage system according to any one of claims 1 to 3, characterized in that, The control module is also used to acquire an alarm setting value; and to trigger an alarm when the flow data, the first pressure data, or the second pressure data reaches the alarm setting value.

7. The drainage performance testing apparatus for a marine drainage system according to any one of claims 1 to 3, characterized in that, A flow stabilizer is installed at the connection point between the outlet water tank and the pipeline.

8. A method for testing the drainage performance of a marine drainage system, characterized in that, The method is applied to the apparatus according to any one of claims 1 to 7, the method comprising: Acquire two flow data collected by the two flow sensors respectively, first pressure data collected by the two first pressure sensors on both sides, and second pressure data collected by the two second pressure sensors on both sides. Based on the flow rate data, the first pressure data, and the second pressure data, the speed of the water pump and the valve opening of the marine drainage system are controlled. A relationship curve is determined between the pump speed and the flow rate data of the marine drainage system, and the relationship curve is used to represent the drainage performance of the marine drainage system.

9. A computer device, characterized in that, The computer device includes: a processor; a memory configured to store processor-executable instructions; wherein the processor is configured to perform the method of claim 8.

10. A computer-readable storage medium, characterized in that, When the instructions in the computer-readable storage medium are executed by the processor of a computer device, the computer device is able to perform the method of claim 8.