An adaptive active vibration control method for marine diesel engines based on differential evolution algorithm
The control parameters are optimized through the differential evolution algorithm, and the double eccentric mass actuator is used to adjust the diesel engine vibration, which solves the impact of diesel engine vibration on the ship, improves the position tracking accuracy and stabilization time, reduces maintenance costs, and improves the safety and safety of the ship. Comfort.
Patent Information
- Application Number
- CN202210397299.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-15
- Publication Date
- 2024-08-27
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Diesel engine vibration affects ship structures and equipment, affects safety and comfort, and increases maintenance costs. It is difficult to effectively control diesel engine vibration with existing technology.
An adaptive marine diesel engine vibration active control method based on differential evolution algorithm is adopted. Through the double eccentric mass actuator and control unit, the differential evolution algorithm is used to optimize the control parameters and adjust the actuator position and speed to offset the diesel engine vibration.
It improves the position tracking accuracy and stabilization time of the control unit, significantly reduces diesel engine vibration, improves the safety and comfort of the ship, and reduces maintenance costs.
Smart Images

Figure CN114690622B
Abstract
Description
Technical Field
[0001] The invention relates to the field of marine diesel engine vibration control, and in particular to an adaptive marine diesel engine vibration active control method based on a differential evolution algorithm. Background Art
[0002] Diesel engines have replaced steam engines as the main power plant for ships due to their high economy, wide power range, and easy maintenance. On general ships, the propulsion device mainly includes large low-speed two-stroke diesel engines, transmission equipment, shafting, propellers (propellers), etc. The vibration generated by diesel engines is one of the most important excitation sources of ship vibration. The vibration and noise it generates are its inherent biggest disadvantages, especially with the development of the shipping industry and the improvement of environmental protection standards, high compression ratio, high explosion pressure, high stroke-to-bore ratio (S / D), which increases the overturning moment generated by the explosion pressure and reciprocating inertia force in the cylinder, thereby intensifying the vibration of the main engine. Vibration not only affects the strength of the piston, connecting rod and shafting, but also affects the load, lubrication and wear of the connecting rod end bearings and main bearings, while causing the diesel engine to vibrate and cause the hull to vibrate.
[0003] The vibration generated by the diesel engine not only affects its own structure and accessory systems, but also the hull as its carrier and other adjacent equipment, and even affects the physical and mental health of the crew on board, bringing hidden dangers to the safe operation of the entire ship. Therefore, it is of great significance to study and control the vibration of the entire diesel engine. According to the analysis of the project background survey, medium and low-speed diesel engines are widely used on ships and are also one of the important excitation sources of ship vibration noise. Good active vibration reduction equipment can significantly improve the safety and comfort of ships, and avoid damage to the hull structure and equipment caused by vibration during the operation of the ship. It can greatly reduce the cost of ship maintenance, effectively reduce the cost of ships, and help improve the design and manufacturing level of ships and equipment in my country, and significantly increase the added value of ships and equipment. Summary of the invention
[0004] The present invention provides an adaptive marine diesel engine vibration active control method based on a differential evolution algorithm to overcome the above technical problems.
[0005] An adaptive marine diesel engine vibration active control method based on differential evolution algorithm, comprising:
[0006] Step 1: Generate the initial population P 0 , P 0 is a D×NP-order matrix, and each individual in the population represents a D-dimensional vector i is the position of the individual in the population, i=1, 2, ..., NP; t is the number of current evolution iterations, t=1, 2, ..., T, T is the maximum number of iterations; D is the population dimension, that is, the number of parameters to be determined, including the proportional parameter of the position loop, the proportional parameter of the speed loop, and the integral parameter; NP is the population size, that is, the number of individuals in the population; the individuals in the population are [p min , p max ] Random value in the range:
[0007]
[0008] Where: p min and p max are the minimum and maximum values of individual values in the population; rand(0,1) means randomly selecting a decimal between 0 and 1;
[0009] Step 2: Generate a mutant population V of size D×NP using formulas (2) and (3) t , from population P t Randomly select 5 different individuals from That is, r1≠r2≠r3≠r4≠r5≠i,
[0010]
[0011]
[0012] Where: f is the mutation operator, which usually takes values in [0,2]; is the mutant population V t The i-th individual in f max and f min is the maximum and minimum value of the mutation operator f;
[0013] Step 3: Crossover operation, initialize a crossover population C t , the size is D×NP,
[0014]
[0015] Where: CR is the crossover operator, which usually takes values in [0,1]; is the crossover population C t The i-th individual in t is an integer randomly selected in the range [1,D] at the tth iteration;
[0016] The population C after the crossover operation t According to formula (5), the boundary is processed.
[0017]
[0018] Where: sc is a constant, usually 0.01;
[0019] Step 4: Select an operation for the population P t and C t The individuals are selected by formula (6) and (7).
[0020]
[0021]
[0022] Where: e(t) is the deviation between the current position value of the double eccentric mass block actuator of the control unit and the position value of the flywheel end of the diesel engine; De penalty term coefficient, when e(t)≤0, De=0, when e(t)>0, De=10; u(t) is the output value of the control unit; w1, w2 are weights, w1+w2=1;
[0023] Step 5: When the number of iterations t does not reach the maximum number of iterations, merge the population P t and population C t Forming population U t , for the population U t Perform fast non-dominated sorting to obtain a non-dominated solution set, calculate the crowding distance of each individual in the population, and then cut according to the elite selection strategy to form a new population;
[0024] When the number of iterations t reaches the maximum number of iterations, the non-dominated solution set is output;
[0025] Step six, the control unit generates vibration according to the non-dominated solution set, the control unit includes a controller, a frequency converter, a power unit, a motor, and a double eccentric mass block actuator, and the controller controls the double eccentric mass block actuator to adjust the position and speed to offset the vibration of the diesel engine.
[0026] Preferably, the control unit may also include an incremental encoder, which is used to obtain the position and speed signals of the diesel engine flywheel end and the actuator tail end. The controller evaluates the active control method based on the position difference between the diesel engine flywheel end and the actuator tail end and the speed difference between the diesel engine flywheel end and the actuator tail end.
[0027] Preferably, the population U t Perform fast non-dominated sorting to obtain non-dominated solution sets including:
[0028] 5a. For population U t Each individual t is the current iteration number, let n i =0, n i Indicates dominant individual The number ofi Indicates being The collection of individuals that dominate, With other individuals Compare the dominance relationships one by one, i≠j, if Dominate Then Join S i Collection; if Dominate Then let n i =n i +1, let rank = 1;
[0029] 5b. Traverse the set n i , all n i = 0 are put into the sorted subset F rank and from population U t Delete F rank ∈F, F is a sorted set, F = {F1, F2, ...};
[0030] 5c. Find F rank The dominating set S corresponding to the individual in i , let S i The n corresponding to the individual i =n i -1, if n i =0, then let rank = rank + 1, and change S i All n i = 0 are put into the new sorted subset F rank , and from the population U t Delete from;
[0031] 5d. If the population U t is not empty, jump to 5c to continue execution; if population U t If it is empty, then output the non-dominated solution set F.
[0032] Preferably, the forming of a new population by shearing according to an elite selection strategy comprises:
[0033] 6a. For the subsets F1, F2, ..., F in the non-dominated solution set F rank Sort and put the individuals in F into the initial population P of the next iteration. t+1 In the above example, the initial population P t+1 is the new population until P t+1 The size of exceeds NP;
[0034] 6b. Get the population P t+1The last subset in the set is calculated, and the crowding distance of the individuals in the subset is cut according to the elite individual selection criteria, and the individuals with the largest crowding distance are deleted in turn until P t+1 The size reaches D×NP, and the elite individual selection criteria are: let x a and x b is the population P t+1 The two solutions in the non-dominated sorting level are rank(x a ) and rank(x b ), the crowding distance is d(x a ) and d(x b ), if rank(x a ) <rank(x b ) or rank(x a )=rank(x b ) and d(x a )>d(x b ), then x a Better than x b , the individual x a Save, eliminate individual x b .
[0035] The present invention provides an adaptive marine diesel engine vibration active control method based on a differential evolution algorithm. The diesel engine exciting force is offset by adopting a double eccentric mass block. The control unit drives the actuator from the current position to the target position. After optimizing the relevant parameters of the control unit by using the differential evolution algorithm, the position tracking accuracy of the control unit is improved from 2.2 to 1.3, and the position tracking stabilization time is improved from 1.05 to 0.75. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0037] Figure 1 It is a processing flow chart of the method of the present invention;
[0038] Figure 2 It is a flowchart of differential evolution algorithm execution of the present invention;
[0039] Figure 3 This is a structural diagram of the double-mass eccentric wheel actuator of the present invention;
[0040] Figure 4a This is a structural diagram of the eccentric block group 1 of the present invention;
[0041] Figure 4b This is a structural diagram of the eccentric block group 2 of the present invention;
[0042] Figure 4c This is a structural diagram of the double eccentric block of the present invention;
[0043] Figure 5 It is the position difference curve diagram of the conventional parameter setting method of the present invention;
[0044] Figure 6 It is a position difference curve diagram of the differential evolution algorithm parameter tuning method of the present invention;
[0045] Figure 7 It is the speed curve diagram of the conventional parameter setting method of the present invention;
[0046] Figure 8 It is a speed curve diagram of the differential evolution algorithm parameter setting method of the present invention. DETAILED DESCRIPTION
[0047] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0048] Figure 1 The process flow chart of the method of the present invention is as follows: Figure 1 As shown, the differential evolution algorithm execution flow chart from step 1 to step 5 is as follows Figure 2 As shown, the method of this embodiment may include:
[0049] Step 1: Generate the initial population P 0 , P 0 is a D×NP-order matrix, and each individual in the population represents a D-dimensional vector i is the position of the individual in the population, i = 1, 2, ..., NP; t is the number of current evolutionary iterations, t = 1, 2, ..., T, T is the maximum number of iterations;
[0050] D is the population dimension, that is, the number of parameters to be determined, including the proportional parameter of the position loop, the proportional parameter of the speed loop, and the integral parameter; Proportion represents that the output of the control unit is proportional to the input error signal; Integration represents that the output of the control unit is proportional to the integral of the input error signal;
[0051] NP is the population size, that is, the number of individuals in the population; the individuals in the population are in [p min , p max ] Random value in the range:
[0052]
[0053] Where: p min and p max are the minimum and maximum values of individual values in the population; rand(0,1) means randomly picking a decimal between 0 and 1;
[0054] Among them, the population size NP is 20; the population dimension D is 6, and each individual vector contains 6 parameter variables: Kp1, Kp2, Kp3, Kp4 of the position loop and Kp s 、Ki s ;The maximum number of iterations T is 80;
[0055] Step 2: Generate a mutant population V of size D×NP using formulas (2) and (3) t , from population P t Randomly select 5 different individuals from That is, r1≠r2≠r3≠r4≠r5≠i,
[0056]
[0057]
[0058] Where: f is the mutation operator, which usually takes values in [0,2]; is the mutant population V t The i-th individual in f max and f min is the maximum and minimum value of the mutation operator f; the maximum value of the mutation operator f max and f min are 1.4 and 0.4 respectively; in the early stage of the search, the f value is large, which is conducive to expanding the search space and maintaining the diversity of the population; in the case of convergence in the later stage of the algorithm, the f value is small, which is conducive to searching around the optimal area, thereby improving the search accuracy and convergence speed. The algorithm can ensure rapidity and avoid falling into the local optimal solution;
[0059] Step 3: Crossover operation, initialize a crossover population C t , the size is D×NP,
[0060]
[0061] Where: CR is the crossover operator, which usually takes values in [0,1]; is the crossover population C t The i-th individual in t is an integer randomly selected in the range [1,D] at the tth iteration; the maximum value of the crossover operator CR max and minimum CR min 0.7 and 0.1 respectively;
[0062] The population C after the crossover operation t According to formula (5), the boundary is processed.
[0063]
[0064] Where: sc is a constant, usually 0.01; rand(0,1)×sc represents a small random number, which avoids the situation where a large number of individuals are equal after the population is processed by the boundary, thus ensuring the diversity of the population;
[0065] Step 4: Select an operation to make the initial population P of the next evolutionary iteration t+1 The individuals of t and C t The individuals are selected by formula (6) and (7).
[0066]
[0067]
[0068] Where: e(t) is the deviation between the current position value of the double eccentric mass block actuator of the control unit and the position value of the flywheel end of the diesel engine; De penalty term coefficient, when e(t)≤0, De=0, when e(t)>0, De=10; u(t) is the output value of the control unit; w1, w2 are weights, w1+w2=1;
[0069] Among them, for the position and speed control of the double eccentric mass block actuator, the position control in engineering requires a fast response. In order to achieve this performance index, the fitness function uses the square term of the input as the main performance index for parameter selection. The specific fitness function formula is shown in (6).
[0070] For speed control, engineering requires as small an overshoot as possible and a fast rise time. To take these two performance indicators into account, the fitness function can use the integral of the product of the absolute value of the error and the time as the main performance indicator for parameter selection. At the same time, in order to suppress the excessive control amount, the square term of the control input is added to the fitness function. Therefore, the fitness function is finally set as shown in formula (7).
[0071] Step 5: When the number of iterations t does not reach the maximum number of iterations, merge the population P t and population C tForming population U t , for the population U t Perform fast non-dominated sorting to obtain a non-dominated solution set, calculate the crowding distance of each individual in the population, and then cut according to the elite selection strategy to form a new population;
[0072] When the number of iterations t reaches the maximum number of iterations, the non-dominated solution set is output;
[0073] Among them, the method of obtaining the non-dominated solution set includes:
[0074] Let the parent population be P t , size is D×NP, and the offspring population is C t , the size is D×NP. t and C t Merge into a new population U t , a matrix of size D×2NP. t is the current iteration number of the algorithm. The i-th individual is The jth individual is n i Indicates dominant individual The number of i Indicates being The set of dominated individuals. The steps of non-dominated sorting are as follows:
[0075] 1. For each individual Let n i =0, With other individuals Compare the dominance relationships one by one;
[0076] The specific definition of Pareto Dominance is as follows:
[0077] If and only if f x (i)≤f x (j) and stf y (i)≤f y (j), then Dominate Recorded as Where m represents the number of objectives optimized by the multi-objective optimization algorithm; f x (i) represents the fitness value of the i-th individual corresponding to the x-th fitness function;
[0078] like Dominate Then Join S i Collection; if Dominate Then let n i =n i +1. Set rank = 1;
[0079] 2. Traverse the set n and set all n i = 0 are put into the sorted subset F rank and from population U t Delete F rank ∈F, F is a sorted set, F = {F1, F2, ...};
[0080] 3. Find F rank The dominating set S corresponding to the individual in i , let S i The n corresponding to the individual i =n i -1. if n i =0, then let rank = rank + 1, and change S i All n i = 0 are put into the new sorted subset F rank , and from the population U t Delete from;
[0081] 4. If the population U t is not empty, jump to 3 to continue execution; if population U t If it is empty, then the sorted set F is output, and the sorted set F is a non-dominated solution set.
[0082] The formation of a new population by shearing according to the elite selection strategy includes:
[0083] 1. For the subsets F1, F2, ..., F in the non-dominated solution set F rank Sort and put the individuals in F into the initial population P of the next iteration. t+1 In the above example, the initial population P t+1 is the new population until P t+1 The size of exceeds NP;
[0084] 2. Get the population P t+1 The last subset in the set is calculated, and the crowding distance of the individuals in the subset is cut according to the elite individual selection criteria, and the individuals with the largest crowding distance are deleted in turn until P t+1 The size reaches D×NP, and the elite individual selection criteria are: let x a and x b is the population P t+1 The two solutions in the non-dominated sorting level are rank(x a ) and rank(x b ), the crowding distance is d(x a ) and d(x b), if rank(x a ) <rank(x b ) or rank(x a )=rank(x b ) and d(x a )>d(x b ), then x a Better than x b , the individual x a Save, eliminate individual x b .
[0085] Step 6: The control unit generates vibration according to the non-dominated solution set. The control unit includes a controller, a frequency converter, a power unit, a motor, and a double eccentric mass block actuator. The controller controls the actuator to adjust the position and speed to offset the vibration of the diesel engine. The structure of the double eccentric mass block actuator is as follows: Figure 3 As shown, 1, base, 2, housing, 3, lubricating oil pump, 4, lubricating oil filter, 5, upper end cover, 6, servo motor, 7, motor bracket, 8, toothed belt, 9, motor pulley, 10, drive shaft pulley, 11, deep groove ball bearing, 12, top inspection cover, 13, eccentric block group 1, 14, upper end inspection cover, 15, lower end inspection cover, 16, tapered roller bearing, 17, helical gear, 18, eccentric block group 2, 19, toothed belt protection cover. The double eccentric block includes eccentric block group 1 and eccentric block group 2. The structure of eccentric block group 1 is as shown in the figure. Figure 4a As shown, the structure of the eccentric block group 2 is as follows Figure 4b As shown, 1. spindle, 2. adjustable eccentric block, 3. fixed eccentric block, 4. bevel gear, 5. adjustment plate, the structure of the double eccentric block is as shown Figure 4c shown.
[0086] The incremental encoder is used to synchronously detect the position and speed signals of the diesel engine flywheel end and the actuator tail end, and the accuracy of the speed difference, the stabilization time and the accuracy of the position difference are analyzed to judge the performance of the adaptive marine diesel engine control method based on the differential evolution algorithm. During the experiment, the diesel engine speed is 1000r / min.
[0087] The traditional proportional-integral parameter tuning method and the proportional-integral parameter optimization method using differential evolution algorithm (DE tuning method) are compared. The traditional parameter tuning method uses manual parameter adjustment process for the control unit adjustment process. When conducting comparative tests, the control parameter method is used. The performance indicators of the control unit are consistent, and only the P parameters of the control unit position loop and the PI parameters of the speed loop are optimized differently. The position deviation results obtained by the traditional parameter tuning method are shown in Figure 2. Figure 5 As shown in the figure, the position deviation obtained by DE tuning method is as follows Figure 6 As shown in the figure, the speed curve obtained by the traditional parameter tuning method is as follows Figure 7As shown in the figure, the speed curve obtained by the DE setting method is as follows Figure 8 shown.
[0088] The overall beneficial effect is as follows: after the present invention optimizes the relevant parameters of the control unit by using the differential evolution algorithm, the position tracking accuracy of the control unit is improved from 2.2 to 1.3, and the position tracking stabilization time is improved from 1.05 to 0.75.
[0089] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. An adaptive marine diesel engine vibration active control method based on differential evolution algorithm, characterized in that: include, Step 1: Generate the initial population P 0 , P 0 is a D×NP-order matrix, and each individual in the population represents a D-dimensional vector i is the position of the individual in the population, i=1, 2, ..., NP; t is the number of current evolution iterations, t=1, 2, ..., T, T is the maximum number of iterations; D is the population dimension, that is, the number of parameters to be determined, including the proportional parameter of the position loop, the proportional parameter of the speed loop, and the integral parameter; NP is the population size, that is, the number of individuals in the population; the individuals in the population are [p min , p max ] Random value in the range: Where: p min and p max are the minimum and maximum values of individual values in the population; rand(0,1) means randomly picking a decimal between 0 and 1; Step 2: Generate a mutant population V of size D×NP using formulas (2) and (3) t , from population P t Randomly select 5 different individuals from That is, r1≠r2≠r3≠r4≠r5≠i, Where: f is the mutation operator, which usually takes values in [0,2]; is the mutant population V t The i-th individual in f max and f min is the maximum and minimum value of the mutation operator f; Step 3: Crossover operation, initialize a crossover population C t , the size is D×NP, Where: CR is the crossover operator, which usually takes values in [0,1]; is the crossover population C t The i-th individual in t is an integer randomly selected in the range [1,D] at the tth iteration; The population C after the crossover operation t According to formula (5), the boundary is processed. Where: sc is a constant, usually 0.01; Step 4: Select an operation for the population P t and C t The individuals are selected by formula (6) and (7). Where: e(t) is the deviation between the current position value of the double eccentric mass block actuator of the control unit and the position value of the flywheel end of the diesel engine; De penalty term coefficient, when e(t)≤0, De=0, when e(t)>0, De=10; u(t) is the output value of the control unit; w1, w2 are weights, w1+w2=1; Step 5: When the number of iterations t does not reach the maximum number of iterations, merge the population P t and population C t Forming population U t , for the population U t Perform fast non-dominated sorting to obtain a non-dominated solution set, calculate the crowding distance of each individual in the population, and then cut according to the elite selection strategy to form a new population; When the number of iterations t reaches the maximum number of iterations, the non-dominated solution set is output; Step six, the control unit generates vibration according to the non-dominated solution set, the control unit includes a controller, a frequency converter, a power unit, a motor, and a double eccentric mass block actuator, and the controller controls the double eccentric mass block actuator to adjust the position and speed to offset the vibration of the diesel engine.
2. The adaptive marine diesel engine vibration active control method based on differential evolution algorithm according to claim 1 is characterized in that: The control unit also includes an incremental encoder, which is used to obtain position and speed signals of the diesel engine flywheel end and the actuator tail end. The controller evaluates the active control method based on the position difference between the diesel engine flywheel end and the actuator tail end and the speed difference between the diesel engine flywheel end and the actuator tail end.
3. The adaptive marine diesel engine vibration active control method based on differential evolution algorithm according to claim 1 is characterized in that: The population U t Perform fast non-dominated sorting to obtain non-dominated solution sets including: 5a. For population U t Each individual t is the current iteration number, let n i =0, n i Indicates dominant individual The number of i Indicates being The collection of individuals that dominate, With other individuals Compare the dominance relationships one by one, i≠j, if Dominate Then Join S i Collection; if Dominate Then let n i =n i +1, let rank = 1; 5b. Traverse the set n i , all n i = 0 are put into the sorted subset F rank and from population U t Delete F rank ∈F, F is a sorted set, F = {F1, F2, ...}; 5c. Find F rank The dominating set S corresponding to the individual in i , let S i The n corresponding to the individual i =n i -1, if n i =0, then let rank = rank + 1, and change S i All n i = 0 are put into the new sorted subset F rank , and from the population U t Delete from; 5d. If the population U t is not empty, jump to 5c to continue execution; if population U t If it is empty, then output the non-dominated solution set F.
4. The adaptive marine diesel engine vibration active control method based on differential evolution algorithm according to claim 1 is characterized in that: The formation of a new population by shearing according to the elite selection strategy includes: 6a. For the subsets F1, F2, ..., F in the non-dominated solution set F rank Sort and put the individuals in F into the initial population P of the next iteration. t+1 In the above example, the initial population P t+1 is the new population until P t+1 The size of exceeds NP; 6b. Get the population P t+1 The last subset in the set is calculated, and the crowding distance of the individuals in the subset is cut according to the elite individual selection criteria, and the individuals with the largest crowding distance are deleted in turn until P t+1 The size reaches D×NP, and the elite individual selection criteria are: let x a and x b is the population P t+1 The two solutions in the non-dominated sorting level are rank(x a ) and rank(x b ), the crowding distance is d(x a ) and d(x b ), if rank(x a ) <rank(x b ) or rank(x a )=rank(x b ) and d(x a )>d(x b ), then x a Better than x b , the individual x a Save, eliminate individual x b .
Citation Information
Cited By
Active vibration control method based on PPO-HAFxLMS algorithm
CN121979053A
