A temperature control method for coal slime drying machine

By improving the artemisinin optimization algorithm, using virtual mirror local development and three-dimensional coordinate mutation strategy, the PID controller of the coal slime dryer is optimized, and the difficulty of parameter adjustment of traditional PID control and artemisinin optimization algorithm in complex systems is solved. Local optimality is problematic, achieving more efficient temperature control and improving coal slime drying quality.

CN118672129BActive Publication Date: 2024-11-15SHANDONG CHAOYANG MASCH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411171168.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-26
Publication Date
2024-11-15
Estimated Expiration
2044-08-26

AI Technical Summary

Technical Problem

Traditional PID control is difficult to adjust parameters in complex systems, and the control performance is unstable. The artemisinin optimization algorithm converges slowly in some scenarios, which is easy to fall into local optimization, resulting in low accuracy.

Method used

By improving the artemisinin optimization algorithm, using virtual mirror local development strategy and three-dimensional coordinate variation strategy, the global search capability and adaptability of the algorithm are improved, the diversity and quality of PID controller parameters are enhanced, and the temperature control system of the coal slime dryer is optimized. PID controller.

Benefits of technology

It improves the accuracy and stability of temperature control, reduces the complexity of manual parameter adjustment, improves the quality and utilization efficiency of coal slime, enhances the algorithm's optimization accuracy and ability to quickly jump out of local optimality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118672129B_ABST
    Figure CN118672129B_ABST
Patent Text Reader

Abstract

The invention discloses a temperature control method for a coal slime dryer, which belongs to the technical field of PID control. The method comprises the following steps: step 1, constructing a temperature control system and a mathematical model of the coal slime dryer; step 2, improving an artemisinin optimization algorithm, and the specific improvement strategy is: D1, using a virtual mirror local development strategy to improve the comprehensive elimination stage of the artemisinin optimization algorithm; D2, using a three-dimensional coordinate variation strategy to improve the post-consolidation stage of the artemisinin optimization algorithm; step 3, using the improved artemisinin optimization algorithm to perform parameter tuning on a PID controller of the temperature control system of the coal slime dryer, and obtaining the optimal three parameters of Kp, Ki and Kd by searching for the optimal number of iterations; and step 4, using the three optimal parameters of the PID controller obtained by optimizing the improved artemisinin optimization algorithm for the PID controller of the temperature control system of the coal slime dryer, so as to optimize the control effect of the system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the field of PID control optimization, and in particular relates to a temperature control method for a coal slime dryer. Background Art

[0002] Coal slime dryer is a kind of equipment specially used for processing coal slime. It evaporates the water in coal slime by high temperature heating to obtain dry coal slime, which is convenient for storage and transportation. In order to achieve efficient and stable drying process, temperature control is very important. By adjusting the output power of the heater through the PID controller, the internal temperature of the dryer can be maintained within the set range, so as to achieve efficient and stable drying process.

[0003] PID control is a classic control algorithm that adjusts the system through three control parameters: proportional, integral, and differential. Proportional control adjusts the controller output in proportion to the current error. Integral control adjusts the system through the historical value of the accumulated error to eliminate steady-state error. Differential control adjusts the system in advance by predicting the changing trend of the error to increase the system response speed and stability. PID controller is widely used in the field of industrial automation because of its simplicity, effectiveness and easy implementation. It can achieve precise control of parameters such as temperature, pressure and flow. However, it is difficult to adjust parameters of traditional PID control in complex systems, which requires repeated experiments and adjustments. Moreover, in some specific scenarios, the control performance is unstable. Optimizing its control strategy with intelligent optimization algorithm can make up for the shortcomings.

[0004] The Artemisinin Optimization Algorithm (AO) is a new meta-heuristic algorithm inspired by the process of treating malaria with artemisinin drugs, which involves the complete eradication of malarial parasites in the human body. The algorithm includes three optimization stages: comprehensive elimination stage, local clearance stage and post-consolidation stage. The algorithm has the characteristics of strong adaptability and high flexibility, but in some scenarios it has the disadvantages of slow convergence speed and easy to fall into local optimality, resulting in low accuracy. Summary of the invention

[0005] The purpose of the present invention is to improve the convergence speed and optimization accuracy of the standard artemisinin optimization algorithm in the optimization process, reduce the possibility of falling into the local optimal solution, and enhance the ability to quickly jump out of the local optimal solution, by improving the search strategy of the algorithm, increase the diversity of the algorithm population and the quality of the search population, thereby improving the overall algorithm performance, and using the improved artemisinin optimization algorithm to optimize the PID controller of the temperature control system of the coal slime dryer, thereby improving the temperature control of the dryer in the process of drying the coal slime, drying the coal slime at a more accurate temperature, and improving the drying quality and utilization efficiency of the coal slime.

