Depth gauge dial gauge automatic calculation method, device and equipment suitable for complex ship liquid tank configuration and storage medium

By using an automated method for calculating depth gauge scales, the problem of uncertainties in the margin of multiple dead angles and the relationship between the starting point in complex ship liquid tank configurations has been solved, enabling the automatic generation of depth gauge scales and improving design efficiency.

CN121594785APending Publication Date: 2026-03-03CHINA SHIP DEV & DESIGN CENT
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511936776.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-12-22
Publication Date
2026-03-03

AI Technical Summary

Technical Problem

In the existing technology, the process of making depth gauge scales for complex ship liquid tank configurations is cumbersome and cannot be automated. It also has problems such as multiple dead angle margins and uncertain relationship between the starting point of the depth gauge and the suction port height, resulting in complicated and inefficient manual calculations.

Method used

This paper presents an automatic calculation method for depth gauge scales applicable to complex ship liquid tank configurations. By acquiring measurement data, adjusting and calibrating the liquid level, determining the dead zone margin, calculating the height values ​​at equal intervals using interpolation, and generating a depth gauge scale, the interpolation calculation is implemented using MATLAB built-in functions.

Benefits of technology

It has enabled the automated generation of depth gauge scale tables for complex ship liquid tank configurations, solved the problem of inconsistent relationships between multiple dead angle margins and starting points, improved the work efficiency of designers, and simplified the manual calculation process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121594785A_ABST
    Figure CN121594785A_ABST
Patent Text Reader

Abstract

The invention discloses a depth gauge dial gauge automatic calculation method suitable for a complex ship liquid tank configuration. The method comprises the following steps: acquiring bottom quantity related data and dead quantity related data of a to-be-measured liquid tank; water is gradually injected into the liquid tank to be measured, and the accumulated injection amount and the corresponding liquid level height data are read; a liquid level height reference point corresponding to the accumulative injection amount is adjusted to the cabin bottom, bottom amount related data and dead amount related data are added, and reordering is conducted according to the liquid level height ascending sequence; judging the up-and-down relationship between the starting point of the sounding pipe and the suction port, deleting the corresponding data points in the second sequence according to the up-and-down relationship, and recalibrating the accumulated injection amount and the zero point of the corresponding liquid level height; whether extra dead angle allowance exists or not is judged, if yes, repeated liquid level height data points are deleted, and extra dead angle allowance volume is calculated and deducted from follow-up data; and calculating a volume value corresponding to the equal-interval height value through interpolation, and generating a final depth gauge dial gauge. According to the method provided by the invention, the sounding ruler dial gauge can be automatically generated according to the measurement data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of ship design technology, and specifically relates to an automatic calculation method, device, equipment and storage medium for depth gauge scales applicable to complex ship liquid tank configurations. Background Technology

[0002] A depth gauge is an instrument used to measure the volume of liquid tanks. After a ship is built, the volume comparison method is typically used to determine the volume of liquid tanks. This involves gradually filling the tanks with a standard volume of water, recording the volume of water added and the liquid level each time. Based on the volume measurement results, a depth gauge scale table is created, calculating the volume at different scale divisions. The depth gauge is then fabricated according to this scale table. To determine the volume of a specific tank, the depth gauge is placed inside the sounding tube, then removed, and the volume value at the wet / dry boundary on the gauge surface is read.

[0003] The fabrication process for sounding scales on liquid tanks with complex configurations is extremely cumbersome, due to several factors: First, multiple dead zones exist, requiring manual judgment and handling; second, the vertical relationship between the sounding tube's starting point and the suction inlet is uncertain, necessitating case-by-case consideration; and third, the uneven distribution of the original tank volume data along the height direction increases processing difficulty. Therefore, current sounding scale fabrication methods rely on manual processes, involving individual analysis and judgment for each liquid tank, and spline curve interpolation using CAD drawing tools. This complex process cannot be automated. Summary of the Invention

