Ship navigational speed control method based on fuzzy PID combined with slope control

By using the speed control method of fuzzy PID controller combined with slope control on medium and large single-machine single-propeller ships, the problem of poor speed control accuracy and stability is solved, higher adaptability and robustness are achieved, and control errors are reduced.

CN118838176APending Publication Date: 2024-10-25TAIHU LAB OF DEEPSEA TECH SCI +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410855752.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-28
Publication Date
2024-10-25

AI Technical Summary

Technical Problem

The poor driving performance of medium and large single-engine single-propeller ships during navigation leads to problems of poor speed control accuracy and poor control stability, especially when the speed control method of small boats is applied.

Method used

The speed control method based on fuzzy PID controller combined with slope control is used to determine the target speed by calculating the speed deviation and deviation change value, and when the speed deviation exceeds a certain step size, the slope control step is used to gradually adjust the speed of the propulsion device to avoid steps. The adverse effects of jump control on propulsion devices.

Benefits of technology

It improves the accuracy and stability of speed control, has strong adaptability and high robustness, is suitable for complex medium and large ship control systems, and reduces the control error of the traditional PID control method.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118838176A_ABST
    Figure CN118838176A_ABST
Patent Text Reader

Abstract

The invention discloses a ship navigational speed control method based on fuzzy PID combined with slope control, and relates to the technical field of ship control, the method adopts a fuzzy PID controller combined with a slope control algorithm to carry out navigational speed control, the fuzzy PID controller is used for obtaining a target rotating speed according to navigational speed deviation and a deviation change value, and the target rotating speed is used for controlling the ship navigational speed. The obtained target rotating speed is not used for directly controlling the ship propulsion device, a slope control mechanism is introduced, the adverse effect of step control on the ship propulsion device is avoided, and the method is designed for the characteristics that a medium-large ship control system is complex, the driving performance is poor and the navigation environment is diversified. The adaptability is high, the robustness is high, and the navigational speed control precision and the control stability are better.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of ship control technology, and in particular to a ship speed control method based on fuzzy PID combined with slope control. Background Art

[0002] With the continuous improvement of the digitalization and intelligence level of ships, it has gradually become possible to realize autonomous navigation of ships. When autonomous ships are sailing in special sea areas or channels or performing specific tasks, they are constrained by hydrological conditions, seabed topography, traffic density, mission objectives, etc., or encounter poor visibility, etc., and the speed of the ship needs to be limited according to relevant requirements. Therefore, automatic speed control technology is a necessary condition for realizing autonomous navigation of ships.

[0003] In the context of the continuous iteration and update of ship autonomous navigation technology, many scholars have studied many speed control methods and strategies based on unmanned boats with dual propulsion devices. Thanks to the advantages of small boats such as small size and strong driving performance, these speed control methods and strategies have a good speed control effect on small boats. However, other types of ships, especially medium and large single-engine single-propeller ships, have poor driving performance, and navigation changes are nonlinear and uncertain. When the same speed control methods and strategies for small boats are directly applied to medium and large single-engine single-propeller ships, there will be certain inadaptability, and there are often problems of poor speed control accuracy and poor control stability. Summary of the invention

[0004] In view of the above problems and technical requirements, this application proposes a ship speed control method based on fuzzy PID combined with ramp control. The technical solution of this application is as follows:

[0005] A ship speed control method based on fuzzy PID combined with ramp control, the ship speed control method comprising:

[0006] Calculate the target speed V of the ship target The speed deviation e(t) from the real-time speed V(t) = V target —V(t), and the deviation change value

[0007] The fuzzy PID controller is used based on the speed deviation e(t) and the deviation change value e c (t) get the target speed u(t);

[0008] When the speed deviation Δn(t) between the target speed u(t) and the real-time speed n(t) of the ship propulsion device exceeds the ramp control step length A, the speed of the ship propulsion device is adjusted in sequence according to the ramp control step length A until the target speed u(t) is reached;

[0009] When the speed deviation Δn(t) between the target speed u(t) and the real-time speed n(t) of the ship propulsion device does not exceed the ramp control step A, the ship propulsion device is directly adjusted to the target speed u(t).

[0010] The beneficial technical effects of this application are:

[0011] The present application discloses a ship speed control method based on fuzzy PID combined with ramp control. In view of the characteristics of complex control systems, poor drivability and diverse navigation environments of medium and large ships, this method adopts a fuzzy PID controller combined with a ramp control algorithm for speed control. The fuzzy PID controller is used to obtain the target speed according to the speed deviation and the deviation change value. Compared with the traditional PID control method, the fuzzy PID controller has strong adaptability, high robustness, high control accuracy and fast response speed. The obtained target speed is not used to directly control the ship propulsion device, but a ramp control mechanism is introduced to avoid the adverse effects of step control on the ship propulsion device, so that the method has better speed control accuracy and control stability.

[0012] The method discloses specific fuzzy rules, and the fuzzy PID controller can ultimately produce a better speed control effect when performing fuzzy control according to the fuzzy rules disclosed in this application. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] Figure 1 It is a method flow chart of a ship speed control method according to an embodiment of the present application.