[0006] To achieve the above object, the present invention adopts a temperature control method for a coal slime dryer, and the specific steps of the method are as follows.

[0007] Step 1: Construct a temperature control system and mathematical model of the coal slime dryer. The control system includes an error calculation module, a PID controller, an improved artemisia selengensis optimization algorithm module, a temperature adjustment module, a coal slime drying module, and a temperature sensor. The mathematical model simulates the actual temperature change process inside the dryer.

[0008] Step 2: Improve the optimization algorithm of artemisia selengensis. The specific improvement strategy is:

[0009] D1. Use a virtual mirror local development strategy to improve the comprehensive elimination stage of the Qingshen optimization algorithm. First, set up a virtual leader , through the virtual leader to generate a real image and a virtual image at the same time, and select different mirror images to update the position of the population;

[0010] D2. Use a three-dimensional coordinate mutation strategy to improve the post-consolidation stage of the artemisia selengensis optimization algorithm. By simulating the coordinates in the three-dimensional coordinate system, the current population position is mutated in different positions and multiple directions to obtain a new population position.

[0011] Step 3: Use the improved artemisia selengensis optimization algorithm to adjust the parameters of the PID controller of the temperature control system of the coal slime dryer, and obtain the optimal parameters Kp, Ki, and Kd by searching under a set number of iterations.

[0012] Step 4: The three optimal parameters of the PID controller obtained by optimizing the improved artemisia selengensis optimization algorithm are used in the PID controller of the temperature control system of the coal slime dryer to optimize the control effect of the system.

[0013] Preferably, the temperature control system of the coal slime dryer described in step 1, the execution process of the system is: first set the target drying temperature of the system, input the target drying temperature and the actual drying temperature detected by the temperature sensor into the error calculation module, obtain the real-time error e(t), input e(t) into the PID controller, and adjust the parameters of the PID controller by improving the green artemisia optimization algorithm. According to the optimal parameters, the PID controller outputs the control quantity u(t), and the control quantity u(t) is input into the temperature adjustment module. The temperature adjustment module outputs the corresponding temperature control signal to the coal slime drying module according to the size of the control quantity u(t), and the drying of the coal slime is completed. The calculation formula of the control quantity u(t) is:

[0014] (1);

[0015] In formula (1), represents the proportional gain, represents the integral gain, represents the differential gain, and e(t) represents the real-time error value.

[0016] Preferably, the mathematical model in step 1 simulates the temperature change inside the dryer through the parameters inside the dryer, the ambient temperature, the temperature control signal and the efficiency of the heat source. The specific mathematical model is:

[0017] (2);

[0018] In formula (2), Tem(t) represents the function of the temperature inside the dryer changing with time t. represents the total heat capacity of the coal slime and air inside the dryer, represents the temperature control signal, H represents the heat source efficiency, h represents the total heat transfer coefficient of the dryer, which is the efficiency of heat loss through conduction and convection, and A represents the heat dissipation surface area of ​​the dryer. Indicates the ambient temperature;

[0019] A second-order transfer function is designed based on the differential equation of the temperature change inside the dryer. The transfer function obtained by simplifying formula (2) and Laplace transforming is:

[0020] (3);

[0021] In formula (3), G(s) represents the transfer function, s represents the complex frequency domain variable in Laplace transform, , h, and A have the same meanings as in formula (2), and λ represents a time constant.

[0022] Preferably, in step 2, D1, a virtual mirror local development strategy is used to improve the comprehensive elimination stage of the artemisinin optimization algorithm, and the specific mathematical model of the virtual mirror local development strategy is:

[0023] (4);

[0024] In formula (4), Indicates the updated population position, iter indicates the current iteration number, Indicates the current population position, rand indicates a random number between [0, 1], represents the virtual leader. The specific formula is shown in formula (5). C represents a coefficient factor. Where f represents the fitness value of the current position, min_f represents the current minimum fitness value, r1 and r2 represent two unequal random numbers with a value range of [0, 1], and k represents the probability factor. , Indicates the position of a search agent randomly selected at the current iteration number;

[0025] (5);

[0026] In formula (5), represents the nonlinear weighting factor, and the calculation formula is shown in formula (6). represents the current optimal position, It represents the average value of the top five fitness values ​​in the current population, excluding the first one.

[0027] (6);

[0028] In formula (6), iter represents the current number of iterations, max_iter represents the maximum number of iterations, min_f represents the current minimum fitness value, f represents the fitness value of the current position, and α represents the control factor, which adjusts the influence of the fitness value on the nonlinear weighting factor, and its value range is [0.5, 2].