[0004] The technical problem to be solved by the present invention is to provide an automatic calculation method for depth gauge scale tables applicable to complex ship liquid tank configurations, which addresses the shortcomings of the prior art. This method can automatically generate depth gauge scale tables based on measurement data and is applicable to liquid tanks of various complex configurations throughout the ship.

[0005] To achieve the above objectives, according to one aspect of the present invention, an automatic calculation method for depth gauge scales applicable to complex ship liquid tank configurations is provided, comprising: Acquire relevant data on the bottom volume and dead volume of the liquid tank to be tested; gradually pour water into the liquid tank to be tested, read the cumulative injection volume and the corresponding liquid level height data, and sort them in ascending order of liquid level height to obtain the first sequence; the bottom volume data includes the height of the sounding tube starting point from the bottom of the tank and the liquid volume below the sounding tube starting point; the dead volume data includes the height of the suction port from the bottom of the tank and the liquid volume below the suction port. Adjust the liquid level reference point corresponding to the cumulative injection volume in the first sequence to the bottom of the tank, add the bottom volume related data and dead volume related data, and reorder them in ascending order of liquid level to obtain the second sequence; Determine the vertical relationship between the starting point of the sounding tube and the suction port. Based on the vertical relationship, delete the corresponding data points in the second sequence and recalibrate the zero point of the cumulative injection volume and the corresponding liquid level height to obtain the third sequence. Based on the third sequence, determine whether there is an additional dead zone margin. If so, delete duplicate liquid level data points, calculate the volume of the additional dead zone margin, and subtract it from the subsequent data to obtain the fourth sequence. Based on the fourth sequence, the volume value corresponding to the equally spaced height values ​​is calculated by interpolation, and the final depth gauge scale table is generated.

[0006] In the above scheme, adjusting the liquid level reference point corresponding to the cumulative injection volume in the first sequence to the bottom of the tank, adding the bottom volume related data and dead volume related data, and reordering the second sequence in ascending order of liquid level height includes: Add the height of the depth sounder starting point from the bottom of the tank to all liquid level heights in the first sequence, and add the height of the depth sounder starting point from the bottom of the tank and the liquid volume below the depth sounder starting point, the height of the suction port from the bottom of the tank and the liquid volume below the suction port as two new sets of cumulative injection volume and corresponding liquid level height data points. Sort all the adjusted cumulative injection volume and corresponding liquid level height data in ascending order of liquid level height to obtain the second sequence.

[0007] In the above scheme, determining the vertical relationship between the sounding tube start point and the suction port, deleting the corresponding data points in the second sequence based on the vertical relationship, and recalibrating the zero point of the cumulative injection volume and the corresponding liquid level height to obtain the third sequence includes: If the starting point of the sounding tube is lower than the suction port, then delete the data points below the height of the suction port from the bottom of the tank, and recalibrate the zero point with the suction port as the height zero point and the volume zero point. That is, the liquid level value of all data points in the second sequence is reduced by the height of the suction port from the bottom of the tank, and the cumulative injection volume is reduced by the liquid volume below the suction port to obtain the third sequence. If the starting point of the sounding tube is higher than the suction port, delete the data points below the height of the sounding tube starting point from the bottom of the tank, and recalibrate the zero point with the suction port as the height zero point and the volume zero point. That is, the liquid level value of all data points in the second sequence is reduced by the height of the suction port from the bottom of the tank, and the cumulative injection volume is reduced by the liquid volume below the suction port to obtain the third sequence.

[0008] In the above scheme, the step of determining whether there is an additional dead zone margin based on the third sequence, and if so, deleting duplicate liquid level height data points, calculating the volume of the additional dead zone margin, and subtracting it from subsequent data to obtain the fourth sequence includes: If at least two sets of data points with the same liquid level exist in the third sequence, it is determined that there is an additional dead zone margin. The difference between the cumulative injection volume of the last set and the first set of data points with the same liquid level is calculated as the additional dead zone margin volume for that liquid level. In the third sequence, only the first set of data points with the same liquid level is retained, and the cumulative injection volume of all data points above the liquid level value is subtracted from the additional dead zone margin volume to obtain the fourth sequence. The additional dead zone margin is the dead zone margin caused by the special liquid tank configuration, excluding the dead zone margin below the suction port.