[0014] Figure 2 It is a control block diagram of a ship speed control method according to an embodiment of the present application.

[0015] Figure 3 The present invention is a simulation example, which shows a comparison curve of the speed simulation test results using the ship speed control method of the present application and the traditional PID control.

[0016] Figure 4 The present invention is a speed change curve of a test ship when the speed of the test ship is controlled by the ship speed control method of the present application in an actual ship navigation test example.

[0017] Figure 5 The present invention is a speed deviation variation curve of a test ship when the speed of the test ship is controlled by the ship speed control method of the present invention in an actual ship navigation test example.

[0018] Figure 6 The present invention is a curve diagram of the rotation speed variation of the propulsion device of the test ship when the speed of the test ship is controlled by the ship speed control method of the present application in an actual ship navigation test example. DETAILED DESCRIPTION

[0019] The specific implementation of the present application is further described below in conjunction with the accompanying drawings.

[0020] This application discloses a ship speed control method based on fuzzy PID combined with ramp control, please refer to Figure 1 The flowchart shown and Figure 2 The ship speed control method includes:

[0021] Step 1: Calculate the target speed V of the ship target The speed deviation e(t) from the real-time speed V(t) = V target -V(t), and deviation change value Among them, the target speed of the ship V target It is set in advance according to needs, and the real-time speed V(t) of the ship at any time t can be directly collected.

[0022] Step 2: Use the fuzzy PID controller based on the speed deviation e(t) and the deviation change value e c (t) to obtain the target speed u(t), comprising the following steps:

[0023] (1) Using the membership function, we can calculate the membership of the speed deviation e(t) f(e(t)) and the deviation change value e c The membership degree f(e) of (t) c (t)).

[0024] In this step, the speed deviation e(t) and the deviation change value e are determined according to the actual ship navigation conditions. c (t), and the fuzzy domain is divided into multiple subdomains, and then the membership function is used to calculate the corresponding membership. In one embodiment, a triangular membership function is selected, and each subdomain sets a subdomain lower limit value, a subdomain upper limit value, and a subdomain median value, and the edge subdomain takes the subdomain median value equal to the subdomain lower limit value or the subdomain upper limit value.

[0025] (2) Determine the membership f(e(t)) and membership f(e c (t)) under fuzzy adjustment quantity combination.

[0026] The determined fuzzy adjustment amount combination includes the proportional fuzzy adjustment amount ΔK p , integral fuzzy adjustment value ΔK i , differential fuzzy adjustment value ΔK d Methods for determination include:

[0027] First, determine the first fuzzy set to which the membership degree f(e(t)) belongs and the membership degree f(e c(t)) belongs to the second fuzzy set. The first fuzzy set is any one of positive large PL, positive medium PM, positive small PS, zero ZO, negative small NS, negative medium NM and negative large NL. Each fuzzy set corresponds to a different value range of the membership f(e(t)), and the value range of the membership f(e(t)) corresponding to each fuzzy set is customized according to actual needs. The second fuzzy set is any one of positive large PL, positive medium PM, positive small PS, zero ZO, negative small NS, negative medium NM and negative large NL. Each fuzzy set corresponds to a different value range of the membership f(e(t)). c (t)) and each fuzzy set corresponds to a membership degree f(e c The value range of (t)) can be customized according to actual needs.

[0028] According to the actual ship speed control requirements and characteristics, the first fuzzy rule, the second fuzzy rule and the third fuzzy rule are preset, and then the proportional fuzzy set corresponding to the first fuzzy set and the second fuzzy set is determined according to the first fuzzy rule, and the adjustment amount corresponding to the proportional fuzzy set is determined to obtain the proportional fuzzy adjustment amount ΔK p According to the second fuzzy rule, the integral fuzzy set corresponding to the first fuzzy set and the second fuzzy set is determined, and the adjustment amount corresponding to the integral fuzzy set is determined to obtain the integral fuzzy adjustment amount ΔK i According to the third fuzzy rule, the differential fuzzy sets corresponding to the first fuzzy set and the second fuzzy set are determined, and the adjustment amount corresponding to the differential fuzzy set is determined to obtain the differential fuzzy adjustment amount ΔK d Each fuzzy set in the proportional fuzzy set, integral fuzzy set and differential fuzzy set is any one of positive large PL, positive medium PM, positive small PS, zero ZO, negative small NS, negative medium NM and negative large NL. The specific value of the adjustment amount corresponding to each fuzzy set is customized according to actual needs.

[0029] Under the premise that the first fuzzy set is positive and large, when the second fuzzy set is negative, it indicates that the speed control error is gradually decreasing, and the error should be eliminated as soon as possible without overshooting. When the second fuzzy set is positive, it indicates that the speed control error is gradually increasing, and the error change trend should be reversed as soon as possible. When the second fuzzy set is negative or positive, a smaller ΔK is selected. p and ΔK d value and choose a larger ΔK i When the second fuzzy set is negative, medium, positive, or large, medium, try to keep the current ΔK p and ΔK i value, select a smaller ΔK d value.

