Temperature control method for heat preservation and sperm collection environment

By improving the sperm group optimization algorithm to optimize the parameters of the LADRC controller, the problem of inaccurate temperature control in the insulation and semen collection environment is solved, higher control accuracy and stability are achieved, and the survival rate and fertility success rate of sperm are improved.

CN119645159AActive Publication Date: 2025-03-18JINAN SHENLAN ELECTRONIC TECH CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202510161871.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-14
Publication Date
2025-03-18
Estimated Expiration
2045-02-14

AI Technical Summary

Technical Problem

In the insulation and essence collection environment, traditional PID control methods cannot provide sufficiently accurate temperature control, resulting in unstable system response, large overshoot or excessive steady-state error.

Method used

By improving the sperm group optimization algorithm (ISSO), the Kp, b0, and ω0 parameters of the LADRC controller are automatically optimized in the insulation and concentration environment, and its anti-disturbance ability, adaptability and precise temperature control capabilities are improved.

Benefits of technology

It realizes the stability of the insulation and concentration ambient temperature without manual frequent adjustment, greatly strengthens the control accuracy of the temperature control system, ensures the survival rate and quality of sperm, and ultimately improves the storage quality and fertility success rate.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119645159A_ABST
    Figure CN119645159A_ABST
Patent Text Reader

Abstract

The invention discloses a heat preservation and sperm collection environment temperature control method, which belongs to the technical field of LADRC optimization, and comprises the following steps of: establishing a simulation model for a heat preservation and sperm collection environment temperature control system, including an LADRC controller model, a performance evaluation index model and a heat preservation and sperm collection temperature regulation model, and establishing a mathematical model of an improved sperm population optimization algorithm (ISSO); a non-linear inertia weight omega and a sperm energizing mechanism are introduced to improve a sperm population optimization algorithm, an ISSO algorithm is adopted to optimize a first-order LADRC controller, Kp, b0 and omega0 parameters of the LADRC controller are automatically optimized in the operation process of a temperature control system in the heat preservation and sperm collection environment, the performance of the LADRC controller is improved, the temperature of the heat preservation and sperm collection environment is kept stable, and the stability of the temperature control system in the heat preservation and sperm collection environment is improved. A proper environment is maintained in the sperm storage process, and the storage quality and the fertility success rate are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of LADRC control optimization, and in particular relates to a method for controlling the temperature of a heat-insulating and sperm-collecting environment. Background Art

[0002] With the development of reproductive technology, especially in the fields of artificial insemination, in vitro fertilization, and frozen sperm banks, sperm preservation technology has become an important part of assisted reproduction. Sperm preservation is not only helpful for fertility treatment, but can also be used for gene preservation, genetic research, and improving the reproductive efficiency of genetic species.

[0003] During the storage process, sperm is very sensitive to the external temperature. Slight temperature fluctuations may lead to a decline in sperm quality or even death. Therefore, temperature control plays a vital role in the sperm storage environment. PID control methods are widely used in general temperature control, but in the temperature control of the heat preservation and sperm collection environment, PID control methods cannot provide sufficiently accurate control, resulting in unstable system response, large overshoot or excessive steady-state error.

[0004] LADRC (Linear Active Disturbance Rejection Control) is a linear anti-disturbance control technology in Chinese. It can overcome many defects of traditional PID control methods and is more suitable for temperature control of the heat preservation and semen collection environment with high precision and high dynamic performance requirements. The sperm swarm optimization algorithm (SSO) is a new meta-heuristic optimization algorithm inspired by the sperm fertilization process. The algorithm simulates the behavior of sperm in the process of swimming through the cervix to the egg and has strong global search ability and robustness. Combining the improved SSO algorithm and LADRC controller can effectively improve the accuracy and robustness of the temperature control of the heat preservation and semen collection environment. Summary of the invention

[0005] The purpose of the present invention is to provide a method for controlling the temperature of a heat preservation and sperm collection environment, which optimizes the LADRC controller by improving the sperm swarm optimization algorithm (ISSO), and automatically optimizes the LADRC controller during the operation of the temperature control system in the heat preservation and sperm collection environment. K p , b 0, ω0 parameters, improve the anti-disturbance ability, self-adaptation ability and precise temperature control ability of LADRC controller, so that the temperature of the insulation and sperm collection environment can maintain temperature stability without frequent manual adjustment; greatly enhance the control accuracy of the insulation and sperm collection environment temperature control system, ensure that sperm maintains a suitable environment during storage, and ultimately improve storage quality and fertility success rate.

