Inspection mass charge control method based on improved fruit fly optimization dynamic sliding mode
Through the improved Drosophila optimization dynamic sliding mode control method, the controller parameters of the charge management system are optimized, and the problem that parameters cannot be maintained for a long time in different scenarios is solved, achieving fast response and high stability charge control effects.
Patent Information
- Application Number
- CN202411113624.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-14
- Publication Date
- 2024-11-12
- Estimated Expiration
- 2044-08-14
AI Technical Summary
In different application scenarios, fixed controller parameters cannot be maintained at the optimal state for a long time, affecting the performance and stability of the charge management system.
The improved Drosophila optimized dynamic sliding mode control method is adopted, and the controller parameters are optimized to meet the needs of different scenarios by calculating the position of the optimal individual in the Drosophila as the parameter of the dynamic sliding mode control law, combining Logistic mapping and adaptive search radius.
It realizes the fast response and robustness of the dynamic sliding mode controller, eliminates the influence of time-varying parameters and external disturbances, and improves the stability and control accuracy of the system.
Smart Images

Figure CN118938834A_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of inspection quality charge control. Background Art
[0002] High-precision inertial sensors are scientific instruments that work in a microgravity environment to perform high-precision acceleration measurements. They have the advantages of high resolution and can be applied to various types of space science missions, including satellite gravity measurements for global gravity field inversion, space gravitational wave detection, space equivalence principle testing, space Newton's inverse square law testing, etc. In space gravitational wave detection, the test mass (TM) in the high-precision inertial sensor serves as an inertial reference. When the gravitational wave signal passes by, the relative position between the two test masses changes. This change can be measured through intersatellite laser interferometry to detect the gravitational wave signal.
[0003] Due to the influence of external environmental factors such as solar high-energy particles and cosmic rays, the surface of the test mass in the space inertial sensor inevitably accumulates charges continuously, causing electrostatic forces between the test mass and the surrounding conductors, thereby introducing acceleration noise and affecting the detection of space gravitational waves. Therefore, it is necessary to manage the surface charge of the test mass, and design a charge management system (CMS) in the space inertial sensor system for charge control. When the charge management system is working, it is affected by external factors for a long time (ambient temperature, pressure, external pollution, etc.), which leads to the aging of ultraviolet light-emitting diode (UV LED) devices, changes in the surface characteristics of the metal coating of the inertial sensor (such as quantum yield), external disturbances, and the problem of charge measurement time delay in actual engineering, which affects the performance indicators of CMS and even causes system instability in severe cases. Based on this problem, the dynamic sliding mode control (DSMC) with the advantages of fast response speed and strong robustness is applied to the charge control of the charge management system. However, the requirements for the controller are different in different application scenarios, which will cause the fixed controller parameters to be unable to maintain the optimal state for a long time. Summary of the invention
[0004] The present invention aims to solve the problem that when a charge management system performs charge control, different requirements for the controller in different application scenarios are different, resulting in the fixed controller parameters being unable to maintain the optimal state for a long time. A quality inspection charge control method based on an improved fruit fly optimized dynamic sliding mode is now provided.
[0005] The inspection quality charge control method based on improved fruit fly optimization dynamic sliding mode includes:
[0006] The expected output value V of the test mass charge control system is used r The measured value V of the surface potential of the test mass at time t m_t The difference between the two defines the tracking error e at time t t ;
[0007] The parameters used to construct the dynamic sliding mode control law are used as the positions of fruit flies, the initial positions of the fruit fly population are randomly generated, the optimal individual fruit flies are calculated using the improved fruit fly optimization algorithm, and the positions of the optimal individual fruit flies are used as the optimal parameters [c1, c2, ε, k] at time t;
[0008] The optimal parameters [c1, c2, ε, k] are used to construct the dynamic sliding mode control law at time t.
[0009]
[0010] Among them, sgn() is the sign function, σ t is a second-order switching function and and They are s t and e t The first derivative of, intermediate variable A p is the actual decay rate of the ambient charging rate, B p is the attenuation coefficient of the quantum yield and UV light power, For B p The first derivative of , T1 is the charge measurement time delay, and V r The first, second, and third derivatives of V m_t The first derivative of V p_t is the output value of the mass charge control system at time t;
[0011] The tracking error e at time t t Substitute into the dynamic sliding mode control law at time t to calculate the control signal u of the charge control system at time t t , using the control signal u of the charge control system at time t t Performs charge control on the proof mass charge control system.
[0012] Furthermore, the above-mentioned calculation of the optimal fruit fly individual using the improved fruit fly optimization algorithm includes:
[0013] S1: Use Logistic mapping to map the initial position X_axis of the fruit fly population to the chaotic variable CX_axis;
[0014] S2: Use Logistic mapping to perform chaotic operations on the chaotic variable CX_axis to obtain the intermediate variable CX;
[0015] S3: Mapping the intermediate variable CX to the interval of the initial position of the fruit fly group to obtain the position X′_axis of the fruit fly group after the chaotic operation;
[0016] S4: using the adaptive strategy to adjust the adaptive search radius of the fruit fly individual when the number of iterations is k, to obtain the position of each fruit fly in the fruit fly population;
[0017] S5: Substitute each fruit fly position into the dynamic sliding mode control law at time t-1 to obtain the control signal u of the charge control system corresponding to the fruit fly position t ' -1 , the control signal u of the charge control system corresponding to each fruit fly position t ' -1 Substitute into the objective function and calculate the taste concentration value of each fruit fly's location;
[0018] The expression of the objective function J is:
[0019]
[0020] Among them, w1, w2 and w3 are weight coefficients and w3>>w1, eV t is the overshoot and has eV t =V p_t -V p_t-1 , V p_t and V p_t-1 are the output values of the inspection mass charge control system at time t and t-1 respectively;
[0021] S6: Select the fruit fly corresponding to the minimum flavor concentration as the high-quality fruit fly when the iteration number is k, and determine whether k is equal to the maximum iteration number. If so, take the high-quality fruit fly when the iteration number is k as the optimal individual of the fruit fly, otherwise set k=k+1, and then return to S4.
[0022] Furthermore, the above-mentioned adaptive strategy is used to adjust the adaptive search radius of the fruit fly individual when the number of iterations is k, including:
[0023] The adaptive search radius is adjusted by the following formula:
[0024]
[0025] Among them, w k is the adaptive search radius of the fruit fly individual when the number of iterations is k, w max and w min are the maximum and minimum search radius, respectively, k max is the maximum number of iterations.
[0026] Furthermore, the above-mentioned Logistic mapping is used to map the initial position X_axis of the fruit fly group to the chaotic variable CX_axis, including:
[0027] When the range of the initial position X_axis of the fruit fly group is [a, b], the chaotic variable CX_axis is obtained by the following formula:
[0028]
[0029] Furthermore, the above-mentioned chaotic operation of the chaotic variable CX_axis using Logistic mapping to obtain the intermediate variable CX includes:
[0030] The intermediate variable CX is obtained using the following formula:
[0031] CX=α·CX_axis·(1-CX_axis),
[0032] Among them, α is the control parameter. When α∈(3.56,4], the closer the value of α is to 4, the more severe the chaotic state is.
[0033] Furthermore, the above-mentioned mapping of the intermediate variable CX to the interval of the initial position of the fruit fly group to obtain the position X′_axis of the fruit fly group after the chaotic operation includes:
[0034] The position X′_axis of the fruit fly group after the chaotic operation is obtained using the following formula:
[0035] X′_axis=a+CX(ba).
[0036] Furthermore, the above-mentioned adaptive strategy is used to adjust the adaptive search radius of the fruit fly individual when the number of iterations is k, and the position of each fruit fly in the fruit fly group is obtained, including:
[0037] The position X of the i-th fruit fly is obtained by the following formula: i :
[0038] X i =X′_axis+w k Value rand(),
[0039] Among them, Value is a single flight distance, and rand() is a random value.
[0040] The inspection quality charge control method based on improved fruit fly optimization dynamic sliding mode of the present invention has the following beneficial effects:
[0041] (1) The dynamic sliding mode controller can track different step input commands in a short time and has the advantage of fast response speed. It can also eliminate the influence of complex factors such as parameter time variation, response time delay and external disturbance, and has strong robustness, thus improving the stability of the system.
[0042] (2) The present invention proposes an improved fruit fly optimization algorithm, which uses chaotic mapping to initialize the fruit fly population, increases the ergodicity of the population, and makes the initialization range more uniform; adaptive search radius, balances local optimization and global optimization capabilities; improves optimization speed and accuracy, and avoids falling into the defect of local optimality.
[0043] In summary, the present invention adopts the improved fruit fly optimization algorithm to further improve the efficiency and accuracy of dynamic sliding mode controller parameter tuning. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] Figure 1 The control block diagram of the inspection quality charge control method based on the improved fruit fly optimization dynamic sliding mode;
[0045] Figure 2 Optimizing the parameters of the dynamic sliding mode controller for improving the fruit fly optimization algorithm;
[0046] Figure 3 The DSMC dynamic response curves of three parameter adjustment methods are shown below;
[0047] Figure 4 The following are the TM potential output tracking error curves of the three parameter adjustment methods when the TM potential is controlled at -10mV. DETAILED DESCRIPTION
[0048] The following will be combined with the accompanying drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work belong to the scope of protection of the present invention. It should be noted that the embodiments of the present invention and the features in the embodiments can be combined with each other without conflict.
[0049] Specific implementation method 1. Reference Figures 1 to 4 Specifically describing this embodiment, the spatial inertial sensor inspection quality charge control method based on the improved fruit fly optimized dynamic sliding mode described in this embodiment includes:
[0050] S1: Design a dynamic sliding mode controller, refer to the high-order sliding mode idea, use the first-order sliding mode surface s as the system state point, use the new second-order sliding mode surface σ to design the controller, and use the Lyapunov function to prove its stability. The details are as follows:
[0051] S11: A charge control model and a charge measurement time delay model are given for designing a dynamic sliding mode controller.
[0052] Most space applications require multi-year on-orbit missions, so the aging of UV LED devices must be considered. Based on the experimental data of UV LED life test, it is concluded that the UV LED light power attenuation law is:
[0053]
[0054] Among them, p a (t) represents the UV LED light power, and α1, β1, and β2 are fitting parameters.
[0055] Due to changes in temperature, pressure and air pollution, the surface properties of conductor metal coatings (such as quantum yield) are different on different surfaces and even on the same surface at different times. Therefore, the change in quantum yield should be considered. Based on relevant experimental data, the quantum yield fitting curve is obtained as follows:
[0056]
[0057] Among them, QY C is the law of quantum yield change, Q0, α3, α4, β3, β4 are all fitting parameters.
[0058] Combining the ambient charge rate with the CMS charge and discharge rate, the total discharge rate of TM in space can be obtained That is, the charge control model:
[0059]
[0060] Among them, A p is the actual decay rate of the ambient charging rate, B p is the attenuation coefficient of quantum yield and UV light power and B p =0.2·p a ·QY C , u is the control signal of the charge control system, p a is the UV LED light power, V p is the TM surface potential, i.e., the output value of the test mass charge control system.
[0061] In aerospace engineering applications, many control systems have the characteristics of system communication and feedback measurement time delay (lag), which increases the system response time and, in severe cases, destroys the stability of the system. The time delay in the charge management system mainly comes from the charge measurement link, so this implementation ignores the system communication time delay and simulates the charge measurement time delay effect by introducing a first-order inertia link in the closed-loop system feedback link, that is, the charge measurement time delay model:
[0062]
[0063] Among them, T1 is the time constant of the delay link, V m is the measured value of TM surface potential after delay (feedback link), V m The first derivative of .
[0064] S12: Controller Design
[0065] V r To verify the expected output value of the mass charge control system, the TM surface potential measurement value V is used to minimize the surface potential of the test mass. m and the expected output value V r The difference defines the tracking error e:
[0066] e=V r -V m (5).
[0067] The stability of the control system is closely related to the switching function (sliding surface s). In order to ensure the existence and accessibility of the sliding mode, the first-order sliding surface s is designed as follows:
[0068]
[0069] in, is the first-order derivative of e, parameter c1>0.
[0070] The idea of high-order sliding surface in high-order sliding mode control is adopted, and the sliding surface s is used as the system state to design the second-order switching function σ:
[0071]
[0072] in, is the first-order derivative of s, parameter c2>0.
[0073] The first derivative of the second-order switching function σ for:
[0074]
[0075] Use the exponential reaching law method to speed up the approach process so that the system reaches the sliding surface in a shorter time:
[0076]
[0077] Among them, sgn() is the sign function, parameter ε>0, parameter k>0.
[0078] The relationship between the exponential reaching law and the first-order derivative of the second-order switching function is established and the control law is designed based on this. Let formula (8) and formula (9) be equal, then:
[0079]
[0080] Then design the dynamic sliding mode control law for:
[0081]
[0082] in,
[0083]
[0084]
[0085] T1 is the charge measurement time delay.
[0086] S13: Proof of Stability
[0087] Choose the following Lyapunov function and prove its stability:
[0088]
[0089] Taking the derivative of the Lyapunov function, we have:
[0090]
[0091] Substituting formula (11) into formula (15), we have:
[0092]
[0093] From formula (16), we can know that:
[0094] (1) When σ>0, ε>0, k>0, sgn(σ)>0, thus we can get
[0095] (2) When σ<0, ε>0, k>0, sgn(σ)<0, thus we can get
[0096] In summary, according to Lyapunov stability theory: energy function V>0 and when certain conditions are met, the derivative of the Lyapunov function The system meets stability requirements.
[0097] S2: The improved chaotic adaptive fruit fly optimization algorithm is used to automatically optimize the parameters of the dynamic sliding mode controller online, so that the controller performance can maintain the optimal state for a long time and improve the system stability and robustness.
[0098] S21: Improvement strategy
[0099] (1) Chaotic Mapping Optimization Algorithm (COA) is a direct search algorithm whose basic idea is to use the ergodicity of chaos to search for the best solution. The COA algorithm uses the laws of chaotic variables to optimize the search. Compared with random search, it can evenly traverse the entire search space, allowing the search algorithm to jump out of local extreme points.
[0100] As a nonlinear chaotic equation, Logistic mapping is a typical model for studying complex systems such as dynamic systems and chaos. Its function expression is:
[0101] x k+1 =αx k (1-x k ) (17),
[0102] Where k is the number of iterations, x k ∈(0,1), α is the control parameter. When α∈(3.56,4], the chaotic system determined by equation (17) enters a chaotic state. The closer the value of α is to 4, the more severe the chaotic state is.
[0103] (2) Adaptive step size strategy:
[0104] Although the standard fruit fly optimization algorithm (FOA) has good convergence speed and convergence accuracy, the fixed search radius is not conducive to taking into account both global and local optimization capabilities. Adopting the strategy of adaptive search radius, in the early stage of the search algorithm, a larger search radius can improve the convergence speed and increase the global optimization ability. In the later stage of the search algorithm, a smaller search radius can improve the convergence accuracy and increase the local optimization ability, making it easier to jump out of the local optimal value and avoid premature maturity.
[0105] The following formula is used to adaptively adjust the search radius:
[0106]
[0107] Among them, w k is the adaptive search radius of the fruit fly individual when the number of iterations is k, w max and w min are the maximum and minimum search radius, respectively, kmax is the maximum number of iterations.
[0108] S22: Objective Function Design
[0109] In the process of optimizing the parameters of the dynamic sliding controller using the chaotic adaptive fruit fly optimization algorithm (GIFOA), the flavor concentration value Smell is used as the update evaluation value, and the flavor concentration function F(S i ) is the bridge between the intelligent optimization algorithms GIFOA and DSMC, so it is crucial to design a suitable objective function (also known as flavor concentration function).
[0110] Generally speaking, the performance of a control system should be evaluated by comprehensively considering the dynamic performance (overshoot, adjustment time, rise time, etc.) and steady-state performance of the system. Therefore, the integral of the absolute value of the simulation time t multiplied by the tracking error e (ITAE) is selected as one of the items of the objective function J.
[0111]
[0112] In order to prevent the control output from being too large and increasing energy consumption, the square term u of the control signal of the charge control system is added 2 As one of the objective functions, the objective function is controlled simultaneously by the tracking error e, the simulation time t and the control signal u of the charge control system.
[0113] The objective function J is as follows:
[0114]
[0115] Although the ITAE performance index function can make the system achieve a faster response time, a large overshoot will occur in the dynamic response process. To address this problem, this implementation adopts a penalty mechanism, adds a weight coefficient to each item in the objective function, and adds an overshoot eV to the objective function. t As one of the items, the final objective function is:
[0116]
[0117] Among them, w1, w2, and w3 are the weight coefficients of each item. Generally, w3>>w1, and w1=0.999, w2=0.001, and w3=100.
[0118] eV t is the overshoot and has eV t =V p_t -V p_t-1 , V p_t and V p_t-1 are the output values of the mass charge control system at time t and t-1 respectively. When eV tWhen <0, the set of controller parameters found by GIFOA does not meet the optimization conditions. The overshoot is amplified by the penalty factor w3, making the value of the objective function too large, thereby eliminating this set of controller parameters.
[0119] S23: Steps of optimizing DSMC using GIFOA (Improved Fruit Fly Optimization Algorithm)
[0120] S231: The general steps for implementing GIFOA are as follows:
[0121] Step 1: Set the fruit fly population size Sizepop, the maximum number of iterations Maxgen and the spatial dimension, and randomly initialize the positions of the fruit fly population:
[0122] Init X_axis(23),
[0123] Among them, X_axis is a random value within the initial range.
[0124] Step 2: Use Logistic mapping to map the initial position of the fruit fly group X_axis to the chaotic variable CX_axis. The range of X_axis is [a, b]. The size of a and b is determined according to the range of the controller parameters in the actual system. The value range of the chaotic variable CX_axis is (0, 1), that is, X_axis is mapped from [a, b] to (0, 1). The mapping expression is as follows:
[0125]
[0126] Step 3: Use the Logistic mapping reference formula (17) to perform chaotic operations on the chaotic variable CX_axis to obtain the variable CX. The specific chaotic operation formula is as follows:
[0127] CX=α·CX_axis·(1-CX_axis) (25).
[0128] Step 4: Map the variable CX obtained through the chaos operation to a normal variable, that is, map CX from the interval (0,1) to the interval [a,b]. The specific operation formula after the chaos operation is as follows:
[0129] X′_axis=a+CX(ba) (26).
[0130] Step 5: Use the adaptive strategy (Formula 18) to adjust the adaptive random flight direction and distance of the fruit fly individual using its sense of smell to search for food. The position X of the i-th fruit fly is i :
[0131] X i =X′_axis+w kValue rand() (27),
[0132] Among them, Value is the single flight distance, rand() is a random value, and w k is the adaptive search radius of the fruit fly individual when the number of iterations is k.
[0133] Step 6: Adaptively update the fruit fly position X i Calculate the taste concentration judgment value S i :
[0134] S i =X i (28).
[0135] Step 7: Substitute the flavor concentration judgment value S in formula (28) i Substitute it into the objective function of concentration determination and calculate the taste concentration value Smell at the location of the i-th fruit fly individual i :
[0136] Smell i =Function(S i ) (29).
[0137] Specifically, make S i =X i =[c 1i ,c 2i ,ε i ,k i ], and obtain [c 1i ,c 2i ,ε i ,k i ] The corresponding charge control system control signal u i , and u i Substituting it into the objective function of concentration determination, the result obtained is the taste concentration value Smell i .
[0138] Step 8: Find the minimum value of the objective function and find the fruit fly individual with the best flavor concentration in the fruit fly population according to the flavor concentration value:
[0139] [bestSmell bestIndex]=min(Smell i ) (30),
[0140] Among them, bestSmell is the optimal smell concentration value of the contemporary fruit fly population, and bestIndex is the serial number of the fruit fly with the best smell concentration in the population.
[0141] Step 9: Save the optimal flavor concentration value and its corresponding location information (fruit fly serial number), and the fruit fly colony relies on sensitive vision to fly to that location.
[0142]
[0143] Among them, Smellbest is the optimal flavor concentration value, which is used to construct the dynamic sliding mode control law. The final parameters [c1,c2,ε,k] are
[0144] Step 10: Perform iterative optimization. Determine whether the number of iterations reaches the maximum number of iterations. If it does not meet the maximum number of iterations, repeat steps 5 to 9 again, otherwise the loop ends.
[0145] S232: According to the designed GIFOA program execution steps, the objective function in the GIFOA program is used to assign values to the parameters in the Simulink model and run Simulink to optimize the parameters online. The process of improving the fruit fly optimization algorithm to optimize the parameters of the dynamic sliding mode controller is as follows: Figure 2 shown.
[0146] Simulation experiment
[0147] Determine parameters and ranges:
[0148] Ambient charging rate A p Set to 3.13×10 -7 s -1 , equivalent to a charging rate of +20e s -1 . B p =0.2·QY C ·p a , QY C The quantum yield variation characteristics are shown in Figure 2. Q0 is 0.206, α3 is 0.274, α4 is 0.525, β3 is -394.013, and β4 is -4334.395. α1 is 0.239, β1 is 2.876, and β2 is 3493.317. The charge measurement time delay T1=1. The charge measurement noise is -0.05mV~+0.05mV. The external unknown disturbance d is -0.1mV~+0.1mV. The TM initial potential is -15mV. The fruit fly population space dimension Dim is 4. Set the fruit fly population size Sizepop to 30, the maximum number of iterations Maxgen to 50, the optimization parameter limit range to c1∈[0,3], c2∈[0,3], k∈[0,10], ε∈[0,10], the chaotic system selects Logistic mapping, a is 0.001, b is 10, α is 3.9, and the maximum step size in the adaptive search step is w max is 5, the minimum step length w minis 0.01, and the objective function weight coefficients are set to w1=0.999, w2=0.001, and w3=100.
[0149] In order to verify the performance of the standard FOA and GIFOA optimized dynamic sliding mode controller parameters, this implementation method simulates and verifies the controller parameters obtained by the two intelligent optimization algorithms. The manually adjusted controller parameters are: c1 = 0.05, c2 = 1, ε = 1, k = 1; the controller parameters after FOA optimization are: c1 = 0.0514, c2 = 1.031, ε = 1.1312, k = 1.1352; the controller parameters after GIFOA optimization are: c1 = 0.0612, c2 = 1.1731, ε = 4.1372, k = 1.5341.
[0150] This embodiment uses FOA, GIFOA and manually adjusted controller parameters to conduct simulation experiments. The results are as follows: Figure 3 and Figure 4 shown. Figure 3 is the closed-loop response of the dynamic sliding mode control. The entire simulation includes 3 cycles, and the input step command in each cycle gradually increases from -12mV to -10mV with a step of 2mV (each step lasts 1000s). The initial value is -15mV, and the simulation time is 0s to 9000s. The results show that under manual adjustment, the rise time is 44s, the adjustment time is 60s, and there is no overshoot. Under FOA, the rise time is 43s, the adjustment time is 58s, and there is no overshoot. Under GIFOA, the rise time is 36s, the adjustment time is 49s, and there is no overshoot. The dynamic performance of the dynamic sliding mode controller parameters optimized by GIFOA is better than that of FOA and manual adjustment.
[0151] Figure 4 The tracking errors of the TM potential of manual adjustment, FOA, and GIFOA are given when the TM potential is controlled at -10mV after 6000s. Figure (a) is a composite diagram of the three cases. It can be seen from Figure (a) that the tracking error of GIFOA is smaller after stabilization, which is better than the tracking errors of manual adjustment and FOA. Figure (b) shows that the tracking error in the case of manual adjustment is -0.03mV~+0.04mV. Figure (c) shows that the tracking error in the case of FOA is -0.03mV~+0.04mV. Figure (d) shows the tracking error in the case of GIFOA, and its value is -0.02mV~+0.02mV.
[0152] In summary, the dynamic sliding mode controller parameters optimized by GIFOA are better than those of FOA and manual adjustment in terms of both dynamic and steady-state performance, which verifies the effectiveness of the designed GIFOA in finding the optimal solution.
[0153] Specific implementation method 2: The spatial inertial sensor inspection quality charge control method based on the improved fruit fly optimized dynamic sliding mode described in this implementation method includes:
[0154] Step 1: Use the expected output value V of the test mass charge control system r The measured value V of the surface potential of the test mass at time t m_t The difference between the two defines the tracking error e at time t t =V r -V m_t .
[0155] Step 2: Use the parameters used to construct the dynamic sliding mode control law as the fruit fly position, randomly generate the initial position of the fruit fly group, and use the improved fruit fly optimization algorithm to calculate the optimal fruit fly individual. Specifically, it includes the following steps:
[0156] S1: When the range of the initial position X_axis of the fruit fly group is [a, b], the initial position X_axis of the fruit fly group is mapped to the chaotic variable CX_axis using Logistic mapping:
[0157]
[0158] S2: Use Logistic mapping to perform chaotic operations on the chaotic variable CX_axis to obtain the intermediate variable CX:
[0159] CX=α·CX_axis·(1-CX_axis),
[0160] Among them, α is the control parameter. When α∈(3.56,4], the closer the value of α is to 4, the more severe the chaotic state is.
[0161] S3: Map the intermediate variable CX to the interval of the initial position of the fruit fly group to obtain the position X′_axis of the fruit fly group after the chaotic operation:
[0162] X′_axis=a+CX(ba).
[0163] S4: Use the adaptive strategy to adjust the adaptive search radius of the fruit fly individual when the number of iterations is k:
[0164]
[0165] Among them, w k is the adaptive search radius of the fruit fly individual when the number of iterations is k, w max and w min are the maximum and minimum search radius, respectively, k max is the maximum number of iterations.
[0166] Then, the position of each fruit fly in the fruit fly population is calculated according to the adaptive search radius:
[0167] X i =X′_axis+w k Value rand(),
[0168] Among them, X i is the position of the ith fruit fly, Value is the single flight distance, and rand() is a random value.
[0169] S5: Substitute each fruit fly position into the dynamic sliding mode control law at time t-1 to obtain the control signal u of the charge control system corresponding to the fruit fly position t ' -1 , the control signal u of the charge control system corresponding to each fruit fly position t ' -1 Substitute into the objective function and calculate the taste concentration value of each fruit fly's location:
[0170]
[0171] Among them, w1, w2 and w3 are weight coefficients and w3>>w1, eV t is the overshoot and has eV t =V p_t -V p_t-1 , V p_t and V p_t-1 are the output values of the inspection mass charge control system at time t and t-1 respectively;
[0172] S6: Select the fruit fly corresponding to the minimum flavor concentration as the high-quality fruit fly when the iteration number is k, and determine whether k is equal to the maximum iteration number. If so, take the high-quality fruit fly when the iteration number is k as the optimal individual of the fruit fly, otherwise set k=k+1, and then return to S4.
[0173] Step 3: The position of the optimal fruit fly individual is taken as the optimal parameter [c1, c2, ε, k] at time t.
[0174] Step 4: Use the optimal parameters [c1, c2, ε, k] to construct the dynamic sliding mode control law at time t
[0175]
[0176] Among them, sgn() is the sign function, σ t is a second-order switching function and and They are s t and e tThe first derivative of, intermediate variable A p is the actual decay rate of the ambient charging rate, B p is the attenuation coefficient of the quantum yield and UV light power, For B p The first derivative of , T1 is the charge measurement time delay, and V r The first, second, and third derivatives of V m_t The first derivative of V p_t is the output value of the mass charge control system at time t.
[0177] Step 5: Track the error e at time t t Substitute into the dynamic sliding mode control law at time t to calculate the control signal u of the charge control system at time t t , using the control signal u of the charge control system at time t t Performs charge control on the proof mass charge control system.
Claims
1. Inspection quality charge control method based on improved fruit fly optimization dynamic sliding mode, It is characterized in that The expected output value V of the test mass charge control system is used r The measured value V of the surface potential of the test mass at time t m_t The difference between the two defines the tracking error e at time t t ; The parameters used to construct the dynamic sliding mode control law are used as the positions of fruit flies, the initial positions of the fruit fly population are randomly generated, the optimal individual fruit flies are calculated using the improved fruit fly optimization algorithm, and the positions of the optimal individual fruit flies are used as the optimal parameters at time t [c 1 ,c 2 ,ε,k]; Using the optimal parameters [c 1 ,c 2 ,ε,k] to construct the dynamic sliding mode control law at time t Among them, sgn() is the sign function, σ t is a second-order switching function and and They are s t and e t The first derivative of, intermediate variable A p is the actual decay rate of the ambient charging rate, B p is the attenuation coefficient of the quantum yield and UV light power, For B p The first derivative of 1 is the charge measurement time delay, and V r The first, second, and third derivatives of V m_t The first derivative of V p_t is the output value of the mass charge control system at time t; The tracking error e at time t t Substitute into the dynamic sliding mode control law at time t to calculate the control signal u of the charge control system at time t t , using the control signal u of the charge control system at time t t Performs charge control on the proof mass charge control system.
2. The inspection quality charge control method based on improved fruit fly optimization dynamic sliding mode according to claim 1, It is characterized in that The method of calculating the optimal fruit fly individual by using the improved fruit fly optimization algorithm comprises: S1: Use Logistic mapping to map the initial position X_axis of the fruit fly population to the chaotic variable CX_axis; S2: Use Logistic mapping to perform chaotic operations on the chaotic variable CX_axis to obtain the intermediate variable CX; S3: Mapping the intermediate variable CX to the interval of the initial position of the fruit fly group to obtain the position X′_axis of the fruit fly group after the chaotic operation; S4: using the adaptive strategy to adjust the adaptive search radius of the fruit fly individual when the number of iterations is k, to obtain the position of each fruit fly in the fruit fly population; S5: Substitute each fruit fly position into the dynamic sliding mode control law at time t-1 to obtain the control signal u′ of the charge control system corresponding to the fruit fly position t-1 , the control signal u′ of the charge control system corresponding to each fruit fly position t-1 Substitute into the objective function and calculate the taste concentration value of each fruit fly's location; The expression of the objective function J is: Among them, w 1 、w 2 and w 3 are weight coefficients and have w 3 >>w 1 , eV t is the overshoot and has eV t =V p_t -V p_t-1 , V p_t and V p_t-1 are the output values of the inspection mass charge control system at time t and t-1 respectively; S6: Select the fruit fly corresponding to the minimum flavor concentration as the high-quality fruit fly when the iteration number is k, and determine whether k is equal to the maximum iteration number. If so, take the high-quality fruit fly when the iteration number is k as the optimal individual of the fruit fly, otherwise set k=k+1, and then return to S4.
3. The inspection quality charge control method based on improved fruit fly optimization dynamic sliding mode according to claim 2, It is characterized in that The method of using an adaptive strategy to adjust the adaptive search radius of a fruit fly individual when the number of iterations is k includes: The adaptive search radius is adjusted by the following formula: Among them, w k is the adaptive search radius of the fruit fly individual when the number of iterations is k, w max and w min are the maximum and minimum search radius, respectively, k max is the maximum number of iterations.
4. The inspection quality charge control method based on improved fruit fly optimization dynamic sliding mode according to claim 3, It is characterized in that The method of using Logistic mapping to map the initial position X_axis of the fruit fly colony to the chaotic variable CX_axis includes: When the range of the initial position X_axis of the fruit fly group is [a, b], the chaotic variable CX_axis is obtained by the following formula:
5. The inspection quality charge control method based on improved fruit fly optimization dynamic sliding mode according to claim 4, It is characterized in that The method of using Logistic mapping to perform chaotic operation on the chaotic variable CX_axis to obtain the intermediate variable CX includes: The intermediate variable CX is obtained using the following formula: CX=α·CX_axis·(1-CX_axis), Among them, α is the control parameter. When α∈(3.56,4], the closer the value of α is to 4, the more severe the chaotic state is.
6. The inspection quality charge control method based on improved fruit fly optimization dynamic sliding mode according to claim 5, It is characterized in that The step of mapping the intermediate variable CX to the interval of the initial position of the fruit fly group to obtain the position X′_axis of the fruit fly group after the chaotic operation includes: The position X′_axis of the fruit fly group after the chaotic operation is obtained using the following formula: X′_axis=a+CX(ba).
7. The inspection quality charge control method based on improved fruit fly optimization dynamic sliding mode according to claim 6, It is characterized in that The method of using an adaptive strategy to adjust the adaptive search radius of the fruit fly individual when the number of iterations is k to obtain the position of each fruit fly in the fruit fly population includes: The position X of the i-th fruit fly is obtained by the following formula: i : X i =X′_axis+w k ·Value·rand(), Among them, Value is a single flight distance, and rand() is a random value.
Citation Information
Patent Citations
Optimal variational mode decomposition method fusing composite chaotic mapping and fruit fly optimization
CN113902086A
Urea hydrolyzer pressure optimization control method based on fruit fly optimization algorithm
CN115220366A
Grounding grid corrosion prediction method based on optimized fruit fly algorithm
CN115859192A
Bridge erecting machine girder optimization method based on golden sine mixed fruit fly optimization algorithm
CN117610134A
Cited By
Charge management device and method based on disturbance observation sliding mode control
CN120029072A
A charge management device and method based on disturbance observer sliding mode control
CN120029072B
