A ship diesel generator set modeling method based on data and mechanism hybrid driving

By performing black-box processing on the excitation unit of the ship's diesel generator set and combining it with BP neural network training, the problem of insufficient modeling accuracy in the existing technology is solved, realizing high-precision modeling and real-time situational awareness, supporting real-time monitoring and intelligent decision-making.

CN123139735APending Publication Date: 2026-11-20THE 704TH RES INST OF CHINA STATE SHIPBUILDING CORP
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202611234667.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-14
Publication Date
2026-11-20

AI Technical Summary

Technical Problem

In existing technologies for ship electrical systems, single-mechanism modeling is insufficient to accurately characterize the strong coupling and highly nonlinear characteristics of synchronous generators, resulting in large discrepancies between simulation results and actual ship experimental data. There is a lack of data-driven modeling methods to improve modeling accuracy.

Method used

A modeling approach based on a hybrid data and mechanism approach is adopted to treat the excitation unit as a black box, and a BP neural network is used for training to form an input-output mapping relationship, which simplifies the model complexity and retains the observability of key parameters. Simulink is used for dynamic simulation.

Benefits of technology

It improves the accuracy and simulation fidelity of marine diesel generator set modeling, supports real-time monitoring, system maintenance and intelligent decision-making, and enhances the interpretability and computational efficiency of the model.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123139735A_ABST
    Figure CN123139735A_ABST
Patent Text Reader

Abstract

The application discloses a kind of ship diesel generator set modeling methods based on data and mechanism hybrid drive, first, the voltage regulating unit and excitation unit of generator set are black box processing, generator set itself maintains mechanism model, realizes diesel generator set hybrid modeling, then, generator BP neural network training is implemented to diesel generator set hybrid modeling, finally, according to the model and relevant operation data after training, form the situation awareness to ship diesel generator set.The modeling method proposed in the application, by black box processing to the voltage regulating unit and excitation unit, generator set itself maintains mechanism model, so as to ensure the interpretability of model and simplify the calculation complexity of model.According to the model and relevant operation data after training, form the situation awareness to ship diesel generator set, facilitate subsequent real-time monitoring of ship operation state, system maintenance, energy management, intelligent decision-making.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of automated detection technology for marine power systems, specifically a modeling method for marine diesel generator sets based on a hybrid data and mechanism approach. Background Technology

[0002] Currently, power system simulation modeling methods can be divided into two categories: mechanism-driven modeling and data-driven modeling. Mechanism-driven modeling is a mathematical modeling method based on the internal mechanisms of an object. The advantages of mechanism-driven modeling are that the parameters have clear physical meanings, are easy to adjust, and have strong adaptability. However, it is often difficult to obtain accurate mathematical expressions, and some coefficients in the expressions are hard to determine. If these problems cannot be well addressed, it is difficult to guarantee the effectiveness of the overall structural modeling.

[0003] Data-driven modeling utilizes rich data information and employs theories such as multivariate statistical analysis or algorithms such as machine learning to identify patterns in the data and then establish statistical regression models between variables. It is generally suitable for problems where the mechanistic analysis is too complex, the mathematical model is unknown, or there is significant uncertainty, thereby enabling dynamic modeling and estimating dynamic behavior and changes in system characteristics in an improved manner. However, the data-driven approach aims to allow the system to directly use measured data to solve control or decision-making problems, while avoiding the theoretical problems of model-based methods. The system's rated stability, convergence, and robustness need to be guaranteed through rigorous mathematical analysis and certain reasonable assumptions.

[0004] Hybrid modeling of data and mechanisms is conducted for diesel generator sets in marine electrical systems. Marine high-power generator systems are typical nonlinear systems, composed of numerous nonlinear components, each exhibiting complex dynamic characteristics. Synchronous generators in marine electrical systems often possess strong coupling and nonlinear characteristics, encompassing not only electromagnetic dynamic processes but also electromechanical dynamic processes.