[0006] To achieve the above object, the present invention provides the following technical solution: a method for controlling the temperature of a heat preservation and sperm collection environment, comprising: an improved sperm swarm optimization algorithm (ISSO) and a first-order LADRC control algorithm, and the specific steps are:

[0007] S1. Establish a simulation model for the temperature control system of the heat preservation and collection environment, wherein the simulation model includes a LADRC controller model, a performance evaluation index model and a heat preservation and collection temperature adjustment model.

[0008] S2. In the simulation model, a performance evaluation index model is established, and the performance evaluation index of the control system is used as the objective function of the ISSO algorithm.

[0009] S3. In the simulation model, in order to simulate the actual situation of the temperature regulation of the indoor environment of the thermal insulation and precision collection, a thermal insulation and precision collection temperature regulation model is established.

[0010] S4. Introducing nonlinear inertia weight and sperm empowerment mechanism to improve sperm swarm optimization algorithm. The specific improvements are as follows: Sa1. Introducing nonlinear factors to improve the speed formula of sperm renewal; Sa2. Introduce sperm empowerment mechanism to improve the position update formula of the algorithm.

[0011] S5. A mathematical model is established for the improved sperm swarm optimization algorithm (ISSO). By simulating the movement behavior of sperm in the female reproductive system, the algorithm is iteratively updated in the search space, continuously searching for individual solutions and gradually approaching the optimal solution. After the iteration is terminated, the individual optimal solution is decoded into a control parameter sequence of the LADRC controller, thereby obtaining the optimal ISSO-LADRC control method.

[0012] S6. The ISSO-LADRC method is used to realize closed-loop control of the temperature control of the thermal insulation environment, which can effectively improve the control accuracy and robustness of the flow LADRC controller.

[0013] Furthermore, in S1, a simulation model is established for the temperature control system of the heat preservation and collection environment, and the simulation model includes a LADRC controller model, a performance evaluation index model and a heat preservation and collection temperature adjustment model. In order to improve the accuracy and robustness of the heat preservation and collection environment temperature control, the first-order LADRC controller model established includes a linear extended observer (LESO), a linear state error feedback controller (LSEF) and a linear tracking differentiator (LTD). The mathematical model of LESO is: (1); In formula (1), is the estimated value of the system state, that is, the estimated temperature, represents the rate of change of the estimated value of the system state, is the estimated value of the total disturbance, represents the rate of change of the disturbance estimate, , is the observer gain, is the control gain of the system, is the actual temperature output value of the system, is the output control quantity of the first-order LADRC, where , The mathematical model is: (2); In formula (2), is the controller bandwidth.

[0014] Furthermore, the mathematical model of LSEF is established based on the state error and disturbance estimation value: (3); In formula (3), is the target temperature, is the controller gain, 、 and The meaning is the same as above.

[0015] Furthermore, LTD is used to generate a smooth signal of the reference input and its differential signal to avoid sudden changes in the reference signal. The mathematical model of LTD is: (4); In formula (4), is the smoothed signal of the reference input, represents the rate of change of the reference input smoothed signal, is the differential signal of the reference input, It represents the rate of change of the reference input differential signal. R is the adjustment parameter of LTD, which determines the tracking speed. is the target temperature.

[0016] Furthermore, in the S2, in the simulation model, a performance evaluation index model is established, and the performance evaluation index of the control system is used as the objective function of the ISSO algorithm. In the temperature control system of the heat preservation and sperm collection environment, in order to ensure the activity of sperm, it is necessary to quickly reach the target temperature, and select As a performance evaluation indicator model, The mathematical model is: (5); In formula (5), is the quantified performance indicator. The tracking error generated for LTD, is the actual running time of the control system, The total running time of the system.

[0017] Furthermore, in S3, in order to simulate the actual situation of the indoor environment temperature regulation of the heat preservation and collection, a first-order inertia plus pure lag system is established to describe the dynamic characteristics of the heat preservation and collection temperature regulation model, and its mathematical model is: (6); In formula (6), is the system gain, which represents the heating or cooling capacity of the temperature regulating device, is the system time constant, which indicates the inertia of temperature change, is the system lag time, indicating the response lag of the temperature control device. is a complex frequency domain variable.