[0009] In the above scheme, the step of calculating the volume value corresponding to the equally spaced height values ​​through interpolation based on the fourth sequence to generate the final depth gauge scale table includes: First, spline interpolation is used, and the monotonicity of the interpolation result is checked. If the spline interpolation result is not monotonically increasing, cubic interpolation is used instead, and the monotonicity of the result is checked. If the cubic polynomial interpolation result is still not monotonically increasing, linear interpolation is finally used.

[0010] In the above scheme, the interpolation calculation is implemented using functions from a mathematical function library.

[0011] In the above scheme, the function includes the MATLAB built-in function interp1.

[0012] Furthermore, to achieve the above objectives, the present invention also proposes an automatic calculation device for depth gauge scales suitable for complex ship liquid tank configurations, comprising: The data acquisition module is used to acquire data related to the bottom volume and dead volume of the liquid tank under test; water is gradually poured into the liquid tank under test, and the cumulative injection volume and corresponding liquid level height data are read and sorted in ascending order of liquid level height to obtain the first sequence; the bottom volume data includes the height of the sounding tube starting point from the bottom of the tank and the liquid volume below the sounding tube starting point, and the dead volume data includes the height of the suction port from the bottom of the tank and the liquid volume below the suction port; The adjustment module is used to adjust the liquid level reference point corresponding to the cumulative injection volume in the first sequence to the bottom of the tank, add the bottom volume related data and dead volume related data, and re-sort the liquid level in ascending order to obtain the second sequence. The calibration module is used to determine the vertical relationship between the starting point of the sounding tube and the suction port, delete the corresponding data points in the second sequence according to the vertical relationship, and recalibrate the zero point of the cumulative injection volume and the corresponding liquid level height to obtain the third sequence; The dead zone margin processing module is used to determine whether there is an additional dead zone margin based on the third sequence. If there is, it deletes duplicate liquid level height data points, calculates the volume of the additional dead zone margin, and subtracts it from the subsequent data to obtain the fourth sequence. The interpolation calculation and generation module is used to calculate the volume value corresponding to the equally spaced height values ​​based on the fourth sequence through interpolation, and generate the final depth gauge scale table.

[0013] Furthermore, to achieve the above objectives, the present invention also proposes an automatic calculation device for depth gauge scales applicable to complex ship liquid tank configurations. The automatic calculation device for depth gauge scales applicable to complex ship liquid tank configurations includes: a memory, a processor, and an automatic calculation program for depth gauge scales applicable to complex ship liquid tank configurations stored in the memory. The automatic calculation program for depth gauge scales applicable to complex ship liquid tank configurations is configured to implement the aforementioned automatic calculation method for depth gauge scales applicable to complex ship liquid tank configurations.

[0014] Furthermore, to achieve the above objectives, the present invention also proposes a storage medium storing an automatic calculation program for a depth gauge scale suitable for complex ship liquid tank configurations. When the automatic calculation program for a depth gauge scale suitable for complex ship liquid tank configurations is executed by a processor, it implements the aforementioned automatic calculation method for a depth gauge scale suitable for complex ship liquid tank configurations.

[0015] In summary, compared with the prior art, the above-described technical solutions conceived by this invention can achieve the following beneficial effects: (1) The present invention provides an automatic calculation method for depth gauge scale tables applicable to complex ship liquid tank configurations. The method can automatically generate depth gauge scale tables based on measurement data and is applicable to liquid tanks of various complex configurations throughout the ship.

[0016] (2) The present invention provides an automatic calculation method for depth gauge scale tables applicable to complex ship liquid tank configurations. It is applicable to various complex configurations of liquid tanks throughout the ship and can take into account the problems of multiple dead angle margins and inconsistent height relationships between the starting point of the depth gauge and the suction port. Different interpolation methods are used according to the data to balance monotonicity and smoothness. It solves the problem of automatic generation of depth gauge scale tables, eliminating the need for complex manual calculations and greatly improving the work efficiency of designers. Attached Figure Description