[0005] Among existing related patent technologies, such as the parallel operation simulation system for marine diesel generator sets disclosed in patent document (CN103645643A), the "mathematical model module of marine diesel generator sets" mainly relies on traditional pure mechanistic modeling (classical motor and mechanical motion equations based on a synchronous rotating coordinate system). However, a high-power marine generator system is a typical nonlinear system, composed of numerous nonlinear components, each with complex dynamic characteristics. This patent does not employ a hybrid modeling approach combining data and mechanistic principles for marine power systems. Given the inherent strong coupling and high nonlinearity of synchronous generators in marine power systems, a single mechanistic model, under parameter perturbations or complex operating conditions, struggles to comprehensively and accurately characterize the system's true physical boundaries, resulting in limited simulation fidelity. The mathematical model in this patent primarily relies on solving simultaneous analytical equations. For electromechanical / electromagnetic coupling phenomena such as magnetic circuit saturation, eddy current effects, and mechanical friction nonlinearity, which are difficult to describe precisely with ideal analytical formulas, there is a lack of online identification or error correction methods based on actual operating data. This easily leads to significant deviations between simulation results and actual ship experimental data under extreme disturbances. While the patent provides interfaces for loading control algorithms such as neural networks and fuzzy control, the controlled object (i.e., the mathematical model of the generator set itself) remains purely mechanistic. For complex mechanisms that are difficult to model accurately, the patent fails to introduce data-driven "black-box" modeling methods (such as using machine learning algorithms to fit unmodeled dynamics). This prevents the system from fully leveraging the advantages of data-driven methods in approximating unknown nonlinear functions, missing the opportunity to improve modeling accuracy by combining the advantages of "white-box" (mechanism) and "black-box" (data).

[0006] Therefore, using gray-box modeling is an effective strategy in the modeling of power generation units; white-box modeling is used for processes with relatively simple internal mechanisms; and black-box modeling is used for processes with complex mechanisms that are difficult to model accurately. This approach can fully combine the advantages of both modeling methods, improving modeling accuracy and practical application value. Summary of the Invention

[0007] This invention proposes a modeling method for marine diesel generator sets based on a hybrid data and mechanism approach. Since a diesel generator set consists of multiple sub-units, completely black-boxing it would obscure key internal dynamic characteristics, failing to meet the requirements for refined simulation verification of control strategies. Therefore, black-boxing some units is a more reasonable solution. The excitation unit, as the core component for maintaining power quality, achieves stable output voltage regulation through voltage closed-loop control; its direct function is voltage regulation. Black-boxing the voltage regulation and excitation units encapsulates the complex internal voltage closed-loop regulation logic and excitation system structure, simplifying model complexity, while retaining key input / output interfaces to ensure the observability of key parameters such as current, voltage, and power.

[0008] To achieve the above objectives, the present invention adopts the following technical solution:

[0009] A modeling method for marine diesel generator sets based on a hybrid data and mechanism approach is proposed. First, the voltage regulation unit and excitation unit of the generator set are treated as black boxes, while the generator set itself maintains a mechanism model, thus achieving hybrid modeling of the diesel generator set. Then, the hybrid model of the diesel generator set is trained using a generator BP neural network. Finally, based on the trained model and relevant operating data, a situational awareness of the marine diesel generator set is formed, which is used for subsequent real-time monitoring of the ship's operating status, system maintenance, energy management, and intelligent decision-making.

[0010] Furthermore, the voltage regulation unit outputs power. and output voltage As an input, the reference voltage of the excitation regulator is output after internal adjustment and calculation. The excitation system is based on Generator d-axis armature terminal voltage and q-axis armature terminal voltage As input, the excitation voltage is output through the electromagnetic conversion process. When constructing a black box model, , , , Four physical quantities are used as input parameters, with excitation voltage as the primary parameter. As the output, a complete input-output mapping relationship is formed.

[0011] Furthermore, when implementing the generator BP neural network training, the input and output parameters of the constant voltage-excitation control loop of the black box model within the generator unit are first determined. Based on the selection principle, the input parameters of the generator unit are obtained, and the output parameter of the black box model is the excitation voltage. Based on the generator unit mechanism model, multi-condition digital simulation is performed, simulating sudden load increase and sudden load decrease in sequence. Each condition is run for 50 seconds, and samples are taken every 0.1 seconds to obtain the generator unit's dataset. The original dataset is divided into training set and test set according to the corresponding proportion, and independent samples are collected to form a validation set.

[0012] Furthermore, the generator BP neural network adopts the stochastic gradient descent algorithm during the training phase, and iteratively optimizes the network weights through the backpropagation mechanism, so that the model gradually learns the nonlinear mapping relationship between the input variables and the output variables. During the testing phase, the generator BP neural network uses data samples that were not used in the training to evaluate the generalization ability of the model. During the validation phase, the model's prediction accuracy is quantitatively evaluated by comparing the goodness of fit between the predicted output and the actual measured value.

[0013] Furthermore, before implementing the generator BP neural network training, the dataset of input and output parameters is first obtained through the mechanism model, and the original dataset is divided into training set, test set and validation set. The training set is used for the model learning process. Through learning from a large number of samples in the training set, the BP neural network can gradually master the mapping relationship between input data and output results. The test set is used to test the model with completely new data that has never participated in the training after the model training is completed, in order to measure the model's ability to generalize to unknown data. The validation set is used to predict the output with new input data and compare it with the new output to verify whether the two results fit.