[0018] Furthermore, the inertia characteristics and hysteresis characteristics in the heat preservation and precision temperature regulation model are separated, and the mathematical model of the first-order transfer function is established as follows: (7); In formula (7), the parameters have the same meaning as above.

[0019] Furthermore, in S4, the sperm group optimization algorithm is improved, and the specific improvement steps are: Sa1. Dynamic weights are introduced to improve the mathematical model for sperm velocity update. The improved mathematical model for sperm velocity update is: (8); In formula (8), is the dynamic weight, is the initial sperm velocity, is the current location of the best sperm individual, is the global optimal sperm individual position.

[0020] Furthermore, The mathematical model is: (9); In formula (9), is the dynamic weight, is the scaling factor of the weight, is a Gaussian function used to calculate the current number of iterations. Adjust the weights, is the fitness of the position of the i-th sperm individual in the current iteration, is the minimum fitness in the current iteration, is a parameter that controls the speed of weight decay. is half of the total number of iterations, A parameter that controls the range of weight adjustment.

[0021] Sa2. Introduce sperm empowerment mechanism to improve the algorithm's position update formula, so that some sperm individuals can obtain stronger adaptability, thereby improving the algorithm's global search ability and ability to jump out of local optimality. When the algorithm is in two adjacent iterations, the minimum fitness in the current iteration When the error does not exceed 1%, the sperm empowerment mechanism is introduced to empower some individuals with smaller fitness. The empowered individuals have stronger search capabilities. The mathematical model of the sperm empowerment mechanism is: (10); In formula (10), is the position of the i-th sperm individual in the current iteration, i= 1 ,…, N, N is the population size of the algorithm, is the current iteration number, For the updated i The location of individual spermatozoa, The first i Sperm individual velocity, The first i The fitness of individual sperm, Select the fitness threshold for sperm empowerment in the current iteration, is the location of the sperm individual with the smallest fitness in the total number of iterations, To control the mutation intensity factor, is a uniform random disturbance, is the average position of all sperm individuals in the population, The mathematical model is: (11); In formula (11), is the location of the individual with the highest fitness in the current iteration, is the location of the individual with the smallest fitness in the current iteration.

[0022] Furthermore, in said S5, a mathematical model is established for an improved sperm swarm optimization algorithm (ISSO), and the specific steps are as follows: Sb1, initialize the upper and lower bounds of the individual solution [ ub,lb ], the total number of iterations to initialize the improved sperm swarm optimization algorithm (ISSO) MaxIter and population size N , initialize the dimensions of the individual solution dim , that is, first-order LADRCThe number of controller parameters to be optimized; Sb2. Initialize the positions of all sperm individuals. The mathematical model for initializing the positions of sperm individuals is: (12); In formula (12), is the initial position of the randomly generated sperm individual, is a random number between [0, 1], and are the upper and lower bounds of the individual solution; Sb3, calculate the fitness value of each sperm through the objective function, sort the fitness of all individuals, and select the minimum fitness value. , the individual position with the minimum fitness is , the maximum fitness is , the individual position with the maximum fitness is ; Sb4. Calculate the initial velocity of individual sperm. The mathematical model of the initial velocity of sperm is: (13); In formula (13), is a random number between [0, 1], representing the velocity damping factor. is the initial sperm velocity parameter, is a random number between [7, 14], representing value; Sb5. Calculate the current best individual sperm position of the sperm population. The mathematical model for calculating the current best individual sperm position is: (14); In formula (14), is the updated individual best position, is a random number between [7, 14], representing value, is a random number between [35.1, 38.5], is the individual position with the minimum fitness in the current iteration, is the position of the i-th sperm individual in the current iteration; Sb6. Calculate the global optimal sperm individual position of the sperm population. The mathematical model for calculating the global optimal sperm individual position is: (15); In formula (15), is the updated global optimal sperm individual position, is a random number between [7, 14], representing value, is a random number between [35.1, 38.5], is the individual position with the minimum fitness in the total iteration, is the position of the i-th sperm individual in the current iteration; Sb7, updating the sperm velocity through the improved sperm velocity updating mathematical model, the improved sperm velocity updating mathematical model is the same as step Ss1; Sb8. Divide the population into three parts and perform different mutation operations on each part, including: non-uniform mutation, uniform mutation and no mutation; Sb9. Perform non-uniform mutation operation on the population in the first part. The mathematical model of non-uniform mutation is: (16); In formula (16), is a random number between [0, 1], and the other parameters have the same meaning as above; Sb10. Perform uniform mutation operation on the population in the second part. The mathematical model of uniform mutation is: (17); In formula (17), is a random number between [0, 1], and the other parameters have the same meaning as above; Sb11, check whether the positions of all individuals in the population are out of bounds, if so, set the upper and lower bounds [ ub , lb ] assign values ​​to individual positions; Sb12, Check the current number of iterations iter Is it greater than the total number of iterations? MaxIter If yes, then the individual position with the lowest output fitness is the optimal solution, and the optimal solution is decoded into the optimal controller parameter sequence of the LADRC controller. If no, return to step Sb3 to continue iterative optimization.