[0017] Various other advantages and benefits will become apparent to those skilled in the art upon reading the following detailed description of preferred embodiments. The accompanying drawings are for illustrative purposes only and are not intended to limit the invention. Furthermore, the same reference numerals denote the same parts throughout the drawings. In the drawings: Figure 1 This is a flowchart illustrating an automatic calculation method for a depth gauge scale applicable to complex ship liquid tank configurations, as described in Embodiment 1 of the present invention.

[0018] Figure 2This is a schematic diagram of the complex liquid tank configuration in Embodiment 1 of the present invention.

[0019] Figure 3 This is a schematic diagram of the interpolation result in Embodiment 1 of the present invention. Detailed Implementation

[0020] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the invention. Furthermore, the technical features involved in the various embodiments of this invention described below can be combined with each other as long as they do not conflict with each other.

[0021] It should be understood that the sequence number of each step in the embodiment does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.

[0022] It should be noted that the executing entity of this application embodiment can be a computing service device with data processing, network communication, and program execution functions, such as a tablet computer, personal computer, or mobile phone, or an electronic device capable of realizing the above functions, such as an automatic depth gauge scale calculation device suitable for complex ship liquid tank configurations. The following description uses an automatic depth gauge scale calculation device suitable for complex ship liquid tank configurations as an example to illustrate this embodiment and the following embodiments.

[0023] Example 1 This application provides an automatic calculation method for depth gauge scales applicable to complex ship liquid tank configurations. Please refer to [link to relevant documentation]. Figure 1 , Figure 1 This is a flowchart illustrating an automatic calculation method for depth gauge scales applicable to complex ship liquid tank configurations, as described in this application. The method includes: S1. Obtain relevant data on the bottom volume and dead volume of the liquid tank to be tested; gradually pour water into the liquid tank to be tested, read the cumulative injection volume and the corresponding liquid level height data, and sort them in ascending order of liquid level height to obtain the first sequence; the bottom volume data includes the height of the sounding tube starting point from the bottom of the tank and the liquid volume below the sounding tube starting point, and the dead volume data includes the height of the suction port from the bottom of the tank and the liquid volume below the suction port.

[0024] In this embodiment of the application, the liquid tank to be tested is a complex configuration liquid tank, and the schematic diagram of the configuration of the liquid tank is shown below. Figure 2 As shown, by Figure 2It can be seen that the liquid tank has two dead angle margins. Dead angle margin 1 is the dead angle margin below the suction port, which is a common feature of all liquid tanks. Dead angle margin 2 is the dead angle margin caused by the special liquid tank configuration.

[0025] Specifically, in this embodiment, the original measurement data read are as follows: the height of the sounding tube starting point from the bottom of the tank is 47 mm, the liquid volume (bottom volume) below the sounding tube starting point is 76 L, the height of the suction port from the bottom of the tank is 86 mm, the liquid volume (dead volume) below the suction port is 139 L, and the cumulative water injection volume and the corresponding liquid level (relative to the height of the sounding tube starting point) are shown in Table 1: Table 1. Cumulative Injection Volume and Corresponding Liquid Level Data

[0026] S2, adjust the liquid level reference point corresponding to the cumulative injection volume in the first sequence to the bottom of the tank, add bottom volume related data and dead volume related data, and reorder them in ascending order of liquid level to obtain the second sequence.

[0027] In this embodiment, this step specifically involves adding the height from the sounding tube start point to the bottom of the tank (47 mm in this embodiment) to all liquid level heights in the first sequence. The height from the sounding tube start point to the bottom of the tank and the liquid volume below the sounding tube start point (serial number 1 in Table 2), and the height from the suction port to the bottom of the tank and the liquid volume below the suction port (serial number 2 in Table 2) are then added as two new sets of cumulative injection volume and corresponding liquid level height data points. All adjusted cumulative injection volume and corresponding liquid level height data are then sorted in ascending order of liquid level height to obtain the second sequence. The second sequence in this embodiment is shown in Table 2. Table 2 Adjusted cumulative injection volume and corresponding liquid level data