[0014] Furthermore, the original dataset for training the generator BP neural network contains 10,000 samples, which are divided into training and testing sets in an 8:2 ratio, and an additional 500 independent samples are collected to form a validation set. The neural network is set to iterate 500 times, with an error threshold of 1e-6 and a learning rate of 0.01.

[0015] Furthermore, when training the generator BP neural network using the dataset, the input data is normalized and the output data is denormalized. Normalization maps the data to a specific numerical range by scaling it proportionally, thereby eliminating the dimensional differences between different indicators, facilitating comparison and weighting, and accelerating the training speed of the model. Denormalization restores the normalized data to its original scale and units, thereby enabling result interpretation and visualization. The formula for normalizing input data to the interval [a, b] is: (1) This is the input of raw data. It is the minimum value in the original input data. It is the maximum value in the original input data. It is normalized data; The formula for inversely normalizing the output data is: (2) It is the output data after inverse normalization. It outputs the minimum value in the original data. It is the maximum value in the original input data. It is the normalized output data.

[0016] Furthermore, after completing the training of the BP neural network, the BP neural network is used to replace the generator constant voltage / excitation control link. The trained model is then dynamically simulated in Simulink and compared with the original system. The BP neural network is integrated into Simulink, and the optimal gensim(net) method is used to generate the visual module of the Simulink subsystem, supporting SimulinkCoder and Real-Time Workshop, ensuring the stability and executability of the model, and enabling seamless integration with the original system.

[0017] Furthermore, based on the above formulas for input normalization and output denormalization, the formulas for calculating each gain and bias value are derived as follows: For the normalization process, the formulas for calculating the gain and bias of the input data are as follows: (3) (4) This represents the gain value of the input data. This represents the bias value of the input data.

[0018] For the inverse normalization process, the formulas for calculating the gain and bias of the output data are as follows: (5) (6) This represents the gain value of the output data. This indicates the bias value of the output data.

[0019] Furthermore, situational awareness of ship diesel generator sets includes: (1) Data collection The model data source is a certain type of diesel engine. The types of measurement points collected include fuel pressure, lubricating oil pressure, lubricating oil temperature, A-side cooling water temperature, B-side cooling water temperature, A-side exhaust temperature, B-side exhaust temperature, speed, generator voltage, and generator current. The acquisition frequency is 1 second, and a total of 69,000 time point data points are collected to build and verify the health assessment model. (2) Data processing a. Data filtering The data filtering method is to compare all the measurement point data at a certain time T with the previous time T-1. If all the measurement point data remain unchanged, it is considered that the data at time T-1 is redundant and needs to be deleted. b. Data filtering Based on the data sample format, after comparing various algorithms, an efficient algorithm is used for smoothing filtering to improve data accuracy and reduce sample noise without changing the signal trend. (3) Data feature extraction Using statistical indicators based on time-domain signal analysis as fault characteristic information, in power plant condition monitoring and fault diagnosis, dimensional characteristic values ​​can reflect the fluctuations of periodic stable signals that highlight abnormalities. Dimensional characteristic values ​​include peak value, peak-to-peak value, mean value, absolute mean, mean square value, root mean square value, standard deviation, variance, and root mean square amplitude. (4) Data Analysis The Naive Bayes (NB) classification algorithm, also known as Support Vector Machine, is a binary classification model that maps the feature vectors of instances to points in space.

[0020] (5) Data storage and management The data management layer is divided into relational databases, message queues, and time-series databases based on different business data needs. The relational database is used to store data with a relational model, such as device attributes and alarm information; the message queue is used to cache real-time data to meet business needs; and the time-series database is used to store sensor data uploaded by devices in real time to improve the efficiency of data utilization. The relational database uses the domestic database DM; the message queue uses the domestic CraigMQ; and the time-series database is planned to use either the domestic Tdengine or CeresDB. (6) Data shows Differentiated displays are implemented on PCs and mobile devices. The front-end interface includes both web-based and large-screen interfaces. The web-based interface is used to manage and control all business operations within the digital platform, while the large-screen interface is used to display the final display status of the business.

[0021] Compared with the prior art, the present invention has the following significant advantages: This invention proposes a modeling method for marine diesel generator sets based on a hybrid data and mechanism-driven approach. The voltage regulation unit and excitation unit are treated as black boxes, while the generator set itself maintains a mechanism-based model. This ensures both the interpretability of the model and simplifies its computational complexity. Based on the trained model and relevant operational data, a situational awareness of the marine diesel generator set is formed, facilitating subsequent real-time monitoring of the ship's operating status, system maintenance, energy management, and intelligent decision-making. Attached Figure Description