[0023] The present invention proposes a method for controlling the temperature of a heat preservation and sperm collection environment, which automatically optimizes the LADRC controller during the operation of the temperature control system in the heat preservation and sperm collection environment by improving the sperm swarm optimization algorithm (ISSO). , , Parameters, compared with the prior art, the beneficial effects of the present invention are: M1. By introducing nonlinear inertia weight and sperm empowerment mechanism, the algorithm has a larger search range in the early stage and can quickly explore the global solution space; while in the later stage, the search range is gradually reduced to improve the local search accuracy and avoid falling into the local optimum; M2. By improving the sperm group optimization algorithm to optimize the first-order LADRC controller in the heat preservation and sperm collection environment, the improved SSO algorithm can more accurately optimize the control parameters of the LADRC, so that the LADRC has better dynamic response and anti-interference capabilities, improves the control accuracy of the LADRC, and enables the LADRC to maintain a high control performance in the complex environment of heat preservation and sperm collection; M3. The optimized LADRC controller can control the temperature of the heat preservation and sperm collection environment more accurately, reduce the impact of temperature fluctuations on the heat preservation and sperm collection environment, and ensure the survival rate and quality of sperm. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 The overall technical optimization framework diagram for the temperature control of the thermal insulation environment.

[0025] Figure 2 Flowchart for optimizing the parameters of the first-order LADRC controller for an improved sperm swarm optimization algorithm.

[0026] Figure 3 Comparison of evolution curves for optimizing the first-order LADRC controller using the improved sperm swarm optimization algorithm and the common sperm swarm optimization algorithm.

[0027] Figure 4 Evolutionary graph of the best control parameters for optimizing the first-order LADRC controller using the improved sperm swarm optimization algorithm.

[0028] Figure 5 Comparison chart of the responses of the first-order LADRC controller optimized by the improved sperm swarm optimization algorithm and the ordinary sperm swarm optimization algorithm. DETAILED DESCRIPTION

[0029] The following will further illustrate the content of the present invention in conjunction with the accompanying drawings in the embodiments of the present invention, but it should not be understood as limiting the present invention. Without departing from the spirit and essence of the present invention, modifications or replacements made to the method, steps or conditions of the present invention all belong to the protection scope of the present invention.

[0030] See also Figure 1-Figure 5 The present invention provides a method for controlling the temperature of a heat preservation and sperm collection environment. The method improves the sperm swarm optimization algorithm (ISSO) by introducing nonlinear inertia weight and sperm empowerment mechanism, and optimizes the LADRC controller parameters in the temperature control system of the heat preservation and sperm collection environment by using the improved sperm swarm optimization algorithm, thereby enhancing the control accuracy and stability of the temperature control system of the heat preservation and sperm collection environment. The implementation process includes two parts: ISSO algorithm modeling and temperature control system simulation. Figure 1 As shown, the specific steps are S1~S5.