[0028] S3, determine the vertical relationship between the starting point of the sounding tube and the suction port, delete the corresponding data points in the second sequence according to the vertical relationship, and recalibrate the zero point of the cumulative injection volume and the corresponding liquid level height to obtain the third sequence.

[0029] This step specifically includes: if the starting point of the sounding tube is lower than the suction port, delete the data points below the height of the suction port from the bottom of the tank, and recalibrate the zero point with the suction port as the height zero point and the volume zero point. That is, the liquid level value of all data points in the second sequence is reduced by the height of the suction port from the bottom of the tank, and the cumulative injection volume is reduced by the liquid volume below the suction port to obtain the third sequence.

[0030] In this embodiment, the starting point of the sounding tube is lower than the suction port. The data point with serial number 1 in Table 2 is deleted, and the zero point is recalibrated with the suction port as the zero point of height and volume. The processed data is shown in Table 3.

[0031] Table 3. Cumulative injection volume and corresponding liquid level data after calibration

[0032] S4. Based on the third sequence, determine whether there is any additional dead zone margin. If so, delete the duplicate liquid level height data points, calculate the additional dead zone margin volume, and subtract it from the subsequent data to obtain the fourth sequence.

[0033] In this embodiment, it can be understood that the additional dead zone margin is the dead zone margin caused by the special liquid tank configuration, excluding the dead zone margin under the suction port.

[0034] This step specifically includes: If there are at least two sets of data points with the same liquid level in the third sequence, it is determined that there is an additional dead zone margin. The difference between the cumulative injection volume of the last set and the first set among the data points with the same liquid level is calculated as the additional dead zone margin volume for the liquid level. Only the first set of data points is retained among the data points with the same liquid level in the third sequence, and the cumulative injection volume of all data points above the liquid level value needs to be subtracted from the additional dead zone margin volume to obtain the fourth sequence. Specifically, if multiple sets of data points with the same liquid level appear in this step, it indicates that the test tank has more than one additional dead zone margin besides the dead zone margin below the suction port. In this case, the additional dead zone margin volumes for each segment need to be calculated separately to obtain the processed data.

[0035] Specifically, in this embodiment, numbers 3-6 in Table 3 represent data points with the same liquid level (156mm), indicating the existence of an additional dead zone margin. The volume of this dead zone margin is calculated (i.e., the cumulative injection volume of number 6 in Table 3 minus the cumulative injection volume of number 3, 0.63m). 3 (630L), the cumulative injection volume at data points above this liquid level (156mm) must be reduced by the remaining volume of the dead zone of 0.63m³. 3 The fourth sequence is shown in Table 4: Table 4. Cumulative injection volume and corresponding liquid level data after dead zone margin treatment

[0036] S5. Based on the fourth sequence, calculate the volume value corresponding to the equally spaced height values ​​through interpolation to generate the final depth gauge scale table.

[0037] The interpolation calculation in this step specifically includes: First, spline interpolation is used, and the monotonicity of the interpolation result is checked. If the spline interpolation result is not monotonically increasing, cubic interpolation is used instead, and the monotonicity of the result is checked. If the cubic polynomial interpolation result is still not monotonically increasing, linear interpolation is finally used.

[0038] Interpolation calculations are performed using functions from the mathematical function library; in this example, the built-in MATLAB function interp1 is used.

[0039] Specifically, this embodiment uses spline interpolation, such as... Figure 3 As shown, interpolation at 50mm intervals yields a monotonically increasing calculation result, generating the final depth gauge scale table, as shown in Table 5: Table 5 Final depth gauge scale

