A method for energy management of diesel-electric hybrid tugboat based on fuzzy logic control
Through the energy management method based on fuzzy logic control, the lack of flexibility and accuracy of the traditional energy management method is solved, and the efficient energy distribution and coordinated work of the diesel-electric hybrid tug power system is realized, improving overall performance and energy utilization efficiency.
Patent Information
- Application Number
- CN202411002169.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-25
- Publication Date
- 2024-11-22
- Estimated Expiration
- 2044-07-25
AI Technical Summary
The traditional diesel-electric hybrid tug energy management method lacks flexibility and cannot dynamically adjust the working mode of the power source according to real-time operating status and environmental conditions, resulting in inaccurate power distribution, reduced energy waste and efficiency, making it difficult to achieve efficient energy management.
Adopt energy management method based on fuzzy logic control, analyze the structure and working mode of the power system, formulate energy management control rules, design fuzzy logic strategies, optimize power distribution of power sources, and use fuzzy logic controller to adjust the diesel engine based on real-time data and historical data. It can work dynamically in concert with the motor's power output.
It improves the accuracy of energy distribution and system efficiency, reduces fuel consumption, enhances the system's adaptability and response speed, optimizes the performance of the entire power system, and improves the level of energy management.
Smart Images

Figure CN118529236B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of ship power system and energy optimization control thereof, and more specifically, to an energy management method of a diesel-electric hybrid tugboat based on fuzzy logic control. Background Art
[0002] In the field of ship power systems, especially for diesel-electric hybrid tugboats, traditional energy management methods often rely on fixed control strategies and preset working modes, which are difficult to adapt to changing navigation conditions and power requirements. These methods may not achieve optimal energy distribution and utilization efficiency when faced with complex sea conditions and tugboat operation requirements. The coordinated work of power sources such as diesel engines and motors also has certain limitations, making it difficult to achieve ideal fuel consumption and power performance.
[0003] In the process of implementing the embodiments of the present invention, the inventors found that there are at least the following problems or defects in the prior art: the traditional control strategy lacks flexibility and cannot dynamically adjust the working mode of the power source according to the real-time operating status and environmental conditions of the tugboat; the power distribution of power sources such as diesel engines and motors is not accurate enough, resulting in energy waste and reduced efficiency; the charging and discharging strategy of the power battery is not smart enough, which may affect the battery life and the overall performance of the system. In addition, the existing energy management system often has difficulty in achieving efficient energy management and optimized control when dealing with complex power system structures and multiple working modes. Summary of the invention
[0004] The invention provides a diesel-electric hybrid tugboat energy management method based on fuzzy logic control.
[0005] In some embodiments of the present invention, a method for energy management of a diesel-electric hybrid tugboat based on fuzzy logic control is provided, comprising:
[0006] Analyze and determine the power system structure and working mode of the diesel-electric hybrid tugboat;
[0007] Formulate energy management control rules based on the power system structure and working mode to ensure that the output power of each power source meets the power requirements of the tugboat in various operating modes;
[0008] Design an energy management strategy based on fuzzy logic to optimize the power allocation of each power source.
[0009] In some embodiments, the method further comprises:
[0010] deploying a plurality of power sources at one or more key locations of the diesel-electric hybrid tugboat according to the frequency of use of the tugboat;
[0011] Presetting the power output threshold of each power source and the power demand threshold of the tugboat;
[0012] When the power output of a monitored power source exceeds its set threshold or the power demand of the tugboat exceeds its set threshold, the power output of the power source is adjusted through the fuzzy logic controller;
[0013] Otherwise, the real-time operation data of the tugboat is transmitted to the fuzzy logic controller and real-time energy management is performed.
[0014] In some embodiments, the method further comprises:
[0015] During the operation of the tugboat, the power output history data of each power source and the energy consumption history data of the tugboat are recorded;
[0016] Use the collected historical data to evaluate the effectiveness of the energy management strategy and adjust the energy management strategy based on the evaluation results;
[0017] When the power output data of a monitored power source is missing, it is determined that the energy management strategy adjustment fails, and mapping relationship data of the adjustment failure data is added to the mapping table of the fuzzy logic controller;
[0018] According to the mapping relationship data of the adjustment failure data added in the mapping table, the adjustment failure data is updated to the diesel-electric hybrid tugboat power system.
[0019] In some embodiments, the diesel-electric hybrid tugboat power system is a parallel hybrid system, including a diesel engine, a power battery, a shaft belt motor and a propeller gearbox.
[0020] In some embodiments, the operating modes include a diesel engine independent operating mode, a PTO mode, a PTI mode, and a PTH mode.
[0021] In some embodiments, the energy management control rules include:
[0022] Determine the output power of each power source of the diesel-electric hybrid tugboat power system to meet the power requirements of the tugboat in different operating modes;
[0023] Adjust the diesel engine operating point to the optimal fuel efficiency point to improve fuel efficiency;
[0024] Control the charging and discharging process of the power battery within a safe operating range to reduce fuel consumption.
[0025] In some embodiments, determining the output power of each power source of the diesel-electric hybrid tugboat power system includes:
[0026] The power requirements of the tugboat under different operating modes are analyzed, and the output power of each power source of the diesel-electric hybrid tugboat power system is determined based on the power requirements.
[0027] In some embodiments, the energy management strategy includes:
[0028] A fuzzy logic controller is used, which takes the real-time power demand of the tugboat and the state of charge of the power battery as input, and determines the optimal output power of the motor as output through fuzzy logic processing;
[0029] Dynamically generate control rules to achieve coordinated operation of diesel engine and power battery and optimize power distribution.
[0030] In some embodiments, the method further comprises:
[0031] Design the membership function of the input variables of the fuzzy logic controller to convert the real-time power demand of the tugboat and the state of charge of the power battery into fuzzy values;
[0032] Define the output variable membership function of the fuzzy logic controller to determine the optimal output power of the motor;
[0033] Establish a fuzzy rule base, including fuzzy rules determined based on the historical operating data of the tugboat;
[0034] The output of the fuzzy logic controller is converted into the motor output power command through the defuzzification algorithm.
[0035] In some embodiments, the defuzzification algorithm includes:
[0036] When receiving a signal of a change in the tugboat's power demand, collect the complete power demand data of the tugboat's current operation cycle;
[0037] Based on the complete power demand data of the current operation cycle of the tugboat and the historical power demand data, power output characteristic data of the power source is obtained; the power output characteristic data includes starting power output characteristic data and ending power output characteristic data;
[0038] The optimal power output starting point of the power source is obtained based on the starting power output characteristic data; wherein the optimal power output starting point of the power source is obtained based on the starting power output characteristic data as follows:
[0039] If all data in the current starting power output characteristic data are less than the preset first threshold value, then the corresponding complete power demand data does not have an effective power demand, and the starting power output characteristic data of the complete power demand data of the next operation cycle of the power source is obtained to make a new judgment;
[0040] If the number of data less than the preset second threshold value in the current starting power output characteristic data is less than the preset third threshold value, the corresponding complete power demand data already has an effective power demand at the initial monitoring point, and the initial monitoring point is used as the optimal power output starting point of the power source;
[0041] Otherwise, extracting the starting power output characteristic data according to the preset first threshold value and the second threshold value, performing straight line fitting based on the extracted data to obtain the flat area, and then obtaining the optimal power output starting point of the power source;
[0042] The optimal power output end point of the power source is obtained based on the end power output characteristic data, specifically:
[0043] If the number of data less than the preset second threshold value in the current end power output characteristic data is less than the preset third threshold value, then each monitoring point of the corresponding complete power demand data has an effective power demand, and the end power output characteristic data of the complete power demand data of the next operation cycle of the power source is obtained to re-judge;
[0044] If all data in the current end power output characteristic data are less than the preset first threshold value, the corresponding complete power demand data does not have an effective power demand, and the initial monitoring point of the complete power demand data is used as the optimal power output end point of the power source;
[0045] Otherwise, extract the end power output characteristic data according to the preset first threshold value and the second threshold value, perform piecewise straight line fitting based on the extracted data to obtain the flat area, and then obtain the optimal power output end point of the power source;
[0046] Based on the optimal power output starting point and the optimal power output ending point of the power source, the optimal power output interval of the power source under different operating modes is obtained, thereby optimizing the energy management strategy of the tugboat. According to the above-mentioned embodiment of the present invention, at least the following beneficial effects are achieved: the energy management method of the diesel-electric hybrid tugboat of the present invention can effectively solve the shortcomings of the traditional control strategy in terms of adaptability, flexibility and accuracy by introducing fuzzy logic control. The method can dynamically adjust the power output of power sources such as the diesel engine and the motor according to the real-time power demand of the tugboat and the charge state of the power battery, so as to achieve more accurate and optimized energy distribution. Through the intelligent decision-making of the fuzzy logic controller, the system can automatically adjust the diesel engine operating point to the optimal fuel efficiency point, and at the same time control the power battery to work within the safe charging and discharging range, thereby reducing fuel consumption and improving energy utilization efficiency. In addition, the present invention can generate highly adaptable control rules according to the operating history data and real-time working conditions of the tugboat, realize the coordinated work of the diesel engine and the power battery, and optimize the power distribution of the entire power system. Through the application of the fuzzy rule base, the system can intelligently determine the optimal power output of the diesel engine and the power battery under different working conditions based on the historical operating data, further improving the operating efficiency and response speed of the system. This intelligent control strategy based on real-time data and historical experience can not only improve the energy management level of tugboats, but also provide effective technical support for energy conservation, emission reduction and sustainable development of ship power systems. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] The above and other objects, features and advantages of the exemplary embodiments of the present invention will become readily understood by reading the following detailed description with reference to the accompanying drawings. In the accompanying drawings, several embodiments of the present invention are shown in an exemplary and non-limiting manner, in which:
[0048] Figure 1 A schematic flow chart of a method for managing energy of a diesel-electric hybrid tugboat based on fuzzy logic control provided by an embodiment of the present invention;
[0049] Figure 2 A schematic diagram of the structure of a diesel-electric hybrid tugboat energy management system based on fuzzy logic control provided by an embodiment of the present invention;
[0050] Figure 3 A schematic diagram of the system structure of a diesel-electric hybrid tugboat provided in one embodiment of the present invention;
[0051] Figure 4 A block diagram of a fuzzy logic control strategy for a diesel-electric hybrid tugboat provided in one embodiment of the present invention;
[0052] Figure 5 The power required for a ship provided by an embodiment of the present invention P req Schematic diagram of membership function;
[0053] Figure 6 A schematic diagram of a membership function of a battery SOC provided by an embodiment of the present invention;
[0054] Figure 7 The output power of the motor provided by an embodiment of the present invention is P motor Schematic diagram of membership function;
[0055] Figure 8 A schematic diagram of the corresponding relationship between the input and output quantities of a fuzzy controller provided in one embodiment of the present invention. DETAILED DESCRIPTION
[0056] The principles and spirit of the present invention will be described below with reference to several exemplary embodiments. It should be understood that these embodiments are provided only to enable those skilled in the art to better understand and implement the present invention, and are not intended to limit the scope of the present invention in any way. On the contrary, these embodiments are provided to make the present invention more thorough and complete, and to fully convey the scope of the present invention to those skilled in the art.
[0057] Those skilled in the art know that the embodiments of the present invention can be implemented as a system, device, apparatus, method or computer program product. Therefore, the present invention can be specifically implemented in the following forms, namely: complete hardware, complete software (including firmware, resident software, microcode, etc.), or a combination of hardware and software.
[0058] It should be noted that any number of elements in the drawings is for illustration rather than limitation, and any naming is only for distinction and does not have any limiting meaning. Example 1
[0059] Reference below Figure 1 , Figure 1 The following is a flow chart of a method for managing the energy of a diesel-electric hybrid tugboat based on fuzzy logic control according to an embodiment of the present invention. Figure 1 As shown, a diesel-electric hybrid tugboat energy management method 100 based on fuzzy logic control includes:
[0060] Step 101, analyzing and determining the power system structure and working mode of the diesel-electric hybrid tugboat;
[0061] Step 102, formulating energy management control rules based on the power system structure and working mode to ensure that the output power of each power source meets the power demand of the tugboat in various operating modes;
[0062] Step 103, designing an energy management strategy based on fuzzy logic to optimize the power distribution of each power source.
[0063] It should be noted that the diesel-electric hybrid tugboat power system of the present invention can be applied to but not limited to ship power solutions, and aims to improve the energy efficiency and operational flexibility of tugboats by integrating the advantages of diesel engines and electric motors. The core purpose of the system is to achieve better combustion efficiency, reduce emissions, and enhance the performance of tugboats under different working conditions.
[0064] The diesel-electric hybrid tugboat power system consists of the following key components:
[0065] Diesel engine: As a traditional power source, it provides basic propulsion and directly drives the propeller when necessary.
[0066] Power battery: stores electrical energy to power the electric motor or provide additional propulsion to the tugboat via the shaft motor when needed.
[0067] Shaft motor: can operate as a generator, using the extra power of the diesel engine to charge the traction battery; or it can operate as a motor, using the electrical energy stored in the battery to assist propulsion or to propel independently in specific modes.
[0068] Rudder and propeller gearbox: coordinates the power output of the diesel engine and electric motor to optimize propulsion efficiency.
[0069] For better understanding of the present invention, the design of the system allows the tugboat to select the most appropriate working mode under different operating conditions, such as using the diesel engine independently, utilizing battery power, or a combination of the two, to achieve optimal performance and efficiency.
[0070] Preferably, the control strategy of the power system is highly flexible and can dynamically adjust the power output of each power source according to the real-time power demand of the tugboat, the SOC state of the battery and other operating parameters. This intelligent energy management method can ensure that the tugboat can operate in the most environmentally friendly and efficient manner when performing its mission, whether it is port towing, offshore operations or long-distance sailing.
[0071] In some embodiments, the power system structure and working mode of the diesel-electric hybrid tugboat are first analyzed. The purpose of this step is to establish the functional characteristics of the system components and their behavior modes under different operating modes, providing a basis for the formulation of subsequent energy management control rules and the design of optimization strategies.
[0072] Specifically, the present invention requires parameter setting and performance evaluation of each component in the parallel hybrid power system, including the diesel engine, power battery, shaft belt motor and propeller gearbox. For example, for the diesel engine, it is necessary to determine its output power and fuel consumption rate under different loads; for the power battery, it is necessary to evaluate its capacity, type and charging and discharging efficiency; and for the shaft belt motor, it is necessary to clarify its maximum output power and operating efficiency. In addition, it is necessary to define multiple working modes of the tugboat, such as the diesel engine independent working mode, PTO mode, PTI mode and PTH mode, and configure corresponding control parameters and power allocation strategies for each mode. Exemplarily, the various working modes are shown in the following embodiments:
[0073] In some embodiments, in the diesel engine independent working mode, the diesel engine directly drives the propeller to provide all the power required by the tugboat. This mode is usually used when the tugboat is sailing at high speed or requires greater thrust. The control parameters may include the operating speed of the diesel engine and the fuel supply to ensure that the required thrust is provided.
[0074] The PTO mode (Power Take Off) allows the tugboat to use the extra power of the diesel engine to charge the power battery, while the motor operates as a generator. This mode is suitable for scenarios where the tugboat needs to propel and charge at the same time during navigation. The control strategy needs to coordinate the power output of the diesel engine and the charging efficiency of the motor.
[0075] In PTI (Power Take In) mode, the motor acts as an electric motor and the diesel engine together to provide power to the tugboat, and the power battery is in a discharged state. This mode is suitable for tugboats that need additional power for high-speed navigation or rapid response operations. Control parameters may include the discharge rate of the motor and the power contribution ratio of the diesel engine.
[0076] PTH (Power Take Home) mode is when the tugboat does not need all the power for navigation, the motor works independently, the diesel engine can stop running or run at a lower power, and the power battery provides power to the motor. This mode is suitable for tugboats sailing at low speed or berthing, which can reduce fuel consumption and emissions.
[0077] Preferably, the control parameters and power allocation strategy of each working mode can be dynamically adjusted according to the specific operating conditions of the tugboat. For example, in PTO mode, if the sailing speed of the tugboat decreases, the control system can automatically reduce the power output of the diesel engine and increase the charging rate of the motor to adapt to the new operating requirements.
[0078] More specifically, the control strategy can integrate a real-time monitoring system to obtain the real-time power demand of the tugboat and the status information of the power battery, so as to achieve more accurate and flexible energy management. In addition, the setting of control parameters can also be optimized according to the historical operation data of the tugboat to improve the operating efficiency and responsiveness of the entire system.
[0079] Preferably, in some embodiments, the performance of the tugboat under different working conditions can be simulated by using simulation software, and the historical operation data and empirical rules in the integrated expert system can be used to assist in determining a more accurate power allocation strategy. For example, the simulation software can simulate the operating efficiency of the diesel engine under different load conditions, and the charge and discharge characteristics of the power battery under different charge states.
[0080] More specifically, when designing an energy management strategy based on fuzzy logic, it is necessary to define in detail the membership functions of input variables such as the real-time power demand of the tugboat and the SOC state of the power battery, as well as output variables such as the optimal output power of the motor. The membership functions can be determined based on historical data and expert knowledge to ensure that the fuzzy logic controller can accurately process the input fuzzy values and generate appropriate control instructions.
[0081] In some alternatives, multiple control strategies and algorithms can be used to adapt to different operating conditions and performance requirements. For example, in addition to fuzzy logic control, optimization techniques such as neural networks or genetic algorithms can be explored to improve the adaptability and efficiency of energy management. In addition, this method can also integrate more sensors and monitoring equipment to obtain more comprehensive power system operation data, thereby further improving the accuracy of the control strategy and the response speed of the system.
[0082] In some embodiments, the method further comprises:
[0083] deploying a plurality of power sources at one or more key locations of the diesel-electric hybrid tugboat according to the frequency of use of the tugboat;
[0084] Presetting the power output threshold of each power source and the power demand threshold of the tugboat;
[0085] When the power output of a monitored power source exceeds its set threshold or the power demand of the tugboat exceeds its set threshold, the power output of the power source is adjusted through the fuzzy logic controller;
[0086] Otherwise, the real-time operation data of the tugboat is transmitted to the fuzzy logic controller and real-time energy management is performed.
[0087] Specifically, when deploying the power source, the power demand of the tugboat under different operating conditions, including different time periods, different operation types or different navigation conditions, is analyzed based on the frequency of use of the diesel-electric hybrid tugboat.
[0088] Deploy multiple power sources at one or more key locations on the tugboat, including the layout of different machinery or systems on the tugboat, such as diesel engines, electric motors, battery packs, etc., to achieve optimal energy utilization and control.
[0089] Preset power output thresholds for each power source, including maximum and / or minimum output power limits, to ensure that the power source operates within safe and efficient parameters. Set power demand thresholds for tugboats, including minimum and / or maximum power required by the tugboat in different operating modes to meet navigation and operational requirements.
[0090] Furthermore, the power output of each power source and the real-time power demand of the tugboat are monitored in real time. If the power output of a power source exceeds a preset threshold, or the power demand of the tugboat exceeds a preset threshold, this may indicate an efficiency problem or a change in demand, and adjustments may be required.
[0091] A fuzzy logic controller is used to process the monitored data and make decisions to adjust the power output of the power source. A fuzzy logic controller is able to handle fuzziness or uncertainty, using a set of fuzzy rules to determine how to adjust the power output in response to changes in power demand and output monitored in real time.
[0092] If the monitored power output and demand are within the preset threshold, it means that the current energy allocation is reasonable. At this time, the real-time operation data of the tugboat is transmitted to the fuzzy logic controller. The fuzzy logic controller performs real-time energy management based on the real-time data and dynamically adjusts the power output of each power source to optimize the energy utilization efficiency and meet the operation requirements of the tugboat.
[0093] In some embodiments, the method further comprises:
[0094] During the operation of the tugboat, the power output history data of each power source and the energy consumption history data of the tugboat are recorded;
[0095] Use the collected historical data to evaluate the effectiveness of the energy management strategy and adjust the energy management strategy based on the evaluation results;
[0096] When the power output data of a monitored power source is missing, it is determined that the energy management strategy adjustment fails, and mapping relationship data of the adjustment failure data is added to the mapping table of the fuzzy logic controller;
[0097] According to the mapping relationship data of the adjustment failure data added in the mapping table, the adjustment failure data is updated to the diesel-electric hybrid tugboat power system.
[0098] It should be noted that during the operation of the tugboat, it is necessary to continuously record the power output history data of each power source, including the power output of the power source at different time points, to provide a basis for subsequent analysis and optimization. At the same time, the energy consumption history data of the tugboat is recorded, including the energy consumption of the tugboat under different operating conditions, which may include fuel, electricity, etc.
[0099] In the process of implementing the energy management method of diesel-electric hybrid tugboat based on fuzzy logic control, it is crucial to systematically collect and monitor data. Specifically, it is necessary to continuously record the power output history data of each power source, which describes the power output of the power source at different time points in detail, and provide a basis for subsequent energy usage analysis and optimization.
[0100] Specifically, historical data may include:
[0101] Power output data of each power source at different time points;
[0102] Energy consumption data of tugboats in different operating modes, including fuel consumption, electricity consumption, etc.;
[0103] Data on environmental conditions, such as sailing speed, sea conditions, load, etc., which may affect energy consumption;
[0104] System status data, such as battery charge status, diesel engine operating status, etc.;
[0105] Maintenance and fault records, including fault type, occurrence time, handling measures, etc.
[0106] By monitoring the real-time power output of the power source, the system can promptly detect missing or abnormal power output data, which may be caused by sensor failure, data transmission problems or abnormalities in the power system itself. Once missing or abnormal data is detected, the system will determine that the current energy management strategy adjustment has failed, indicating that the original energy allocation plan has not been accurately implemented and needs to be corrected accordingly.
[0107] The mapping table in the fuzzy logic controller stores the correspondence between different inputs and outputs. When the energy management strategy fails to adjust, the system will record the failed data and its deviation from the normal working conditions in the mapping table. The detailed record of the mapping relationship data includes the deviation of the power output, the time when the deviation occurred, the duration of the deviation, etc. This information provides strong support for subsequent in-depth analysis.
[0108] In some embodiments, the mapping table stores the mapping relationship between the input (such as power demand, battery status) and the output (such as motor output power) of the fuzzy logic controller. The mapping table also contains a series of fuzzy rules, which can be formulated based on historical data and expert knowledge to handle the uncertainty in fuzzy logic. The mapping table can also contain parameters of the membership function, such as the vertices and baselines of the triangular or trapezoidal membership function, which define the membership of the fuzzy set.
[0109] Preferably, when implemented, the mapping table may also include weights and priorities of different inputs or rules to determine the decision logic in case of conflicts.
[0110] Based on the mapping relationship of the newly added adjustment failure data in the mapping table, the system updates these data to the tugboat's energy management system. This update process may include recalculating power demand, adjusting the working point of the power source, correcting control parameters, or updating the rule base of the fuzzy logic controller. Through this systematic update, the energy management system can be continuously optimized to improve the responsiveness and adaptability of power distribution under different operating conditions, ensuring the efficiency and accuracy of the tugboat's energy management.
[0111] Furthermore, the energy management control rules include:
[0112] Determine the output power of each power source of the diesel-electric hybrid tugboat power system to meet the power requirements of the tugboat in different operating modes;
[0113] Adjust the diesel engine operating point to the best fuel efficiency point to optimize fuel combustion efficiency;
[0114] Control the charging and discharging process of the power battery within a safe operating range to reduce fuel consumption.
[0115] In some embodiments, the energy management control rules of the present invention are designed to ensure that the diesel-electric hybrid tugboat can operate efficiently in various operating modes. The purpose of these rules is to accurately allocate the output power of the power source, optimize the fuel efficiency, and ensure the safe and efficient charging and discharging of the power battery.
[0116] Furthermore, the output power of each power source of the diesel-electric hybrid tugboat power system is determined to include:
[0117] Analyze the power requirements of the tugboat in different operating modes and determine the output power of each power source of the diesel-electric hybrid tugboat power system based on the power requirements;
[0118] The step of adjusting the diesel engine operating point to the optimal fuel efficiency point comprises:
[0119] Determine the optimal operating point of the diesel engine under different operating modes according to the operating characteristics of the diesel engine, and determine the optimal fuel efficiency operating range based on the optimal operating point;
[0120] The process of controlling the power battery to charge and discharge within a safe use range includes:
[0121] Obtain the state of charge of the power battery and determine the safe charge and discharge threshold of the power battery;
[0122] According to the real-time power demand of the tugboat and the optimal operating point of the diesel engine, combined with the safe charging and discharging threshold of the battery, the battery charging and discharging strategy is dynamically adjusted to reduce fuel consumption.
[0123] In some embodiments, determining the output power of each power source of the diesel-electric hybrid tugboat power system is a key step to ensure that the tugboat can achieve optimal energy distribution and efficiency in different operating modes. This process involves in-depth analysis of the tugboat's power requirements and adjusting the output of each power source accordingly to meet the real-time changing power requirements.
[0124] Specifically, the formulation of energy management control rules is based on the following aspects:
[0125] Determination of power source output power: Based on the real-time operating requirements and historical operating data of the tugboat, the output power of the diesel engine, power battery and shaft belt motor is calculated and allocated to meet the power requirements of the tugboat in different working modes.
[0126] Diesel engine operating point adjustment: By analyzing the performance curve of the diesel engine, its optimal fuel efficiency points under different loads are determined, and the working state of the diesel engine is dynamically adjusted to keep it running near these efficiency points, thereby optimizing fuel combustion efficiency.
[0127] Power battery charge and discharge control: Monitor the state of charge (SOC) and health of the power battery, formulate a charge and discharge strategy, and ensure that the battery operates within a safe range of use while supporting the power requirements of the tugboat and the optimal operation of the diesel engine.
[0128] Preferably, the implementation of the energy management control rule may further include the following steps as a further improvement:
[0129] A real-time monitoring system is designed to continuously track the power demand of the tugboat and the working status of each power source.
[0130] By developing control algorithms, the operating parameters of the diesel engine and the charging and discharging strategies of the power battery can be dynamically adjusted according to real-time data.
[0131] Use fuzzy logic or other control theories to handle uncertainty and complexity and optimize the formulation and execution of control rules.
[0132] More specifically, it also includes setting a series of performance indicators and safety thresholds for the diesel engine and power battery, such as the maximum torque of the diesel engine and the maximum charge and discharge rate of the power battery. Through these indicators and thresholds, the control system can automatically adjust the operating parameters to ensure that the entire power system remains efficient and safe while meeting power requirements.
[0133] In some embodiments, a prediction model is integrated to predict future power demand based on the tugboat's operating trend and external conditions (such as weather, sea conditions, etc.), so as to adjust the working state of the power source in advance to achieve smoother energy management. In this way, the energy management method of the diesel-electric hybrid tugboat of the present invention can adapt to the changing marine environment and operating requirements, and improve the overall operating efficiency and combustion efficiency of the tugboat.
[0134] Furthermore, the energy management strategy includes:
[0135] A fuzzy logic controller is used, which takes the real-time power demand of the tugboat and the state of charge of the power battery as input, and determines the optimal output power of the motor as output through fuzzy logic processing;
[0136] Through the fuzzy logic controller, control rules are dynamically generated according to the real-time power demand of the tugboat and the charge state of the power battery, so as to realize the coordinated operation of the diesel engine and the power battery and optimize the power distribution;
[0137] The output of the fuzzy logic controller is used in combination with the actual working characteristics of the diesel engine and the power battery to perform defuzzification processing and calculate the real-time output power of the diesel engine and the power battery to respond to the energy demand of the tugboat.
[0138] The method further comprises:
[0139] The input variable membership function of the fuzzy logic controller is designed to convert the real-time power demand of the tugboat and the state of charge of the power battery into fuzzy values, and fuzzy logic processing is performed based on the fuzzy values.
[0140] Define the output variable membership function of the fuzzy logic controller to determine the optimal output power of the motor and ensure the coordinated operation of the diesel engine and the power battery;
[0141] Establishing a fuzzy rule base, the fuzzy rule base includes fuzzy rules, wherein the fuzzy rules include determining the power output of the diesel engine and the power battery under different operating conditions based on historical operating data of the tugboat;
[0142] Through the defuzzification algorithm, the output of the fuzzy logic controller is converted into the motor output power command to ensure that the actual working characteristics of the diesel engine and the power battery match and realize energy distribution.
[0143] In some embodiments, the energy management strategy of the present invention realizes intelligent and efficient management of the diesel-electric hybrid tugboat power system by using a fuzzy logic controller. The core purpose of this strategy is to dynamically adjust the output of each power source by responding to the power demand of the tugboat and the status of the power battery in real time to optimize the energy distribution and efficiency of the entire system.
[0144] Specifically, the implementation of the energy management strategy includes the following steps:
[0145] Design of Fuzzy Logic Controller: A fuzzy logic controller is developed which accepts the real-time power demand of the tugboat and the state of charge (SOC) of the power battery as input signals.
[0146] Fuzzification of input signals: The real-time power demand and SOC value are converted into fuzzy values. The precise input data are converted into fuzzy sets using predefined membership functions.
[0147] Fuzzy reasoning: Apply the rules in the fuzzy rule base to perform logical reasoning on the fuzzy values. These rules are based on the tugboat's operating experience and historical data to determine the optimal output power of the motor.
[0148] Defuzzification: Defuzzify the output of the fuzzy logic controller and convert it into the actual output power command of the motor. This step ensures the accuracy and executability of the control command.
[0149] Preferably, the design of the fuzzy logic controller can be further refined into the following aspects:
[0150] Membership functions of input variables: Define appropriate membership functions such as triangular, trapezoidal, or bell-shaped functions for real-time power demand and SOC value to achieve accurate fuzzification processing.
[0151] Take the trapezoidal membership function as an example;
[0152] A trapezoidal membership function is defined to represent the power demand state of the tugboat. The function is defined as follows:
[0153]
[0154] μ represents the output of the membership function, which converts the exact input value into a fuzzy value in the interval [0, 1]. demand represents the real-time power demand of the tugboat, and a, b, c, d are the parameters of the membership function, representing different intervals of power demand. Specifically,
[0155] Parameter a represents the minimum threshold of power demand. When the power demand is lower than this value, the membership degree is 0, indicating that there is no power demand.
[0156] Parameter b represents the point at which the power demand begins to become significant. After this point, the membership begins to increase linearly, indicating that the power demand gradually increases.
[0157] Parameter c indicates the beginning of the maximum interval of power demand. Before this point, the membership reaches the maximum value of 1, indicating that the power demand is at the highest state.
[0158] The parameter d represents the maximum threshold of the power demand. When the power demand exceeds this value, the membership degree drops to 0 again, indicating that it exceeds the current demand of the tugboat.
[0159] Construction of fuzzy rule library: Based on expert knowledge and historical operating data, a library of control rules under various working conditions is constructed. These rules guide the controller on how to adjust the output according to the changes in input variables.
[0160] Processing of output variables: Define membership functions for motor output power and convert fuzzy outputs into exact values using defuzzification algorithms such as the centroid method or Gaussian method.
[0161] In some embodiments, a two-dimensional fuzzy logic controller with two inputs and one output is selected, and the input is the required power during the operation of the tugboat. P req and the SOC (State of Charge) value of the power battery. The output of the controller is the motor output power. P motor .
[0162] Obtained P req The SOC value and the SOC value are both precise values, which need to be fuzzified in a specific domain to become fuzzy values. The physical domain of the system input is converted to the fuzzy domain through quantization factors, and then fuzzified, and the fuzzy domain is represented by a fuzzy set. Fuzzy reasoning is performed through the fuzzy rules established in the empirical knowledge base to generate the corresponding fuzzy output. When designing the empirical knowledge base, it is necessary to consider different power requirements and the status of the power battery.
[0163] Through the above fuzzy logic inference, the output power of the motor can be obtained P motor In order to convert it into accurate actual output, the area center method is used for defuzzification. First, the area enclosed by the membership function curve of the fuzzy set and the horizontal coordinate of the center point of the area are calculated, and then the horizontal coordinate value corresponding to the center point is selected as the representative value of the fuzzy set. Finally, the diesel engine output power is obtained by calculation. P d And power battery output power P batt .
[0164] In some embodiments, the specific steps of the defuzzification algorithm are: when receiving a tugboat power demand change signal, collecting complete power demand data for the tugboat's current operating cycle;
[0165] Obtaining power output characteristic data of the power source based on the complete power demand data of the current operation cycle of the tugboat and the historical power demand data;
[0166] The power output characteristic data includes starting power output characteristic data and ending power output characteristic data;
[0167] The optimal power output starting point of the power source is obtained based on the starting power output characteristic data; wherein the optimal power output starting point of the power source is obtained based on the starting power output characteristic data as follows:
[0168] If all data in the current starting power output characteristic data are less than the preset first threshold value, then the corresponding complete power demand data does not have an effective power demand, and the starting power output characteristic data of the complete power demand data of the next operation cycle of the power source is obtained to make a new judgment;
[0169] If the number of data less than the preset second threshold value in the current starting power output characteristic data is less than the preset third threshold value, the corresponding complete power demand data already has an effective power demand at the initial monitoring point, and the initial monitoring point is used as the optimal power output starting point of the power source;
[0170] Otherwise, extracting the starting power output characteristic data according to the preset first threshold value and the second threshold value, performing straight line fitting based on the extracted data to obtain the flat area, and then obtaining the optimal power output starting point of the power source;
[0171] The optimal power output end point of the power source is obtained based on the end power output characteristic data, specifically: if the number of data less than the preset second threshold value in the current end power output characteristic data is less than the preset third threshold value, then there is effective power demand at each monitoring point of the corresponding complete power demand data, and the end power output characteristic data of the complete power demand data of the next operation cycle of the power source is obtained to make a new judgment;
[0172] If all data in the current end power output characteristic data are less than the preset first threshold, then the corresponding complete power demand data does not have an effective power demand, and the initial monitoring point of the complete power demand data is used as the optimal power output end point of the power source; Otherwise, the end power output characteristic data is extracted according to the preset first threshold and second threshold, and a piecewise straight line fitting is performed based on the extracted data to obtain a flat area, and then the optimal power output end point of the power source is obtained; Based on the optimal power output starting point and the optimal power output end point of the power source, the optimal power output range of the power source under different operating modes is obtained, thereby optimizing the energy management strategy of the tugboat.
[0173] Specifically, when the power demand of the tugboat changes, the system will collect the complete power demand data of the current operation cycle. These data reflect the energy demand of the tugboat at a specific moment. Using the complete power demand data of the current operation cycle of the tugboat and the historical power demand data, the system generates the power output characteristic data of the power source. These characteristic data include the starting power output characteristic data and the ending power output characteristic data, which describe the power output changes of the power source in different time periods.
[0174] It should be noted that the first threshold is used to determine whether the value in the power output characteristic data is low enough to be considered as having no effective power demand. Specifically:
[0175] If all values in the starting or ending power output characteristic data are less than the first threshold, the system will consider that no effective power demand is detected in the current monitoring cycle, and therefore needs to obtain data from the next cycle for re-judgment.
[0176] The second threshold is used to determine whether the number of data below the threshold in the power output characteristic data is small enough, so as to judge whether there is an effective power demand at the initial monitoring point. The specific application is as follows:
[0177] If the number of data in the starting or ending power output characteristic data that is less than the second threshold is less than the third threshold, the system will consider that there is effective power demand at the initial monitoring point and use this point as the starting point or ending point of the optimal power output.
[0178] The third threshold is used in conjunction with the second threshold to determine whether the number of data below the second threshold in the power output characteristic data reaches a critical point, thereby making a judgment. Specifically:
[0179] The third threshold is a preset value for comparison with the number of data less than the second threshold. If this number is less than the third threshold, the system will consider that there is an effective power demand at the initial monitoring point.
[0180] In some embodiments, determining the optimal power output starting point of the power source based on the starting power output characteristic data includes:
[0181] If all data in the initial power output characteristic data are less than the preset first threshold, the system will consider that there is no effective power demand at present, and thus will obtain the power demand data of the next cycle for re-judgment.
[0182] If the number of data less than the second threshold is less than the third threshold, the system will consider that there is an effective power demand at the initial monitoring point and use this point as the best starting point.
[0183] If none of the above conditions are met, the system extracts data based on the first and second thresholds, finds the flat area through straight line fitting, and thus determines the best starting point.
[0184] In some embodiments, determining the optimal power output end point of the power source based on the end power output characteristic data includes:
[0185] If the number of data less than the second threshold in the end power output characteristic data is less than the third threshold, the system will re-acquire the power demand data of the next cycle for judgment.
[0186] If all data are smaller than the first threshold, the system will use the initial monitoring point of the current data as the optimal end point.
[0187] If none of the above conditions are met, the system will extract the data and find the flat area through piecewise straight line fitting to determine the best end point.
[0188] Based on the determined optimal power output starting and ending points, the optimal power output range of the power source under different operating modes is obtained. These data will be used to optimize the energy management strategy of the tugboat to ensure efficient use of energy while meeting the tugboat's power requirements.
[0189] In some embodiments, the fuzzy logic controller can work in parallel with other control strategies such as neural networks or traditional PID controllers to provide a more comprehensive control solution. This hybrid control strategy can take advantage of the advantages of various algorithms to improve the robustness and performance of the system under complex or unknown conditions. Through this multi-strategy integration, the diesel-electric hybrid tugboat energy management method of the present invention can achieve higher flexibility and reliability.
[0190] The above-mentioned embodiments of the present invention have the following beneficial effects: The diesel-electric hybrid tugboat energy management method of the present invention can comprehensively analyze and determine the power system structure and working mode of the tugboat, providing an accurate basis for energy management. By formulating energy management control rules based on the power system structure and working mode, the method can ensure that the output power of each power source can meet the power demand of the tugboat under various operating modes, thereby improving the operating efficiency of the tugboat and the adaptability of the power system. Furthermore, the method designs an energy management strategy based on fuzzy logic, which can optimize the power distribution of each power source by intelligently processing the real-time power demand of the tugboat and the charge state of the power battery through the fuzzy logic controller.
[0191] This strategy can not only improve energy efficiency and reduce fuel consumption, but also enhance the system's adaptability and response speed, allowing tugboats to manage energy more flexibly and efficiently when facing complex and changing sea conditions and operational requirements. By dynamically generating control rules and defuzzifying, this method can achieve the coordinated work of diesel engines and power batteries, optimize the performance of the entire power system, and provide an innovative energy management solution for the shipping industry.
[0192] Example 2
[0193] like Figure 2 As shown, in some embodiments, a diesel-electric hybrid tugboat energy management system 200 based on fuzzy logic control includes:
[0194] An analysis module is used to analyze and determine the power system structure and working mode of the diesel-electric hybrid tugboat;
[0195] A control rule module, used to formulate energy management control rules based on the power system structure and working mode to ensure that the output power of each power source meets the power demand of the tugboat in various operating modes;
[0196] The management strategy module is used to design energy management strategies based on fuzzy logic and optimize the power distribution of each power source.
[0197] It can be understood that the modules recorded in the diesel-electric hybrid tugboat energy management system 200 based on fuzzy logic control are similar to those in the reference Figure 1 The various steps in the described method for managing the energy of a diesel-electric hybrid tugboat based on fuzzy logic control correspond to each other. Therefore, the operations, features and beneficial effects described above for the method for managing the energy of a diesel-electric hybrid tugboat based on fuzzy logic control are also applicable to the energy management system 200 for a diesel-electric hybrid tugboat based on fuzzy logic control and the modules contained therein, and will not be described in detail here.
[0198] Example 3
[0199] Exemplarily, further description is given below with reference to the accompanying drawings and specific parameters.
[0200] like Figure 3 As shown. The power system of the diesel-electric hybrid tugboat is a parallel hybrid structure, consisting of a diesel engine, a power battery, a shaft belt motor and a rudder propeller gearbox. The diesel engine and the power battery are the power sources of the diesel-electric hybrid tugboat. The diesel engine can drive the propeller independently, and the power battery needs to drive the propeller through the shaft belt motor. The diesel engine can use the excess output power of the gearbox and the shaft belt motor to charge the power battery. The gearbox can also reduce the fuel consumption of the diesel engine by coupling the output power of the diesel engine and the power battery.
[0201] The system block diagram of the fuzzy logic controller is as follows: Figure 4 A two-dimensional fuzzy logic controller with two inputs and one output is selected, and the input is the required power during the tugboat operation. P req and the SOC (State of Charge) value of the power battery. The output of the controller is the motor output power. P motor .
[0202] Obtained P req The SOC value and the SOC value are both precise values and need to be fuzzified in a specific domain to become fuzzy values. The maximum required power of the tugboat is set to 1800kW and the maximum power of the motor is 450kW. Therefore, the physical domain of the input and output variables of the fuzzy logic controller is shown in the calculation formula (1):
[0203] (1)
[0204] Select the quantization factor as shown in formula (2):
[0205] (2)
[0206] Where k1 is the power required by the tugboat P req k2 is the quantization factor that converts the precise value of the power battery SOC into a fuzzy value; k3 is the motor output power P motor The quantization factor that converts the fuzzy value into an accurate value.
[0207] Specifically, the fuzzy subsets of each variable are shown in Table 1:
[0208] Table 1 Fuzzy subsets of fuzzy logic control
[0209]
[0210] in, P req In the fuzzy subset, ZE means that the power required by the ship is close to zero, that is, the ship requires almost no additional power; SS means that the power required by the ship is very small, which is far below the average level; PS means that the power required by the ship is small, which is below the average level; S means that the power required by the ship is slightly small, which is slightly below the average level; PM means that the power required by the ship is medium, which is close to the average level; B means that the power required by the ship is large, which is above the average level; PB means that the power required by the ship is very large, which is far above the average level.
[0211] In the fuzzy subset of SOC, L indicates that the state of charge of the power battery is low, that is, the remaining battery power is small; M indicates that the state of charge of the power battery is medium, that is, the remaining battery power is at a medium level; H indicates that the state of charge of the power battery is high, that is, the remaining battery power is large.
[0212] P motor In the fuzzy subset, ZE means that the motor output power is close to zero, that is, the motor has almost no output power; SS means that the motor output power is very small, far below the average level; PS means that the motor output power is small, below the average level; S means that the motor output power is slightly small, slightly below the average level; PM means that the motor output power is medium, close to the average level; B means that the motor output power is large, above the average level; PB means that the motor output power is very large, far above the average level.
[0213] The non-uniform membership function of each variable is composed of a combination of triangular functions and trapezoidal functions, such as Figure 5 , Figure 6 , Figure 7 shown.
[0214] Figure 5 The horizontal axis is the power required by the ship. P req The actual value of; the vertical axis is the membership value, indicating P req The membership degree of the corresponding fuzzy subsets (such as ZE, SS, PS, etc.) can range from 0 to 1.
[0215] Figure 6 In the graph, the horizontal axis is the actual value of the battery's state of charge (SOC); the vertical axis is the membership value, which represents the membership of each fuzzy subset (such as L, M, H) corresponding to the SOC, and the range can be between 0 and 1.
[0216] Figure 7 In the figure, the horizontal axis is the motor output power P motor The actual value of; the vertical axis is the membership value, indicating Pmotor The membership degree of the corresponding fuzzy subsets (such as ZE, SS, PS, etc.) can range from 0 to 1.
[0217] Through the established fuzzy rules in the experience knowledge base, fuzzy reasoning is performed to generate corresponding fuzzy outputs. When designing the experience knowledge base, it is necessary to meet the design points of the energy management control rules of the diesel-electric hybrid tugboat according to different power requirements and the status of the power battery. For this purpose, the fuzzy logic control rules shown in Table 2 are designed.
[0218] Table 2 Fuzzy logic control rules
[0219]
[0220] By constructing fuzzy logic control rules, the corresponding relationship between the input and output of the fuzzy controller is as follows: Figure 8 The input is the power P required by the ship. req The fuzzy processing is first performed before the two are input, and then the corresponding fuzzy output is obtained by using the fuzzy logic control rule. Then the fuzzy output is clarified to obtain the output power P of the motor. motor (i.e. output).
[0221] In order to increase the output power of the motor P motor The fuzzy value is converted into the accurate actual output, and the area center method is used for defuzzification. First, the area enclosed by the membership function curve of the fuzzy set and the horizontal coordinate of the center point of the area are calculated, and then the horizontal coordinate value corresponding to the center point is selected as the representative value of the fuzzy set. Finally, the diesel engine output power is calculated by formulas (3) and (4): P d And power battery output power P batt :
[0222] (3)
[0223] (4)
[0224] Among them, η l is the motor efficiency, η j is the gearbox efficiency, P elc The power required for the ship. P batt > 0, the battery is in discharge state, P batt When < 0, the battery is in charging state.
[0225] Simulation experiments show that the diesel consumption of a parallel diesel-electric hybrid tugboat is reduced by about 26% compared with a traditional tugboat when using an energy management strategy based on fuzzy logic control.
[0226] The electronic devices in some embodiments of the present invention may include, but are not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc.
[0227] Furthermore, the storage medium of the embodiment of the present application stores program instructions that can implement all the above methods, wherein the program instructions can be stored in the above storage medium in the form of a software product, including several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) or a processor to execute all or part of the steps of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, or terminal devices such as a computer, a server, a mobile phone, and a tablet.
[0228] The above descriptions are only some preferred embodiments of the present invention and an explanation of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the embodiments of the present invention is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above inventive concept. For example, the above features are replaced with (but not limited to) technical features with similar functions disclosed in the embodiments of the present invention.
Claims
1. A method for energy management of a diesel-electric hybrid tugboat based on fuzzy logic control, applied to a diesel-electric hybrid tugboat power system, including multiple power sources, characterized in that: The method includes: Analyze and determine the power system structure and working mode of the diesel-electric hybrid tugboat; Formulate energy management control rules based on the power system structure and working mode to ensure that the output power of each power source meets the power requirements of the tugboat in various operating modes; Design energy management strategies based on fuzzy logic to optimize power allocation among various power sources; deploying a plurality of power sources at one or more key locations of the diesel-electric hybrid tugboat according to the frequency of use of the tugboat; Presetting the power output threshold of each power source and the power demand threshold of the tugboat; When the power output of a monitored power source exceeds its set threshold or the power demand of the tugboat exceeds its set threshold, the power output of the power source is adjusted through the fuzzy logic controller; Otherwise, the real-time operation data of the tugboat is transmitted to the fuzzy logic controller and real-time energy management is performed; The energy management control rules include: Determine the output power of each power source of the diesel-electric hybrid tugboat power system to meet the power requirements of the tugboat in different operating modes; Adjust the diesel engine operating point to the best fuel efficiency point to optimize fuel combustion efficiency; Control the charging and discharging process of the power battery within the safe use range to reduce fuel consumption; The energy management strategy includes: A fuzzy logic controller is used, which takes the real-time power demand of the tugboat and the state of charge of the power battery as input, and determines the optimal output power of the motor as output through fuzzy logic processing; Dynamically generate control rules to achieve coordinated operation of diesel engine and power battery and optimize power distribution.
2. The method for energy management of a diesel-electric hybrid tugboat based on fuzzy logic control according to claim 1, characterized in that: The method further comprises: During the operation of the tugboat, the power output history data of each power source and the energy consumption history data of the tugboat are recorded; Use the collected historical data to evaluate the effectiveness of the energy management strategy and adjust the energy management strategy based on the evaluation results; When the power output data of a monitored power source is missing, it is determined that the energy management strategy adjustment fails, and mapping relationship data of the adjustment failure data is added to the mapping table of the fuzzy logic controller; According to the mapping relationship data of the adjustment failure data added in the mapping table, the adjustment failure data is updated to the diesel-electric hybrid tugboat power system.
3. The method for energy management of a diesel-electric hybrid tugboat based on fuzzy logic control according to claim 1, characterized in that: The diesel-electric hybrid tugboat power system is a parallel hybrid power system, including a diesel engine, a power battery, a shaft belt motor and a rudder propeller gearbox.
4. The method for energy management of a diesel-electric hybrid tugboat based on fuzzy logic control according to claim 1, characterized in that: The working modes include a diesel engine independent working mode, a PTO mode, a PTI mode and a PTH mode.
5. The method for energy management of a diesel-electric hybrid tugboat based on fuzzy logic control according to claim 1, characterized in that: Determine the output power of each power source of the diesel-electric hybrid tugboat power system including: The power requirements of the tugboat under different operating modes are analyzed, and the output power of each power source of the diesel-electric hybrid tugboat power system is determined based on the power requirements.
6. The method for energy management of a diesel-electric hybrid tugboat based on fuzzy logic control according to claim 1, characterized in that: The method further comprises: Design the membership function of the input variables of the fuzzy logic controller to convert the real-time power demand of the tugboat and the state of charge of the power battery into fuzzy values; Define the output variable membership function of the fuzzy logic controller to determine the optimal output power of the motor; Establish a fuzzy rule base, including fuzzy rules determined based on the historical operating data of the tugboat; The output of the fuzzy logic controller is converted into the motor output power command through the defuzzification algorithm.
7. A diesel-electric hybrid tugboat energy management method based on fuzzy logic control according to claim 6, characterized in that: The defuzzification algorithm includes: When receiving a signal of a change in the tugboat's power demand, collect the complete power demand data of the tugboat's current operation cycle; Based on the complete power demand data of the current operation cycle of the tugboat and the historical power demand data, power output characteristic data of the power source is obtained; the power output characteristic data includes starting power output characteristic data and ending power output characteristic data; The optimal power output starting point of the power source is obtained based on the starting power output characteristic data; wherein the optimal power output starting point of the power source is obtained based on the starting power output characteristic data as follows: If all data in the current starting power output characteristic data are less than the preset first threshold value, then the corresponding complete power demand data does not have an effective power demand, and the starting power output characteristic data of the complete power demand data of the next operation cycle of the power source is obtained to make a new judgment; If the number of data less than the preset second threshold value in the current starting power output characteristic data is less than the preset third threshold value, the corresponding complete power demand data already has an effective power demand at the initial monitoring point, and the initial monitoring point is used as the optimal power output starting point of the power source; Otherwise, extracting the starting power output characteristic data according to the preset first threshold value and the second threshold value, performing straight line fitting based on the extracted data to obtain the flat area, and then obtaining the optimal power output starting point of the power source; The optimal power output end point of the power source is obtained based on the end power output characteristic data, specifically: If the number of data less than the preset second threshold value in the current end power output characteristic data is less than the preset third threshold value, then each monitoring point of the corresponding complete power demand data has an effective power demand, and the end power output characteristic data of the complete power demand data of the next operation cycle of the power source is obtained to re-judge; If all data in the current end power output characteristic data are less than the preset first threshold value, the corresponding complete power demand data does not have an effective power demand, and the initial monitoring point of the complete power demand data is used as the optimal power output end point of the power source; Otherwise, extract the end power output characteristic data according to the preset first threshold value and the second threshold value, perform piecewise straight line fitting based on the extracted data to obtain the flat area, and then obtain the optimal power output end point of the power source; Based on the optimal power output starting point and the optimal power output ending point of the power source, the optimal power output range of the power source under different operating modes is obtained, thereby optimizing the energy management strategy of the tugboat.