[0031] S1. Establish a simulation model for the temperature control system of the heat preservation and collection environment through Simulink. The simulation model includes a LADRC controller model, a performance evaluation index model and a heat preservation and collection temperature adjustment model. The specific steps of establishing the LADRC controller model are as follows: Sf1. Establish the linear extended observer (LESO) of the first-order LADRC controller model. The mathematical model of LESO is: (1); In formula (1), is the estimated value of the system state, that is, the estimated temperature, represents the rate of change of the estimated value of the system state, is the estimated value of the total disturbance, represents the rate of change of the disturbance estimate, , is the observer gain, is the control gain of the system, is the actual temperature output value of the system, is the output control quantity of the first-order LADRC, where , The mathematical model is: (2); In formula (2), is the controller bandwidth; Sf2, establish the linear state error feedback controller (LSEF) of the first-order LADRC controller model. The mathematical model of LSEF is: (3); In formula (3), is the target temperature, is the controller gain, 、 and The meaning is the same as above; Sf3. Establish the linear tracking differentiator (LTD) of the first-order LADRC controller model. The mathematical model of LTD is: (4); In formula (4), is the smoothed signal of the reference input, represents the rate of change of the reference input smoothed signal, is the differential signal of the reference input, represents the rate of change of the reference input differential signal, It is the adjustment parameter of LTD, which determines the tracking speed and is set to 5. is the target temperature.

[0032] S2. In the simulation model, a performance evaluation index model is established, and the performance evaluation index of the control system is used as the objective function of the ISSO algorithm. As a performance evaluation indicator model, The mathematical model is: (5); In formula (5), is the quantified performance indicator. The tracking error generated for LTD, is the actual running time of the control system, The total running time of the system.

[0033] S3. In the simulation model, in order to simulate the actual situation of the indoor temperature regulation of the thermal insulation collection, a first-order inertia plus pure lag system is established to describe the dynamic characteristics of the thermal insulation collection temperature regulation model. Its mathematical model is: (6); In formula (6), is the system gain, which represents the heating or cooling capacity of the temperature regulating device, is the system time constant, which indicates the inertia of temperature change, is the system lag time, indicating the response lag of the temperature control device, and is set to 2 sampling times. is a complex frequency domain variable; Furthermore, the inertia and hysteresis characteristics in the heat preservation and precision temperature regulation model are separated. Set to 1.5, Set it to 10, and establish the mathematical model of the first-order transfer function as: (7); In formula (7), the parameters have the same meaning as above.

[0034] S4. Introducing nonlinear inertia weight and sperm empowerment mechanism to improve sperm swarm optimization algorithm. The specific improvement steps are as follows: Sa1. Dynamic weights are introduced to improve the mathematical model for sperm velocity update. The improved mathematical model for sperm velocity update is: (8); In formula (8), is the dynamic weight, is the initial sperm velocity, is the current best individual sperm position in the current iteration, is the position of the global best sperm individual; Furthermore, ω The mathematical model is: (9); In formula (9), is the dynamic weight, is the weight scaling factor, set to 1, is a Gaussian function used to calculate the current number of iterations. Adjust the weights, is the fitness of the position of the i-th sperm individual in the current iteration, is the minimum fitness in the current iteration, To control the weight decay speed, set it to 5. μ is half of the total number of iterations, σ The parameter to control the range of weight adjustment is set to one quarter of the total number of iterations.

[0035] Sa2. The position update formula of the improved algorithm of sperm empowerment mechanism is introduced. The mathematical model of sperm empowerment mechanism is: (10); In formula (10), is the position of the i-th sperm individual in the current iteration, i= 1 ,…, N, N is the population size of the algorithm, is the current iteration number, For the updated i The location of individual spermatozoa, The first i Sperm individual velocity, The first i The fitness of individual sperm, Select the fitness threshold for sperm empowerment in the current iteration, is the location of the sperm individual with the smallest fitness in the total number of iterations, To control the mutation intensity factor, set it to 0.03. is a uniform random disturbance with a value in [-1, 1], is the average position of all sperm individuals in the population, The mathematical model is: (11); In formula (11), is the location of the individual with the highest fitness in the current iteration, is the location of the individual with the smallest fitness in the current iteration.