[0040] In summary, the embodiments of this application provide an automatic calculation method for depth gauge scale tables applicable to complex ship liquid tank configurations. This method can automatically generate depth gauge scale tables based on measurement data and is applicable to liquid tanks with various complex configurations throughout the ship.

[0041] Example 2 This application provides an automatic calculation device for depth gauge scales suitable for complex ship liquid tank configurations, including: The data acquisition module is used to acquire data related to the bottom volume and dead volume of the liquid tank under test; water is gradually poured into the liquid tank under test, and the cumulative injection volume and corresponding liquid level height data are read and sorted in ascending order of liquid level height to obtain the first sequence; the bottom volume related data includes the height of the sounding tube starting point from the bottom of the tank and the liquid volume below the sounding tube starting point, and the dead volume related data includes the height of the suction port from the bottom of the tank and the liquid volume below the suction port; The adjustment module is used to adjust the liquid level reference point corresponding to the cumulative injection volume in the first sequence to the bottom of the tank, add bottom volume related data and dead volume related data, and re-sort the liquid level in ascending order to obtain the second sequence; The calibration module is used to determine the vertical relationship between the starting point of the sounding tube and the suction port. Based on the vertical relationship, the corresponding data points in the second sequence are deleted and the zero point of the cumulative injection volume and the corresponding liquid level height are recalibrated to obtain the third sequence. The dead zone margin processing module is used to determine whether there is an additional dead zone margin based on the third sequence. If it exists, it deletes duplicate liquid level height data points, calculates the additional dead zone margin volume, and subtracts it from the subsequent data to obtain the fourth sequence. The interpolation calculation and generation module is used to calculate the volume value corresponding to the equally spaced height values ​​based on the fourth sequence through interpolation, and generate the final depth gauge scale table.

[0042] Example 3 This application also provides an automatic calculation device for depth gauge scales applicable to complex ship liquid tank configurations, such as a smartphone, tablet, laptop, desktop computer, rack server, blade server, tower server, or cabinet server (including standalone servers or server clusters composed of multiple servers) capable of executing programs.

[0043] The automatic calculation device for depth gauge scales applicable to complex ship liquid tank configurations includes, but is not limited to: a memory, a processor, and an automatic calculation program for depth gauge scales applicable to complex ship liquid tank configurations stored in the memory and capable of running on the processor. The automatic calculation program for depth gauge scales applicable to complex ship liquid tank configurations is configured to implement an automatic calculation method for depth gauge scales applicable to complex ship liquid tank configurations.

[0044] In this embodiment, the memory (i.e., the readable storage medium) includes flash memory, hard disk, multimedia card, card-type memory (e.g., SD or DX memory), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), and programmable read-only memory (PROM). The memory can also be an external storage device for an automatic depth gauge calculation device suitable for complex ship liquid tank configurations, such as the plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, etc., equipped on the real-time simulation device. Of course, the memory can also include both internal storage units and external storage devices of the automatic depth gauge calculation device suitable for complex ship liquid tank configurations. In this embodiment, the memory is typically used to store the operating system and various application software installed on the automatic depth gauge calculation device suitable for complex ship liquid tank configurations, such as the program code of the automatic depth gauge calculation device suitable for complex ship liquid tank configurations in Embodiment 2. In addition, memory can also be used to temporarily store various types of data that have been output or will be output.

[0045] In some embodiments, the processor may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other data processing chip. This processor is typically used to control the overall operation of an automatic depth gauge calculation device suitable for complex ship liquid tank configurations. In this embodiment, the processor is used to run program code stored in memory or process data, for example, to run the automatic depth gauge calculation device suitable for complex ship liquid tank configurations, to implement the automatic depth gauge calculation method for complex ship liquid tank configurations in Embodiment 1.

[0046] Example 4 This application also provides a storage medium, such as flash memory, hard disk, multimedia card, card-type memory (e.g., SD or DX memory), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, disk, optical disk, server, app store, etc. This storage medium stores an automatic calculation program for depth gauge scales suitable for complex ship liquid tank configurations. When executed by a processor, this automatic calculation program for depth gauge scales suitable for complex ship liquid tank configurations implements the corresponding functions. The storage medium in this embodiment is used for an automatic calculation device for depth gauge scales suitable for complex ship liquid tank configurations, and when executed by a processor, it implements an automatic calculation method for depth gauge scales suitable for complex ship liquid tank configurations.