[0030] Under the premise that the first fuzzy set is in the middle, based on the principle of eliminating errors as quickly as possible, ΔK p , ΔK i and ΔK dThe value of is the same as when the error is positive and large. Under the premise that the first fuzzy set is positive and small, it indicates that the speed control system is close to a stable state. When the second fuzzy set is positive, in order to suppress the gradual increase of speed deviation, a moderate ΔK is selected. p and ΔK i value and select a smaller ΔK d When the first fuzzy set is negative, the system itself has a tendency to eliminate small positive errors, so a smaller ΔK is selected. p , ΔK i and ΔK d value.

[0031] Based on the adjustment requirements of the above fuzzy adjustment, the optimization is adjusted according to the actual control effect, and the three fuzzy rules are finally determined as follows:

[0032] (a) The first fuzzy rule of proportional fuzzy sets

[0033] When the first fuzzy set is NL: when the second fuzzy set is PL, the proportional fuzzy set is determined to be ZO; when the second fuzzy set is PM, the proportional fuzzy set is determined to be NS; when the second fuzzy set is PS, the proportional fuzzy set is determined to be NM; when the second fuzzy set is ZO, the proportional fuzzy set is determined to be ZL; when the second fuzzy set is NS, the proportional fuzzy set is determined to be NM; when the second fuzzy set is NM, the proportional fuzzy set is determined to be NS; when the second fuzzy set is NL, the proportional fuzzy set is determined to be ZO.

[0034] When the first fuzzy set is NM: when the second fuzzy set is PL, the proportional fuzzy set is determined to be PS; when the second fuzzy set is PM, the proportional fuzzy set is determined to be ZO; when the second fuzzy set is PS, the proportional fuzzy set is determined to be NS; when the second fuzzy set is ZO, the proportional fuzzy set is determined to be NM; when the second fuzzy set is NS, the proportional fuzzy set is determined to be NS; when the second fuzzy set is NM, the proportional fuzzy set is determined to be ZO; when the second fuzzy set is NL, the proportional fuzzy set is determined to be PS.

[0035] When the first fuzzy set is NS: when the second fuzzy set is PL, the proportional fuzzy set is determined to be PM; when the second fuzzy set is PM, the proportional fuzzy set is determined to be PS; when the second fuzzy set is PS, the proportional fuzzy set is determined to be ZO; when the second fuzzy set is ZO, the proportional fuzzy set is determined to be NS; when the second fuzzy set is NS, the proportional fuzzy set is determined to be ZO; when the second fuzzy set is NM, the proportional fuzzy set is determined to be PS; when the second fuzzy set is NL, the proportional fuzzy set is determined to be PM.

[0036] When the first fuzzy set is ZO: when the second fuzzy set is PL, the proportional fuzzy set is determined to be PL; when the second fuzzy set is PM, the proportional fuzzy set is determined to be PM; when the second fuzzy set is PS, the proportional fuzzy set is determined to be PS; when the second fuzzy set is ZO, the proportional fuzzy set is determined to be ZO; when the second fuzzy set is NS, the proportional fuzzy set is determined to be PS; when the second fuzzy set is NM, the proportional fuzzy set is determined to be PM; when the second fuzzy set is NL, the proportional fuzzy set is determined to be PL.

[0037] When the first fuzzy set is PS: when the second fuzzy set is PL, the proportional fuzzy set is determined to be PM; when the second fuzzy set is PM, the proportional fuzzy set is determined to be PS; when the second fuzzy set is PS, the proportional fuzzy set is determined to be ZO; when the second fuzzy set is ZO, the proportional fuzzy set is determined to be NS; when the second fuzzy set is NS, the proportional fuzzy set is determined to be ZO; when the second fuzzy set is NM, the proportional fuzzy set is determined to be PS; when the second fuzzy set is NL, the proportional fuzzy set is determined to be PM.

[0038] When the first fuzzy set is PM: when the second fuzzy set is PL, the proportional fuzzy set is determined to be PS; when the second fuzzy set is PM, the proportional fuzzy set is determined to be ZO; when the second fuzzy set is PS, the proportional fuzzy set is determined to be NS; when the second fuzzy set is ZO, the proportional fuzzy set is determined to be NM; when the second fuzzy set is NS, the proportional fuzzy set is determined to be NS; when the second fuzzy set is NM, the proportional fuzzy set is determined to be ZO; when the second fuzzy set is NL, the proportional fuzzy set is determined to be PS.

[0039] When the first fuzzy set is PL: when the second fuzzy set is PL, the proportional fuzzy set is determined to be ZO; when the second fuzzy set is PM, the proportional fuzzy set is determined to be NS; when the second fuzzy set is PS, the proportional fuzzy set is determined to be NM; when the second fuzzy set is ZO, the proportional fuzzy set is determined to be NL; when the second fuzzy set is NS, the proportional fuzzy set is determined to be NM; when the second fuzzy set is NM, the proportional fuzzy set is determined to be NS; when the second fuzzy set is NL, the proportional fuzzy set is determined to be ZO.

[0040] The first fuzzy rule design is shown in Table 1 below:

[0041] Table 1 The first fuzzy rule

[0042]