[0029] Preferably, the virtual mirror local development strategy balances the global search of the algorithm through the combination of real and virtual images. The real image position guided by the virtual leader can make the algorithm's search population converge quickly to the global optimal solution, improving the optimization efficiency. The virtual image generated by random positions increases the diversity of the population, so that the algorithm is not limited to the current position, and can explore a wider solution space, reducing the possibility of falling into the local optimum. The nonlinear weighting factor in this strategy The probability factor k is adjusted according to the fitness value of the current position of the algorithm during the optimization process, which increases the adaptability and stability of the algorithm.

[0030] Preferably, in step 2 D2, a three-dimensional coordinate variation strategy is used to improve the post-consolidation stage of the artemisinin optimization algorithm, wherein the specific mathematical model of the three-dimensional coordinate variation strategy is:

[0031] (7);

[0032] In formula (7), represents the updated population position, Indicates the current population position, TH indicates the fitness change detection coefficient. The value of TH can be used to determine whether the algorithm has fallen into a local optimum. The threshold for judgment is set to 1 times 10 to the power of -5, which is 1e-5 in scientific notation. The calculation formula of TH is shown in formula (8): , , They represent the variation values ​​of the current position on the x, y, and z axes respectively. The calculation formulas are shown in equations (9), (10), and (11):

[0033] (8);

[0034] In formula (8), TH represents the fitness change detection coefficient, iter represents the current iteration number, i represents the accumulated variable, the initial value is 1, f represents the fitness value of the current position, and favg represents the average fitness value before the current iteration number;

[0035] (9);

[0036] In formula (9), represents the variation value of the x-axis, rand represents a random value between [0,1], represents the current optimal position, Indicates the current population position, sign(x) indicates the mutation direction function of the x-axis;

[0037] (10);

[0038] In formula (10), represents the variation value of the y-axis, rand represents a random value between [0,1], Indicates the current population position, Indicates the position of a search agent randomly selected at the current iteration number, sign(y) represents the mutation direction function of the y coordinate axis;

[0039] (11);

[0040] In formula (11), represents the variation value of the x-axis, rand represents a random value between [0,1], represents the current optimal position, It indicates that a search agent position is randomly selected at the current iteration number, and sign(z) indicates the mutation direction function of the z coordinate axis.

[0041] Preferably, the post-consolidation stage of the artemisinin optimization algorithm is the last stage of the entire algorithm, which determines the optimization performance of the entire algorithm. The improvement of the three-dimensional coordinate mutation strategy can better guarantee the quality of the algorithm's optimization population during the optimization process, thereby improving the algorithm's optimization speed and accuracy. When the algorithm enters the post-consolidation stage, it first determines whether the algorithm is trapped in the local optimal solution under the current number of iterations. If the fitness change detection coefficient TH is greater than the threshold, it means that the algorithm's optimization is normal and retains the population position updated in this iteration. Otherwise, a three-dimensional coordinate mutation is performed to generate a new population position, which helps the algorithm to better jump out of the local optimal solution and continue to optimize.

[0042] Preferably, in step 3, the improved artemisia selengensis optimization algorithm is used to perform parameter tuning on the PID controller of the temperature control system of the coal slime dryer, and the specific steps are:

[0043] S1. Set the initial parameters of the improved artemisia selengensis optimization algorithm, including population size N, problem dimension dim, maximum number of iterations max_iter, upper limit ub and lower limit lb of the search space, and initialize the population position through the initial parameters;

[0044] S2. According to the problem dimension dim of the algorithm, the three parameters Kp, Ki, and Kd of PID are encoded into the position vector of the algorithm search population;

[0045] S3. Set the fitness value function of the improved artemisia selengensis optimization algorithm. The fitness value is used as an evaluation index in the algorithm optimization process. IAE is used as the fitness value function of the improved artemisia selengensis optimization algorithm. The IAE function formula is:

[0046] (12);

[0047] In formula (12), J represents the fitness value, e(t) represents the real-time error value, and L is the total time of system operation;

[0048] S4, calculate the fitness value of the population, sort them according to the size of the fitness value, set the minimum fitness value to min_f, and the maximum fitness value to max_f;

[0049] S5. updating the position of the search population through the improved mathematical model of the artemisia selengensis optimization algorithm, and updating the optimal position in the population;

[0050] S6. Determine whether the number of iterations has reached the maximum number of iterations. If not, continue to perform S4 optimization. Otherwise, output the optimal position in the population as the optimal solution and the optimization ends.

[0051] Preferably, as described in S5, the specific process of updating the position of the search population by using the mathematical model of the improved artemisinin optimization algorithm is:

[0052] S51, if the random number r2 is less than the probability factor k, then enter the comprehensive elimination stage of the improved artemisia argyi optimization algorithm to update the position. The comprehensive elimination stage uses a virtual mirror local development strategy. The specific mathematical model is shown in formula (4);

[0053] S52. If the random number r2 is greater than or equal to the probability factor k, and the random number rand is less than , then enter the local clearing phase of the improved artemisinin optimization algorithm to update the position, The calculation formula of is shown in formula (13), and the mathematical model of the local clearing stage is shown in formula (14):

