Test method of shore power communication system

Through network fault data collection and simulation debugging methods, the problem of inconvenient troubleshooting in the shore power communication system is solved, precise positioning and system optimization are achieved, and maintenance efficiency and system performance are improved.

CN120342853APending Publication Date: 2025-07-18YICHANG YANGTZE THREE GORGES SHORE POWER OPERATION SERVICE CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510575744.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-06
Publication Date
2025-07-18

AI Technical Summary

Technical Problem

The prior art cannot effectively test whether the communication function between shore power equipment and ships is normal, resulting in inconvenient troubleshooting.

Method used

The methods of network fault data collection, fault analysis, shore power simulation debugging and ship simulation debugging are adopted to obtain Modbus message data through the spectrometer and high-speed data acquisition card, simulate the communication process, calculate index parameters and display the test results.

Benefits of technology

Accurately locate network failures, reduce inspection time and labor costs, improve maintenance efficiency, ensure the stable operation of the shore power network, provide a basis for system performance evaluation, and guide optimization and upgrading.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120342853A_ABST
    Figure CN120342853A_ABST
Patent Text Reader

Abstract

The invention specifically relates to a test method of a shore power communication system. The method comprises the following steps: collecting network fault data; fault analysis; shore power simulation debugging: shore power communication is simulated, index parameters in the communication process are analyzed to obtain a shore power debugging evaluation coefficient, and shore power simulation is evaluated based on the shore power debugging evaluation coefficient; and interaction and data display. According to the invention, through cooperative work of network fault data collection and fault analysis, the shore power network fault can be accurately positioned; modbus message data acquired by the optical splitter and the high-speed data acquisition card are converted into readable information through CRC (cyclic redundancy check) and functional code analysis; extracting telemetering data, such as voltage, from the message, accurately calculating an actual value by using a formula, comparing the actual value with a nominal value, and judging a network fault; according to the accurate troubleshooting mode, troubleshooting time and labor cost are greatly reduced, maintenance efficiency is improved, problems can be solved in time, and stable operation of a shore power network is guaranteed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of shore power network testing, and particularly to a testing method for a shore power communication system. Background Art

[0002] According to the requirements of the standard "Port Ship-Shore Connection - Part 2: Data Transmission for Monitoring and Control of High-Voltage and Low-Voltage Shore Power Connection Systems" (GB / T 38329.2—2021 / IEC / IEEE 80005-2:2016), a communication connection is established between shore power equipment and ships through optical fibers. The ship and the shore power equipment exchange various telecontrol and telemetry information to complete functions such as switch synchronization, five-prevention, and power matching on both sides.

[0003] However, during the construction and acceptance of the shore power system or when the ship leaves the factory, there is no professional equipment to test whether the following functions are normal and available:

[0004] Whether the databases of the workstations on both the shore power and ship sides are set correctly and whether the received telecontrol and telemetry information can be correctly displayed.

[0005] Whether the switch synchronization function, five-prevention function, and power matching function on both the shore power and ship sides are normal;

[0006] Therefore, once a communication failure occurs at the shore power connection site of the ship, it is impossible to timely check the communication situation between the two through professional equipment, resulting in inconvenient troubleshooting.

[0007] Therefore, a testing method for the shore power communication system is needed to address the above-mentioned problems. Summary of the Invention

[0008] The purpose of the present invention is to propose a testing method for a shore power communication system to solve the above problems.

[0009] To achieve the above purpose, the present invention adopts the following technical solutions:

[0010] A testing method for a shore power communication system, including:

[0011] Network fault data collection: Obtaining data information related to network faults;

[0012] Fault analysis: After analyzing the data, obtaining the actual voltage value, presetting the nominal value, comparing the calculated actual voltage value with the preset nominal value, and obtaining the abnormal deviation value;

[0013] Shore power simulation debugging: Simulating shore power communication and analyzing the index parameters during the communication process to obtain a shore power debugging evaluation coefficient, and evaluating the shore power simulation based on the shore power debugging evaluation coefficient;

[0014] Ship simulation debugging: Simulate ship communication, analyze the index parameters during the ship process to obtain the shore power debugging evaluation coefficient, and evaluate the ship simulation based on the ship debugging evaluation coefficient;

[0015] Interaction and data display: Provide a user interaction interface and real-time display the operating status of the shore power network and the simulation test results.

[0016] Preferably, the network fault data collection specifically includes:

[0017] Use a splitter and a high-speed data acquisition card to obtain key Modbus message data from the communication fiber optic network of the shore power and the ship;

[0018] The collected data will be stored in a buffer with a preset capacity. The buffer adopts the FIFO algorithm to ensure the order and integrity of the data;

[0019] At the same time, to prevent buffer overflow, the usage of the buffer is monitored in real time. When the buffer reaches a certain threshold, the data processing program will be automatically triggered to take out the data from the buffer for further processing;

[0020] Convert the collected original Modbus message into readable and processable data;

[0021] The Modbus message usually consists of parts such as an address code, a function code, a data area, and a check code; the address code is used to identify the address of the communication device, the function code indicates the operation type of the message, the data area contains the specific business data, and the check code is used to verify the integrity of the message.

[0022] Preferably, the fault analysis specifically includes:

[0023] Extract the telemetry and telecontrol data from the parsed message;

[0024] According to the address and data format in the message, combined with the specific parameters of the device, convert it into the actual physical value;

[0025] Obtain the actual voltage value, preset the nominal value, calculate the difference between the obtained actual voltage value and the preset nominal value, and take the absolute value to obtain the deviation value;

[0026] Preset the allowable fluctuation range of the deviation value, compare the deviation value with the allowable fluctuation range of the preset deviation value. If the deviation value is not within the allowable fluctuation range of the preset deviation value, record the deviation value as an abnormal deviation value, and mark the network corresponding to the abnormal deviation value as a faulty network.

[0027] Preferably, the shore power simulation debugging specifically includes:

[0028] Simulate communication establishment:

[0029] During the process of establishing analog communication, the tester constructs a correct request message according to the Modbus communication protocol specified by the standard;

[0030] After constructing the request message, the tester sends the message to the ship through the optical fiber and waits for the ship's feedback; during the process of sending the message, in order to ensure the reliable transmission of data, a retransmission mechanism is adopted;

[0031] If the feedback from the ship is not received within the preset time, the tester will automatically retransmit the request message until the feedback is received or the maximum number of retransmissions is reached;

[0032] Simulate various functional operations initiated by the onshore power system to test the ship's response and the correctness of the relevant logic;

[0033] During the simulation of the synchronization function, the tester sends a synchronization signal to the ship, requiring the ship to perform a synchronization operation within the preset time; after receiving the synchronization signal, the ship makes adjustments to achieve synchronization with the onshore power equipment;

[0034] After comprehensively analyzing the relevant index coefficients, the onshore power commissioning evaluation coefficient is obtained, and based on the onshore power commissioning evaluation coefficient, it is evaluated whether the onshore power commissioning meets the expectations.

[0035] Preferably, the process of obtaining the onshore power commissioning evaluation coefficient includes:

[0036] The performance of the synchronization function is evaluated through the following indicators:

[0037] Synchronization time, the time interval from sending the synchronization signal to the ship's completion of the synchronization operation;

[0038] Synchronization accuracy, the phase difference between the ship and the onshore power equipment;

[0039] Preset synchronization time threshold and synchronization accuracy threshold, respectively calculate the differences between the obtained synchronization time and synchronization accuracy and the synchronization time threshold and synchronization accuracy threshold to obtain the synchronization time difference and synchronization accuracy difference;

[0040] The synchronization time difference and synchronization accuracy difference are weighted and calculated to obtain the synchronization deviation;

[0041] Five-prevention function, the tester simulates various possible misoperation situations, checks whether the ship can correctly identify and prevent these operations, and divides the number of misoperations identified and prevented by the total number of misoperations to obtain the five-prevention success rate;

[0042] Power matching function simulation, calculate the power matching degree by taking the ratio of the rated power of the onshore power equipment to the current power demand of the ship;

[0043] After comprehensively analyzing the abnormal deviation values, synchronization deviation, five-prevention success rate, and power matching degree in the fault analysis, the onshore power debugging evaluation coefficient is obtained.

[0044] Preferably, the ship simulation debugging includes:

[0045] Based on the onshore power simulation debugging, simulate the onshore power communication, analyze the index parameters during the communication process to obtain the onshore power debugging evaluation coefficient, and based on the onshore power debugging evaluation coefficient, evaluate the onshore power simulation. During the process, simulate the ship communication, analyze the index parameters during the ship process to obtain the onshore power debugging evaluation coefficient, and based on the ship debugging evaluation coefficient, evaluate the ship simulation.