[0043] (b) The second fuzzy rule of integral fuzzy set

[0044] When the first fuzzy set is NL: when the second fuzzy set is PL, the integral fuzzy set is determined to be ZO; when the second fuzzy set is PM, the integral fuzzy set is determined to be PS; when the second fuzzy set is PS, the integral fuzzy set is determined to be PM; when the second fuzzy set is ZO, the integral fuzzy set is determined to be PL; when the second fuzzy set is NS, the integral fuzzy set is determined to be PM; when the second fuzzy set is NM, the integral fuzzy set is determined to be PS; when the second fuzzy set is NL, the integral fuzzy set is determined to be ZO.

[0045] When the first fuzzy set is NM: when the second fuzzy set is PL, the integral fuzzy set is determined to be NS; when the second fuzzy set is PM, the integral fuzzy set is determined to be ZO; when the second fuzzy set is PS, the integral fuzzy set is determined to be PS; when the second fuzzy set is ZO, the integral fuzzy set is determined to be PM; when the second fuzzy set is NS, the integral fuzzy set is determined to be PS; when the second fuzzy set is NM, the integral fuzzy set is determined to be ZO; when the second fuzzy set is NL, the integral fuzzy set is determined to be NS.

[0046] When the first fuzzy set is NS: when the second fuzzy set is PL, the integral fuzzy set is determined to be NM; when the second fuzzy set is PM, the integral fuzzy set is determined to be NS; when the second fuzzy set is PS, the integral fuzzy set is determined to be ZO; when the second fuzzy set is ZO, the integral fuzzy set is determined to be PS; when the second fuzzy set is NS, the integral fuzzy set is determined to be ZO; when the second fuzzy set is NM, the integral fuzzy set is determined to be NS; when the second fuzzy set is NL, the integral fuzzy set is determined to be NM.

[0047] When the first fuzzy set is ZO: when the second fuzzy set is PL, the integral fuzzy set is determined to be NL; when the second fuzzy set is PM, the integral fuzzy set is determined to be NM; when the second fuzzy set is PS, the integral fuzzy set is determined to be NS; when the second fuzzy set is ZO, the integral fuzzy set is determined to be ZO; when the second fuzzy set is NS, the integral fuzzy set is determined to be NS; when the second fuzzy set is NM, the integral fuzzy set is determined to be NM; when the second fuzzy set is NL, the integral fuzzy set is determined to be NL.

[0048] When the first fuzzy set is PS: when the second fuzzy set is PL, the integral fuzzy set is determined to be NM; when the second fuzzy set is PM, the integral fuzzy set is determined to be NS; when the second fuzzy set is PS, the integral fuzzy set is determined to be ZO; when the second fuzzy set is ZO, the integral fuzzy set is determined to be PS; when the second fuzzy set is NS, the integral fuzzy set is determined to be ZO; when the second fuzzy set is NM, the integral fuzzy set is determined to be NS; when the second fuzzy set is NL, the integral fuzzy set is determined to be NM.

[0049] When the first fuzzy set is PM: when the second fuzzy set is PL, the integral fuzzy set is determined to be NS; when the second fuzzy set is PM, the integral fuzzy set is determined to be ZO; when the second fuzzy set is PS, the integral fuzzy set is determined to be PS; when the second fuzzy set is ZO, the integral fuzzy set is determined to be PM; when the second fuzzy set is NS, the integral fuzzy set is determined to be PS; when the second fuzzy set is NM, the integral fuzzy set is determined to be ZO; when the second fuzzy set is NL, the integral fuzzy set is determined to be NS.

[0050] When the first fuzzy set is PL: when the second fuzzy set is PL, the integral fuzzy set is determined to be ZO; when the second fuzzy set is PM, the integral fuzzy set is determined to be PS; when the second fuzzy set is PS, the integral fuzzy set is determined to be PM; when the second fuzzy set is ZO, the integral fuzzy set is determined to be PL; when the second fuzzy set is NS, the integral fuzzy set is determined to be PM; when the second fuzzy set is NM, the integral fuzzy set is determined to be PS; when the second fuzzy set is NL, the integral fuzzy set is determined to be ZO.

[0051] The second fuzzy rule design is shown in Table 2 below:

[0052] Table 2 The second fuzzy rules

[0053]

[0054] (c) The third fuzzy rule of differential fuzzy sets

[0055] When the first fuzzy set is NL, the differential fuzzy set is directly determined to be NM.

[0056] When the first fuzzy set is NM, when the second fuzzy set is ZO, the differential fuzzy set is determined to be ZO; when the second fuzzy set is other cases, the differential fuzzy set is determined to be NS.

[0057] When the first fuzzy set is NS: when the second fuzzy set is PL, PM, NM or NL, the differential fuzzy set is determined to be NM; when the second fuzzy set is PS or NS, the differential fuzzy set is determined to be ZO; when the second fuzzy set is ZO, the differential fuzzy set is determined to be PM.

[0058] When the first fuzzy set is ZO: when the second fuzzy set is PL or NL, the differential fuzzy set is determined to be NM; when the second fuzzy set is PM or NM, the differential fuzzy set is determined to be NS; when the second fuzzy set is PS, ZO or NS, the differential fuzzy set is determined to be ZO.