[0047] It should be noted that, depending on the implementation needs, the various steps described in this application can be broken down into more steps, or two or more steps or parts of the steps can be combined into new steps to achieve the purpose of this invention.

[0048] Those skilled in the art will readily understand that the above description is merely a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.

Claims

1. An automatic calculation method for depth gauge scales applicable to complex ship liquid tank configurations, characterized in that, include: Acquire relevant data on the bottom volume and dead volume of the liquid tank to be tested; gradually pour water into the liquid tank to be tested, read the cumulative injection volume and the corresponding liquid level height data, and sort them in ascending order of liquid level height to obtain the first sequence; the bottom volume data includes the height of the sounding tube starting point from the bottom of the tank and the liquid volume below the sounding tube starting point; the dead volume data includes the height of the suction port from the bottom of the tank and the liquid volume below the suction port. Adjust the liquid level reference point corresponding to the cumulative injection volume in the first sequence to the bottom of the tank, add the bottom volume related data and dead volume related data, and reorder them in ascending order of liquid level to obtain the second sequence; Determine the vertical relationship between the starting point of the sounding tube and the suction port. Based on the vertical relationship, delete the corresponding data points in the second sequence and recalibrate the zero point of the cumulative injection volume and the corresponding liquid level height to obtain the third sequence. Based on the third sequence, determine whether there is an additional dead zone margin. If so, delete duplicate liquid level data points, calculate the volume of the additional dead zone margin, and subtract it from the subsequent data to obtain the fourth sequence. Based on the fourth sequence, the volume value corresponding to the equally spaced height values ​​is calculated by interpolation, and the final depth gauge scale table is generated.

2. The automatic calculation method for depth gauge scales applicable to complex ship liquid tank configurations according to claim 1, characterized in that, The step of adjusting the liquid level reference point corresponding to the cumulative injection volume in the first sequence to the bottom of the tank, adding the bottom volume related data and dead volume related data, and re-sorting the liquid level in ascending order to obtain the second sequence includes: Add the height of the depth sounder starting point from the bottom of the tank to all liquid level heights in the first sequence, and add the height of the depth sounder starting point from the bottom of the tank and the liquid volume below the depth sounder starting point, the height of the suction port from the bottom of the tank and the liquid volume below the suction port as two new sets of cumulative injection volume and corresponding liquid level height data points. Sort all the adjusted cumulative injection volume and corresponding liquid level height data in ascending order of liquid level height to obtain the second sequence.

3. The automatic calculation method for depth gauge scales applicable to complex ship liquid tank configurations according to claim 1, characterized in that, The determination of the vertical relationship between the sounding tube start point and the suction port, the deletion of corresponding data points in the second sequence based on the vertical relationship, and the recalibration of the cumulative injection volume and the zero point of the corresponding liquid level height, yields the third sequence, which includes: If the starting point of the sounding tube is lower than the suction port, then delete the data points below the height of the suction port from the bottom of the tank, and recalibrate the zero point with the suction port as the height zero point and the volume zero point. That is, the liquid level value of all data points in the second sequence is reduced by the height of the suction port from the bottom of the tank, and the cumulative injection volume is reduced by the liquid volume below the suction port to obtain the third sequence. If the starting point of the sounding tube is higher than the suction port, delete the data points below the height of the sounding tube starting point from the bottom of the tank, and recalibrate the zero point with the suction port as the height zero point and the volume zero point. That is, the liquid level value of all data points in the second sequence is reduced by the height of the suction port from the bottom of the tank, and the cumulative injection volume is reduced by the liquid volume below the suction port to obtain the third sequence.