[0054] (13);

[0055] In formula (13), Represents the normalized fitness value, min_f represents the current minimum fitness value, f represents the fitness value of the current position, and max_f represents the current maximum fitness value;

[0056] (14);

[0057] In formula (14), represents the updated population position, d takes a random value between [0.1, 0.6], b1, b2, b3 are mutually unequal random numbers in the range of [1, N], and N represents the population size;

[0058] S53, executing the improved artemisia selengensis optimization algorithm in the post-consolidation stage to update the position, and using a three-dimensional coordinate variation strategy in the post-consolidation stage, and the specific mathematical model is shown in formula (7);

[0059] S54, calculating the fitness value of the updated position, updating the minimum fitness value and the maximum fitness value, and retaining the position with the smaller fitness as the optimal position according to the greedy strategy.

[0060] By adopting the above technical scheme, the beneficial effects of the present invention are as follows: the standard artemisia selengensis optimization algorithm is improved through a virtual mirror local development strategy and a three-dimensional coordinate variation strategy, thereby improving the global search capability of the algorithm, improving the adaptability of the algorithm in dealing with different scenarios, ensuring the quality of the search population while increasing the diversity of population updates, and can be quickly adjusted when the algorithm falls into a local optimal solution, and jump out of the local optimal solution to continue to search for the best, thereby improving the algorithm's search accuracy, applying the improved artemisia selengensis optimization algorithm to the parameter optimization of the PID controller of the temperature control system of the coal slime dryer, thereby increasing the accuracy and stability of the internal temperature control of the dryer, and improving the drying quality of the coal slime, and using the improved artemisia selengensis optimization algorithm to perform parameter tuning on the PID controller of the temperature control system of the coal slime dryer also reduces the complexity and workload of manual parameter adjustment. BRIEF DESCRIPTION OF THE DRAWINGS

[0061] Figure 1 The present invention is a flow chart of a temperature control method for a coal slime dryer.

[0062] Figure 2 This is a graph showing the changes in parameter values ​​Kp, Ki, and Kd during the tuning process of the improved artemisia selengensis optimization algorithm.

[0063] Figure 3This is a graph showing the changes in parameter values ​​Kp, Ki, and Kd during the tuning process of the standard artemisia selengensis optimization algorithm.

[0064] Figure 4 This is a comparison chart of the changes in fitness values ​​during the tuning process of the improved artemisia selengensis optimization algorithm and the standard artemisia selengensis optimization algorithm.

[0065] FIG5 is a comparison chart showing the effects of the improved artemisia selengensis optimization algorithm and the standard artemisia selengensis optimization algorithm on optimizing the PID controller. DETAILED DESCRIPTION

[0066] The technical solutions 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 only part of the embodiments of the present invention, rather than all the embodiments; based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work belong to the scope of protection of the present invention.

[0067] The present invention provides a technical solution: a temperature control method for a coal slime dryer, specifically comprising the following steps: Figure 1 shown.

[0068] Step 1: Construct a temperature control system and mathematical model of the coal slime dryer. The control system includes an error calculation module, a PID controller, an improved artemisia selengensis optimization algorithm module, a temperature adjustment module, a coal slime drying module, and a temperature sensor. The mathematical model simulates the actual temperature change process inside the dryer.

[0069] Furthermore, the temperature control system of the coal slime dryer described in step 1, the execution process of the system is: first set the target drying temperature of the system, input the target drying temperature and the actual drying temperature detected by the temperature sensor into the error calculation module, obtain the real-time error e(t), input e(t) into the PID controller, and adjust the parameters of the PID controller by improving the artemisia selengensis optimization algorithm. According to the optimal parameters, the PID controller outputs the control quantity u(t), and the control quantity u(t) is input into the temperature adjustment module. The temperature adjustment module outputs the corresponding temperature control signal to the coal slime drying module according to the size of the control quantity u(t), and the drying of the coal slime is completed. The calculation formula of the control quantity u(t) is:

[0070] (1);

[0071] In formula (1), represents the proportional gain, represents the integral gain, represents the differential gain, and e(t) represents the real-time error value.

[0072] Furthermore, the mathematical model described in step 1 simulates the temperature change inside the dryer through the parameters inside the dryer, the ambient temperature, the temperature control signal and the efficiency of the heat source. The specific mathematical model is:

[0073] (2);

[0074] In formula (2), Tem(t) represents the function of the temperature inside the dryer changing with time t. represents the total heat capacity of the coal slime and air inside the dryer, represents the temperature control signal, H represents the heat source efficiency, h represents the total heat transfer coefficient of the dryer, which is the efficiency of heat loss through conduction and convection, and A represents the heat dissipation surface area of ​​the dryer. Indicates the ambient temperature;

