Error step determination method and device, electronic equipment and storage medium

By obtaining the moving weight and tilt angle of the ship, and timely identifying and correcting the error steps in the ship's tilt test, the problem of inability to determine errors in the prior art is solved, and the test efficiency and accuracy are improved.

CN118928681APending Publication Date: 2024-11-12GUANGDONG GUANGCHUAN INT MARINE SCI & TECH RES INST CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410997494.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-24
Publication Date
2024-11-12

AI Technical Summary

Technical Problem

The error steps generated during the existing ship inclination test cannot be determined in a timely manner, which leads to the need to be re-produced and affects the test efficiency.

Method used

By obtaining the moving weights and tilt angles on the left and right sides of the ship, determine the tilt generation step and tilt angle to confirm whether the tilt generation step is an error step, and then timely identify and correct the errors, improving the accuracy and efficiency of the test.

Benefits of technology

The error steps are determined in a timely manner after each step of the test are achieved, which avoids the situation of re-programming after the test is completed, and improves the efficiency and accuracy of the ship's inclination test and the error confirmation accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118928681A_ABST
    Figure CN118928681A_ABST
Patent Text Reader

Abstract

The invention discloses an error step determination method and device, electronic equipment and a storage medium. The method comprises the steps that the left side moving weight of a ship and the right side moving weight of the ship are acquired; if it is determined that the heeling generation step is not the error step of the ship inclination test according to the difference value between the left side moving weight and the right side moving weight, the heeling angle of the ship is obtained; if it is determined that the heeling angle confirmation step is not the error step of the ship inclination test according to the heeling angle of the ship, it is determined that the initial stability of the ship is high according to the first target distance, the weight of the first target object and the heeling angle. According to the scheme, on one hand, the error confirmation accuracy of the ship inclination test is improved; and on the other hand, whether the step is an error step or not is determined after each step of test, so that the step generating the error in the test is determined in time, the situation that all the tests need to be carried out again after all the tests are completed is avoided, and the test efficiency of the ship inclination test is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of ship tilt test, and in particular to an error step determination method, device, electronic device and storage medium. Background Art

[0002] The ship inclination test is a test used to determine the stability factors of a new or converted ship, so as to determine the light ship weight and the actual position of the center of gravity of the new or converted ship.

[0003] In the current ship tilt test, the ship is tilted by moving a fixed weight object on the ship. After calculating the initial stability height, the ship's center of gravity height is further calculated based on the initial stability height. After multiple sets of tests, the empty ship weight and the actual position of the center of gravity are determined based on the ship's center of gravity height obtained from multiple sets of tests.

[0004] However, in the above process, it is only possible to determine whether an error occurs in the test based on the obtained ship center of gravity height after the test is completed, and if an error occurs, the test needs to be repeated. This method cannot timely determine the step where the error occurs in the test, resulting in the need to repeat the test, which in turn affects the test efficiency of the ship tilt test. Summary of the invention

[0005] The present application provides a method, device, electronic device and storage medium for determining an error step, so as to solve the problem in the prior art that the step causing the error in the test cannot be determined in time, which results in the need to repeat the test and thus affects the test efficiency of the ship tilt test.

[0006] In a first aspect, the present application provides a method for determining an error step, the method comprising:

[0007] Obtaining the left side moving weight of the ship and the right side moving weight of the ship; wherein the left side moving weight of the ship and the right side moving weight of the ship are generated after a heeling generation step of a ship inclination test, the heeling generation step includes a step of moving a first target object on the ship by a first target distance between two sides of the ship, the ship inclination test includes an initial stability high confirmation step, the initial stability high confirmation step includes the heeling generation step and a heeling angle confirmation step, and the two sides of the ship are the two sides where the ship's side is located;

[0008] If it is determined that the heeling generation step is not an error step of the ship inclination test according to the difference between the left side moving weight and the right side moving weight, the heel angle of the ship is obtained; wherein the heel angle of the ship is generated after the heeling generation step and obtained through the heel angle confirmation step;

[0009] If it is determined that the heel angle confirmation step is not an error step of the ship tilt test based on the heel angle of the ship, the initial stability of the ship is determined to be high based on the first target distance, the weight of the first target object and the heel angle.

[0010] In a second aspect, the present application provides an error step determination device, comprising:

[0011] A weight acquisition module, used for acquiring the left side moving weight of the ship and the right side moving weight of the ship; wherein the left side moving weight of the ship and the right side moving weight of the ship are generated after the heeling generation step of the ship inclination test, the heeling generation step includes the step of moving a first target object on the ship by a first target distance between the two sides of the ship, the ship inclination test includes an initial stability high confirmation step, the initial stability high confirmation step includes the heeling generation step and the heeling angle confirmation step, and the two sides of the ship are the two sides where the ship's side is located;

[0012] an angle acquisition module, configured to acquire the heel angle of the ship if it is determined that the heel generation step is not an error step of the ship inclination test according to the difference between the left side moving weight and the right side moving weight; wherein the heel angle of the ship is generated after the heel generation step and acquired through the heel angle confirmation step;

[0013] A determination module is used to determine that the initial stability of the ship is high according to the first target distance, the weight of the first target object and the heel angle if it is determined that the heel angle confirmation step is not an error step of the ship inclination test according to the heel angle of the ship.

[0014] In a third aspect, the present application provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the error step determination method as described in any embodiment of the present application is implemented.

[0015] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the error step determination method as described in any embodiment of the present application.

[0016] In a fifth aspect, the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the error step determination method as described in any embodiment of the present application.

[0017] The scheme of the present application obtains the left side moving weight and the right side moving weight of the ship; wherein, the left side moving weight and the right side moving weight of the ship are generated after the heel generation step of the ship inclination test, the heel generation step includes the step of moving the first target object on the ship between the two sides of the ship by a first target distance, the ship inclination test includes an initial stability high confirmation step, the initial stability high confirmation step includes a heel generation step and a heel angle confirmation step, and the two sides of the ship are the two sides where the ship's side is located; if it is determined that the heel generation step is not an error step of the ship inclination test based on the difference between the left side moving weight and the right side moving weight, the heel angle of the ship is obtained; wherein the heel angle of the ship is generated after the heel generation step and obtained through the heel angle confirmation step; if it is determined that the heel angle confirmation step is not an error step of the ship inclination test based on the heel angle of the ship, the initial stability high of the ship is determined based on the first target distance, the weight of the first target object and the heel angle. That is, the solution of the present application, on the one hand, determines the error step of the ship tilt test according to the left side moving weight of the ship, the right side moving weight of the ship and the heel angle of the ship, thereby improving the error confirmation accuracy of the ship tilt test. On the other hand, after each step of the test, it is confirmed whether the step is an error step, so as to timely determine the step that generates an error in the test, avoiding the situation of confirming whether an error has occurred after all the tests are completed, thereby avoiding the situation of needing to re-perform all the tests after all the tests are completed, and improving the test efficiency of the ship tilt test. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] In order to more clearly illustrate the technical solution of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0019] Figure 1 It is a flow chart of the error step determination method provided by the present application;

[0020] Figure 2a is another flow chart of the error step determination method provided by the present application;

[0021] Figure 2b is an exemplary target object position diagram before the heel generation step of the ship inclination test in the present application begins;

[0022] Figure 2c is an exemplary structural diagram of a U-tube measuring device for a ship tilt test in this application;