4. The automatic calculation method for depth gauge scales applicable to complex ship liquid tank configurations according to claim 1, characterized in that, The step of determining whether there is additional dead zone margin based on the third sequence, and if so, deleting duplicate liquid level height data points, calculating the volume of the additional dead zone margin and subtracting it from subsequent data to obtain the fourth sequence includes: If there are at least two sets of data points with the same liquid level in the third sequence, it is determined that there is an additional dead zone margin. The difference between the cumulative injection amount of the last set and the first set of data points with the same liquid level is calculated as the additional dead zone margin volume of the liquid level. In the third sequence, only the first set of data points with the same liquid level is retained, and the cumulative injection amount of all data points above the liquid level value needs to be reduced by the additional dead zone margin volume to obtain the fourth sequence.

5. The automatic calculation method for depth gauge scales applicable to complex ship liquid tank configurations according to claim 1, characterized in that, The step of calculating the volume value corresponding to the equally spaced height values ​​through interpolation based on the fourth sequence, and generating the final depth gauge scale table, includes: First, spline interpolation is used, and the monotonicity of the interpolation result is checked. If the spline interpolation result is not monotonically increasing, cubic interpolation is used instead, and the monotonicity of the result is checked. If the cubic polynomial interpolation result is still not monotonically increasing, linear interpolation is finally used.

6. The automatic calculation method for depth gauge scales applicable to complex ship liquid tank configurations according to claim 5, characterized in that, The interpolation calculation is implemented using functions from a mathematical function library.

7. The automatic calculation method for depth gauge scales applicable to complex ship liquid tank configurations according to claim 6, characterized in that, The function mentioned includes the MATLAB built-in function interp1.

8. An automatic calculation device for depth gauge scales applicable to complex ship liquid tank configurations, characterized in that, include: The data acquisition module is used to acquire data related to the bottom volume and dead volume of the liquid tank under test; water is gradually poured into the liquid tank under test, and the cumulative injection volume and corresponding liquid level height data are read and sorted in ascending order of liquid level height to obtain the first sequence; the bottom volume data includes the height of the sounding tube starting point from the bottom of the tank and the liquid volume below the sounding tube starting point, and the dead volume data includes the height of the suction port from the bottom of the tank and the liquid volume below the suction port; The adjustment module is used to adjust the liquid level reference point corresponding to the cumulative injection volume in the first sequence to the bottom of the tank, add the bottom volume related data and dead volume related data, and re-sort the liquid level in ascending order to obtain the second sequence. The calibration module is used to determine the vertical relationship between the starting point of the sounding tube and the suction port, delete the corresponding data points in the second sequence according to the vertical relationship, and recalibrate the zero point of the cumulative injection volume and the corresponding liquid level height to obtain the third sequence; The dead zone margin processing module is used to determine whether there is an additional dead zone margin based on the third sequence. If there is, it deletes duplicate liquid level height data points, calculates the volume of the additional dead zone margin, and subtracts it from the subsequent data to obtain the fourth sequence. The interpolation calculation and generation module is used to calculate the volume value corresponding to the equally spaced height values ​​based on the fourth sequence through interpolation, and generate the final depth gauge scale table.

9. An automatic calculation device for depth gauge scales suitable for complex ship liquid tank configurations, characterized in that, The automatic calculation device for depth gauge scales applicable to complex ship liquid tank configurations includes: a memory, a processor, and an automatic calculation program for depth gauge scales applicable to complex ship liquid tank configurations stored in the memory and executable on the processor. The automatic calculation program for depth gauge scales applicable to complex ship liquid tank configurations is configured to implement an automatic calculation method for depth gauge scales applicable to complex ship liquid tank configurations as described in any one of claims 1 to 7.

10. A storage medium, characterized in that, The storage medium stores an automatic calculation program for a depth gauge scale suitable for complex ship liquid tank configurations. When the processor executes the automatic calculation program for a depth gauge scale suitable for complex ship liquid tank configurations, it implements an automatic calculation method for a depth gauge scale suitable for complex ship liquid tank configurations as described in any one of claims 1 to 7.