[0022] Figure 1 This is a gray box model of the power generation unit; Figure 2 The flowchart shows the neural network of the voltage regulation unit and the excitation system unit. Figure 3 A neural network model for the voltage regulation unit and excitation system unit; Figure 4 This is a diagram illustrating the situational awareness process of a diesel engine. Figure 5 The flowchart shows the classification process of the Naive Bayes algorithm. Figure 6 This is a schematic diagram showing the overall front-end display. Detailed Implementation

[0023] The present invention will now be described in further detail with reference to the accompanying drawings and embodiments.

[0024] This invention proposes a modeling method for marine diesel generator sets based on a hybrid data and mechanism approach. First, the voltage regulation unit and excitation unit are treated as black boxes, while the generator set itself maintains a mechanism model, thus achieving hybrid modeling of the diesel generator set. Then, the hybrid modeling of the diesel generator set is trained using a generator BP neural network. Finally, based on the trained model and relevant operating data, a situational awareness of the marine diesel generator set is formed, facilitating subsequent real-time monitoring of the ship's operating status, system maintenance, energy management, and intelligent decision-making.

[0025] (I) Hybrid Modeling of Diesel Generator Sets Diesel generator sets consist of multiple sub-units. Completely black-boxing these units would obscure their crucial internal dynamic characteristics, failing to meet the requirements for refined simulation verification of control strategies. Therefore, black-boxing some units is a more reasonable approach. The excitation unit, as the core component for maintaining power quality, achieves stable output voltage regulation through voltage closed-loop control; its direct function is voltage regulation. Black-boxing both the voltage regulation and excitation units encapsulates the complex internal voltage closed-loop regulation logic and excitation system structure, simplifying the model complexity, while retaining key input / output interfaces to ensure the observability of critical parameters such as current, voltage, and power. Figure 1A gray box model of the power generation unit is shown, with the black box portion marked in shaded areas.

[0026] The voltage regulation unit's function is to stabilize the DC bus voltage using a closed-loop voltage regulation system. Based on theoretical research on droop control strategies, this unit uses output power... and output voltage As an input, the reference voltage of the excitation regulator is output after internal adjustment and calculation. The excitation system is based on... Generator d-axis armature terminal voltage and q-axis armature terminal voltage As input, the excitation voltage is output through the electromagnetic conversion process. When constructing a black-box model, it is necessary to... , , , Four physical quantities are used as input parameters, with excitation voltage as the primary parameter. As the output, a complete input-output mapping relationship is formed.

[0027] When training the generator's BP neural network, the input and output parameters of the black-box model (constant voltage-excitation control loop) within the generator unit are first determined. The selection principles for the input parameters are shown in Table 1. Based on these principles, the input parameters of the generator unit are obtained, as shown in Table 2. The output parameter of the black-box model is the excitation voltage. Multi-condition digital simulations are performed based on the generator unit's mechanism model, sequentially simulating sudden load increases and decreases. Each condition is run for 50 seconds, with sampling every 0.1 seconds to obtain the generator unit's dataset. The original dataset is divided into training and test sets according to appropriate proportions, and independent samples are collected to form a validation set. During the training phase, a stochastic gradient descent algorithm is used, iteratively optimizing the network weights through backpropagation, enabling the model to gradually learn the nonlinear mapping relationship between input and output variables. During the testing phase, the generalization ability of the model is evaluated using data samples not used in training. During the validation phase, the model's prediction accuracy is quantitatively evaluated by comparing the goodness of fit between the predicted output and the actual measured values.

[0028] Table 1. Principles for Selecting Generator Input Parameters

[0029] Table 2 Generator Input Parameters

[0030] Before training the generator BP neural network, a dataset of input and output parameters was first obtained through a mechanistic model, and the original dataset was divided into a training set, a test set, and a validation set. The training set is used for the model's learning process. Through learning from a large number of samples in the training set, the BP neural network can gradually master the mapping relationship between input data and output results. The test set is used after model training to test the model with completely new data that has never been used in training, to measure the model's generalization ability to unknown data. The validation set is used to predict the output with new input data and compare it with the new output to verify whether the two results fit. In the neural network training experiment of this project, the original dataset had 10,000 samples, divided into training and test sets in an 8:2 ratio, and an additional 500 independent samples were collected to form the validation set. The neural network was set with 500 iterations, an error threshold of 1e-6, and a learning rate of 0.01.