[0023] Figure 2dis an exemplary structural diagram of a pendulum measuring device for a ship tilt test in the present application;

[0024] Figure 3 is a structural schematic diagram of an error step determination device provided by the present application;

[0025] Figure 4 It is a structural schematic diagram of the electronic device provided by this application. DETAILED DESCRIPTION

[0026] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.

[0027] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0028] Figure 1 1 is a flow chart of the error step determination method provided by the present application. The method can be executed by the error step determination device provided by the present application, and the device can be implemented in software and / or hardware. In a specific embodiment, the device can be integrated in an electronic device. For example, the device can be integrated in a computer. The following embodiments will be described by taking the device integrated in an electronic device as an example. Figure 1 , the method may specifically include the following steps:

[0029] Step 101, obtaining the left side moving weight of the ship and the right side moving weight of the ship.

[0030] Among them, the left side moving weight of the ship and the right side moving weight of the ship are generated after the heel generating step of the ship inclination test, the heel generating step includes the step of moving the first target object on the ship by a first target distance between the two sides of the ship, the ship inclination test includes an initial stability high confirmation step, the initial stability high confirmation step includes a heel generating step and a heel angle confirmation step, and the two sides of the ship are the two sides where the ship's side is located.

[0031] Specifically, the ship tilt test includes multiple steps to determine the empty ship weight and the actual position of the center of gravity of the ship. For example, the ship tilt test includes a ship initial state confirmation step, an initial stability high confirmation step, a ship center of gravity high confirmation step, and an empty ship weight and center of gravity position confirmation step. Among them, the ship initial state confirmation step is used to confirm the initial state of the ship, such as confirming the excess weight of the ship or the insufficient weight of the ship, and confirming the hydrostatic characteristics of the ship, such as the displacement and draft of the ship. After confirming the initial state of the ship, the initial stability high confirmation step can be executed. For example, the fixed weight loaded on the ship can be moved to make the ship heel, so as to determine the initial stability high according to the changes before and after the ship heels. Therefore, the initial stability high confirmation step includes a heel generation step and a heel angle confirmation step, wherein the heel generation step is used to cause the ship to heel, and the heel angle confirmation step is used to confirm the size of the heel angle. After confirming the initial stability high of the ship, the center of gravity high of the ship can be determined by executing the ship center of gravity high confirmation step. After confirming the height of the ship's center of gravity, the light ship weight and the position of the ship's center of gravity can be confirmed by executing the light ship weight and center of gravity position confirmation steps according to the height of the ship's center of gravity to complete the ship inclination test.

[0032] The heeling generation step includes a step of moving the first target object on the ship by a first target distance between the two sides of the ship, and the two sides of the ship are the two sides where the ship's side is located. The first target object can be set on the deck of the ship, or set in the cabin of the ship, and this application does not limit this. After the first target object moves between the two sides of the ship, the weight on the left side and the weight on the right side of the ship will change. At this time, the measured change in the left side weight is the left side moving weight of the ship, and the measured change in the right side weight is the right side moving weight of the ship. Therefore, the left side moving weight of the ship and the right side moving weight of the ship are both generated after the heeling generation step of the ship tilting test. The method of causing the ship to heel in the heeling generation step includes a left and right pressure iron moving method or a left and right ballast water transfer method. When the left and right pressure iron moving method is used to cause the ship to heel, the first target object is a fixed weight block solid, and the ship is heeled by moving the first target object between the two sides of the ship. When the left and right ballast water transfer method is used to cause the ship to heel, the first target object is a fixed weight ballast water, and the ship is heeled by moving the first target object between the two sides of the ship. For example, 280 tons of ballast water from the ship's left ballast tank is transferred to the ship's right ballast tank.

[0033] After the ship heels, the left side moving weight of the ship and the right side moving weight of the ship generated in the heeling generation step are obtained. The left side moving weight of the ship and the right side moving weight of the ship can be obtained by the electronic device executing this embodiment through a weight collection device, or the experimenter reads the left side moving weight of the ship and the right side moving weight of the ship displayed by the weight collection device and sends them to the electronic device executing this embodiment. This application does not make any provision for this.

[0034] For example, Figure 2b is an exemplary target object position diagram before the heel generation step of the ship tilt test in this application begins. Figure 2b As shown, before the heel generation step begins, the first target object is located at Figure 2b There are objects with the same size and weight as the first target object at the positions indicated by A, B, C and D. When the ship is heeled by moving the left and right weights, the first target object is moved from the position indicated by A to the position indicated by A' to heel the ship. At this time, the left and right moving weights of the ship are obtained.

[0035] Step 102, if it is determined that the heeling step is not an error step of the ship inclination test based on the difference between the left side moving weight and the right side moving weight, the heel angle of the ship is obtained.

[0036] The heel angle of the ship is generated after the heel generating step and is obtained through the heel angle confirming step.

[0037] Specifically, in the ship tilt test, since the first target object moves between the two sides of the ship, the left moving weight of the ship should be equal to the right moving weight of the ship. Therefore, according to the difference between the left moving weight and the right moving weight, it is determined whether the heeling generation step is an error step of the ship tilt test. For example, when the difference between the left moving weight and the right moving weight is greater than the weight error difference, it is determined that the heeling generation step is an error step of the ship tilt test. When the difference between the left moving weight and the right moving weight is less than or equal to the weight error difference, it is determined that the heeling generation step is not an error step of the ship tilt test. Among them, the weight error difference is an error value generated by the measurement that does not affect the test results. For example, the weight error difference can be 0.01kg.

[0038] After determining that the heeling generation step is not an error step of the ship heeling test according to the difference between the left moving weight and the right moving weight, that is, after determining that there is no test error in the heeling generation step, the heel angle of the ship is obtained. The heel angle of the ship is the heel angle of the ship under the test state, which can be obtained by the electronic device executing this embodiment through the angle acquisition device, or by the experimenter reading the heel angle of the ship displayed by the angle acquisition device and sending it to the electronic device executing this embodiment. This application does not make any provision for this.

[0039] Optionally, there are multiple heel angles of the ship, and obtaining the heel angle of the ship can be achieved through step 1021.

[0040] Step 1021, obtaining the heel distances of multiple ships, and determining the heel angle of the ship corresponding to each heel distance.

[0041] Specifically, the heel distance of a ship is the distance of change of the center of gravity of the ship caused by the heel angle. The heel distances of multiple ships are collected by multiple distance collection devices. For each heel distance, the heel angle of the ship corresponding to the heel distance is calculated by the heel distance. Among them, the distance collection devices are all devices placed inside the ship and the center line coincides with the center line of the ship. The distance collection devices include U-tube measuring devices and pendulum measuring devices. If the distance collection device is a U-tube measuring device, the difference in the change of the liquid column of the U-tube is the heel distance, and the heel angle of the ship corresponding to the heel distance is determined by the size of the heel distance and the width of the U-tube. If the distance collection device is a pendulum measuring device, the distance that the vertical line of the pendulum of the pendulum measuring device moves on the water surface of the pendulum measuring device is the heel distance, and the heel angle of the ship corresponding to the heel distance is determined by the size of the heel distance and the height of the pendulum measuring device.