[0075] A second-order transfer function is designed based on the differential equation of the temperature change inside the dryer. The transfer function obtained by simplifying formula (2) and Laplace transforming is:

[0076] (3);

[0077] In formula (3), G(s) represents the transfer function, s represents the complex frequency domain variable in Laplace transform, , h, and A have the same meanings as in formula (2), and λ represents a time constant.

[0078] Step 2: Improve the optimization algorithm of artemisia selengensis. The specific improvement strategy is:

[0079] D1. Use a virtual mirror local development strategy to improve the comprehensive elimination stage of the Qingshen optimization algorithm. First, set up a virtual leader , through the virtual leader to generate a real image and a virtual image at the same time, and select different mirror images to update the position of the population;

[0080] D2. Use a three-dimensional coordinate mutation strategy to improve the post-consolidation stage of the artemisia selengensis optimization algorithm. By simulating the coordinates in the three-dimensional coordinate system, the current population position is mutated in different positions and multiple directions to obtain a new population position.

[0081] Furthermore, the use of a virtual mirror local development strategy described in D1 in step 2 improves the comprehensive elimination stage of the green artemisia argyi optimization algorithm. The global search of the algorithm is balanced by the combination of real and virtual images. The real image position guided by the virtual leader can make the search population of the algorithm converge quickly to the global optimal solution, improve the optimization efficiency, and increase the diversity of the population through the virtual image generated by the random position, so that the algorithm is not limited to the current position, and can explore a wider solution space, reducing the possibility of falling into the local optimum. The specific mathematical model of the virtual mirror local development strategy is:

[0082] (4);

[0083] In formula (4), Indicates the updated population position, iter indicates the current iteration number, Indicates the current population position, rand indicates a random number between [0, 1], represents the virtual leader. The specific formula is shown in formula (5). C represents a coefficient factor. Where f represents the fitness value of the current position, min_f represents the current minimum fitness value, r1 and r2 represent two unequal random numbers with a value range of [0, 1], and k represents the probability factor. , Indicates the position of a search agent randomly selected at the current iteration number;

[0084] (5);

[0085] In formula (5), represents the nonlinear weighting factor, and the calculation formula is shown in formula (6). represents the current optimal position, It represents the average value of the top five fitness values ​​in the current population, excluding the first one.

[0086] (6);

[0087] In formula (6), iter represents the current number of iterations, max_iter represents the maximum number of iterations, min_f represents the current minimum fitness value, f represents the fitness value of the current position, and α represents the control factor, which adjusts the influence of the fitness value on the nonlinear weighting factor, and its value range is [0.5, 2].

[0088] Furthermore, the post-consolidation stage of the artemisinin optimization algorithm is improved by using a three-dimensional coordinate mutation strategy as described in D2 of step 2. The improvement of the three-dimensional coordinate mutation strategy can better ensure the quality of the optimization population in the optimization process of the algorithm, thereby improving the optimization speed and accuracy of the algorithm. When the algorithm enters the post-consolidation stage, it is first determined whether the algorithm falls into the local optimal solution under the current number of iterations. If the fitness change detection coefficient TH is greater than the threshold, it means that the algorithm optimization normally retains the population position updated in this iteration. Otherwise, the three-dimensional coordinate mutation is performed to generate a new population position, which helps the algorithm to better jump out of the local optimal and continue to optimize. The specific mathematical model of the three-dimensional coordinate mutation strategy is:

[0089] (7);

[0090] In formula (7), represents the updated population position, Indicates the current population position, TH indicates the fitness change detection coefficient. The value of TH can be used to determine whether the algorithm has fallen into a local optimum. The threshold for judgment is set to 1 times 10 to the power of -5, which is 1e-5 in scientific notation. The calculation formula of TH is shown in formula (8): , , They represent the variation values ​​of the current position on the x, y, and z axes respectively. The calculation formulas are shown in equations (9), (10), and (11):

[0091] (8);

[0092] In formula (8), TH represents the fitness change detection coefficient, iter represents the current iteration number, i represents the accumulated variable, the initial value is 1, f represents the fitness value of the current position, and favg represents the average fitness value before the current iteration number;

[0093] (9);

[0094] In formula (9), represents the variation value of the x-axis, rand represents a random value between [0,1], represents the current optimal position, Indicates the current population position, sign(x) indicates the mutation direction function of the x-axis;

[0095] (10);

[0096] In formula (10), represents the variation value of the y-axis, rand represents a random value between [0,1], Indicates the current population position, Indicates the position of a search agent randomly selected at the current iteration number, sign(y) represents the mutation direction function of the y coordinate axis;

[0097] (11);

[0098] In formula (11), represents the variation value of the x-axis, rand represents a random value between [0,1], represents the current optimal position, It indicates that a search agent position is randomly selected at the current iteration number, and sign(z) indicates the mutation direction function of the z coordinate axis.