[0031] When training neural networks using datasets, the input data needs to be normalized, and the output data needs to be denormalized. Normalization scales the data proportionally, mapping it to a specific numerical range to eliminate dimensional differences between different indicators, facilitating comparison and weighting, and accelerating model training. Denormalization restores the normalized data to its original scale and units, enabling result interpretation and visualization.

[0032] The formula for normalizing input data to the interval [a, b] is: (1) This is the input of raw data. It is the minimum value in the original input data. It is the maximum value in the original input data. It is the normalized data.

[0033] The formula for inversely normalizing the output data is: (2) It is the output data after inverse normalization. It outputs the minimum value in the original data. It is the maximum value in the original input data. It is the normalized output data.

[0034] Replacing the generator constant voltage / excitation control loop with a backpropagation (BP) neural network requires dynamic simulation in Simulink after BP neural network training, followed by comparison with the original system. There are three ways to integrate the BP neural network into Simulink, as shown in Table 3. Among these three methods, the gensim(net) method is the optimal choice. This method generates Simulink subsystems (visual modules) that can be directly used in the Simulink model without function calls, simplifying the modeling and debugging process. It supports Simulink Coder and Real-Time Workshop, ensuring model stability and executability, and seamlessly integrating with the original system. Furthermore, gensim(net) not only fully supports Simulink real-time simulation but also provides powerful visual debugging capabilities, significantly improving development efficiency. Simultaneously, this method is suitable for more complex systems, providing more convenient debugging and verification while ensuring system stability. In summary, the gensim(net) method has unparalleled advantages in achieving dynamic simulation of generator constant voltage / magnetic control loops, making it an ideal integration solution.

[0035] Table 3 Neural Network Integration Methods

[0036] Since the data transfer between the MATLAB Neural Network Toolbox and Simulink cannot automatically handle normalization parameters, it is necessary to manually add normalization and denormalization modules. This project normalizes the input data to the [0, 1] interval. In Simulink, normalization and denormalization operations can be achieved by adding gain and offset modules. Based on the above calculation formulas for input normalization and output denormalization, the calculation formulas for each gain and offset value can be derived as follows: For the normalization process, the formulas for calculating the gain and bias of the input data are as follows: (3) (4) This represents the gain value of the input data. This represents the bias value of the input data.

[0037] For the inverse normalization process, the formulas for calculating the gain and bias of the output data are as follows: (5) (6) This represents the gain value of the output data. This indicates the bias value of the output data.

[0038] Based on the above analysis, the flowcharts and architectures of the neural network models of the voltage regulation unit and excitation system unit finally built in the Simulink environment are as follows: Figure 2 As shown in Figure 3.

[0039] (ii) Diesel engine situational awareness Situational awareness is not simply data collection and display. With the development of automation technology, the types of sensing devices are becoming increasingly diverse, the data formats are becoming more varied, and the data volume is also increasing. In power monitoring systems, how to display target information in real time in a complex and dynamic environment is a complex process of data collection, data processing, and model building. "Situational awareness requirements" are the dynamic information needs of crew members in specific domains and environments, rather than static theoretical knowledge. Therefore, it is necessary to determine, through some method, the situational information that operators truly need to achieve each objective.

[0040] The most complex sensing object in a ship's electrical system is the diesel generator set. Taking the diesel engine as an example, the real-time situational awareness process is illustrated below. Figure 4 As shown.

[0041] 1) Data Collection The model data source is a certain type of diesel engine. The types of measurement points collected include fuel pressure, lubricating oil pressure, lubricating oil temperature, A-side coolant temperature, B-side coolant temperature, A-side exhaust temperature, B-side exhaust temperature, engine speed, generator voltage, and generator current. The data collection frequency is 1 second, and a total of 69,000 time points are collected for the construction and validation of the health assessment model.

[0042] Based on existing data and the operating characteristics of diesel engines, the following additional measurement points are determined for diesel engine units: fuel injection quantity, fuel injection timing, exhaust oxygen content, and diesel engine torque. Fuel injection parameters include fuel injection timing and fuel injection quantity. Fuel injection timing is the moment when the ECU controls fuel injection, and fuel injection quantity is the mass of fuel injected per cycle. Fuel injection timing is closely related to fuel injection quantity and the in-cylinder combustion process, and is a crucial control parameter directly affecting the diesel engine's output power, fuel consumption, and generator set exhaust emissions. The ECU (Electronic Control Unit) consists of a microcontroller (MCU), memory (ROM, RAM), input / output interfaces (I / O), analog-to-digital converters (A / D), and large-scale integrated circuits for shaping and driving. It primarily utilizes data acquisition and exchange from various sensors and buses to control the diesel engine through actuators. Both fuel injection quantity and fuel injection timing are diesel engine control parameters that can be directly read from the diesel engine ECU.