[0036] S5. Establish a mathematical model for the improved sperm swarm optimization algorithm (ISSO). The specific steps are: Sb1, initialize the upper and lower bounds of the individual solution [ ub,lb ] is [0, 100], the total number of iterations of the initialization improved sperm swarm optimization algorithm (ISSO) is 20, and the population size N To 30, initialize the dimension of the individual solution dim is 3; Sb2. Initialize the positions of all sperm individuals. The mathematical model for initializing the positions of sperm individuals is: (12); In formula (12), is the initial position of the randomly generated sperm individual, is a random number between [0, 1], and are the upper and lower bounds of the individual solution; Sb3, calculate the fitness value of each sperm through the objective function, sort the fitness of all individuals, and select the minimum fitness value. , the individual position with the minimum fitness is , the maximum fitness is , the individual position with the maximum fitness is ; Sb4. Calculate the initial velocity of individual sperm. The mathematical model of the initial velocity of sperm is: (13); In formula (13), is a random number between [0, 1], is the initial sperm velocity parameter, set to 1, is a random number between [7, 14]; Sb5. Calculate the current best individual sperm position of the sperm population. The mathematical model for calculating the current best individual sperm position is: (14); In formula (14), is the updated individual best position, is a random number between [7, 14], is a random number between [35.1, 38.5], is the individual position with the minimum fitness in the current iteration, is the position of the i-th sperm individual in the current iteration; Sb6. Calculate the global optimal sperm individual position of the sperm population. The mathematical model for calculating the global optimal sperm individual position is: (15); In formula (15), is the updated global optimal sperm individual position, is a random number between [7, 14], is a random number between [35.1, 38.5], is the individual position with the minimum fitness in the total iteration, is the position of the i-th sperm individual in the current iteration; Sb7, updating the sperm velocity through the improved sperm velocity updating mathematical model, the improved sperm velocity updating mathematical model is the same as step Ss1; Sb8. Divide the population into three parts and perform different mutation operations on each part, including: non-uniform mutation, uniform mutation and no mutation; Sb9. Perform non-uniform mutation operation on the population in the first part. The mathematical model of non-uniform mutation is: (16); In formula (16), is a random number between [0, 1], and the other parameters have the same meaning as above; Sb10. Perform uniform mutation operation on the population in the second part. The mathematical model of uniform mutation is: (17); In formula (17), is a random number between [0, 1], and the other parameters have the same meaning as above; Sb11, check whether the positions of all individuals in the population are out of bounds, if so, set the upper and lower bounds [ ub , lb ] assign values ​​to individual positions; Sb12, Check the current number of iterations iter Is it greater than the total number of iterations? MaxIter If yes, then the individual position with the lowest output fitness is the optimal solution, and the optimal solution is decoded into the optimal controller parameter sequence of the LADRC controller. If no, return to step Sb3 to continue iterative optimization.

[0037] S6. Use the ISSO-LADRC method to achieve closed-loop control of the temperature of the heat preservation and collection environment. The specific steps are: Sc1. Use Simulink to establish a simulation model for the temperature control system of the heat preservation and precision environment. Set the running time of the control system simulation model to 50s, the sampling time to 0.5s, the initial temperature to 0℃, and the target temperature to 1℃; Sc2. Run the improved sperm swarm optimization algorithm mathematical model, output the updated individual solution of the algorithm during the algorithm iteration process, and decode the individual solution into the LADRC controller parameter sequence; Sc4. Input the LADRC controller parameter sequence into the controller and run the temperature control system simulation model; Sc5, the step signal module outputs the target temperature, and the actual temperature output by the temperature control system is fed back in real time through the feedback loop. The error calculation module calculates the difference between the target temperature and the actual temperature to obtain e(t) ,Will e(t) Input into the ISSO-LADRC controller; Sc6, ISSO-LADRC controller output control quantity u(t) To the first-order transfer function, the delay module delays two sampling time points to simulate the inertia and hysteresis characteristics of the temperature control system; Sc7, performance evaluation index model calculates the performance quantitative index of the temperature control system and passes it to the improved sperm swarm optimization algorithm mathematical model as fitness; Sc8. Determine whether the algorithm iteration is terminated. If it is terminated, output the individual optimal solution of the improved sperm swarm optimization algorithm, and decode the individual optimal solution into the optimal LADRC control parameter sequence, such as Figure 3 As shown, the best , , The parameters are: 7.528, 0.409, 8.320.