[0099] Step 3: Use the improved artemisia selengensis optimization algorithm to set the parameters of the PID controller of the temperature control system of the coal slime dryer. The optimal parameters Kp, Ki, and Kd are obtained by searching under the set number of iterations. The specific steps are as follows:

[0100] S1. Set the initial parameters of the improved artemisia selengensis optimization algorithm, including population size N, problem dimension dim, maximum number of iterations max_iter, upper limit ub and lower limit lb of the search space, and initialize the population position through the initial parameters;

[0101] S2. According to the problem dimension dim of the algorithm, the three parameters Kp, Ki, and Kd of PID are encoded into the position vector of the algorithm search population;

[0102] S3. Set the fitness value function of the improved artemisia selengensis optimization algorithm. The fitness value is used as an evaluation index in the algorithm optimization process. IAE is used as the fitness value function of the improved artemisia selengensis optimization algorithm. The IAE function formula is:

[0103] (12);

[0104] In formula (12), J represents the fitness value, e(t) represents the real-time error value, and L is the total time of system operation;

[0105] S4, calculate the fitness value of the population, sort them according to the size of the fitness value, set the minimum fitness value to min_f, and the maximum fitness value to max_f;

[0106] S5. updating the position of the search population through the improved mathematical model of the artemisia selengensis optimization algorithm, and updating the optimal position in the population;

[0107] S6. Determine whether the number of iterations has reached the maximum number of iterations. If not, continue to perform S4 optimization. Otherwise, output the optimal position in the population as the optimal solution and the optimization ends.

[0108] Furthermore, as described in S5, the specific process of updating the position of the search population by using the improved mathematical model of the artemisinin optimization algorithm is as follows:

[0109] S51, if the random number r2 is less than the probability factor k, then enter the comprehensive elimination stage of the improved artemisia argyi optimization algorithm to update the position. The comprehensive elimination stage uses a virtual mirror local development strategy. The specific mathematical model is shown in formula (4);

[0110] S52. If the random number r2 is greater than or equal to the probability factor k, and the random number rand is less than , then enter the local clearing phase of the improved artemisinin optimization algorithm to update the position, The calculation formula of is shown in formula (13), and the mathematical model of the local clearing stage is shown in formula (14):

[0111] (13);

[0112] In formula (13), Represents the normalized fitness value, min_f represents the current minimum fitness value, f represents the fitness value of the current position, and max_f represents the current maximum fitness value;

[0113] (14);

[0114] In formula (14), represents the updated population position, d takes a random value between [0.1, 0.6], b1, b2, b3 are mutually unequal random numbers in the range of [1, N], and N represents the population size;

[0115] S53, executing the improved artemisia selengensis optimization algorithm in the post-consolidation stage to update the position, and using a three-dimensional coordinate variation strategy in the post-consolidation stage, and the specific mathematical model is shown in formula (7);

[0116] S54, calculating the fitness value of the updated position, updating the minimum fitness value and the maximum fitness value, and retaining the position with the smaller fitness as the optimal position according to the greedy strategy.

[0117] Step 4: The three optimal parameters of the PID controller obtained by optimizing the improved artemisia selengensis optimization algorithm are used in the PID controller of the temperature control system of the coal slime dryer to optimize the control effect of the system.

[0118] Furthermore, in order to verify that the temperature control method for coal slime dryer proposed in the present invention has better performance than other methods, the present invention will conduct simulation experiments through Matlab and Simulink, improve the standard artemisia selengensis optimization algorithm through Matlab, use Simulink to build a temperature control system for coal slime dryer, initialize the parameters of the improved artemisia selengensis optimization algorithm, where the population size N=200, the problem dimension dim=3, the maximum number of iterations is 25, the search space upper limit ub=30, the lower limit lb=0.01, and set the second-order transfer function of the system to , run the program, and get Figure 2-Figure 5 .

[0119] Furthermore, Figure 2 and Figure 3They are the change diagrams of parameter values ​​Kp, Ki, and Kd in the process of tuning the improved artemisia selengensis optimization algorithm and the change diagrams of parameter values ​​Kp, Ki, and Kd in the process of tuning the standard artemisia selengensis optimization algorithm. It can be seen from the figure that in the process of tuning parameters using the improved artemisia selengensis optimization algorithm, the diversity of parameters is better, indicating that the global search ability of the algorithm is stronger, and in the process of optimization, there are few cases where parameters remain unchanged for a long time, indicating that the algorithm is less likely to fall into local optimal solutions. Figure 4 This is a comparison chart of the fitness value changes during the tuning process of the improved artemisia annua optimization algorithm and the standard artemisia annua optimization algorithm. From the figure, it can be seen that in the process of tuning parameters using the improved artemisia annua optimization algorithm, while maintaining better search accuracy, the fitness value converges faster, which can reduce the impact of dynamic errors on the system during the tuning process and improve the stability of the system. Figure 5 This is a comparison chart of the effects of optimizing PID controller using the improved artemisia annua optimization algorithm and the standard artemisia annua optimization algorithm. The target value is 1 unit. It can be seen from the figure that the response curve of the PID controller optimized by the improved artemisia annua optimization algorithm has a lower overshoot and reaches a stable state faster, indicating that the use of the improved artemisia annua optimization algorithm to optimize the PID controller is more effective.