[0046] Preferably, the evaluation of the onshore power simulation based on the onshore power debugging evaluation coefficient includes: preset the onshore power debugging evaluation coefficient threshold, compare the onshore power debugging evaluation coefficient with the onshore power debugging evaluation coefficient threshold. If the onshore power debugging evaluation coefficient is greater than the onshore power debugging evaluation coefficient threshold, it is determined that the onshore power simulation is unqualified;

[0047] The process of evaluating the ship simulation based on the ship debugging evaluation coefficient is the same as the above process and will not be elaborated here.

[0048] Preferably, the interaction and data display specifically include:

[0049] Display the change trend of telemetry data in the form of a chart;

[0050] Present the detailed results of the simulation test in the form of a table;

[0051] The user sets the test parameters through the interface to control the test process; at the same time, a data export function is provided, and the user can export the test data and results.

[0052] In summary, due to the adoption of the above technical solutions, the beneficial effects of the present invention are:

[0053] 1. Through the collaborative work of network fault data collection and fault analysis, the present invention can accurately locate onshore power network faults; the Modbus message data obtained by the optical splitter and the high-speed data acquisition card is subjected to CRC check and function code parsing, and is converted into readable information; the telemetry data extracted from the message, such as voltage, is accurately calculated using the formula to obtain the actual value, and compared with the nominal value to determine network faults; this accurate fault troubleshooting method greatly reduces the troubleshooting time and labor costs, improves the maintenance efficiency, can solve problems in a timely manner, and ensures the stable operation of the onshore power network.

[0054] 2. The present invention tests functions such as synchronization, five-prevention, and power matching by simulating the shore power and ship communication processes, obtains key indicators such as synchronization time, synchronization accuracy, five-prevention success rate, and power matching degree, and comprehensively calculates a commissioning evaluation coefficient. This coefficient provides a quantitative evaluation basis for the system performance, helps the staff identify the weak links of the system. For example, adjust the power control strategy for low power matching degree, optimize the synchronization signal mechanism due to large synchronization deviation, realize the targeted optimization and upgrade of the system, and improve the overall performance. BRIEF DESCRIPTION OF THE DRAWINGS

[0055] In the following description of the exemplary embodiments in conjunction with the drawings, more details, features, and advantages of the present application are disclosed. In the drawings:

[0056] Figure 1 is a flowchart of the present invention; DETAILED DESCRIPTION OF THE EMBODIMENTS

[0057] The following will describe several embodiments of the present application in more detail with reference to the drawings so that those skilled in the art can implement the present application. The present application can be embodied in many different forms and purposes and should not be limited to the embodiments described herein. These embodiments are provided to make the present application comprehensive and complete, and fully convey the scope of the present application to those skilled in the art. The embodiments do not limit the present application.

[0058] Unless otherwise defined, all terms (including technical terms and scientific terms) used herein have the same meaning as commonly understood by those of ordinary skill in the art to which the present application belongs. It will be further understood that terms such as those defined in commonly used dictionaries should be interpreted as having a meaning consistent with their meaning in the relevant art and / or the context of this specification, and will not be interpreted in an idealized or overly formal sense unless clearly defined herein.

[0059] Please refer to Figure 1 as shown, the present invention provides a technical solution:

[0060] A test method for a shore power communication system, comprising:

[0061] Network fault data collection: obtaining data information related to network faults;

[0062] Specifically including:

[0063] Using an optical splitter and a high-speed data acquisition card to obtain key Modbus message data from the communication optical fiber network of the shore power and the ship;

[0064] An optical splitter is a device that splits optical signals. It can accurately intercept the transmission information on the shore power side and the ship side without affecting the original communication link. The high-speed data acquisition card samples these optical signals at an extremely high sampling frequency to ensure that every subtle signal change can be captured;

[0065] Assume that the transmission rate of the optical signal is v (unit: bps) and the sampling interval is t (unit: ns). To ensure the integrity and accuracy of the data, the sampling frequency needs to be determined according to the Nyquist sampling theorem. The Nyquist sampling theorem states that the sampling frequency f s must be at least twice the highest frequency f max of the signal, that is, f s ≥2f max ; in practical applications, to improve the sampling accuracy, a higher sampling frequency is usually selected;

[0066] The amount of data N collected per second can be calculated by the following formula:

[0067] N = v × t × 10 -9 ;

[0068] where 10 -9 is the conversion coefficient for converting nanoseconds to seconds;

[0069] The collected data will be stored in a buffer with a preset capacity. The buffer adopts the FIFO algorithm to ensure the order and integrity of the data;

[0070] At the same time, to prevent buffer overflow, the usage of the buffer is monitored in real time. When the buffer reaches a certain threshold, the data processing program will be automatically triggered to retrieve the data from the buffer for further processing;

[0071] Convert the collected original Modbus message into readable and processable data;

[0072] A Modbus message usually consists of parts such as an address code, a function code, a data area, and a check code; the address code is used to identify the address of the communication device, the function code indicates the operation type of the message, the data area contains the specific business data, and the check code is used to verify the integrity of the message;

[0073] Taking the CRC (Cyclic Redundancy Check) check code as an example, it is a commonly used check method for detecting whether data has errors during transmission; the calculation of the CRC check code is based on a specific polynomial. In the Modbus protocol, the commonly used polynomial is CRC-16 = x 16 +x 15 +x 12 +1;

[0074] Assume that the content of the data area is D (a binary sequence), and the CRC check code can be calculated through the following steps:

[0075] Add 16 zeros at the end of the data area D to obtain the extended data D′;

[0076] Divide the extended data D′ by the polynomial CRC-16 to obtain the remainder R;

[0077] The remainder R is the CRC check code;

[0078] In the calculation, the look-up table method is used to improve the calculation efficiency; a 256-item CRC table is pre-calculated, and then the CRC check code is quickly calculated by looking up the table;

[0079] During the parsing process, according to the different function codes, the type of the message can be judged; for example, function code 04 indicates reading telemetry information, function code 01 indicates reading tele-signaling information, etc.; for different types of messages, different parsing strategies are adopted to extract the key data therein;

[0080] Fault analysis: After analyzing the data, the actual voltage value is obtained, and the nominal value is preset. The calculated actual voltage value is compared with the preset nominal value to obtain the abnormal deviation value;

[0081] Specifically include:

[0082] Extract the tele-signaling and telemetry data from the parsed message;

[0083] According to the address and data format in the message, combined with the specific parameters of the device, convert it into the actual physical value;

[0084] Suppose a certain voltage telemetry data is represented as a 16-bit unsigned integer U raw in the message, and its corresponding actual voltage value U can be calculated by the following formula: U = U raw ×k + U0;

[0085] where k is the voltage conversion coefficient obtained from the device configuration file, which reflects the proportional relationship between the message data and the actual voltage value; U0 is the voltage offset used to correct the possible system error;

[0086] Obtain the actual voltage value, and preset the nominal value. After calculating the difference between the obtained actual voltage value and the preset nominal value, take the absolute value to obtain the deviation value;

[0087] Preset the allowable fluctuation range of the deviation value, compare the deviation value with the allowable fluctuation range of the preset deviation value. If the deviation value is not within the allowable fluctuation range of the preset deviation value, record the deviation value as the abnormal deviation value, and mark the network corresponding to the abnormal deviation value as the faulty network;

[0088] Shore power simulation debugging: Simulate shore power communication, analyze the index parameters during the communication process to obtain the shore power debugging evaluation coefficient, and evaluate the shore power simulation based on the shore power debugging evaluation coefficient;

[0089] Specifically include:

[0090] Simulate communication establishment:

[0091] During the simulation of communication establishment, the tester constructs a correct request message according to the Modbus communication protocol specified by the standard;

[0092] The request message usually consists of parts such as device address, function code, starting address, data length, and CRC check code; The device address is used to identify the address of the shore power device, the function code indicates the type of operation requested, the starting address and data length specify the data range to be read or written, and the CRC check code is used to verify the integrity of the message;

[0093] After constructing the request message, the tester sends the message to the ship through the optical fiber and waits for the ship's feedback; During the process of sending the message, a retransmission mechanism is adopted to ensure the reliable transmission of data;

[0094] If no feedback from the ship is received within the preset time, the tester will automatically retransmit the request message until feedback is received or the maximum number of retransmissions is reached;

[0095] Simulate the shore power system to initiate various functional operations, such as synchronization function, five-prevention function, power matching function, etc., to test the ship's response and the correctness of related logics;