[0042] For example, Figure 2cis an exemplary structural diagram of a U-tube measuring device for a ship tilt test in this application, Figure 2d This is an exemplary structural diagram of the pendulum measuring device for the ship tilt test in this application, using 2 sets of Figure 2c The U-tube measuring device shown and 1 set Figure 2d The pendulum measuring device shown in the figure is used to measure and obtain three heel distances, that is, two a values ​​and one L1 value. Since the values ​​of L2 and b are known, the heel angle of the ship corresponding to each heel distance is calculated according to each heel distance. For example, the L1 value measured by the U-tube measuring device and the known L2 value obtain the sine value of the illustrated γ angle, and then obtain the γ angle as the heel angle. The a value and the b value measured by the pendulum measuring device obtain the sine value of the illustrated θ angle, and then obtain the θ angle as the heel angle.

[0043] Step 103, if it is determined that the heel angle confirmation step is not an error step of the ship tilt test based on the heel angle of the ship, the initial stability of the ship is determined to be high based on the first target distance, the weight of the first target object and the heel angle.

[0044] Specifically, in the ship inclination test, since the weight of the first target object is much smaller than the weight of the ship and the ship is stable, the heel angle of the ship should be less than the preset angle threshold, and the preset angle threshold is 5° for example. Therefore, according to the heel angle of the ship, it is determined whether the heel angle confirmation step is an error step of the ship inclination test. For example, when the heel angle of the ship is greater than or equal to the preset angle threshold, it is determined that the heel angle confirmation step is an error step of the ship inclination test, and the test error of the heel angle confirmation step may be a reading error. When the heel angle of the ship should be less than the preset angle threshold, it is determined that the heel angle confirmation step is not an error step of the ship inclination test.

[0045] After determining that the heel angle confirmation step is not an error step in the ship tilt test based on the heel angle of the ship, that is, after determining that there is no test error in the heel angle confirmation step, the initial stability of the ship is determined to be high based on the first target distance, the weight of the first target object and the heel angle.

[0046] Exemplarily, determining the initial stability height of the ship according to the first target distance, the weight of the first target object, and the heel angle can be achieved by formula 1.

[0047] GM=M / Δ·tanθ Formula 1

[0048] Among them, GM is the initial stability height, M is the heeling moment, which is obtained by multiplying the weight of the first target object by the first target distance, Δ is the known displacement of the ship, and θ is the heel angle.

[0049] If the number of acquired heel angles is multiple, it is also possible to determine that the heel angle confirmation step is not an error step of the ship inclination test based on the difference between any two heel angles among the multiple heel angles, when the difference is less than the preset heel angle difference. For example, the preset heel angle difference is 0.5°, and the number of acquired heel angles is 3, which are 2.1°, 2.2° and 2.2° respectively. The difference between any two heel angles among the three heel angles is 0.1°, 0.1° and 0° respectively, which are all less than the preset heel angle difference. Therefore, it is determined that the heel angle confirmation step is not an error step of the ship inclination test.

[0050] Optionally, after executing step 1021, the step of determining that the heel angle confirmation step is not an error step of the ship tilt test can be implemented through step 1031 according to the heel angle of the ship.

[0051] Step 1031, if the statistical parameter of the heel angles of the multiple ships is less than the preset parameter value, it is determined that the heel angle confirmation step is not an error step of the ship tilt test.

[0052] Specifically, after obtaining the heel angles of multiple ships, the statistical parameters of the heel angles of multiple ships are calculated. According to the statistical parameters of the heel angles of multiple ships, it is determined whether the heel angle confirmation step is an error step of the ship inclination test. For example, the variance of the heel angles of multiple ships is calculated, and if the variance is greater than or equal to a preset parameter value, it is determined that the heel angle confirmation step is an error step of the ship inclination test, and if the variance is less than the preset parameter value, it is determined that the heel angle confirmation step is not an error step of the ship inclination test.

[0053] The scheme of the present application obtains the left side moving weight and the right side moving weight of the ship; wherein, the left side moving weight and the right side moving weight of the ship are generated after the heel generation step of the ship inclination test, the heel generation step includes the step of moving the first target object on the ship between the two sides of the ship by a first target distance, the ship inclination test includes an initial stability high confirmation step, the initial stability high confirmation step includes a heel generation step and a heel angle confirmation step, and the two sides of the ship are the two sides where the ship's side is located; if it is determined that the heel generation step is not an error step of the ship inclination test based on the difference between the left side moving weight and the right side moving weight, the heel angle of the ship is obtained; wherein the heel angle of the ship is generated after the heel generation step and obtained through the heel angle confirmation step; if it is determined that the heel angle confirmation step is not an error step of the ship inclination test based on the heel angle of the ship, the initial stability high of the ship is determined based on the first target distance, the weight of the first target object and the heel angle. That is, the solution of the present application, on the one hand, determines the error step of the ship tilt test according to the left side moving weight of the ship, the right side moving weight of the ship and the heel angle of the ship, thereby improving the error confirmation accuracy of the ship tilt test. On the other hand, after each step of the test, it is confirmed whether the step is an error step, so as to timely determine the step that generates an error in the test, avoiding the situation of confirming whether an error has occurred after all the tests are completed, thereby avoiding the situation of needing to re-perform all the tests after all the tests are completed, and improving the test efficiency of the ship tilt test.

[0054] Figure 2a is another flow chart of the error step determination method provided by the present application. Figure 1 Based on the illustrated embodiment and various optional implementation schemes, the case where the number of rounds of the initial stability high confirmation step is n rounds is described in detail. Figure 2a As shown, the method may include the following steps:

[0055] Step 201, obtaining the left side moving weight of the ship and the right side moving weight of the ship.

[0056] Step 202: If it is determined that the heeling step is not an error step in the ship tilting test based on the difference between the left side moving weight and the right side moving weight, the heel angle of the ship is obtained.

[0057] Optionally, before executing step 202, steps 2021 to 2022 may also be executed.

[0058] Step 2021, if it is determined that the heeling generation step is an error step of the ship tilting test based on the difference between the left moving weight and the right moving weight, a prompt message is sent to the experimenter terminal.

[0059] The prompt information is used to instruct the second target object on the ship to move a second target distance between the two sides of the ship, so that the moving weight on the left side of the ship and the moving weight on the right side of the ship are updated.

[0060] Specifically, according to the difference between the left moving weight and the right moving weight, it is determined whether the heeling generation step is an error step of the ship inclination test. For example, when the difference between the left moving weight and the right moving weight is greater than the weight error difference, it is determined that the heeling generation step is an error step of the ship inclination test. After determining that the heeling generation step is an error step of the ship inclination test according to the difference between the left moving weight and the right moving weight, a prompt message is sent to the experimenter terminal. So that the experimenter moves the second target object on the ship between the two sides of the ship by a second target distance, so that the left moving weight of the ship and the right moving weight of the ship are updated. The second target object can be the same as the first target object, or different from the first target object, and the second target distance can be the same as the first target distance, or different from the first target distance.

[0061] For example, Figure 2b As shown, after the first target object is moved from the position indicated by the A mark to the position indicated by the A' mark, according to the difference between the left moving weight and the right moving weight, it is determined that the heeling generation step is an error step of the ship inclination test, and a prompt message is sent to the experimenter terminal. So that the experimenter moves the second target object on the ship from the position indicated by the C mark to the position indicated by the C' mark, so that the left moving weight of the ship and the right moving weight of the ship are updated.

[0062] Step 2022, after determining that the left side moving weight of the ship and the right side moving weight of the ship are updated, return to execute step 201 until it is determined that the heeling generation step is not an error step of the ship tilt test based on the difference between the left side moving weight and the right side moving weight.