Claims

1. A temperature control method for a coal slime dryer, characterized in that: The specific steps are: Step 1, construct a temperature control system and mathematical model of the coal slime dryer, the control system includes an error calculation module, a PID controller, an improved artemisia selengensis optimization algorithm module, a temperature adjustment module, a coal slime drying module, and a temperature sensor, and the mathematical model simulates the actual temperature change process inside the dryer; Step 2: Improve the optimization algorithm of artemisia selengensis. The specific improvement strategy is: D1. Use a virtual mirror local development strategy to improve the comprehensive elimination stage of the Qingshen optimization algorithm. First, set the virtual leader X virtual_leader , through the virtual leader to generate a real image and a virtual image at the same time, select different mirrors to update the position of the population, the specific mathematical model of the virtual mirror local development strategy is: In formula (4), X new (iter+1) represents the updated population position, iter represents the current iteration number, X(iter) represents the current population position, rand represents a random number between [0, 1], and X virtual_leader represents the virtual leader. The specific formula is shown in formula (5). C represents a coefficient factor. Where f represents the fitness value of the current position, min_f represents the current minimum fitness value, r1 and r2 represent two unequal random numbers with a value range of [0, 1], and k represents the probability factor. X rand (iter) means randomly selecting a search agent position at the current iteration number; X virtual_leader =(1-γ)·X best +γ·X avg (5); In formula (5), β represents the nonlinear weighting factor, and the calculation formula is shown in formula (6), X best represents the current optimal position, X avg It represents the average value of the top five fitness values ​​in the current population, excluding the first one. In formula (6), iter represents the current number of iterations, max_iter represents the maximum number of iterations, min_f represents the current minimum fitness value, f represents the fitness value of the current position, and α represents the control factor, which adjusts the influence of the fitness value on the nonlinear weighting factor, and the value range is [0.5, 2]. D2. Use a three-dimensional coordinate mutation strategy to improve the post-consolidation stage of the green artemisia argyi optimization algorithm. By simulating the coordinates in the three-dimensional coordinate system, the current population position is mutated in different positions and multiple directions to obtain a new population position. The specific mathematical model of the three-dimensional coordinate mutation strategy is: In formula (7), X new (iter+1) represents the updated population position, X(iter) represents the current population position, TH represents the fitness change detection coefficient, and the TH value is used to determine whether the algorithm falls into the local optimum. The threshold for judgment is set to 1 times 10 to the power of -5, which is 1e-5 in scientific notation. The calculation formula of TH is shown in formula (8), Td x , Td y , Td z They represent the variation values ​​of the current position on the x, y, and z axes respectively. The calculation formulas are shown in equations (9), (10), and (11): In formula (8), TH represents the fitness change detection coefficient, iter represents the current iteration number, i represents the accumulated variable, the initial value is 1, f represents the fitness value of the current position, and favg represents the average fitness value before the current iteration number; Td x =rand·sign(x)·(X best -X(iter)) (9); In formula (9), Td x represents the variation value of the x-axis, rand represents a random value between [0,1], X best represents the current optimal position, X(iter) represents the current population position, and sign(x) represents the mutation direction function of the x-axis; Td y =rand·sign(y)·(X(iter)-X rand (iter)) (10); In formula (10), Td y represents the variation value of the y-axis, rand represents a random value between [0,1], X(iter) represents the current population position, and X rand (iter) means randomly selecting a search agent position at the current iteration number, sign(y) means the mutation direction function of the y coordinate axis; Td z =rand·sign(z)·(X best -X rand (iter)) (11); In formula (11), Td z represents the variation value of the x-axis, rand represents a random value between [0,1], X best represents the current optimal position, X rand (iter) means randomly selecting a search agent position at the current iteration number, sign(z) means the mutation direction function of the z coordinate axis; Step 3: Use the improved artemisia selengensis optimization algorithm to adjust the parameters of the PID controller of the temperature control system of the coal slime dryer, and obtain the optimal parameters Kp, Ki, and Kd by searching under the set number of iterations; Step 4: The three optimal parameters of the PID controller obtained by optimizing the improved artemisia selengensis optimization algorithm are used in the PID controller of the temperature control system of the coal slime dryer to optimize the control effect of the system.