[0059] When the first fuzzy set is PS: when the second fuzzy set is PL, PM, NM or NL, the differential fuzzy set is determined to be NM; when the second fuzzy set is PS or NS, the differential fuzzy set is determined to be ZO; when the second fuzzy set is ZO, the differential fuzzy set is determined to be PM.

[0060] In the case where the first fuzzy set is PM: when the second fuzzy set is ZO, the differential fuzzy set is determined to be ZO; when the second fuzzy set is other cases, the differential fuzzy set is determined to be NM;

[0061] When the first fuzzy set is PL, the differential fuzzy set is directly determined to be NM.

[0062] The third fuzzy rule design is shown in Table 3 below:

[0063] Table 3 The third fuzzy rule

[0064]

[0065]

[0066] (3) According to the proportional fuzzy adjustment amount ΔK p For the current ratio value K p_init Adjust to get the adjusted ratio value K p , according to the integral fuzzy adjustment value ΔK i For the current integral value K i_init Adjust the integral value K i , according to the differential fuzzy adjustment value ΔK d For the current differential value K d_ini Adjust the differential value K d .

[0067] In one embodiment, in order to achieve a better control effect, proportional factors η1, η2, and η3 are also introduced. In one embodiment, the proportional factor η1 is taken as the reciprocal of the maximum parameter value in the first fuzzy rule, the proportional factor η2 is taken as the reciprocal of the maximum parameter value in the second fuzzy rule, and the proportional factor η3 is taken as the reciprocal of the maximum parameter value in the third fuzzy rule. Then the adjusted proportional value K is obtained according to the following formula: p , integral value K i and the differential value K d :

[0068]

[0069] Among them, K p_max is the maximum proportional value of the PID controller, K p_min is the minimum proportional value of the PID controller; K i_max is the maximum integral value of the PID controller, Ki_min is the minimum integral value of the PID controller; K d_max is the maximum differential value of the PID controller, K d_min is the minimum integral value of the PID controller.

[0070] (4) Use the PID controller to adjust the proportional value K p , integral value K i and the differential value K d PID control is performed based on the speed deviation e(t) and the deviation change value e c (t) to obtain the target speed u(t). Including obtaining the target speed u(t) according to the following formula:

[0071]

[0072] Among them, T0 is the time required to reach the target speed.

[0073] Step 3: When the speed deviation Δn(t) between the target speed u(t) and the real-time speed n(t) of the ship propulsion device exceeds the ramp control step A, the speed of the ship propulsion device is adjusted in sequence according to the ramp control step A until the target speed u(t) is reached.

[0074] When the deviation between the target speed u(t) and the real-time speed n(t) is large, directly controlling the speed of the ship propulsion device to the target speed u(t) will cause the speed of the ship propulsion device to increase or decrease instantly, forming a step control effect. Due to the poor driving performance of medium and large single-engine single-propeller ships, the ship propulsion device will have a series of problems such as overload shutdown under this speed step control, affecting the service life of the ship propulsion equipment. In severe cases, it will cause the equipment to shut down during navigation, the speed will be out of control, and the stability and safety of the ship's navigation will be affected. In order to avoid this problem, the present application introduces a ramp control mechanism, including: outputting multiple speed control signals to the ship propulsion device in sequence until the target speed u(t) is reached, the ship propulsion device is adjusted to each speed step value under each speed control signal, the last speed step value is the target speed u(t), the speed deviation between the two adjacent speed step values ​​is equal and does not exceed the ramp control step A, the ship propulsion device is uniformly accelerated or uniformly decelerated to the target speed u(t), and stable control is achieved.

[0075] The ramp control step length A in this step can be set empirically, or in another embodiment, the ramp control step length A is determined according to the following formula:

[0076]

[0077] Where r(t) is the maximum speed difference of the ship propulsion device, and T is the time required to reach the maximum speed difference r(t).

[0078] Step 4: When the speed deviation Δn(t) between the target speed u(t) and the real-time speed n(t) of the ship propulsion device does not exceed the ramp control step A, the ship propulsion device is directly adjusted to the target speed u(t).

[0079] The ship speed control method of the present application has good control accuracy and control stability even for medium-sized and large single-engine single-propeller ships with poor driving performance. In a simulation test example, based on a 55-meter scaled VLCC simulation model, the ship speed control method of the present application and the traditional PID control method are used for speed control. The comparison of the simulation test curves of the ship speed is shown in the figure below. Figure 3 As shown, the cumulative speed deviation when the traditional PID control method is used for speed control is 284, while the cumulative speed deviation when the speed control method of the ship speed control method of the present application is used for speed control is 252. The control error of the ship speed control method of the present application is relatively reduced by 11% compared with the traditional PID control method, indicating that the ship speed control method of the present application has better control accuracy.