[0038] like Figure 4 As shown in the figure, the convergence speed of the common algorithm is slow. In the early stage of iteration (the first few iterations), the fitness value drops significantly, but as the number of iterations increases, the rate of decline gradually slows down, and finally stabilizes when the number of iterations reaches about 10. This shows that the common algorithm has a certain optimization ability in the early stage, but it is easy to fall into the local optimum in the later stage, and the convergence speed drops significantly; while the convergence speed of the improved algorithm is significantly faster. In the early stage of iteration, the fitness value drops rapidly, indicating that the improved algorithm can find a better solution faster. Even in the later stage of iteration, the fitness value of the improved algorithm continues to drop until it approaches the optimal solution. This shows that the improved algorithm has achieved a better balance between global search and local optimization, and can converge to a better solution faster.

[0039] like Figure 5As shown in the figure, in the rising stage, the response speed of the improved sperm swarm optimization algorithm is comparable to that of the ordinary sperm swarm optimization algorithm, and both are close to the target temperature of 1°C in a relatively short time. After reaching the target temperature, the overshoot of the improved sperm swarm optimization algorithm is smaller than that of the ordinary sperm swarm optimization algorithm. The output value of the ordinary sperm swarm optimization algorithm once exceeded 15%, showing a large oscillation, and it will take a longer time to reach a stable state. The stabilization time of the improved sperm swarm optimization algorithm is relatively short, and it has stabilized near the target temperature of 1°C in about 10 seconds, while the ordinary sperm swarm optimization algorithm takes 30 seconds to stabilize. Therefore, the improved sperm swarm optimization algorithm is superior to the ordinary sperm swarm optimization algorithm in response speed, overshoot and stabilization time, showing better control performance.

[0040] In summary, the present invention provides a method for controlling the temperature of a heat-insulating sperm collecting environment. The method improves the sperm swarm optimization algorithm (ISSO) by introducing nonlinear inertia weights and sperm empowerment mechanisms, and uses the improved sperm swarm optimization algorithm to optimize the LADRC controller parameters in the temperature control system of the heat-insulating sperm collecting environment, thereby improving the anti-disturbance capability, adaptability and precise temperature control capability of the LADRC controller, so that the temperature of the heat-insulating sperm collecting environment can maintain temperature stability without the need for frequent manual adjustment; the control accuracy of the temperature control system of the heat-insulating sperm collecting environment is greatly enhanced, ensuring that sperm maintains a suitable environment during storage, and ultimately improving storage quality and fertility success rate.

Claims

1. A method for controlling the temperature of a heat preservation and sperm collection environment, characterized in that: Specifically include: S1. Establish a simulation model for the temperature control system of the heat preservation and collection environment, including the LADRC controller model, the performance evaluation index model and the heat preservation and collection temperature adjustment model; S2. Establish a performance evaluation index model, and use the performance evaluation index model of the control system as the objective function of the ISSO algorithm; S3, establish a heat preservation and precision temperature regulation model; S4, introduce nonlinear inertia weight and sperm empowerment mechanism to improve sperm swarm optimization algorithm, specifically: Sa1. Introducing dynamic weights Improve the mathematical model of sperm velocity update, The mathematical model is: (1); In formula (1), is the scaling factor of the weight, is a Gaussian function, is the fitness of the position of the i-th sperm individual in the current iteration, is the minimum fitness in the current iteration, is a parameter that controls the speed of weight decay. is half of the total number of iterations, Parameters for controlling the weight adjustment range; Sa2. Introduce the position update mathematical model of the sperm empowerment mechanism to improve the algorithm. The mathematical model of the sperm empowerment mechanism is: (2); In formula (2), is the position of the i-th sperm individual in the current iteration, i= 1 ,…, N, N is the population size of the algorithm, is the current iteration number, For the updated i The location of individual spermatozoa, The first i Sperm individual velocity, The first i The fitness of individual sperm, Select the fitness threshold for sperm empowerment in the current iteration, x gbest is the location of the sperm individual with the smallest fitness in the total number of iterations, δ To control the mutation intensity factor, is a uniform random disturbance, is the average position of all sperm individuals in the population, The mathematical model is: (3); In formula (3), is the location of the individual with the highest fitness in the current iteration, is the location of the individual with the smallest fitness in the current iteration; S5. Establish a mathematical model for the improved sperm swarm optimization algorithm (ISSO). After the iteration is terminated, decode the individual optimal solution found by the algorithm into a control parameter sequence of the LADRC controller to obtain the optimal ISSO-LADRC control method. S6. Use ISSO-LADRC method to realize closed-loop control of the temperature control system of the thermal insulation and precision collection environment.