[0063] Specifically, after sending the prompt information to the experimenter terminal, the left moving weight of the ship and the right moving weight of the ship are determined. After determining that the left moving weight of the ship and the right moving weight of the ship are updated, for example, after receiving the information returned by the experimenter terminal indicating that the left moving weight of the ship and the right moving weight of the ship have been updated, return to execute step 201. That is, the left moving weight of the ship and the right moving weight of the ship are reacquired. Until, according to the difference between the left moving weight and the right moving weight, it is determined that the heeling generation step is not an error step of the ship inclination test, for example, when the difference between the left moving weight and the right moving weight is less than or equal to the weight error difference, it is determined that the heeling generation step is not an error step of the ship inclination test.

[0064] Step 203, if it is determined that the heel angle confirmation step is not an error step of the ship tilt test based on the heel angle of the ship, the initial stability of the ship is determined to be high based on the first target distance, the weight of the first target object and the heel angle.

[0065] Optionally, before executing step 203, steps 2031 to 2032 may also be executed.

[0066] Step 2031: If it is determined that the heel angle confirmation step is an error step of the ship inclination test based on the heel angle of the ship, a prompt message is sent to the experimenter terminal.

[0067] Specifically, according to the heel angle of the ship, it is determined whether the heel angle confirmation step is an error step of the ship inclination test. For example, when the heel angle of the ship is greater than or equal to the preset angle threshold, it is determined that the heel angle confirmation step is an error step of the ship inclination test. After determining that the heel angle confirmation step is an error step of the ship inclination test according to the heel angle of the ship, a prompt message is sent to the experimenter terminal. This allows the experimenter to move the second target object on the ship between the two sides of the ship by a second target distance, so that the left side moving weight of the ship and the right side moving weight of the ship are updated, thereby updating the heel angle.

[0068] For example, Figure 2b As shown, after the first target object is moved from the position indicated by the A mark to the position indicated by the A' mark, the heeling generation step is determined to be not an error step of the ship inclination test according to the difference between the left moving weight and the right moving weight, and the heeling angle of the ship is obtained. According to the heeling angle of the ship, it is determined that the heeling angle confirmation step is an error step of the ship inclination test, and a prompt message is sent to the experimenter terminal. The experimenter moves the second target object on the ship from the position indicated by the C mark to the position indicated by the C' mark, so that the left moving weight and the right moving weight of the ship are updated, thereby updating the heeling angle.

[0069] Step 2032, after determining that the left side moving weight of the ship and the right side moving weight of the ship are updated, return to execute step 201 until it is determined that the heel angle confirmation step is not an error step of the ship tilt test based on the heel angle of the ship.

[0070] Specifically, after sending the prompt information to the experimenter terminal, the left moving weight of the ship and the right moving weight of the ship are determined. After determining that the left moving weight of the ship and the right moving weight of the ship are updated, return to step 201. That is, the left moving weight of the ship and the right moving weight of the ship are re-acquired, and then the heel angle is re-acquired after determining that the heel generation step is not an error step of the ship inclination test based on the difference between the left moving weight and the right moving weight. Until it is determined that the heel angle confirmation step is not an error step of the ship inclination test based on the heel angle of the ship, for example, when the heel angle of the ship is less than the preset angle threshold, it is determined that the heel angle confirmation step is not an error step of the ship inclination test.

[0071] Optionally, the number of rounds of the initial stability high confirmation step is n rounds, where n is an integer greater than m, m is an integer greater than 1, and i is an integer greater than 0. If i is less than m, step 204 is performed. If i is greater than or equal to m, step 205 is performed.

[0072] Step 204: If i is less than m, perform the first operation.

[0073] Among them, the first operation includes: recording the initial stability height as the i-th round of initial stability height; after confirming the execution of the i+1-th round of initial stability height confirmation step, taking the value of i+1 as the new i value, returning to execute step 201, until i=m, and obtaining m initial stability heights corresponding to the m-round initial stability height confirmation steps; if it is determined that the first m rounds of initial stability height confirmation steps are not error steps of the ship tilt test based on the initial stability height difference between the m initial stability heights, then the i initial stability heights are fitted to obtain the initial stability height curve.

[0074] Specifically, if i is less than m, the first operation is performed. That is, when i is less than m, the initial high stability is recorded as the i-th round of initial high stability. For example, i=1, and the initial high stability is recorded as the 1st round of initial high stability. i represents the round of the initial high stability confirmation step currently being executed, and m is the round of the initial high stability confirmation step preset for fitting the initial high stability curve. For example, the value of m can be 3. After confirming the execution of the i+1th round of initial high stability confirmation step, for example, after receiving the instruction information for executing the i+1th round of initial high stability confirmation step, the value of i+1 is used as the new i value, and the execution of step 201 is returned, that is, the left side moving weight of the ship and the right side moving weight of the ship are obtained again, until i=m, and m initial high stability corresponding to the m rounds of initial high stability confirmation steps are obtained.

[0075] According to the difference degree of initial stability height between m initial stability heights, determine whether the initial stability height confirmation step of the first m rounds is an error step of the ship tilt test. For example, according to the variance of m initial stability heights, determine the difference degree of initial stability height between m initial stability heights. For example, if the variance of m initial stability heights is less than the preset initial stability height variance value, it is determined that the difference degree of initial stability height between m initial stability heights is less than the preset initial stability height difference degree. If the variance of m initial stability heights is greater than or equal to the preset initial stability height variance value, it is determined that the difference degree of initial stability height between m initial stability heights is greater than or equal to the preset initial stability height difference degree. When the difference degree of initial stability height between m initial stability heights is greater than or equal to the preset initial stability height difference degree, it is determined that the initial stability height confirmation step of the first m rounds is an error step of the ship tilt test. When the difference degree of initial stability height between m initial stability heights is less than the preset initial stability height difference degree, it is determined that the initial stability height confirmation step of the first m rounds is not an error step of the ship tilt test.

[0076] After determining that the first m rounds of initial stability height confirmation steps are not error steps of the ship tilt test according to the initial stability height difference between the m initial stability heights, the i initial stability heights are fitted to obtain an initial stability height curve. For example, the i initial stability heights are fitted to obtain an initial stability height curve by the least squares method. For example, the initial stability height curve obtained by fitting the i initial stability heights by the least squares method can be expressed by Formula 2.