[0080] During the actual ship navigation test of the 1,000-ton test ship, the ship speed control method of the present application is used to control the speed of the 1,000-ton test ship. The speed change curve of the 1,000-ton test ship is as follows: Figure 4 As shown in the figure, the speed deviation curve of the thousand-ton test ship is as follows Figure 5 As shown in the figure, the speed change curve of the propulsion device of the thousand-ton test ship is as follows Figure 6 In the actual ship navigation test, the average speed control error of the 1,000-ton test ship was 0.5 knots in level 3 sea conditions, and the maximum step length of the speed control command signal was 5 revolutions, which achieved precise speed control and ensured the safe and stable operation of the propulsion motor.

[0081] The above is only a preferred embodiment of the present application, and the present application is not limited to the above embodiments. It is understood that other improvements and changes directly derived or associated by those skilled in the art without departing from the spirit and concept of the present application should be considered to be included in the protection scope of the present application.

Claims

1. A ship speed control method based on fuzzy PID combined with slope control, characterized in that: The ship speed control method comprises: Calculate the target speed V of the ship target The speed deviation e(t) from the real-time speed V(t) = V target —V(t), and the deviation change value The fuzzy PID controller is used based on the speed deviation e(t) and the deviation change value e c (t) get the target speed u(t); When the speed deviation Δn(t) between the target speed u(t) and the real-time speed n(t) of the ship propulsion device exceeds the ramp control step length A, the speed of the ship propulsion device is adjusted in sequence according to the ramp control step length A until the target speed u(t) is reached; When the speed deviation Δn(t) between the target speed u(t) and the real-time speed n(t) of the ship propulsion device does not exceed the ramp control step A, the ship propulsion device is directly adjusted to the target speed u(t).

2. The ship speed control method according to claim 1, characterized in that: The fuzzy PID controller is used based on the speed deviation e(t) and the deviation change value e c (t) to obtain the target speed u(t), including: The membership function is used to calculate the membership f(e(t)) of the speed deviation e(t) and the deviation change value e c The membership degree f(e) of (t) c (t)); Determine the membership f(e(t)) and membership f(e c (t)) under the fuzzy adjustment amount combination, the fuzzy adjustment amount combination includes the proportional fuzzy adjustment amount ΔK p , integral fuzzy adjustment value ΔK i , differential fuzzy adjustment value ΔK d ; According to the proportional fuzzy adjustment amount ΔK p For the current ratio value K p_init Adjust to get the adjusted ratio value K p , according to the integral fuzzy adjustment value ΔK i For the current integral value K i_init Adjust to get the adjusted integral value K i , according to the differential fuzzy adjustment value ΔK d For the current differential value K d_init Adjust the differential value K d ; Use PID controller according to the adjusted proportional value K p , integral value K i and the differential value K d PID control is performed based on the speed deviation e(t) and the deviation change value e c (t) to obtain the target speed u(t).

3. The ship speed control method according to claim 2, characterized in that: Based on the speed deviation e(t) and the deviation change value e c (t) The target speed u(t) is: Wherein, T0 is the time required to reach the target speed.

4. The ship speed control method according to claim 2, characterized in that: Determine the adjusted scale value K after adjustment p , integral value K i and the differential value K d Including adjustment according to the following formula: Among them, K p_max is the maximum proportional value of the PID controller, K p_min is the minimum proportional value of the PID controller; K i_max is the maximum integral value of the PID controller, K i_min is the minimum integral value of the PID controller; K d_max is the maximum differential value of the PID controller, K d_min is the minimum integral value of the PID controller; η1, η2, and η3 are all proportional factors.

5. The ship speed control method according to claim 1, characterized in that: The rotation speed of the ship propulsion device is sequentially adjusted according to the ramp control step length A until the target rotation speed u(t) is reached, including: A plurality of speed control signals are output to the ship propulsion device in sequence until the target speed u(t) is reached. The ship propulsion device is adjusted to various speed step values ​​under each speed control signal, and the last speed step value is the target speed u(t). The speed deviations between two adjacent speed step values ​​are equal and do not exceed the ramp control step length A. The ship propulsion device changes to the target speed u(t) with uniform acceleration or uniform deceleration.

6. The ship speed control method according to claim 1, characterized in that: The ship speed control method further comprises: Determine the ramp control step length A according to the following formula: Wherein, r(t) is the maximum rotational speed difference of the ship propulsion device, and T is the time required to reach the maximum rotational speed difference r(t).

7. The ship speed control method according to claim 2, characterized in that: Determine the membership f(e(t)) and membership f(e c The fuzzy adjustment quantity combination under (t)) includes: Determine the first fuzzy set to which the membership degree f(e(t)) belongs and the membership degree f(e c (t)) belongs to the second fuzzy set; the fuzzy set of each parameter includes positive large PL, positive medium PM, positive small PS, zero ZO, negative small NS, negative medium NM and negative large NL; Determine the proportional fuzzy set corresponding to the first fuzzy set and the second fuzzy set according to the first fuzzy rule, determine the adjustment amount corresponding to the proportional fuzzy set to obtain the proportional fuzzy adjustment amount ΔK p ; Determine the integral fuzzy set corresponding to the first fuzzy set and the second fuzzy set according to the second fuzzy rule, determine the adjustment amount corresponding to the integral fuzzy set to obtain the integral fuzzy adjustment amount ΔK i ; Determine the differential fuzzy sets corresponding to the first fuzzy set and the second fuzzy set according to the third fuzzy rule, determine the adjustment amount corresponding to the differential fuzzy set to obtain the differential fuzzy adjustment amount ΔK d .