[0043] During diesel engine operation, the combustion process within the cylinder significantly impacts the engine's operating status, with a strong correlation between the two. Oxygen participates in the vast majority of chemical reactions during combustion; therefore, oxygen consumption is closely related to the engine's combustion process. Thus, exhaust oxygen content data contains information such as oxygen consumption and in-cylinder combustion status, which can be used to improve the accuracy of model prediction and evaluation. Exhaust oxygen content can be measured using an oxygen content sensor, which is installed before the exhaust aftertreatment device to obtain the original engine operating status.

[0044] The diesel engine is connected to the generator via a connecting shaft. Torque characterizes the load, and the load, along with fuel injection, helps maintain a constant speed for both the diesel engine and generator. Therefore, torque measurement provides more comprehensive information on the state of the diesel engine and generator, improving the accuracy of the health assessment model. Torque is measured by installing a torque sensor on the connecting shaft. Considering the complexity of sensor installation, a strain gauge torque sensor is recommended. The strain gauge sensor uses strain gauge electrical measurement technology. A Wheatstone bridge is formed by attaching strain gauges to the elastic shaft. When the elastic shaft is subjected to torque and undergoes slight deformation, the resistance of the bridge changes. This change in resistance is converted into a change in electrical signal, thus achieving torque measurement.

[0045] 2) Data processing a. Data filtering Due to limitations in sensor acquisition accuracy, the collected data exhibits significant repetition. Therefore, data filtering is necessary to ensure that the data input into the model fully reflects the operating status of the diesel generator set. This improves the model's evaluation accuracy while reducing its size and accelerating computation.

[0046] The data filtering method is to compare all the measurement point data at a certain time T with the previous time T-1. If all the measurement point data remain unchanged, it is considered that the data at time T-1 is redundant and needs to be deleted.

[0047] b. Data filtering Taking engine speed and generator voltage as examples, the original data contains many high-frequency disturbance signals after filtering, which seriously affects the accuracy of the state assessment model. Therefore, data filtering is necessary. Based on the data sample format, various algorithms are compared, and an efficient algorithm is used for smoothing filtering to improve data accuracy and reduce sample noise without changing the signal trend.

[0048] 3) Data feature extraction For time series of characteristic parameters, potential fault characteristics are often hidden within their sequence features. To extract and utilize this hidden information, we need to calculate the mode characteristic values ​​for specific fault modes and identify the sensitive factors for these fault modes. Statistical indicators based on time-domain signal analysis are used as fault characteristic information. In power plant condition monitoring and fault diagnosis, dimensional characteristic values ​​can reflect the fluctuations of periodically stable signals exhibiting anomalous behavior. Commonly used dimensional characteristic values ​​include peak value, peak-to-peak value, mean, absolute mean, root mean square (RMS), standard deviation, variance, and root mean square amplitude. The following characteristic values ​​of the main analytical parameters are discussed: a. Mean, i.e., the arithmetic mean of the parameters.

[0049] b. Maximum value: This mainly analyzes the maximum value of the parameter sequence under different load conditions.

[0050] c. Minimum value: This mainly analyzes the minimum value of the parameter sequence under different load conditions.

[0051] d. Fluctuation range, which represents the relative magnitude of fluctuations in the parameter sequence, is calculated as (maximum value - minimum value) / mean.

[0052] e. Dispersion, which characterizes the relative magnitude of the dispersion of test results, also known as the coefficient of variation, is calculated as mean squared error / mean.

[0053] f. Linear slope, which characterizes the macroscopic trend of parameter sequence changes during the experiment. The calculation method is to first normalize the x-axis and y-axis (x-axis is normalized by x / (xmax-xmin), and y-axis is normalized by y / yavg), and then use a linear model to fit the normalized parameter sequence to obtain the change rate of the linear fitting model under different load conditions throughout the experiment.

[0054] The intervals of the parameter eigenvalues ​​also need to be divided as follows.

[0055] a. Fluctuation level. Classified by fluctuation range and dispersion, it is large (|fluctuation range|≥30% or |dispersion|≥10%), medium (|fluctuation range|≥15% or |dispersion|≥5%), and small (|fluctuation range|<15% and |dispersion|<5%) (except for parameters with other specified values, such as diesel engine speed).