[0077] GM(i)=(∑(M*tanθ)-∑M*∑tanθ)*Δ / (∑tanθ 2 -(∑tanθ) 2 Formula 2

[0078] Among them, GM(i) is the initial stability height curve, M is the heeling moment, θ is the heeling angle, and Δ is the known displacement of the ship.

[0079] Exemplarily, m=3, i=1, the first operation is performed, that is, the initial stability high is recorded as the first round of initial stability high; after confirming the execution of the second round of initial stability high confirmation step, 2 is used as the new i value, and the execution returns to step 201. At this time, i=2, which is less than m, and the first operation is performed again, and the initial stability high is recorded as the second round of initial stability high; after confirming the execution of the third round of initial stability high confirmation step, 3 is used as the new i value, and the execution returns to step 201. After the third round of initial stability high is obtained, i=3 at this time, which is equal to m, that is, 3 initial stability highs corresponding to the 3 rounds of initial stability high confirmation steps are obtained. If it is determined that the first 3 rounds of initial stability high confirmation steps are not error steps of the ship tilt test based on the initial stability high difference between the 3 initial stability highs, the 3 initial stability highs are fitted to obtain the initial stability high curve.

[0080] Optionally, in the process of executing the first operation, before executing the step of determining that the first m rounds of initial stability height confirmation step is not an error step of the ship tilt test based on the initial stability height difference between the m initial stability heights, step 2041 can also be executed.

[0081] Step 2041, if according to the difference degree of initial stability height among the m initial stability heights, it is determined that the first m rounds of initial stability height confirmation steps are error steps of the ship tilt test, then set i=1, and return to execute step 201 until according to the difference degree of initial stability height among the m initial stability heights, it is determined that the first m rounds of initial stability height confirmation steps are not error steps of the ship tilt test.

[0082] Specifically, according to the difference degree of initial stability height between m initial stability heights, it is determined whether the first m rounds of initial stability height confirmation steps are error steps of the ship tilt test. For example, if the variance of the m initial stability heights is greater than or equal to the preset initial stability height variance value, it is determined that the difference degree of initial stability height between the m initial stability heights is greater than or equal to the preset initial stability height difference degree, thereby determining that the first m rounds of initial stability height confirmation steps are error steps of the ship tilt test. At this time, let i=1, return to execute step 201, that is, reacquire m rounds of initial stability heights. Until according to the difference degree of initial stability height between m initial stability heights, it is determined that the first m rounds of initial stability height confirmation steps are not error steps of the ship tilt test.

[0083] Step 205: If i is greater than or equal to m, execute the second operation.

[0084] Among them, the second operation includes: after confirming the execution of the i+1th round of initial stability high confirmation step, taking the value of i+1 as the new i value, returning to execute step 201, if according to the degree of difference between the initial stability high corresponding to the i-th round of initial stability high confirmation step and the initial stability high curve, it is determined that the i-th round of initial stability high confirmation step is not an error step of the ship tilt test, then according to the initial stability high corresponding to the i-th round of initial stability high confirmation step, the initial stability high curve is updated to obtain an updated initial stability high curve, and returning to execute the step of "after confirming the execution of the i+1th round of initial stability high confirmation step, taking the value of i+1 as the new i value", until i=n, ​​and n initial stability highs are obtained.

[0085] Specifically, n is the preset test round of the initial high stability confirmation step, and for example, n can be 8. If i is greater than or equal to m, the second operation is performed. That is, when i is greater than or equal to m, the value of i+1 is used as the new i value, and step 201 is returned to execute, that is, the left moving weight of the ship and the right moving weight of the ship are obtained again to obtain the i-th round of initial high stability. According to the degree of difference between the initial high stability corresponding to the i-th round of initial high stability confirmation step and the initial high stability curve, it is determined whether the i-th round of initial high stability confirmation step is an error step of the ship tilt test, for example, according to whether the distance between the point corresponding to the i-th round of initial high stability and the initial high stability curve is less than the preset distance, it is determined whether the i-th round of initial high stability confirmation step is an error step of the ship tilt test. For example, when the distance between the point corresponding to the i-th round of initial high stability and the initial high stability curve is greater than or equal to the preset initial high stability distance, it is determined that the i-th round of initial high stability confirmation step is an error step of the ship tilt test. When the distance between the point corresponding to the i-th round of initial stability height and the initial stability height curve is less than the preset initial stability height distance, it is determined that the i-th round of initial stability height confirmation step is not an error step of the ship inclination test.

[0086] If the initial stability height corresponding to the i-th round initial stability height confirmation step and the initial stability height curve are determined to be not the error step of the ship tilt test, the initial stability height curve is updated according to the initial stability height corresponding to the i-th round initial stability height confirmation step to obtain an updated initial stability height curve. For example, according to the initial stability height corresponding to the previous i-1 round initial stability height confirmation step and the initial stability height corresponding to the i-th round initial stability height confirmation step, a new initial stability height curve is refitted by formula 2. Return to the step of "after confirming the execution of the i+1th round initial stability height confirmation step, use the value of i+1 as the new i value" until i=n, ​​and n initial stability heights are obtained.

[0087] Exemplarily, m=3, i=3, n=5, and the second operation is performed, that is, after confirming the execution of the 4th round of initial high stability confirmation step, 4 is used as the new i value, and the process returns to step 201. If, based on the degree of difference between the initial high stability corresponding to the 4th round of initial high stability confirmation step and the initial high stability curve, it is determined that the 4th round of initial high stability confirmation step is not an error step of the ship inclination test, the initial high stability curve is updated according to the initial high stability corresponding to the 4th round of initial high stability confirmation step to obtain an updated initial high stability curve, that is, the initial high stability curve obtained by fitting the first 4 rounds of initial high stability, and the process returns to the step of "after confirming the execution of the i+1th round of initial high stability confirmation step, the value of i+1 is used as the new i value", that is, after confirming the execution of the 5th round of initial high stability confirmation step, 5 is used as the new i value, and the process returns to step 201. At this time, i=n, ​​and 5 initial high stability are obtained.

[0088] Optionally, in the process of executing the second operation, if it is determined that the i-th round of initial stability high confirmation step is not an error step of the ship inclination test based on the degree of difference between the initial stability high and the initial stability high curve corresponding to the i-th round of initial stability high confirmation step, step 2051 can also be executed before executing.

[0089] Step 2051, if according to the degree of difference between the initial stability high corresponding to the i-th round of initial stability high confirmation step and the initial stability high curve, it is determined that the i-th round of initial stability high confirmation step is an error step of the ship tilt test, then let the value of i-1 be the new i value, and return to execute step 205 until according to the degree of difference between the initial stability high corresponding to the i-th round of initial stability high confirmation step and the initial stability high curve, it is determined that the i-th round of initial stability high confirmation step is not an error step of the ship tilt test.

[0090] Specifically, according to the difference between the initial stability high corresponding to the i-th round initial stability high confirmation step and the initial stability high curve, it is determined whether the i-th round initial stability high confirmation step is an error step of the ship tilt test, for example, according to whether the distance between the point corresponding to the i-th round initial stability high and the initial stability high curve is less than a preset distance, it is determined whether the i-th round initial stability high confirmation step is an error step of the ship tilt test. For example, when the distance between the point corresponding to the i-th round initial stability high and the initial stability high curve is greater than or equal to the preset initial stability high distance, it is determined that the i-th round initial stability high confirmation step is an error step of the ship tilt test.

[0091] After determining that the i-th round initial high stability confirmation step is an error step of the ship tilting test according to the difference between the initial high stability corresponding to the i-th round initial high stability confirmation step and the initial high stability curve, let the value of i-1 be the new value of i, and return to step 205, that is, re-acquire the initial high stability corresponding to the i-th round initial high stability confirmation step. Until, according to the difference between the initial high stability corresponding to the i-th round initial high stability confirmation step and the initial high stability curve, it is determined that the i-th round initial high stability confirmation step is not an error step of the ship tilting test.

[0092] For example, i=4, if the fourth round of initial high stability confirmation step is determined to be an error step of the ship tilt test according to the difference between the initial high stability corresponding to the fourth round of initial high stability confirmation step and the initial high stability curve, then 3 is set as the new i value, and the process returns to step 205, that is, the fourth round of initial high stability is obtained again. Until the fourth round of initial high stability confirmation step is determined not to be an error step of the ship tilt test according to the difference between the initial high stability corresponding to the fourth round of initial high stability confirmation step and the initial high stability curve.

[0093] Step 206, determining a target high initial stability according to n statistical parameters of high initial stability.

[0094] Specifically, after obtaining n initial high stability, a target initial high stability is determined according to statistical parameters of the n initial high stability to improve the accuracy of the initial high stability. For example, the target initial high stability is determined according to an average value of the n initial high stability.

[0095] Step 207, determining the center of gravity height of the ship according to the target initial stability height.

[0096] Specifically, the height of the center of gravity of the ship is determined according to the target initial stability height, so that the test personnel can complete the subsequent steps of the ship inclination test according to the height of the center of gravity of the ship.

[0097] Exemplarily, determining the center of gravity height of the ship according to the target initial stability height can be achieved by formula 3.

[0098] KG=KM-GM-δGM Formula 3

[0099] Among them, KG is the center of gravity height of the ship, KM is the known metacentric height of the ship, GM is the target initial stability height, and δGM is the correction value of the initial stability height caused by the known free liquid surface on the ship.

[0100] The solution of the present application is to reacquire the initial high stability of the first m rounds when the initial high stability confirmation step of the first m rounds is an error step, and to determine the initial high stability curve according to the initial high stability of the first m rounds when the initial high stability confirmation step of the first m rounds is not an error step. In the initial high stability confirmation step after the m rounds of initial high stability confirmation step, if the i-th round of initial high stability confirmation step is an error step, the i-th round of initial high stability is reacquired. If the i-th round of initial high stability confirmation step is not an error step, the initial high stability curve is updated. The processing method is different according to the different rounds of the initial high stability confirmation step, which improves the accuracy of the error step confirmation, and the accuracy of the error step confirmation is enhanced by different processing methods. The target initial high stability is determined according to the n-round initial high stability confirmation step, which further improves the accuracy of the initial high stability.

[0101] Figure 3 is a structural diagram of an error step determination device provided in the present application, and the device is suitable for executing the error step determination method provided in the present application. Figure 3 As shown, the device may specifically include:

[0102] The weight acquisition module 301 is used to acquire the left side moving weight of the ship and the right side moving weight of the ship; wherein the left side moving weight of the ship and the right side moving weight of the ship are generated after the heeling generation step of the ship inclination test, the heeling generation step includes the step of moving the first target object on the ship by a first target distance between the two sides of the ship, the ship inclination test includes the initial stability high confirmation step, the initial stability high confirmation step includes the heeling generation step and the heeling angle confirmation step, and the two sides of the ship are the two sides where the ship's side is located;

[0103] An angle acquisition module 302 is used to acquire the heel angle of the ship if it is determined that the heel generation step is not an error step of the ship inclination test according to the difference between the left side moving weight and the right side moving weight; wherein the heel angle of the ship is generated after the heel generation step and acquired through the heel angle confirmation step;

[0104] The determination module 303 is used to determine that the initial stability of the ship is high according to the first target distance, the weight of the first target object and the heel angle if it is determined that the heel angle confirmation step is not an error step of the ship tilt test according to the heel angle of the ship.

[0105] In one embodiment, the number of rounds of the initial high stability confirmation step is n rounds, n is an integer greater than m, and m is an integer greater than 1. The device also includes: a first execution module, which is used to perform a first operation if i is less than m after the determination module 303 determines the initial high stability of the ship according to the first target distance, the weight of the first target object and the heel angle; wherein the first operation includes: recording the initial high stability as the i-th round of initial high stability, wherein i is an integer greater than 0; after confirming that the i+1-th round of initial high stability confirmation step is executed, taking the value of i+1 as the new i value, returning to execute the step of "obtaining the left side moving weight of the ship and the right side moving weight of the ship" until i=m, and obtaining m initial high stability corresponding to the m-round initial high stability confirmation step; if according to the initial high stability difference between the m initial high stability, it is determined that the first m rounds of initial high stability confirmation steps are not the ship tilt test an error step, then i initial stability heights are fitted to obtain an initial stability height curve; a second execution module is used to execute a second operation if i is greater than or equal to m; the second operation includes: after confirming that the i+1th round of initial stability height confirmation step is executed, taking the value of i+1 as a new i value, returning to execute the step of "obtaining the left side moving weight of the ship and the right side moving weight of the ship", if according to the degree of difference between the initial stability height corresponding to the i-th round of initial stability height confirmation step and the initial stability height curve, it is determined that the i-th round of initial stability height confirmation step is not an error step of the ship tilt test, then according to the initial stability height corresponding to the i-th round of initial stability height confirmation step, the initial stability height curve is updated to obtain an updated initial stability height curve, and returning to execute the step of "after confirming that the i+1th round of initial stability height confirmation step is executed, taking the value of i+1 as a new i value", until i=n, ​​and n initial stability heights are obtained.

[0106] In one embodiment, the device also includes: a center of gravity height determination module, which is used to determine a target initial stability height according to statistical parameters of the n initial stability heights after the second execution module obtains n initial stability heights; and determine the center of gravity height of the ship according to the target initial stability height; wherein the center of gravity height is used to complete subsequent steps of the ship tilt test.

[0107] In one embodiment, the device further includes: a prompt information sending module, which is used to send a prompt information to the experimenter terminal before the angle acquisition module 302 determines that the heel generation step is not the error step of the ship inclination test based on the difference between the left moving weight and the right moving weight, if it is determined that the heel generation step is the error step of the ship inclination test based on the difference between the left moving weight and the right moving weight; wherein the prompt information is used to indicate that the second target object on the ship moves a second target distance between the two sides of the ship so that the left moving weight of the ship and the right moving weight of the ship are updated; a third execution module, which is used to return to the step of "obtaining the left moving weight of the ship and the right moving weight of the ship" after determining that the left moving weight of the ship and the right moving weight of the ship are updated, until it is determined that the heel generation step is not the error step of the ship inclination test based on the difference between the left moving weight and the right moving weight.

[0108] In one embodiment, the prompt information sending module is also used to determine that before the module 303 determines that the heel angle confirmation step is not an error step of the ship inclination test according to the heel angle of the ship, if it is determined that the heel angle confirmation step is an error step of the ship inclination test according to the heel angle of the ship, then send the prompt information to the experimenter terminal; the fourth execution module is used to return to the step of "obtaining the left side moving weight of the ship and the right side moving weight of the ship" after determining that the left side moving weight of the ship and the right side moving weight of the ship are updated, until it is determined that the heel angle confirmation step is not an error step of the ship inclination test according to the heel angle of the ship.

[0109] In one embodiment, the first execution module is further used for: before determining that the first m rounds of initial stability confirmation step is not an error step of the ship tilt test according to the initial stability difference between the m initial stability heights, if it is determined that the first m rounds of initial stability confirmation step is an error step of the ship tilt test according to the initial stability difference between the m initial stability heights, then let i=1, return to execute the step of "obtaining the left side moving weight of the ship and the right side moving weight of the ship" until it is determined that the first m rounds of initial stability confirmation step is not an error step of the ship tilt test according to the initial stability difference between the m initial stability heights; the second execution module is also used for: if according to the i-th round of initial stability Before determining that the i-th round of initial high stability confirmation step is not the error step of the ship inclination test according to the degree of difference between the initial high stability corresponding to the i-th round of initial high stability confirmation step and the initial high stability curve, if the i-th round of initial high stability confirmation step is determined to be the error step of the ship inclination test according to the degree of difference between the initial high stability corresponding to the i-th round of initial high stability confirmation step and the initial high stability curve, let the value of i-1 be the new i value, and return to execute the step of "if i is greater than or equal to m, then execute the second operation" until it is determined that the i-th round of initial high stability confirmation step is not the error step of the ship inclination test according to the degree of difference between the initial high stability corresponding to the i-th round of initial high stability confirmation step and the initial high stability curve.

[0110] In one embodiment, there are multiple heel angles of the ship, and the angle acquisition module 302 obtains the heel angle of the ship, specifically for: obtaining multiple heel distances of the ships, and determining the heel angle of the ship corresponding to the heel distance according to each heel distance; the determination module 303 determines that the heel angle confirmation step is not an error step of the ship inclination test according to the heel angle of the ship, specifically for: if the statistical parameters of the multiple heel angles of the ships are less than the preset parameter value, then determining that the heel angle confirmation step is not an error step of the ship inclination test.

[0111] The device of the present application obtains the left side moving weight and the right side moving weight of the ship; wherein the left side moving weight and the right side moving weight of the ship are generated after the heel generation step of the ship inclination test, the heel generation step includes the step of moving the first target object on the ship between the two sides of the ship by a first target distance, the ship inclination test includes an initial stability high confirmation step, the initial stability high confirmation step includes a heel generation step and a heel angle confirmation step, and the two sides of the ship are the two sides where the ship's side is located; if it is determined that the heel generation step is not an error step of the ship inclination test based on the difference between the left side moving weight and the right side moving weight, the heel angle of the ship is obtained; wherein the heel angle of the ship is generated after the heel generation step and obtained through the heel angle confirmation step; if it is determined that the heel angle confirmation step is not an error step of the ship inclination test based on the heel angle of the ship, the initial stability high of the ship is determined based on the first target distance, the weight of the first target object and the heel angle. That is, the solution of the present application, on the one hand, determines the error step of the ship tilt test according to the left side moving weight of the ship, the right side moving weight of the ship and the heel angle of the ship, thereby improving the error confirmation accuracy of the ship tilt test. On the other hand, after each step of the test, it is confirmed whether the step is an error step, so as to timely determine the step that generates an error in the test, avoiding the situation of confirming whether an error has occurred after all the tests are completed, thereby avoiding the situation of needing to re-perform all the tests after all the tests are completed, and improving the test efficiency of the ship tilt test.

[0112] The present application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the error step determination method provided in any of the above embodiments is implemented.

[0113] The present application also provides a computer-readable medium having a computer program stored thereon, and when the program is executed by a processor, the error step determination method provided in any of the above embodiments is implemented.

[0114] Reference below Figure 4 , which shows a structural schematic diagram of an electronic device 400 suitable for implementing the present application. Figure 4 The electronic device shown is only an example and should not bring any limitation to the function and scope of use of the present application.

[0115] like Figure 4As shown, the electronic device 400 includes a central processing unit (CPU) 401, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 402 or a program loaded from a storage part 408 into a random access memory (RAM) 403. In the RAM 403, various programs and data required for the operation of the electronic device 400 are also stored. The CPU 401, the ROM 402, and the RAM 403 are connected to each other via a bus 404. An input / output (I / O) interface 405 is also connected to the bus 404.

[0116] The following components are connected to the I / O interface 405: an input section 406 including a keyboard, a mouse, etc.; an output section 407 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 408 including a hard disk, etc.; and a communication section 409 including a network interface card such as a LAN card, a modem, etc. The communication section 409 performs communication processing via a network such as the Internet. A drive 410 is also connected to the I / O interface 405 as needed. A removable medium 411, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 410 as needed, so that a computer program read therefrom is installed into the storage section 408 as needed.

[0117] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 409, and / or installed from the removable medium 411. When the computer program is executed by the central processing unit (CPU) 401, the above-mentioned functions defined in the system of the present application are executed.

[0118] It should be noted that the computer-readable medium shown in the present application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.

[0119] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the above-mentioned module, program segment or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0120] The modules and / or units described in this application may be implemented in software or hardware. The modules and / or units described may also be arranged in a processor, for example, it may be described as follows: a processor includes a weight acquisition module, an angle acquisition module and a determination module. The names of these modules do not, in some cases, constitute limitations on the modules themselves.