8. The ship speed control method according to claim 7, characterized in that: The first fuzzy rule includes: In the case where the first fuzzy set is NL: when the second fuzzy set is PL, the proportional fuzzy set is determined to be ZO; when the second fuzzy set is PM, the proportional fuzzy set is determined to be NS; when the second fuzzy set is PS, the proportional fuzzy set is determined to be NM; when the second fuzzy set is ZO, the proportional fuzzy set is determined to be ZL; when the second fuzzy set is NS, the proportional fuzzy set is determined to be NM; when the second fuzzy set is NM, the proportional fuzzy set is determined to be NS; when the second fuzzy set is NL, the proportional fuzzy set is determined to be ZO; In the case where the first fuzzy set is NM: when the second fuzzy set is PL, the proportional fuzzy set is determined to be PS; when the second fuzzy set is PM, the proportional fuzzy set is determined to be ZO; when the second fuzzy set is PS, the proportional fuzzy set is determined to be NS; when the second fuzzy set is ZO, the proportional fuzzy set is determined to be NM; when the second fuzzy set is NS, the proportional fuzzy set is determined to be NS; when the second fuzzy set is NM, the proportional fuzzy set is determined to be ZO; when the second fuzzy set is NL, the proportional fuzzy set is determined to be PS; In the case where the first fuzzy set is NS: when the second fuzzy set is PL, the proportional fuzzy set is determined to be PM; when the second fuzzy set is PM, the proportional fuzzy set is determined to be PS; when the second fuzzy set is PS, the proportional fuzzy set is determined to be ZO; when the second fuzzy set is ZO, the proportional fuzzy set is determined to be NS; when the second fuzzy set is NS, the proportional fuzzy set is determined to be ZO; when the second fuzzy set is NM, the proportional fuzzy set is determined to be PS; when the second fuzzy set is NL, the proportional fuzzy set is determined to be PM; In the case where the first fuzzy set is ZO: when the second fuzzy set is PL, the proportional fuzzy set is determined to be PL; when the second fuzzy set is PM, the proportional fuzzy set is determined to be PM; when the second fuzzy set is PS, the proportional fuzzy set is determined to be PS; when the second fuzzy set is ZO, the proportional fuzzy set is determined to be ZO; when the second fuzzy set is NS, the proportional fuzzy set is determined to be PS; when the second fuzzy set is NM, the proportional fuzzy set is determined to be PM; when the second fuzzy set is NL, the proportional fuzzy set is determined to be PL; In the case where the first fuzzy set is PS: when the second fuzzy set is PL, the proportional fuzzy set is determined to be PM; when the second fuzzy set is PM, the proportional fuzzy set is determined to be PS; when the second fuzzy set is PS, the proportional fuzzy set is determined to be ZO; when the second fuzzy set is ZO, the proportional fuzzy set is determined to be NS; when the second fuzzy set is NS, the proportional fuzzy set is determined to be ZO; when the second fuzzy set is NM, the proportional fuzzy set is determined to be PS; when the second fuzzy set is NL, the proportional fuzzy set is determined to be PM; In the case where the first fuzzy set is PM: when the second fuzzy set is PL, the proportional fuzzy set is determined to be PS; when the second fuzzy set is PM, the proportional fuzzy set is determined to be ZO; when the second fuzzy set is PS, the proportional fuzzy set is determined to be NS; when the second fuzzy set is ZO, the proportional fuzzy set is determined to be NM; when the second fuzzy set is NS, the proportional fuzzy set is determined to be NS; when the second fuzzy set is NM, the proportional fuzzy set is determined to be ZO; when the second fuzzy set is NL, the proportional fuzzy set is determined to be PS; In the case that the first fuzzy set is PL: when the second fuzzy set is PL, the proportional fuzzy set is determined to be ZO; when the second fuzzy set is PM, the proportional fuzzy set is determined to be NS; when the second fuzzy set is PS, the proportional fuzzy set is determined to be NM; when the second fuzzy set is ZO, the proportional fuzzy set is determined to be NL; when the second fuzzy set is NS, the proportional fuzzy set is determined to be NM; when the second fuzzy set is NM, the proportional fuzzy set is determined to be NS; when the second fuzzy set is NL, the proportional fuzzy set is determined to be ZO.