[0056] b. Trend of change. Classified by linear slope: large (|linear slope| ≥ 15%), medium (|linear slope| ≥ 5%), and small (|linear slope| < 5%).

[0057] c. Margin. Based on the comparison of the mean and fluctuation of the test parameters with the threshold, the margin of the parameters compared with the threshold is qualitatively divided into three categories: large, medium, and small. Taking into account the results of different working conditions, the fluctuation and trend are qualitatively divided into three categories: large, medium, and small.

[0058] 4) Data Analysis For data analysis algorithms, commonly used algorithms include Bayesian algorithms and SVM algorithms. Bayesian classification is a statistical classification method that utilizes probability and statistics for classification. In many cases, Naive Bayes (NB) classification can rival decision tree and neural network classification algorithms. This algorithm can be applied to large databases and is simple, accurate, and fast. Naive Bayes classifiers are proposed to simplify the complexity of events, employing the "attribute conditional independence assumption," where each attribute independently affects the classification result. SVM, or Support Vector Machine, is a binary classification model that maps the feature vectors of instances to points in space. The goal of SVM is to draw a line that "best" distinguishes between the two classes of points, so that even if new points are added later, this line can still provide a good classification. SVM is suitable for small to medium-sized data samples, nonlinear, and high-dimensional classification problems. The classification process of the Naive Bayes algorithm is as follows... Figure 5 As shown.

[0059] 5) Data storage and management The data management layer is divided into relational databases, message queues, and time-series databases based on different business data needs. The relational database stores data with a relational model, such as device attributes and alarm information; the message queue caches real-time data to meet business needs; and the time-series database stores real-time sensor data uploaded by devices, improving data utilization efficiency. The relational database uses the domestic database DM; the message queue uses the domestic CraigMQ; and the time-series database is planned to use either the domestic Tdengine or CeresDB.

[0060] 6) Data shows The front-end interface primarily includes two methods: a web-based interface and a large screen. The web-based interface is mainly used for managing and controlling all business operations within the digital platform; the large screen is mainly used to display the final status of the business operations. Therefore, the two utilize different technical frameworks. A diagram illustrating the expected display effect is shown below. Figure 6 As shown.

[0061] The display end mainly indicates the device used to display the front-end interface. Since the platform adopts a B / S architecture, it can be displayed differently on devices such as PCs and mobile terminals.

Claims

1. A modeling method for marine diesel generator sets based on a hybrid data and mechanism approach, characterized in that: First, the voltage regulation unit and excitation unit of the generator set are treated as black boxes, while the generator set itself maintains a mechanism model to achieve hybrid modeling of the diesel generator set. Then, the hybrid modeling of the diesel generator set is trained using a generator BP neural network. Finally, based on the trained model and relevant operating data, a situational awareness of the ship's diesel generator set is formed for subsequent real-time monitoring of the ship's operating status, system maintenance, energy management, and intelligent decision-making.

2. The modeling method according to claim 1, characterized in that: Voltage regulation unit output power and output voltage As an input, the reference voltage of the excitation regulator is output after internal adjustment and calculation. The excitation system is based on Generator d-axis armature terminal voltage and q-axis armature terminal voltage As input, the excitation voltage is output through the electromagnetic conversion process. When constructing a black box model, , , , Four physical quantities are used as input parameters, with excitation voltage as the primary parameter. As the output, a complete input-output mapping relationship is formed.

3. The modeling method according to claim 1, characterized in that: When training the generator BP neural network, the input and output parameters of the constant voltage-excitation control loop of the black box model within the generator unit are first determined. Based on the selection principle, the input parameters of the generator unit are obtained, and the output parameter of the black box model is the excitation voltage. Based on the generator unit mechanism model, multi-condition digital simulation is performed, simulating sudden load increase and sudden load decrease in sequence. Each condition is run for 50 seconds, and samples are taken every 0.1 seconds to obtain the generator unit's dataset. The original dataset is divided into training set and test set according to the corresponding proportion, and independent samples are collected to form a validation set.

4. The modeling method according to claim 1, characterized in that: The generator BP neural network uses stochastic gradient descent algorithm during training and iteratively optimizes network weights through backpropagation, enabling the model to gradually learn the nonlinear mapping relationship between input and output variables. During testing, the generator BP neural network uses data samples not used in training to evaluate the model's generalization ability. During validation, the model's prediction accuracy is quantitatively evaluated by comparing the goodness of fit between the predicted output and the actual measured values.