[0121] As another aspect, the present application further provides a computer-readable medium, which may be included in the device described in the above embodiment; or may exist independently without being assembled into the device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by a device, the device includes:

[0122] The left side moving weight and the right side moving weight of the ship are obtained; wherein, the left side moving weight and the right side moving weight of the ship are generated after the heel generation step of the ship inclination test, the heel generation step includes the step of moving the first target object on the ship between the two sides of the ship by a first target distance, the ship inclination test includes an initial stability high confirmation step, the initial stability high confirmation step includes a heel generation step and a heel angle confirmation step, and the two sides of the ship are the two sides where the ship's side is located; if it is determined that the heel generation step is not an error step of the ship inclination test based on the difference between the left side moving weight and the right side moving weight, then the heel angle of the ship is obtained; wherein the heel angle of the ship is generated after the heel generation step and obtained through the heel angle confirmation step; if it is determined that the heel angle confirmation step is not an error step of the ship inclination test based on the heel angle of the ship, then the initial stability high of the ship is determined based on the first target distance, the weight of the first target object and the heel angle.

[0123] According to the scheme of the present application, the left side moving weight and the right side moving weight of the ship are obtained; wherein, the left side moving weight and the right side moving weight of the ship are generated after the heel generation step of the ship inclination test, the heel generation step includes the step of moving the first target object on the ship between the two sides of the ship by a first target distance, the ship inclination test includes an initial stability high confirmation step, the initial stability high confirmation step includes a heel generation step and a heel angle confirmation step, and the two sides of the ship are the two sides where the ship's side is located; if, according to the difference between the left side moving weight and the right side moving weight, it is determined that the heel generation step is not an error step of the ship inclination test, then the heel angle of the ship is obtained; wherein, the heel angle of the ship is generated after the heel generation step and obtained through the heel angle confirmation step; if, according to the heel angle of the ship, it is determined that the heel angle confirmation step is not an error step of the ship inclination test, then the initial stability high of the ship is determined according to the first target distance, the weight of the first target object and the heel angle. That is, the solution of the present application, on the one hand, determines the error step of the ship tilt test according to the left side moving weight of the ship, the right side moving weight of the ship and the heel angle of the ship, thereby improving the error confirmation accuracy of the ship tilt test. On the other hand, after each step of the test, it is confirmed whether the step is an error step, so as to timely determine the step that generates an error in the test, avoiding the situation of confirming whether an error has occurred after all the tests are completed, thereby avoiding the situation of needing to re-perform all the tests after all the tests are completed, and improving the test efficiency of the ship tilt test.