2. A method for controlling the temperature of a heat preservation and sperm collection environment according to claim 1, characterized in that: In said S5, in order to establish a mathematical model for improving the sperm group optimization algorithm, the specific steps are as follows: Sb1, initialize the upper and lower bounds of the individual solution [ ub,lb ], the total number of iterations to initialize the improved sperm swarm optimization algorithm (ISSO) MaxIter and population size N , initialize the dimensions of the individual solution dim ; Sb2, initialize the positions of all sperm individuals; Sb3, calculate the fitness value of each sperm, sort all fitness values, and select the minimum fitness value. , the individual position with the minimum fitness is , the maximum fitness is , the individual position with the maximum fitness is ; Sb4, calculate the initial velocity of individual sperm, the current best individual sperm position, and the global best individual sperm position; Sb5, updating the sperm velocity through the improved sperm velocity updating mathematical model; Sb6. Divide the population into three parts and perform different mutation operations on each part, including: non-uniform mutation, uniform mutation and no mutation; Sb7, check whether the positions of all individuals in the population are out of bounds, if so, set the upper and lower bounds [ ub , lb ] assign values ​​to individual positions; Sb8, Check the current number of iterations iter Is it greater than the total number of iterations? MaxIter If yes, then the individual position with the lowest output fitness is the optimal solution, and the optimal solution is decoded into the optimal controller parameter sequence of the LADRC controller. If no, return to step Sb3 to continue iterative optimization.

3. A method for controlling the temperature of a heat preservation and sperm collection environment according to claim 2, characterized in that: In step Sb2, the mathematical model of initializing the individual sperm positions is: (4); In formula (4), is the initial position of the randomly generated sperm individual, is a random number between [0, 1], and are the upper and lower bounds of the individual solution.

4. A method for controlling the temperature of a heat preservation and sperm collection environment according to claim 2, characterized in that: In step Sb4, the mathematical model for calculating the initial sperm velocity is: (5); In formula (5), is a random number between [0, 1], is the initial sperm velocity parameter, is a random number between [7, 14]; The mathematical model for calculating the current optimal sperm individual position is: (6); In formula (6), is the updated individual best position, is a random number between [7, 14], is a random number between [35.1, 38.5], is the individual position with the minimum fitness in the current iteration, is the position of the i-th sperm individual in the current iteration; The mathematical model for calculating the global optimal sperm individual position is: (7); In formula (7), is the updated global optimal sperm individual position, is a random number between [7, 14], is a random number between [35.1, 38.5], is the individual position with the minimum fitness in the total iteration, is the position of the i-th sperm individual in the current iteration.

5. A method for controlling the temperature of a heat preservation and sperm collection environment according to claim 2, characterized in that: In step Sb5, the improved sperm velocity updating mathematical model is: (8); In formula (8), For the dynamic weight introduced, is the initial sperm velocity, is the current location of the best sperm individual, is the global optimal sperm individual position.

6. A method for controlling the temperature of a heat preservation and sperm collection environment according to claim 2, characterized in that: The step Sb8 is to perform a non-uniform mutation operation on the population of the first part, and the mathematical model of the non-uniform mutation is: (9); In formula (9), is a random number between [0, 1], and the other parameters have the same meaning as above; The population in the second part is subjected to uniform mutation operation. The mathematical model of uniform mutation is: (10); In formula (10), is a random number between 0 and 1. The other parameters have the same meanings as above.

Citation Information

Patent Citations

  • Dynamic scheduling method for installation, adjustment and production of multi-model and small-batch complex equipment products

    CN114186791A

  • Spacecraft cluster orbit reconstruction path planning method based on MAPIO

    CN114397818A

  • Motor active-disturbance-rejection control parameter setting method and device and electronic equipment

    CN116131703A

  • Control method for adjusting transition state speed of aero-engine

    CN117588314A

  • Temperature and humidity control method and device applied to seedling raising greenhouse and medium

    CN117742422A