Virtual debugging method for ship power system
Through virtual debugging methods, test procedures for ship power systems are prepared and cured and applied to physical tests, which solves the difficulty and efficiency of ship power systems debugging tests, and achieves a more efficient and safer test process.
Patent Information
- Application Number
- CN202510273054.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-10
- Publication Date
- 2025-06-20
AI Technical Summary
The commissioning test of the ship's power system is difficult and has a long cycle, and is greatly affected by personnel experience, resulting in low test efficiency, high safety risks and low reliability.
The virtual debugging method of ship power system is adopted, and the test procedures are prepared, the test order table is generated, the test system model is constructed and the test system is virtually debugged, and the test procedures are solidified, and they are applied to physical tests.
It improves the test efficiency and safety, shortens the test cycle, reduces the blindness and risks of physical tests, and improves the reliability of test procedures and the familiarity of operators.
Smart Images

Figure CN120180592A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of debugging tests for ship power systems, and particularly to a virtual debugging method for ship power systems. Background Art
[0002] The power system is the core to realize the ship's performance, converting other forms of energy into ship power and electricity, and is the most critical system to ensure the ship's navigation ability, maneuverability and safety. Ship power has the characteristics of complex system structure, various types of equipment and coupled transport mechanisms. At the same time, the ship power working conditions are complex, involving many personnel and specialties, resulting in great difficulty and long cycle in the debugging test of the ship power system. At the same time, the debugging test is greatly affected by the experience of personnel, restricting the entire ship delivery cycle.
[0003] The simulator technology has been widely used in large power plants such as thermal power plants and nuclear power plants. The power industry standards in China also clearly stipulate that relevant technical personnel must undergo simulator training and can only obtain a certificate after passing the assessment. The thermal power unit simulator mainly targets the equipment such as the turbine, boiler, electricity and its auxiliary equipment of the actual unit in the thermal power enterprise, digitally simulates its operation interface, control system, monitoring system and operation station, and then programs and debugs the digital signals through its own system to convert the mathematical model into a simulation model for operation, so as to enable technical personnel to be familiar with the actual operation through simulation. However, the traditional simulator mainly targets operation personnel, with high investment cost and long construction period.
[0004] The traditional tests for ship power systems are mainly carried out based on personnel experience. That is, in the actual test process, it often depends on the experience of on-site operators and test commanders, and at the same time, it is necessary to repeatedly debug through the physical system. The test process is relatively blind, the test safety risks are not released thoroughly, the test efficiency is low, the test cycle is long, and at the same time, the test regulations have a relatively coarse granularity and low reliability. Summary of the Invention
[0005] An embodiment of the present invention provides a virtual debugging method for a ship power system. Combining the technical characteristics of the simulator and the debugging experience of the ship power system, the verification of the test regulations is completed through virtual debugging, guiding the subsequent physical tests, avoiding test blindness, improving test safety, and thus achieving the effects of improving test efficiency and shortening the test cycle.
[0006] In a first aspect, the present invention provides a virtual debugging method for a ship power system, including:
[0007] Formulating test regulations, where the test regulations include operation steps, and the operation steps include test sequences, and each test sequence includes operation instructions and status parameters;
[0008] Generate a test order form from the test procedure. The test order form consists of a sequence list, a status list, and an operation list. The sequence list includes test sequences, the operation list includes operation instructions, and the status list includes status parameters.
[0009] Based on the design data and combined with the equipment factory test data, construct a test system model for the ship power system, and establish a first mapping relationship between the simulation variables of the test system model of the ship power system and the operation instructions and status parameters.
[0010] Based on the first mapping relationship, the test order form controls the test system model of the ship power system to carry out virtual commissioning in the digital space.
[0011] Based on the model simulation data in the virtual commissioning process, conduct test result analysis, and compare and analyze the model simulation data with the acceptance criteria in the test procedure to solidify the test procedure.
[0012] Establish a second mapping relationship between the point addresses in the ship power control system and the operation instructions and status parameters.
[0013] According to the test procedure solidified by virtual commissioning, form a corresponding target test order form, and based on the second mapping relationship, control the physical system to conduct physical tests.
[0014] In some instances, the preparation of the test procedure includes:
[0015] Prepare the test procedure based on test experience, drawing documents, and standards and specifications. The test procedure includes test objectives, test types, operation steps, and acceptance criteria. The operation steps are disassembled into a series of test sequences, and each test sequence includes operation instructions and status parameters. The status parameters in the previous test sequence must meet the requirements before the next test sequence can start until all test sequences are completed.
[0016] In some instances, the sequence list in the test order form consists of the names and numbers of each test sequence. The number of each operation instruction in the operation list corresponds to the test sequence number, and the number of each status parameter in the status list corresponds to the test sequence number.
[0017] In some instances, based on the first mapping relationship, the test order form controls the test system model of the ship power system to carry out virtual commissioning in the digital space, including:
[0018] The test order form controls the ship power system test system model through the data interface based on the first mapping relationship. The test sequences in the test order form are automatically and gradually sent to the ship power system test system model to complete the entire test. The operation instructions corresponding to the test sequences change the model parameters, and the status parameters corresponding to the test sequences determine whether the test steps are completed. After the status parameters in the previous test sequence are satisfied, the next test sequence is carried out until all test sequences are completed, so as to realize virtual commissioning based on the model and complete the entire test task in the digital space.
[0019] In some instances, based on the model simulation data in the virtual commissioning process, the test results are analyzed, and the model simulation data is compared and analyzed with the acceptance criteria in the test procedure to solidify the test procedure, including:
[0020] Based on the model simulation data in the virtual commissioning process, the test results are analyzed to evaluate whether each digital test operation process meets the stability and rationality of the system's steady-state and dynamic operation.
[0021] The model simulation data is compared and analyzed with the acceptance criteria in the test procedure of the test project to judge whether the test is completed. If the test is not completed, the test procedure is modified and the virtual commissioning is restarted, or whether there is a problem with the ship power system test system model is checked.
[0022] In some instances, according to the test procedure solidified by the virtual commissioning, the corresponding target test order form is formed, and based on the second mapping relationship, the physical system is controlled to carry out physical tests, including:
[0023] According to the test procedure solidified by the virtual commissioning, the corresponding target test order form is formed. Based on the second mapping relationship, the physical system is directly controlled through the data interface. Each test sequence is automatically and gradually sent to the physical system to complete the entire physical test. The operation instructions corresponding to each test sequence are sent to the actuator of the physical system. After the status parameters corresponding to the test sequence obtain the measurement data in the physical system, it is determined whether the test sequence is completed. After the status parameters in the previous test sequence are satisfied, the next test sequence is automatically carried out, or the next test sequence is carried out after being judged by a person until all test sequences are completed and all physical tests are completed.
[0024] Generally speaking, compared with the prior art through the above technical solutions conceived by the present invention, the following beneficial effects can be obtained:
[0025] 1) Improve the test efficiency and form a set of virtual commissioning methods to carry out virtual commissioning through the model. First, based on this method, the test procedure and test personnel are pre-exercised to form a test operation method to avoid the blindness of the test. Second, the test procedure can guide the physical test, and the test system is operated according to the well-rehearsed test procedure during the test to quickly complete the test.
[0026] 2) Improve the test safety. First, based on this method, pre - drill the test procedures and test personnel to improve the reliability of the test procedures, enhance the test level of personnel, and reduce the risks of physical tests. Second, the operation steps in the test procedures consist of a series of test sequences. Each test sequence includes operation instructions and status parameters. Only after all the status parameters of this test sequence are satisfied can the next test sequence be carried out, ensuring the safety of each operation. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present invention. For those skilled in the art, without creative efforts, other drawings can be obtained based on these drawings.
[0028] Figure 1 It is a schematic diagram of the virtual commissioning method for the ship power system provided by the embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0029] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the drawings in the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, rather than all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative efforts belong to the scope of protection of the present invention.
[0030] In the following description, specific embodiments of the present invention will be described with reference to steps and symbols executed by one or more computers, unless otherwise specified. Therefore, these steps and operations will be mentioned several times as being executed by a computer. As used herein, computer execution includes operations of a computer processing unit that represents electronic signals in a structured form of data. This operation transforms the data or maintains it in a position in the computer's memory system, which can be reconfigured or otherwise changed in a manner well - known to those skilled in the art. The data structure maintained by the data is the physical location of the memory, which has specific characteristics defined by the data format. However, the principles of the present invention are described in the above text, which does not represent a limitation. Those skilled in the art will understand that the following various steps and operations can also be implemented in hardware.
[0031] As used herein, the terms "module" or "unit" can be regarded as software objects executed on the computing system. Different components, modules, engines, and services herein can be regarded as implementation objects on the computing system. The devices and methods herein are preferably implemented in software, but of course, they can also be implemented in hardware, all within the protection scope of the present invention.
[0032] Those skilled in the art of this technology can understand that unless specifically stated, the singular forms "a", "an", and "the" used herein may also include the plural forms. It should be further understood that the term "comprising" used in the specification of the present invention means the presence of features, integers, steps, operations, elements, and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or their groups. It should be understood that when we say an element is "connected" or "coupled" to another element, it can be directly connected or coupled to other elements, or there may also be intermediate elements. In addition, the "connection" or "coupling" used herein may include wireless connection or wireless coupling. The phrase "and / or" used herein includes all or any unit and all combinations of one or more related listed items.
[0033] In the first embodiment of the present invention, a virtual commissioning method for a ship power system is provided. As Figure 1 shown, in Figure 1 , the blue-bottomed box is the responsibility of the test personnel, including the preparation of test procedures, the analysis of test results and the optimization of solutions, and the conversion from virtual commissioning to physical tests; the green-bottomed box is the responsibility of the simulation personnel, including the construction of the test system model; the others are automatically completed, including the generation of test order forms and the implementation of model-based virtual commissioning.
[0034] As Figure 1 shown, the virtual commissioning method includes the preparation of test procedures, the generation of test order forms, the construction of the test system model, the implementation of model-based virtual commissioning, the analysis of test results and the optimization of solutions, the conversion from virtual commissioning to physical tests, etc. Virtual commissioning can conduct advance rehearsals for test operators and test procedures, avoid the blindness of physical tests, and improve test safety. At the same time, through virtual commissioning, a safe and reliable test procedure is formed to guide the conduct of physical tests, effectively improving test efficiency and shortening the test cycle.
[0035] 1) Preparation of test procedures
[0036] The test personnel complete the first preparation of the test procedure based on test experience, drawing documents, and standards and specifications. The test procedure is prepared through information technology, such as by using web technology to prepare in a browser. The test procedure generally should include test objectives, test types, operation steps, acceptance criteria, etc.
[0037] The key to the test procedure lies in the construction of the operation steps. During the compilation process, the entire operation steps need to be disassembled into a series of test sequences, and each test sequence must be defined to include operation instructions and status parameters. Operation instructions refer to the operations of pumps, valves, etc. in this test step, such as turning on the cooling water pump, opening the sea connection valve, etc.; status parameters refer to the status parameters of the power system, such as temperature, pressure, flow rate, liquid level, etc., such as the outlet flow rate of the cooling water pump, the cooling water temperature, etc. The status parameters in the previous test sequence must meet the requirements before the next test sequence can start, until all test sequences are completed.
[0038] For example, in the virtual commissioning of the ship power cooling water system, the operation steps need to include 2 test sequences, and the test sequence 1 is as follows:
[0039] Name of test sequence 1: Turn on the cooling water pump
[0040] Operation instructions for test sequence 1:
[0041] (1) Open the sea connection valve for cooling water;
[0042] (2) Turn on the cooling water pump.
[0043] Status parameters for test sequence 1:
[0044] (1) The sea connection valve for cooling water is in the open state;
[0045] (2) The cooling water pump is in the open state;
[0046] (3) The outlet flow rate of the cooling water pump is greater than 10 t / h.
[0047] After all the status parameters of test sequence 1 are met, test sequence 2 can be carried out.
[0048] 2) Generation of test order form
[0049] The test procedure can automatically generate a test order form. The test order form consists of a sequence list, a status list, and an operation list. The sequence list is composed of the names and numbers of each test sequence. The operation list is composed of all the operation instructions in the test step, and each operation instruction is strictly numbered and corresponds to the test sequence. The status list is composed of all the status parameters in the test step, and each status parameter is strictly numbered and corresponds to the test sequence.
[0050] Taking the virtual commissioning of the cooling water system as an example, there are 2 test sequences in this virtual commissioning. Test sequence 1 is to turn on the cooling water pump, and test sequence 2 is to turn off the cooling water pump:
[0051] The sample of the sequence list is as follows:
[0052] 1 Cooling water system virtual commissioning
[0053] 1.1 Turn on the cooling water pump
[0054] 1.2 Close the cooling water pump
[0055] An example of the operation form is as follows:
[0056] 1.1.1 Open the sea valve for cooling water
[0057] 1.1.2 Open the cooling water pump
[0058] 1.2.1 Close the cooling water pump
[0059] 1.2.2 Close the sea valve for cooling water
[0060] An example of the status form is as follows:
[0061] 1.1.1 The status of the sea valve for cooling water is open
[0062] 1.1.2 The status of the cooling water pump is open
[0063] 1.1.3 The flow rate at the outlet of the cooling water pump is greater than 10 t / h
[0064] 1.2.1 The status of the sea valve for cooling water is closed
[0065] 1.2.2 The status of the cooling water pump is closed
[0066] 1.2.3 The flow rate at the outlet of the cooling water pump is less than 1 t / h
[0067] 3) Construction of the test system model
[0068] Based on the design data such as the pipeline construction drawings and control function diagrams of the ship power system, combined with the factory test data of the equipment, construct a test system model for the ship power system. This model needs to carry out real-time simulation of the performance of the ship power system. The simulation step size should be consistent with the actual time, and the transient and steady-state characteristics of the model operation should be consistent with the physical system. After the model is constructed, it is necessary to establish a mapping relationship between the simulation variables of the test system model and the operation instructions and status parameters, as shown in Table 1 below:
[0069] Table 1
[0070] Serial number Object involved in the test order form Model simulation variable 1 Cooling water sea valve switch Valve001 2 Cooling water pump switch Pump001 3 Cooling water pump outlet flow rate MF001
[0071] Then the test sequence is translated into specific model operations as shown in Table 2 below:
[0072] Table 2
[0073] Serial number Operation instruction or status parameter Model simulation variable 1 Open the cooling water sea valve Assign the variable Valve001 the value of 1 2 Start the cooling water pump Assign the variable Pump001 the value of 1 3 The status of the cooling water sea valve is open Check that the value of the variable Valve001 is 1 4 The status of the cooling water pump is on Check that the value of the variable Pump001 is 1 5 The cooling water pump outlet flow rate is greater than 10 t / h Check that the value of the variable MF001 is greater than 10
[0074] 4) Implementation of model-based virtual commissioning
[0075] The test procedure automatically generates a test order form. Based on the test system model and test procedure, virtual commissioning is carried out in the digital space to optimize the test plan, streamline the test process, and determine the test procedure.
[0076] The test order form manipulates the test model through a data interface (such as TCP) based on existing data mapping relationships. The test sequences in the test order form are automatically and gradually sent to the object model to complete the entire test. The operation instructions corresponding to the test sequences change the model parameters, and the status parameters corresponding to the test sequences determine whether the test step has been completed. After the status parameters in the previous test sequence are satisfied, the next test sequence is carried out until all test sequences are completed, thus realizing virtual commissioning based on the model and completing the entire test task in the digital space.
[0077] 5) Analysis of test results and optimization of the plan
[0078] Based on the model simulation data in the virtual commissioning process, the test result analysis process is carried out to evaluate whether each digital test operation process meets the stability and rationality of the steady-state and dynamic operation of the object system. Then, the model simulation result data is compared and analyzed with the acceptance criteria in the test procedure of the test project to determine whether the test is completed. For example, if the acceptance criterion in the test procedure is that the outlet flow of the cooling water pump is greater than 10 t / h and the flow obtained from the simulation data is 11 t / h, it can be determined that the test process has passed. If the flow obtained from the simulation calculation is 4 t / h, it has not passed. Then, the test procedure needs to be modified and virtual commissioning restarted, or the model needs to be checked for problems.
[0079] Different operation steps and test parameters can be defined in the test procedure. In Plan A, Cooling Water Pump 1 is started. If the test fails due to low flow, then in Plan B, Cooling Water Pump 2 can be started to increase the cooling water flow and meet the acceptance criteria. By modifying the test procedure, a test order form is automatically generated to carry out virtual commissioning, realizing comparative analysis in multiple test aspects, fully verifying the standardization, usability, and reliability of the test procedure and the test object model, further improving the test procedure and test model, and finding the optimal test plan.
[0080] 6) Transfer from virtual commissioning to physical test
[0081] (1) Establish the mapping relationship between the test sequence and the control system points
[0082] Establish the mapping relationship between the point addresses in the ship power control system and the operation instructions and status parameters. Taking a certain power system as an example, if the DCS system of this power system uses Modbus communication, the relationship between the control system point addresses and the operation instructions and status parameters is shown in Table 3 below:
[0083] Table 3
[0084] Serial number Operation instruction or status parameter DCS address (Modbus) 1 Cooling water sea valve open / close instruction 00001 2 Cooling water sea valve open / close feedback 10001 3 Cooling water pump open / close instruction 00002 4 Cooling water pump open / close feedback 10002 5 Cooling water pump outlet flow rate 40001
[0085] The translation of test sequence 1 into the operation of the physical system is specifically as shown in Table 4 below:
[0086] Table 4
[0087] Serial number Operation instruction or status parameter Function code Register address Specific operation 1 Open the cooling water sea valve 05 00001 Write 1 2 Start the cooling water pump 05 00002 Write 1 3 The status of the cooling water sea valve is open 01 00001 Read data 4 The status of the cooling water pump is on 01 00002 Read data 5 The cooling water pump outlet flow rate is greater than 10 t / h 04 40001 Read data
[0088] (2) Efficiently carry out physical tests based on the test procedures
[0089] According to the test procedures solidified by virtual commissioning, corresponding test order forms are formed. Based on the existing data mapping relationships, the physical system is directly controlled through a data interface (Modbus protocol). Each test sequence is automatically and gradually sent to the physical system to complete the entire physical test. The operation instructions corresponding to each test sequence are sent to the actuators of the physical system. After the measurement data in the physical system is obtained for the status parameters corresponding to the test sequence, it is determined whether the test sequence has been completed. After the status parameters in the previous test sequence are satisfied, the next test sequence can be automatically carried out, or the next test sequence can be carried out after being judged by a person until all test sequences are completed and all physical tests are completed.
[0090] The embodiments of the present invention adopt the above technical solutions:
[0091] 1) The traditional text-based test procedures are transformed informatically. Through the standardized order form generation method and the mapping between virtual and real variables, it can guide the model to carry out virtual commissioning. At the same time, this informatized test procedure can still guide the physical system to carry out physical tests.
[0092] 2) Through this method, test operators can carry out drills before the commissioning test of the power system based on the model, form safe and reliable test procedures, improve the familiarity of the operators with the test system and test operations, and reduce the risks of subsequent physical tests.
[0093] 3) The traditional simulator procedures are transformed. This method converts the operation steps into standard test order forms. The test order form includes test sequences, operation tables, and status tables. The test consists of a series of test sequences. Each test sequence includes operation instructions and status parameters. The next test sequence can only be carried out after all the status parameters of this test sequence are satisfied. The conditional execution of each test sequence makes the entire test process safe and controllable.
[0094] The above has introduced in detail a virtual commissioning method for a ship power system provided by the embodiments of the present invention. Specific examples are used in this article to elaborate on the principle and implementation manner of the present invention. The description of the above embodiments is only used to help understand the method and its core idea of the present invention; at the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation manner and application scope. In summary, the content of this specification should not be construed as a limitation to the present invention.
Claims
1. A virtual debugging method for a ship power system, characterized in that: include: Prepare test procedures, wherein the test procedures include operation steps, the operation steps include test sequences, and each test sequence includes operation instructions and status parameters; Generate a test order table from the test procedure, wherein the test order table consists of a sequence table, a state table and an operation table, the sequence table includes a test sequence, the operation table includes operation instructions, and the state table includes state parameters; Based on the design data and combined with the equipment factory test data, a ship power system test system model is constructed, and a first mapping relationship is established between the simulation variables of the ship power system test system model and the operation instructions and state parameters; The test command table controls the ship power system test system model based on the first mapping relationship and performs virtual debugging in the digital space; Based on the model simulation data of the virtual commissioning process, the test results are analyzed, and the model simulation data is compared and analyzed with the acceptance criteria in the test procedures to solidify the test procedures; Establishing a second mapping relationship between the point address in the ship power control system and the operation instruction and state parameter; According to the test procedures solidified by virtual debugging, a corresponding target test order table is formed, and based on the second mapping relationship, the physical system is controlled to perform a physical test.
2. The method according to claim 1, characterized in that The preparation of the test procedure includes: The test procedures are compiled based on test experience, drawings and documents, and standard specifications. The test procedures include test objectives, test types, operating steps and acceptance criteria. The operating steps are broken down into a series of test sequences. Each test sequence includes operating instructions and status parameters. The next test sequence can only be started when the status parameters in the previous test sequence meet the requirements, until all test sequences are completed.
3. The method according to claim 2, characterized in that The sequence table in the test order table consists of the name and number of each test sequence, the number of each operation instruction in the operation table corresponds to the test sequence number, and the number of each state parameter in the state table corresponds to the test sequence number.
4. The method according to claim 3, characterized in that The test command table controls the ship power system test system model based on the first mapping relationship and performs virtual debugging in the digital space, including: Based on the first mapping relationship, the test command table controls the ship power system test system model through the data interface. The test sequence in the test command table is automatically and stepwise sent to the ship power system test system model to complete the entire test. The test sequence corresponds to the operation instructions to change the model parameters. The state parameters corresponding to the test sequence determine whether the test step is completed. After the state parameters in the previous test sequence are met, the next test sequence is carried out until all test sequences are completed, thereby realizing model-based virtual debugging and completing the entire test task in the digital space.
5. The method according to claim 4, characterized in that The model simulation data based on the virtual commissioning process is used to analyze the test results, and the model simulation data is compared and analyzed with the acceptance criteria in the test procedure to solidify the test procedure, including: Based on the model simulation data of the virtual commissioning process, the test results are analyzed to evaluate whether each digital test operation process meets the system steady-state and dynamic operation stability and rationality; Compare and analyze the model simulation data with the acceptance criteria in the test procedures in the test project to determine whether the test is completed. If the test is not completed, modify the test procedures, restart the virtual debugging, or find out whether there are problems with the ship power system test system model.
6. The method according to claim 5, characterized in that The method of forming a corresponding target test order table according to the test procedure solidified by the virtual debugging, and manipulating the physical system to perform the physical test based on the second mapping relationship includes: According to the test procedures solidified by virtual debugging, a corresponding target test order table is formed. Based on the second mapping relationship, the physical system is directly controlled through the data interface. Each test sequence is automatically and stepwise issued to the physical system to complete the entire physical test. Each test sequence corresponds to an operation instruction issued to the physical system actuator. After the state parameters corresponding to the test sequence obtain the measurement data in the physical system, it is determined whether the test sequence has been completed. After the state parameters in the previous test sequence are met, the next test sequence is automatically carried out, or the next test sequence is carried out after human judgment, until all test sequences are completed and all physical tests are completed.