[0096] During the simulation of the synchronization function, the tester sends a synchronization signal to the ship, requiring the ship to perform a synchronization operation within the preset time; After receiving the synchronization signal, the ship will adjust according to its own status and algorithm to achieve synchronization with the shore power device;

[0097] After comprehensively analyzing the relevant index coefficients, obtain the shore power debugging evaluation coefficient, and evaluate whether the shore power debugging meets the expectations based on the shore power debugging evaluation coefficient;

[0098] The process of obtaining the shore power debugging evaluation coefficient includes:

[0099] Evaluate the performance of the synchronization function through the following indicators:

[0100] Synchronization time, the time interval from sending the synchronization signal to the ship's completion of the synchronization operation;

[0101] Synchronization accuracy, the phase difference between the ship and the shore power device;

[0102] Preset the synchronization time threshold and the synchronization accuracy threshold, and calculate the differences between the obtained synchronization time and synchronization accuracy and the synchronization time threshold and synchronization accuracy threshold respectively to obtain the synchronization time difference and the synchronization accuracy difference;

[0103] Perform a weighted calculation on the synchronization time difference and the synchronization accuracy difference to obtain the synchronization deviation;

[0104] Preset the weight factors for the synchronization time difference and the synchronization accuracy difference, and perform a product calculation on the synchronization time difference and the synchronization accuracy difference with their corresponding weight factors respectively and then sum them up to obtain the synchronization deviation;

[0105] For the five-prevention function, the tester simulates various possible misoperation situations, checks whether the ship can correctly identify and prevent these operations, and divides the number of misoperations identified and prevented by the total number of misoperations to obtain the five-prevention success rate;

[0106] For example, when attempting to close the circuit breaker while the earthing switch is not disconnected, the tester will monitor the ship's response to determine whether the five-prevention logic is working properly;

[0107] For the power matching function simulation, calculate the ratio of the rated power of the shore power equipment to the current power demand of the ship to obtain the power matching degree;

[0108] Perform a comprehensive analysis on the abnormal deviation value, synchronization deviation, five-prevention success rate, and power matching degree in the fault analysis to obtain the shore power commissioning evaluation coefficient;

[0109] Preset the weight factors for the abnormal deviation value, synchronization deviation, five-prevention success rate, and power matching degree, and perform a product calculation on the abnormal deviation value, synchronization deviation, five-prevention success rate, and power matching degree with their corresponding weight factors respectively and then sum them up to obtain the shore power commissioning evaluation coefficient;

[0110] The shore power commissioning evaluation coefficient synthesizes key indicators such as synchronization deviation, five-prevention success rate, and power matching degree, and plays important roles in many aspects during the commissioning process of the shore power system:

[0111] Measure the overall performance of the system: The operation of the shore power system requires good coordination of the synchronization function, five-prevention function, and power matching function. This coefficient can comprehensively reflect the actual performance of these functions and accurately measure the overall performance of the system. If the coefficient is high, it indicates that each function is well coordinated and the system is stable and reliable; if the coefficient is low, it means there are problems with the system and it needs to be checked and optimized.

[0112] Precisely locate system faults: The synchronization deviation, five-prevention success rate, and power matching degree respectively correspond to the performance of different functions. By analyzing the contribution degrees of each indicator in the coefficient, the location of system faults can be quickly determined. If the synchronization deviation has a large impact on the coefficient, it means there is a problem with the synchronization function, and it is necessary to check the synchronization signal transmission and the device synchronization algorithm, etc.; if the five-prevention success rate is low, the five-prevention logic and the action conditions of related devices should be focused on for investigation.

[0113] Guiding the optimization and upgrading of the system: When upgrading and transforming the onshore power system, the optimization direction can be clarified based on this coefficient. If the power matching degree is not ideal, the power output control strategy of the onshore power equipment can be adjusted or the detection method of the ship's power demand can be improved; if the synchronization deviation is large, the generation and transmission mechanism of the synchronization signal can be optimized, so as to improve the system performance targeted.

[0114] Ensuring the safe and stable operation of the system: The synchronization deviation, the success rate of the five-prevention, and the power matching degree are directly related to the safe and stable operation of the onshore power system. The coefficient can help the staff discover potential risks in time and take measures to eliminate hidden dangers. For example, if the power matching degree is abnormal, the power distribution can be adjusted in advance to avoid overloading and damaging the equipment; if the success rate of the five-prevention is low, the five-prevention function test and improvement can be strengthened to prevent safety accidents caused by misoperations.