9. The ship speed control method according to claim 7, characterized in that: The second fuzzy rule includes: In the case where the first fuzzy set is NL: when the second fuzzy set is PL, the integral fuzzy set is determined to be ZO; when the second fuzzy set is PM, the integral fuzzy set is determined to be PS; when the second fuzzy set is PS, the integral fuzzy set is determined to be PM; when the second fuzzy set is ZO, the integral fuzzy set is determined to be PL; when the second fuzzy set is NS, the integral fuzzy set is determined to be PM; when the second fuzzy set is NM, the integral fuzzy set is determined to be PS; when the second fuzzy set is NL, the integral fuzzy set is determined to be ZO; In the case where the first fuzzy set is NM: when the second fuzzy set is PL, the integral fuzzy set is determined to be NS; when the second fuzzy set is PM, the integral fuzzy set is determined to be ZO; when the second fuzzy set is PS, the integral fuzzy set is determined to be PS; when the second fuzzy set is ZO, the integral fuzzy set is determined to be PM; when the second fuzzy set is NS, the integral fuzzy set is determined to be PS; when the second fuzzy set is NM, the integral fuzzy set is determined to be ZO; when the second fuzzy set is NL, the integral fuzzy set is determined to be NS; In the case where the first fuzzy set is NS: when the second fuzzy set is PL, the integral fuzzy set is determined to be NM; when the second fuzzy set is PM, the integral fuzzy set is determined to be NS; when the second fuzzy set is PS, the integral fuzzy set is determined to be ZO; when the second fuzzy set is ZO, the integral fuzzy set is determined to be PS; when the second fuzzy set is NS, the integral fuzzy set is determined to be ZO; when the second fuzzy set is NM, the integral fuzzy set is determined to be NS; when the second fuzzy set is NL, the integral fuzzy set is determined to be NM; In the case where the first fuzzy set is ZO: when the second fuzzy set is PL, the integral fuzzy set is determined to be NL; when the second fuzzy set is PM, the integral fuzzy set is determined to be NM; when the second fuzzy set is PS, the integral fuzzy set is determined to be NS; when the second fuzzy set is ZO, the integral fuzzy set is determined to be ZO; when the second fuzzy set is NS, the integral fuzzy set is determined to be NS; when the second fuzzy set is NM, the integral fuzzy set is determined to be NM; when the second fuzzy set is NL, the integral fuzzy set is determined to be NL; In the case where the first fuzzy set is PS: when the second fuzzy set is PL, the integral fuzzy set is determined to be NM; when the second fuzzy set is PM, the integral fuzzy set is determined to be NS; when the second fuzzy set is PS, the integral fuzzy set is determined to be ZO; when the second fuzzy set is ZO, the integral fuzzy set is determined to be PS; when the second fuzzy set is NS, the integral fuzzy set is determined to be ZO; when the second fuzzy set is NM, the integral fuzzy set is determined to be NS; when the second fuzzy set is NL, the integral fuzzy set is determined to be NM; In the case where the first fuzzy set is PM: when the second fuzzy set is PL, the integral fuzzy set is determined to be NS; when the second fuzzy set is PM, the integral fuzzy set is determined to be ZO; when the second fuzzy set is PS, the integral fuzzy set is determined to be PS; when the second fuzzy set is ZO, the integral fuzzy set is determined to be PM; when the second fuzzy set is NS, the integral fuzzy set is determined to be PS; when the second fuzzy set is NM, the integral fuzzy set is determined to be ZO; when the second fuzzy set is NL, the integral fuzzy set is determined to be NS; In the case that the first fuzzy set is PL: when the second fuzzy set is PL, the integral fuzzy set is determined to be ZO; when the second fuzzy set is PM, the integral fuzzy set is determined to be PS; when the second fuzzy set is PS, the integral fuzzy set is determined to be PM; when the second fuzzy set is ZO, the integral fuzzy set is determined to be PL; when the second fuzzy set is NS, the integral fuzzy set is determined to be PM; when the second fuzzy set is NM, the integral fuzzy set is determined to be PS; when the second fuzzy set is NL, the integral fuzzy set is determined to be ZO.

10. The ship speed control method according to claim 2, characterized in that: The third fuzzy rule includes: When the first fuzzy set is NL, the differential fuzzy set is directly determined to be NM; In the case where the first fuzzy set is NM: when the second fuzzy set is ZO, the differential fuzzy set is determined to be ZO; when the second fuzzy set is other cases, the differential fuzzy set is determined to be NS; In the case where the first fuzzy set is NS: when the second fuzzy set is PL, PM, NM or NL, the differential fuzzy set is determined to be NM; when the second fuzzy set is PS or NS, the differential fuzzy set is determined to be ZO; when the second fuzzy set is ZO, the differential fuzzy set is determined to be PM; In the case where the first fuzzy set is ZO: when the second fuzzy set is PL or NL, the differential fuzzy set is determined to be NM; when the second fuzzy set is PM or NM, the differential fuzzy set is determined to be NS; when the second fuzzy set is PS, ZO or NS, the differential fuzzy set is determined to be ZO; In the case where the first fuzzy set is PS: when the second fuzzy set is PL, PM, NM or NL, the differential fuzzy set is determined to be NM; when the second fuzzy set is PS or NS, the differential fuzzy set is determined to be ZO; when the second fuzzy set is ZO, the differential fuzzy set is determined to be PM; In the case where the first fuzzy set is PM: when the second fuzzy set is ZO, the differential fuzzy set is determined to be ZO; when the second fuzzy set is other cases, the differential fuzzy set is determined to be NM; When the first fuzzy set is PL, the differential fuzzy set is directly determined to be NM.