5. The modeling method according to claim 1, characterized in that: Before implementing the generator BP neural network training, the dataset of input and output parameters is first obtained through the mechanism model, and the original dataset is divided into training set, test set and validation set. The training set is used for the model learning process. Through learning from a large number of samples in the training set, the BP neural network can gradually master the mapping relationship between input data and output results. The test set is used to test the model with completely new data that has never been used in the training after the model has been trained, in order to measure the model's ability to generalize to unknown data. The validation set is used to predict the output with new input data and compare it with the new output to verify whether the two results fit each other.

6. The modeling method according to claim 1, characterized in that: The original dataset for training the generator BP neural network has 10,000 samples, which are divided into training and test sets in an 8:2 ratio. An additional 500 independent samples are collected to form a validation set. The neural network is set to 500 iterations, with an error threshold of 1e-6 and a learning rate of 0.

01.

7. The modeling method according to claim 6, characterized in that: When training a generator BP neural network using a dataset, the input data is normalized and the output data is denormalized. Normalization scales data proportionally to map it to a specific range of values, eliminating the differences in units between different indicators, facilitating comparison and weighting, and speeding up model training. Inverse normalization restores normalized data to its original scale and units, thereby enabling result interpretation and visualization. The formula for normalizing input data to the interval [a, b] is: (1) This is the input of raw data. It is the minimum value in the original input data. It is the maximum value in the original input data. It is normalized data; The formula for inversely normalizing the output data is: (2) It is the output data after inverse normalization. It outputs the minimum value in the original data. It is the maximum value in the original input data. It is the normalized output data.

8. The modeling method according to claim 7, characterized in that: After completing the training of the BP neural network, the BP neural network is used to replace the generator constant voltage / excitation control link. The trained model is then dynamically simulated in Simulink and compared with the original system. The BP neural network is integrated into Simulink and the optimal gensim(net) method is used to generate a visual module of the Simulink subsystem, supporting Simulink Coder and Real-Time Workshop, ensuring the stability and executability of the model, and enabling seamless integration with the original system.

9. The modeling method according to claim 7, characterized in that: Based on the above formulas for input normalization and output denormalization, the formulas for calculating each gain and bias value are derived as follows: For the normalization process, the formulas for calculating the gain and bias of the input data are as follows: (3) (4) This represents the gain value of the input data. This represents the bias value of the input data. For the inverse normalization process, the formulas for calculating the gain and bias of the output data are as follows: (5) (6) This represents the gain value of the output data. This indicates the bias value of the output data.

10. The modeling method according to claim 1, characterized in that: Situational awareness of ship diesel generator sets includes: (1) Data collection The model data source is a certain type of diesel engine. The types of measurement points collected include fuel pressure, lubricating oil pressure, lubricating oil temperature, A-side cooling water temperature, B-side cooling water temperature, A-side exhaust temperature, B-side exhaust temperature, speed, generator voltage, and generator current. The acquisition frequency is 1 second, and a total of 69,000 time point data points are collected to build and verify the health assessment model. (2) Data processing a. Data filtering The data filtering method is to compare all the measurement point data at a certain time T with the previous time T-1. If all the measurement point data remain unchanged, it is considered that the data at time T-1 is redundant and needs to be deleted. b. Data filtering Based on the data sample format, after comparing various algorithms, an efficient algorithm is used for smoothing filtering to improve data accuracy and reduce sample noise without changing the signal trend. (3) Data feature extraction Using statistical indicators based on time-domain signal analysis as fault characteristic information, in power plant condition monitoring and fault diagnosis, dimensional characteristic values ​​can reflect the fluctuations of periodic stable signals that highlight abnormalities. Dimensional characteristic values ​​include peak value, peak-to-peak value, mean value, absolute mean, mean square value, root mean square value, standard deviation, variance, and root mean square amplitude. (4) Data Analysis The Naive Bayes (NB) classification algorithm, also known as a support vector machine, is used. It is a binary classification model that maps the feature vectors of instances to points in space. (5) Data storage and management The data management layer is divided into relational databases, message queues, and time-series databases based on different business data needs. The relational database is used to store data with a relational model, such as device attributes and alarm information; the message queue is used to cache real-time data to meet business needs; and the time-series database is used to store sensor data uploaded by devices in real time to improve the efficiency of data utilization. The relational database uses the domestic database DM; the message queue uses the domestic CraigMQ; and the time-series database is planned to use either the domestic Tdengine or CeresDB. (6) Data shows Differentiated displays are implemented on PCs and mobile devices. The front-end interface includes both web-based and large-screen interfaces. The web-based interface is used to manage and control all business operations within the digital platform, while the large-screen interface is used to display the final display status of the business.

Citation Information

Patent Citations

  • Ship diesel generating set parallel operation simulation system

    CN103645643A