[0115] Standardizing the system acceptance criteria: When building and accepting the onshore power system, the onshore power commissioning evaluation coefficient can be used as a quantitative index. Setting a reasonable qualified standard for the coefficient can judge whether the system meets the design and operation requirements. Only when the coefficient reaches the standard can it be ensured that the new system is stable and reliable, and a system with potential safety hazards is prevented from being put into use;

[0116] Ship simulation commissioning: Simulate ship communication and analyze the index parameters during the ship process to obtain the onshore power commissioning evaluation coefficient, and evaluate the ship simulation based on the ship commissioning evaluation coefficient;

[0117] Including:

[0118] Based on the process of simulating onshore power communication in onshore power simulation commissioning, analyzing the index parameters during the communication process to obtain the onshore power commissioning evaluation coefficient, and evaluating the onshore power simulation based on the onshore power commissioning evaluation coefficient, simulate ship communication, analyze the index parameters during the ship process to obtain the onshore power commissioning evaluation coefficient, and evaluate the ship simulation based on the ship commissioning evaluation coefficient;

[0119] Evaluating the onshore power simulation based on the onshore power commissioning evaluation coefficient includes: presetting the onshore power commissioning evaluation coefficient threshold, comparing the onshore power commissioning evaluation coefficient with the onshore power commissioning evaluation coefficient threshold, if the onshore power commissioning evaluation coefficient is greater than the onshore power commissioning evaluation coefficient threshold, then judge that the onshore power simulation is unqualified;

[0120] The process of evaluating the ship simulation based on the ship commissioning evaluation coefficient is the same as the above process and will not be elaborated here;

[0121] Interaction and data display: Provide a user interaction interface and display the operation status of the onshore power network and the simulation test results in real time;

[0122] Specifically including:

[0123] Show the changing trends of telemetry data in the form of charts, such as the curves of voltage and current changing over time. Through these charts, users can intuitively understand the operation of the shore power network and promptly discover abnormal data;

[0124] Present the detailed results of the simulation test in tabular form, including information such as test items, test results, and whether it passes. Users can conduct a detailed analysis of the test results through the table to find potential problems;

[0125] Users set test parameters through the interface, such as simulated power values, number of tests, etc., to achieve control of the test process; at the same time, a data export function is provided, and users can export test data and results in formats such as Excel and CSV for convenient further analysis and processing.

[0126] The above formulas are all obtained by collecting a large amount of data for software simulation and selecting a formula close to the true value, and the influence weight factors and specific coefficient values in the formula are set by those skilled in the art according to the actual situation and can be adjusted and modified later.

[0127] The above description of the embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be obvious to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to these embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A test method for an onshore power communication system, characterized in that Including: Network fault data collection: Obtain data information related to network faults; Fault analysis: After analyzing the data, obtain the actual voltage value, preset the nominal value, compare the calculated actual voltage value with the preset nominal value, and obtain the abnormal deviation value; Onshore power supply simulation debugging: Simulate onshore power supply communication, analyze the index parameters during the communication process to obtain the onshore power supply debugging evaluation coefficient, and evaluate the onshore power supply simulation based on the onshore power supply debugging evaluation coefficient; Ship simulation debugging: Simulate ship communication, analyze the index parameters during the ship process to obtain the onshore power supply debugging evaluation coefficient, and evaluate the ship simulation based on the ship debugging evaluation coefficient; Interaction and data display: Provide a user interaction interface and real-time display the operating status of the onshore power supply network and the simulation test results.

2. The test method of the shore power communication system according to claim 1, characterized in that Network fault data collection specifically includes: Using an optical splitter and a high-speed data acquisition card to obtain key Modbus message data from the communication optical fiber networks of the onshore power supply and the ship; The collected data will be stored in a buffer with a preset capacity. The buffer adopts the FIFO algorithm to ensure the order and integrity of the data; At the same time, in order to prevent buffer overflow, the usage of the buffer is monitored in real time. When the buffer reaches a certain threshold, the data processing program will be automatically triggered to take out the data from the buffer for further processing; Convert the collected original Modbus message into readable and processable data; The Modbus message usually consists of parts such as address code, function code, data area, and check code; the address code is used to identify the address of the communication device, the function code indicates the operation type of the message, the data area contains specific service data, and the check code is used to verify the integrity of the message.