2. A temperature control method for a coal slime dryer according to claim 1, characterized in that: The temperature control system of the coal slime dryer described in step 1, the execution process of the system is: first set the target drying temperature of the system, input the target drying temperature and the actual drying temperature detected by the temperature sensor into the error calculation module, obtain the real-time error e(t), input e(t) into the PID controller, and adjust the parameters of the PID controller by improving the green artemisia optimization algorithm. According to the optimal parameters, the PID controller outputs the control quantity u(t), and the control quantity u(t) is input into the temperature adjustment module. The temperature adjustment module outputs the corresponding temperature control signal to the coal slime drying module according to the size of the control quantity u(t), and the drying of the coal slime is completed. The calculation formula of the control quantity u(t) is: In formula (1), K p Represents proportional gain, K i Indicates the integral gain, K d represents the differential gain, and e(t) represents the real-time error value.

3. A temperature control method for a coal slime dryer according to claim 2, characterized in that: The mathematical model described in step 1 simulates the temperature change inside the dryer through the parameters inside the dryer, the ambient temperature, the temperature control signal and the efficiency of the heat source. The specific mathematical model is: In formula (2), Tem(t) represents the function of the temperature inside the dryer changing with time t, C m represents the total heat capacity of the coal slime and air inside the dryer, U heater (t) represents the temperature control signal, H represents the heat source efficiency, h represents the total heat transfer coefficient of the dryer, which is the efficiency of heat loss through conduction and convection, A represents the heat dissipation surface area of ​​the dryer, and T env Indicates the ambient temperature; A second-order transfer function is designed based on the differential equation of the temperature change inside the dryer. The transfer function obtained by simplifying formula (2) and Laplace transforming is: In formula (3), G(s) represents the transfer function, s represents the complex frequency domain variable in Laplace transform, and C m , h, and A have the same meanings as in formula (2), and λ represents a time constant.

4. A temperature control method for a coal slime dryer according to claim 3, characterized in that: As described in step 3, the PID controller of the temperature control system of the coal slime dryer is parameterized using the improved artemisia selengensis optimization algorithm, and the specific steps are as follows: S1. Set the initial parameters of the improved artemisia selengensis optimization algorithm, including population size N, problem dimension dim, maximum number of iterations max_iter, upper limit ub and lower limit lb of the search space, and initialize the population position through the initial parameters; S2. According to the problem dimension dim of the algorithm, the three parameters Kp, Ki, and Kd of PID are encoded into the position vector of the algorithm search population; S3. Set the fitness value function of the improved artemisia selengensis optimization algorithm. The fitness value is used as an evaluation index in the algorithm optimization process. IAE is used as the fitness value function of the improved artemisia selengensis optimization algorithm. The IAE function formula is: In formula (12), J represents the fitness value, e(t) represents the real-time error value, and L is the total time of system operation; S4, calculate the fitness value of the population, sort them according to the size of the fitness value, set the minimum fitness value to min_f, and the maximum fitness value to max_f; S5. updating the position of the search population through the improved mathematical model of the artemisia selengensis optimization algorithm, and updating the optimal position in the population; S6. Determine whether the number of iterations has reached the maximum number of iterations. If not, continue to perform S4 optimization. Otherwise, output the optimal position in the population as the optimal solution and the optimization ends.

5. A temperature control method for a coal slime dryer according to claim 4, characterized in that: As described in S5, the specific process of updating the position of the search population through the mathematical model of the improved artemisinin optimization algorithm is as follows: S51, if the random number r2 is less than the probability factor k, then enter the comprehensive elimination stage of the improved artemisia argyi optimization algorithm to update the position. The comprehensive elimination stage uses a virtual mirror local development strategy. The specific mathematical model is shown in formula (4); S52. If the random number r2 is greater than or equal to the probability factor k, and the random number rand is less than Fit normal , then enter the local clearing phase of the improved artemisinin optimization algorithm to update the position, Fit normal The calculation formula of is shown in formula (13), and the mathematical model of the local clearing stage is shown in formula (14): In formula (13), Fit normal represents the normalized fitness value, min_f represents the current minimum fitness value, f represents the fitness value of the current position, and max_f represents the current maximum fitness value; X new (iter+1)=X b3 (iter)+d·(X b1 (iter)-X b2 (iter)) (14); In formula (14), X new (iter+1) represents the updated population position, d takes a random value between [0.1, 0.6], b1, b2, b3 are mutually unequal random numbers in the range of [1, N], and N represents the population size; S53, executing the improved artemisia selengensis optimization algorithm in the post-consolidation stage to update the position, and using a three-dimensional coordinate variation strategy in the post-consolidation stage, and the specific mathematical model is shown in formula (7); S54, calculating the fitness value of the updated position, updating the minimum fitness value and the maximum fitness value, and retaining the position with the minimum fitness as the optimal position according to the greedy strategy.