[0124] An embodiment of the present application also provides a computer program product, including a computer program, which, when executed by a processor, implements the error step determination method provided in any embodiment of the present application.

[0125] In the process of implementation, the computer program product can be written in one or more programming languages ​​or a combination thereof to perform the computer program code of the present application, and the programming language includes an object-oriented programming language, such as Java, Smalltalk, C++, and also includes a conventional procedural programming language, such as "C" language or similar programming language. The program code can be executed entirely on the user's computer, partially on the user's computer, as an independent software package, partially on the user's computer and partially on the remote computer, or completely on the remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (for example, using an Internet service provider to connect through the Internet).

[0126] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0127] The above specific implementations do not constitute a limitation on the protection scope of this application. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may occur depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of this application should be included in the protection scope of this application.

Claims

1. A method for determining an error step, characterized in that: include: Obtaining the left side moving weight of the ship and the right side moving weight of the ship; wherein the left side moving weight of the ship and the right side moving weight of the ship are generated after a heeling generation step of a ship inclination test, the heeling generation step includes a step of moving a first target object on the ship by a first target distance between two sides of the ship, the ship inclination test includes an initial stability high confirmation step, the initial stability high confirmation step includes the heeling generation step and a heeling angle confirmation step, and the two sides of the ship are the two sides where the ship's side is located; If it is determined that the heeling generation step is not an error step of the ship inclination test according to the difference between the left side moving weight and the right side moving weight, the heel angle of the ship is obtained; wherein the heel angle of the ship is generated after the heeling generation step and obtained through the heel angle confirmation step; If it is determined that the heel angle confirmation step is not an error step of the ship tilt test based on the heel angle of the ship, the initial stability of the ship is determined to be high based on the first target distance, the weight of the first target object and the heel angle.