3. The test method of the shore power communication system according to claim 2, characterized in that, Fault analysis specifically includes: Extract telecontrol and telemetry data from the parsed message; According to the address and data format in the message, combined with the specific parameters of the device, convert it into the actual physical value; Obtain the actual voltage value, preset the nominal value, calculate the difference between the obtained actual voltage value and the preset nominal value, and take the absolute value to obtain the deviation value; Preset the allowable fluctuation range of the deviation value, compare the deviation value with the allowable fluctuation range of the preset deviation value. If the deviation value is not within the allowable fluctuation range of the preset deviation value, record the deviation value as an abnormal deviation value, and mark the network corresponding to the abnormal deviation value as a faulty network.

4. The test method of the shore power communication system according to claim 1, characterized in that Onshore power supply simulation debugging specifically includes: Simulate communication establishment: During the simulated communication establishment process, the tester constructs a correct request message according to the standard Modbus communication protocol; After constructing the request message, the tester sends the message to the ship through the optical fiber and waits for the ship's feedback; during the process of sending the message, in order to ensure the reliable transmission of the data, a retransmission mechanism is adopted; If no feedback from the ship is received within the preset time, the tester will automatically retransmit the request message until feedback is received or the maximum retransmission times are reached; Simulate the onshore power supply system to initiate various function operations to test the ship's response and the correctness of the relevant logic; During the simulation of the synchronization function, the tester sends a synchronization signal to the ship, requiring the ship to perform a synchronization operation within a preset time; after receiving the synchronization signal, the ship makes adjustments to achieve synchronization with the shore power equipment. After comprehensively analyzing the relevant index coefficients, the shore power commissioning evaluation coefficient is obtained, and based on the shore power commissioning evaluation coefficient, it is evaluated whether the shore power commissioning meets the expectations.

5. The test method of the shore power communication system according to claim 4, characterized in that, The process of obtaining the shore power commissioning evaluation coefficient includes: The performance of the synchronization function is evaluated through the following indicators: Synchronization time, the time interval from sending the synchronization signal to the ship's completion of the synchronization operation; Synchronization accuracy, the phase difference between the ship and the shore power equipment; Preset synchronization time threshold and synchronization accuracy threshold, respectively calculate the differences between the obtained synchronization time and synchronization accuracy and the synchronization time threshold and synchronization accuracy threshold to obtain the synchronization time difference and synchronization accuracy difference; Perform a weighted calculation on the synchronization time difference and synchronization accuracy difference to obtain the synchronization deviation; Five-prevention function, the tester simulates various possible misoperation situations, checks whether the ship can correctly identify and prevent these operations, and divides the number of misoperations identified and prevented by the total number of misoperations to obtain the five-prevention success rate; Power matching function simulation, calculate the power matching degree by taking the ratio of the rated power of the shore power equipment to the current power demand of the ship; Comprehensively analyze the abnormal deviation value in the fault analysis, synchronization deviation, five-prevention success rate, and power matching degree to obtain the shore power commissioning evaluation coefficient.

6. The test method of the shore power communication system according to claim 5, characterized in that Ship simulation commissioning, including: Based on the shore power simulation commissioning, simulate the shore power communication, analyze the index parameters during the communication process to obtain the shore power commissioning evaluation coefficient, and based on the shore power commissioning evaluation coefficient, evaluate the shore power simulation. Similarly, simulate the ship communication, analyze the index parameters during the ship process to obtain the shore power commissioning evaluation coefficient, and based on the ship commissioning evaluation coefficient, evaluate the ship simulation.

7. The test method of the shore power communication system according to claim 6, wherein Evaluating the shore power simulation based on the shore power commissioning evaluation coefficient includes: presetting the shore power commissioning evaluation coefficient threshold, comparing the shore power commissioning evaluation coefficient with the shore power commissioning evaluation coefficient threshold. If the shore power commissioning evaluation coefficient is greater than the shore power commissioning evaluation coefficient threshold, it is determined that the shore power simulation is unqualified; The process of evaluating the ship simulation based on the ship commissioning evaluation coefficient is the same as the above process and will not be elaborated here.

8. The test method of the shore power communication system according to claim 1, characterized in that, Interaction and data display, specifically including: Display the change trend of telemetry data in the form of a chart; Present the detailed results of the simulation test in the form of a table; The user sets the test parameters through the interface to control the test process; at the same time, a data export function is provided, and the user can export the test data and results.