2. The method according to claim 1, characterized in that The number of rounds of the initial stability high confirmation step is n rounds, where n is an integer greater than m, and m is an integer greater than 1. After determining the initial stability high of the ship according to the first target distance, the weight of the first target object, and the heel angle, the method further includes: If i is less than m, the first operation is performed; wherein the first operation includes: recording the initial stability height as the i-th round initial stability height, wherein i is an integer greater than 0; after confirming that the i+1-th round initial stability height confirmation step is performed, taking the value of i+1 as the new i value, returning to perform the step of "obtaining the left side moving weight of the ship and the right side moving weight of the ship", until i=m, and obtaining m initial stability heights corresponding to the m-round initial stability height confirmation step; if it is determined that the first m-round initial stability height confirmation step is not an error step of the ship tilting test according to the initial stability height difference between the m initial stability heights, then fitting the i initial stability heights to obtain an initial stability height curve; If i is greater than or equal to m, a second operation is performed; the second operation includes: after confirming that the i+1th round of initial stability high confirmation step is executed, the value of i+1 is used as a new i value, and returning to execute the step of "obtaining the left side moving weight of the ship and the right side moving weight of the ship"; if, according to the degree of difference between the initial stability high corresponding to the i-th round of initial stability high confirmation step and the initial stability high curve, it is determined that the i-th round of initial stability high confirmation step is not an error step of the ship tilt test, then the initial stability high curve is updated according to the initial stability high corresponding to the i-th round of initial stability high confirmation step to obtain an updated initial stability high curve, and returning to execute the step of "after confirming that the i+1th round of initial stability high confirmation step is executed, the value of i+1 is used as a new i value" until i=n, ​​and n initial stability highs are obtained.

3. The method according to claim 2, characterized in that After obtaining n high initial stability, the method further comprises: Determining a target high initial stability according to the n statistical parameters of high initial stability; The center of gravity height of the ship is determined according to the target initial stability height; wherein the center of gravity height is used to complete the subsequent steps of the ship tilting test.

4. The method according to claim 2, characterized in that: Before determining that the heeling generation step is not an error step of the ship inclination test based on the difference between the left side moving weight and the right side moving weight, the method further includes: If it is determined that the heeling generation step is an error step of the ship tilting test according to the difference between the left side moving weight and the right side moving weight, a prompt message is sent to the experimenter terminal; wherein the prompt message is used to instruct the second target object on the ship to move a second target distance between the two sides of the ship so that the left side moving weight and the right side moving weight of the ship are updated; After determining that the left side moving weight of the ship and the right side moving weight of the ship are updated, return to execute the step of "obtaining the left side moving weight of the ship and the right side moving weight of the ship" until it is determined that the heeling generation step is not an error step of the ship tilt test based on the difference between the left side moving weight and the right side moving weight.

5. The method according to claim 4, characterized in that If, according to the heel angle of the ship, it is determined that the heel angle confirmation step is not an error step of the ship inclination test, before the step, the method further includes: If it is determined that the heel angle confirmation step is an error step of the ship inclination test according to the heel angle of the ship, sending the prompt information to the experimenter terminal; After determining that the left side moving weight and the right side moving weight of the ship are updated, return to execute the step of "obtaining the left side moving weight of the ship and the right side moving weight of the ship" until it is determined that the heel angle confirmation step is not an error step of the ship tilt test based on the heel angle of the ship.

6. The method according to claim 2, characterized in that Before the step of determining that the first m wheels' initial stability heights are not errors in the ship tilt test according to the initial stability height differences between the m initial stability heights, the method further includes: If, according to the difference degree of the initial stability heights among the m initial stability heights, it is determined that the first m rounds initial stability height confirmation step is an error step of the ship tilting test, then let i=1, and return to the step of "obtaining the left side moving weight of the ship and the right side moving weight of the ship", until, according to the difference degree of the initial stability heights among the m initial stability heights, it is determined that the first m rounds initial stability height confirmation step is not an error step of the ship tilting test; Before determining that the i-th round initial stability high confirmation step is not an error step of the ship inclination test according to the difference between the initial stability high corresponding to the i-th round initial stability high confirmation step and the initial stability high curve, the method further includes: If, according to the degree of difference between the initial stability height corresponding to the i-th round of initial stability height confirmation step and the initial stability height curve, it is determined that the i-th round of initial stability height confirmation step is an error step of the ship inclination test, let the value of i-1 be the new i value, and return to execute the step of "if i is greater than or equal to m, then execute the second operation" until, according to the degree of difference between the initial stability height corresponding to the i-th round of initial stability height confirmation step and the initial stability height curve, it is determined that the i-th round of initial stability height confirmation step is not an error step of the ship inclination test.

7. The method according to any one of claims 1 to 6, characterized in that: The number of the heel angles of the ship is multiple, and obtaining the heel angle of the ship includes: Acquire a plurality of heel distances of the ship, and determine a heel angle of the ship corresponding to each heel distance according to the heel distance; The step of determining, based on the heel angle of the ship, that the heel angle confirmation step is not an error step of the ship inclination test comprises: If the statistical parameter of the heel angles of the plurality of ships is less than a preset parameter value, it is determined that the heel angle confirmation step is not an error step of the ship tilt test.

8. An error step determination device, characterized in that: include: A weight acquisition module, used for acquiring the left side moving weight of the ship and the right side moving weight of the ship; wherein the left side moving weight of the ship and the right side moving weight of the ship are generated after the heeling generation step of the ship inclination test, the heeling generation step includes the step of moving a first target object on the ship by a first target distance between the two sides of the ship, the ship inclination test includes an initial stability high confirmation step, the initial stability high confirmation step includes the heeling generation step and the heeling angle confirmation step, and the two sides of the ship are the two sides where the ship's side is located; an angle acquisition module, configured to acquire the heel angle of the ship if it is determined that the heel generation step is not an error step of the ship inclination test according to the difference between the left side moving weight and the right side moving weight; wherein the heel angle of the ship is generated after the heel generation step and acquired through the heel angle confirmation step; A determination module is used to determine that the initial stability of the ship is high according to the first target distance, the weight of the first target object and the heel angle if it is determined that the heel angle confirmation step is not an error step of the ship inclination test according to the heel angle of the ship.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the error step determination method as described in any one of claims 1-7 is implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the error step determination method as described in any one of claims 1 to 7 is implemented.

Citation Information

Cited By

  • High stability test method, device and equipment for underwater vehicle and storage medium

    CN120664074A