Voice coil motor friction nonlinear identification method based on genetic algorithm

Through the genetic algorithm-based method, the S-type friction model of voice coil motor is identified, which solves the problem of insufficient accuracy in friction nonlinear modeling of traditional methods, and improves the control performance and robustness of voice coil motor servo system. Reduces friction-compensated jitter and noise.

CN119065250AActive Publication Date: 2024-12-03HOHAI UNIV
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411186191.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-28
Publication Date
2024-12-03
Estimated Expiration
2044-08-28

AI Technical Summary

Technical Problem

Traditional methods require a lot of prior knowledge or experimental data when establishing a nonlinear friction model of voice coil motors, and the accuracy is insufficient during high-speed unidirectional movement, resulting in low control performance, high vibration and noise, and unsatisfactory friction compensation effect.

Method used

The S-type friction model parameters are identified by using a genetic algorithm method. By optimizing the friction model parameters, it matches the friction characteristics of the actual system. The global optimization ability of the genetic algorithm is used to adaptively adjust the search direction and reduce friction compensation. jitter and noise phenomena.

Benefits of technology

It improves the control performance and robustness of the voice coil motor servo system, reduces the inaccuracy and noise influence of friction compensation, and enhances the stability of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119065250A_ABST
    Figure CN119065250A_ABST
Patent Text Reader

Abstract

The invention discloses a voice coil motor friction nonlinear identification method based on a genetic algorithm, and the method comprises the steps: building a dynamic model of a voice coil motor servo system containing friction, carrying out the recognition of the parameters of an S-type friction model through the genetic algorithm, enabling the parameters of the friction model to be matched with the friction characteristics of an actual system through the optimization of the parameters of the friction model, and achieving the nonlinear identification of the friction of the voice coil motor. The effectiveness of the method is verified through a simulation experiment, and the method is compared with a traditional method for analysis. Research results show that the identification method based on the genetic algorithm can accurately establish a voice coil motor friction nonlinear model, the control performance and robustness of the system are improved, and the control performance and robustness of the voice coil motor servo system are improved by establishing a kinetic model and optimizing friction model parameters.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of voice coil motor servo system control, in particular to a method for identifying friction nonlinearity of a voice coil motor by using a genetic algorithm. Background Art

[0002] Voice coil motors are widely used in precision control systems due to their high speed, high precision and high reliability. However, the presence of friction leads to nonlinear characteristics of the system, which brings challenges to control design.

[0003] Accurately establishing the friction nonlinear model of voice coil motors is of great significance for improving system control performance, reducing vibration and noise, and enhancing system robustness. By deeply understanding the friction phenomenon and establishing an accurate friction model, more effective solutions can be provided for application scenarios such as precision positioning, tracking control, and adaptive control. In addition, the study of friction nonlinearity of voice coil motors can also provide reference and inspiration for solving other friction-related problems.

[0004] In the past few decades, research on friction nonlinear modeling and identification has received extensive attention. Traditional methods include modeling methods based on physical models and identification methods based on experimental data. However, traditional methods usually require a lot of prior knowledge or a large amount of experimental data, and have limitations in establishing accurate friction models. Summary of the invention

[0005] The purpose of the present invention is to provide a friction nonlinear identification method for a voice coil motor based on a genetic algorithm to improve system control performance, reduce vibration and noise, and enhance system robustness.

[0006] In order to solve the above technical problems, the present invention adopts the following solutions:

[0007] The friction nonlinear identification method of voice coil motor based on genetic algorithm includes the following steps:

[0008] Step S1: establishing a dynamic model of a voice coil motor servo system containing friction, and analyzing the influence of friction on system performance;

[0009] Step S2: Using a genetic algorithm to identify the parameters of the S-type friction model, and optimizing the parameters of the friction model to match the friction characteristics of the actual system to adapt to different voice coil motor servo systems.

[0010] Further optimization, the step S1 specifically includes the following steps:

[0011] Step S1.1: Construct the dynamic model of the voice coil motor servo system with friction

[0012] Applying the working voltage U to the voice coil motor generates the working current I to drive the voice coil motor to work, and a voltage drop U will be generated on the coil resistance R R , an induced voltage drop U will be generated on the coil inductance L L At the same time, the voice coil motor will generate back electromotive force E when working; according to Kirchhoff's law, the voltage balance equation of the voice coil motor is:

[0013] U=U R +U L +E=RI+LI+k m v(0.16)

[0014] Where v is the speed at which the voice coil motor moves in a straight line, i.e., the speed at which the motor moves in a straight line; k m is the electromagnetic force coefficient of the voice coil motor.

[0015] Combined with the motion characteristics of the voice coil motor servo system, the mechanical motion model of the voice coil motor servo system is simplified and equivalent to a single-degree-of-freedom spring-mass-damper mechanical positioning system; according to Newton's second law, the motion differential equation of the reed-suspended voice coil motor-driven optical image stabilization system is obtained as follows:

[0016]

[0017] Where m is the equivalent mass of the voice coil motor, the camera module load and their attached components; k is the equivalent stiffness of the reed and the system connection; c is the equivalent damping coefficient of the voice coil motor and the camera module; y is the axial displacement of the system, and

[0018] Combined E = NBLv = k m v, k m =NBL, the dynamic model of the voice coil motor servo system is obtained:

[0019]

[0020] Where N is the number of coil turns, B is the magnetic induction intensity, L is the effective length of the coil in the magnetic field; k m is the electromagnetic force coefficient of the motor.

[0021] Assume that the current loop has been closed in the servo system, and the dynamics of the current loop can be ignored relative to the mechanical dynamics of the system, that is:

[0022] i≈i ref (0.19)

[0023] i ref Indicates a given current.

[0024] Then the simplified dynamic equation of the voice coil motor servo system is:

[0025]

[0026] Step S1.2: Analyze the effect of friction on system performance

[0027] In the analysis of step S1.1, friction nonlinearity is not considered, and the friction of the system is simply characterized by linear damping c, which is roughly accurate when the servo system moves in one direction at high speed. However, when the servo system speed switches frequently, the friction of the system is a nonlinear function of speed F f (v), based on the Coulomb + viscous friction model, we have:

[0028] F f (v) = Fsgn(v) + F v v(0.21)

[0029] Where F is the Coulomb friction force, F v is the viscous friction coefficient;

[0030] At this time, the dynamic equation of the system is:

[0031]

[0032] Let x1 = y, x2 = v, u = I, and the state space equation of the voice coil motor servo system is:

[0033]

[0034] Where k0 = k / m, k v =Fv / m, b0=k m / m,f c =F c / m.

[0035] Further optimization, for the friction identification of voice coil motors, there are problems of large test data volume and long test time. In addition, since there is often large noise in the actual system and the speed of the motor cannot be directly measured, the direct use of the identified friction model for friction compensation is not ideal. In response to the above problems, this application establishes a practical friction model and then uses a genetic algorithm to identify the entire nonlinear system including the friction model.

[0036] Step S2.1: Establish S-type friction model

[0037] Most existing friction models are discontinuous around the speed v=0 point. Although this model is closer to the physical principle of friction, there are some problems in actual use: 1) Friction at speed close to zero is difficult to measure and identify, and even if it is identified, it is not accurate enough; 2) Friction is a nonlinear function of speed, and only the estimated value of speed can be used for friction compensation. The speed estimate is often not very accurate, and due to the large noise in the system, the speed estimate will often be accompanied by a relatively large noise, which aggravates the inaccuracy of compensation. Furthermore, noise will cause the speed estimate to switch frequently between zero speed and zero speed, so the friction compensation will also switch frequently near zero speed, causing serious vibration and noise.

[0038] Based on these problems, this application adopts an S-type friction model to replace the symbolic function type friction model, which can effectively improve the control performance and reduce the vibration and noise associated with friction compensation. The voice coil motor servo system equation based on the hyperbolic tangent function form friction model is:

[0039]

[0040] Among them, f f , a are the parameters to be identified.

[0041] Step S2.2: Identification of S-type friction based on genetic algorithm

[0042] There is no effective method for measuring and identifying the S-type friction model in the experiment. The effective S-type friction model depends on continuous adjustment and testing, which takes a lot of time. In addition, for different voice coil motor servo systems, the parameters of the S-type friction model to achieve optimal friction compensation are completely different. The genetic algorithm has the ability to globally optimize, automatically obtain and guide the search space, and adaptively adjust the search direction. Therefore, the applicant has developed a method for identifying S-type friction based on a genetic algorithm, specifically: encoding all individuals to form an initial population, calculating the fitness of each individual, judging whether the genetic algorithm convergence condition is met based on the fitness, and outputting the identification result if it is met; if it is not met, selecting operators, combining crossover operators and mutation operators to generate a population representing a new solution set, and evolving from generation to generation to produce better and better approximate solutions. The optimal individual in the last population is decoded as an approximate optimal solution.

[0043] To further optimize, before designing the three basic operators of the genetic algorithm, it is necessary to determine an optimization index - in the genetic algorithm, it is called fitness. Fitness needs to meet the conditions of single value, continuous and non-negative. In this application, the fitness J is calculated based on the standard deviation of the S-type friction model output and the actual output. k Assessment, namely:

[0044]

[0045] y(ii) is the sample of y at time ii, where:

[0046]

[0047] Further optimization, in step S2.2, the selection operator is specifically:

[0048] The selection operator is to select the best individuals from the population. The purpose of the selection is to directly pass on the optimized individuals to the next generation or to generate new individuals through pairing and crossover and then pass on to the next generation. Here, the roulette wheel selection method is used. First, design a selection probability:

[0049]

[0050] Obviously, the selection probability here is defined as the ratio of the fitness of an individual to the total fitness of the population. The higher the fitness of an individual, the higher the probability of being selected, and the sum of the probabilities of all individuals being selected is equal to 1.

[0051] However, in the simulation case, the fitness of the population is in the range of [400-600], so the calculated p k They are all around 1 / n, and there is no distinction between parameters with good performance and parameters with poor performance during the selection process, which leads to the failure of the genetic algorithm to converge.

[0052] For this purpose, this application defines the selection probability as:

[0053]

[0054] Among them, γ represents an adjustable parameter; J k represents the cost of the kth individual, and n represents the number of individuals. By subtracting min(J j ), so that the performance of the model under different parameters can be more obvious. At the same time, an adjustable parameter γ is added to avoid the difference being too obvious, and the population quickly converges to the local optimal solution.

[0055] Then, the roulette wheel selection method is used to select the best individuals from the group, and the optimized individuals are directly inherited to the next generation or new individuals are generated through pairing and crossover and then inherited to the next generation to obtain a new population after selection. The roulette wheel selection method is an existing technology and will not be described in detail.

[0056] Further optimization, in step S2.2, the crossover operator is specifically: using the linear recombination algorithm in real-valued recombination, exchanging genes between two random individuals in the selected population to generate a new gene combination, and hoping to combine beneficial genes together; first, randomly sort the selected new population; then for two adjacent individuals in the new population, according to the crossover probability P c Decide whether to crossover; for the individuals to crossover, crossover is performed according to the following formula;

[0057] NO i =dO i +(1-d)O i+1 (0.30)

[0058] NO i+1 =dO i+1 +(1-d)O i (0.31)

[0059] Among them, O i is the corresponding parameter of the individual before crossover, NO i is the parameter corresponding to the new individual generated by crossover, and d is a random number between [0,1].

[0060] Further optimization, in step S2.2, the mutation operator introduces additional randomness into the genetic algorithm to prevent the algorithm from falling into a local optimal solution; specifically, for each individual in the population, according to the mutation probability P m Determine whether a mutation occurs, and the parameter of the mutated individual becomes a random value in the parameter space.

[0061] Compared with the prior art, this application has the following beneficial effects:

[0062] 1. The present invention is based on a genetic algorithm to identify the nonlinearity of friction in a voice coil motor. By establishing a dynamic model of a voice coil motor servo system containing friction, the genetic algorithm is used to identify the parameters of the S-type friction model. The parameters of the friction model are optimized to match the friction characteristics of the actual system. The effectiveness of the proposed method is verified through simulation experiments, and a comparative analysis is conducted with the traditional method. The effectiveness of the proposed method is verified through the above simulation experiments, and the results show that the method can improve the control performance and robustness of the voice coil motor servo system.

[0063] 2. As a global optimization algorithm, the genetic algorithm has good search ability and global convergence in parameter identification problems, can effectively deal with nonlinear and multimodal problems, and provide technical support for the control and application of voice coil motor servo systems. Further research can apply this method to actual systems, and conduct experimental verification and optimization improvements to further improve the performance and stability of the system.

[0064] 3. The genetic algorithm-based identification method proposed in this invention can also provide reference and inspiration for the identification and control problems of other nonlinear systems. BRIEF DESCRIPTION OF THE DRAWINGS

[0065] Figure 1 A schematic diagram of the electromechanical coupling system for the voice coil motor-driven optical image stabilization system;

[0066] Figure 2 This is a flow chart of the genetic algorithm of the present invention;

[0067] Figure 3 This is the fitness convergence diagram of the genetic algorithm;

[0068] Figure 4 Comparison between genetic algorithm identification of S-type friction model and experimental debugging of optimal saturation function friction model;

[0069] Figure 5 To optimize the convergence of genetic algorithm fitness after sampling period;

[0070] Figure 6 The fitness convergence of the genetic algorithm after adjusting the fitness;

[0071] Figure 7 Compare the S-type friction model identified by genetic algorithm and the optimal saturation function friction model debugged by experiment. DETAILED DESCRIPTION

[0072] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0073] The friction nonlinear identification method of voice coil motor based on genetic algorithm includes the following steps:

[0074] Step S1: Establishing a dynamic model of a voice coil motor servo system with friction and analyzing the influence of friction on system performance; specifically including the following steps:

[0075] Step S1.1: Establish Figure 1 The electromechanical coupling system of the voice coil motor servo system shown in the figure. Applying the working voltage U to the voice coil motor generates the working current I to drive the voice coil motor to work, and a voltage drop U will be generated on the coil resistance R R , an induced voltage drop U will be generated on the coil inductance L L At the same time, the voice coil motor will generate back electromotive force E when working; according to Kirchhoff's law, the voltage balance equation of the voice coil motor is:

[0076] U=U R +U L +E=RI+LI+k m v(0.32)

[0077] Where v is the speed at which the voice coil motor moves in a straight line, i.e., the speed at which the motor moves in a straight line; k m is the electromagnetic force coefficient of the voice coil motor.

[0078] Combined with the motion characteristics of the voice coil motor servo system, the mechanical motion model of the voice coil motor servo system is simplified and equivalent to a single-degree-of-freedom spring-mass-damper mechanical positioning system, such as Figure 1 As shown in the figure on the right. According to Newton's second law, the motion differential equation of the reed-suspended voice coil motor-driven optical image stabilization system is:

[0079]

[0080] Where m is the equivalent mass of the voice coil motor, the camera module load and their attached components; k is the equivalent stiffness of the reed and the system connection; c is the equivalent damping coefficient of the voice coil motor and the camera module; y is the axial displacement of the system, and

[0081] Combined E = NBLv = k m v, k m =NBL, the dynamic model of the voice coil motor servo system is obtained:

[0082]

[0083] Where N is the number of coil turns, B is the magnetic induction intensity, L is the effective length of the coil in the magnetic field; k m is the electromagnetic force coefficient of the motor.

[0084] Assume that the current loop has been closed in the servo system, and the dynamics of the current loop can be ignored relative to the mechanical dynamics of the system, that is:

[0085] i≈i ref (0.35)

[0086] i ref Indicates a given current.

[0087] Then the simplified dynamic equation of the voice coil motor servo system is:

[0088]

[0089] Step S1.2: Analyze the effect of friction on system performance

[0090] In the analysis of step S1.1, friction nonlinearity is not considered, and the friction of the system is simply characterized by linear damping c, which is roughly accurate when the servo system moves in one direction at high speed. However, when the servo system speed switches frequently, the friction of the system is a nonlinear function of speed F f (v), based on the Coulomb + viscous friction model, we have:

[0091] F f (v) = Fsgn(v) + F v v(0.37)

[0092] Where F is the Coulomb friction force, F v is the viscous friction coefficient;

[0093] At this time, the dynamic equation of the system is:

[0094]

[0095] Let x1 = y, x2 = v, u = I, and the state space equation of the voice coil motor servo system is:

[0096]

[0097] Where k0 = k / m, k v =Fv / m, b0=k m / m,f c =F c / m.

[0098] Step S2: For the friction identification of voice coil motors, there are problems of large test data volume and long test time. In addition, since there is often large noise in the actual system and the speed of the motor cannot be directly measured, the direct use of the identified friction model for friction compensation is not ideal. In response to the above problems, this application uses a genetic algorithm to identify the parameters of the S-type friction model, and optimizes the parameters of the friction model to match the friction characteristics of the actual system to adapt to different voice coil motor servo systems.

[0099] Step S2.1: Establish S-type friction model

[0100] Most existing friction models are discontinuous around the speed v=0 point. Although this model is closer to the physical principle of friction, there are some problems in actual use: 1) Friction at speed close to zero is difficult to measure and identify, and even if it is identified, it is not accurate enough; 2) Friction is a nonlinear function of speed, and only the estimated value of speed can be used for friction compensation. The speed estimate is often not very accurate, and due to the large noise in the system, the speed estimate will often be accompanied by a relatively large noise, which aggravates the inaccuracy of compensation. Furthermore, noise will cause the speed estimate to switch frequently between zero speed and zero speed, so the friction compensation will also switch frequently near zero speed, causing serious vibration and noise.

[0101] Based on these problems, this application adopts an S-type friction model to replace the symbolic function type friction model, which can effectively improve the control performance and reduce the vibration and noise associated with friction compensation. The voice coil motor servo system equation based on the hyperbolic tangent function form friction model is:

[0102]

[0103] Among them, f f , a are the parameters to be identified.

[0104] Step S2.2: Identification of S-type friction based on genetic algorithm

[0105] There is no effective method for measuring and identifying the S-type friction model in the experiment. The effective S-type friction model depends on continuous adjustment and testing, which takes a lot of time. Moreover, for different voice coil motor servo systems, the parameters of the S-type friction model for achieving optimal friction compensation are completely different. The genetic algorithm has the ability to globally optimize, can automatically obtain and guide the search space, and adaptively adjust the search direction. Therefore, the applicant has developed a method for identifying S-type friction based on a genetic algorithm, such as Figure 2 As shown in the figure, specifically: all individuals are encoded to form an initial population, the fitness of each individual is calculated, and whether the genetic algorithm convergence condition is met is determined according to the fitness. If it is met, the identification result is output; if it is not met, the selection operator, the combined crossover operator and the mutation operator are performed to generate a population representing a new solution set, and the evolution from generation to generation produces better and better approximate solutions. The optimal individual in the last generation of the population is decoded as the approximate optimal solution.

[0106] Step S2.2.1: Fitness J kEvaluation: Before designing the three basic operators of the genetic algorithm, it is necessary to determine an optimization index - in the genetic algorithm, it is called fitness. Fitness needs to meet the conditions of single value, continuous and non-negative. In this application, the fitness J is calculated based on the standard deviation of the S-type friction model output and the actual output. k Assessment, namely:

[0107]

[0108] y(ii) is the sample of y at time ii, where:

[0109]

[0110] Step S2.2.2: Select operator

[0111] The selection operator is to select the best individuals from the population. The purpose of the selection is to directly pass on the optimized individuals to the next generation or to generate new individuals through pairing and crossover and then pass on to the next generation. Here, the roulette wheel selection method is used. First, design a selection probability:

[0112]

[0113] Obviously, the selection probability here is defined as the ratio of the fitness of an individual to the total fitness of the population. The higher the fitness of an individual, the higher the probability of being selected, and the sum of the probabilities of all individuals being selected is equal to 1.

[0114] However, in the simulation case, the fitness of the population is in the range of [400-600], so the calculated p k They are all around 1 / n, and there is no distinction between parameters with good performance and parameters with poor performance during the selection process, which causes the genetic algorithm to fail to converge.

[0115] For this purpose, this application defines the selection probability as:

[0116]

[0117] Among them, γ represents an adjustable parameter; J k represents the cost of the kth individual, and n represents the number of individuals. By subtracting min(J i ), so that the performance of the model under different parameters can be more obvious. At the same time, an adjustable parameter γ is added to avoid the difference being too obvious, and the population quickly converges to the local optimal solution.

[0118] Then, the roulette wheel selection method is used to select the best individuals from the group, and the optimized individuals are directly inherited to the next generation or new individuals are generated through pairing and crossover and then inherited to the next generation to obtain a new population after selection. The roulette wheel selection method is an existing technology and will not be described in detail.

[0119] Step S2.2.3: Crossover operator

[0120] The linear recombination algorithm in real-valued recombination is used to exchange genes between two random individuals in the selected population to generate new gene combinations, and it is expected that beneficial genes will be combined together; first, the selected new population is randomly sorted; then for two adjacent individuals in the new population, according to the crossover probability P c Decide whether to crossover; for the individuals to crossover, crossover is performed according to the following formula;

[0121] NO i =dO i +(1-d)O i+1 (0.46)

[0122] NO i+1 =dO i+1 +(1-d)O i (0.47)

[0123] Among them, O i is the corresponding parameter of the individual before crossover, NO i is the parameter corresponding to the new individual generated by crossover, and a is a random number between [0,1].

[0124] Step S2.2.4: Mutation Operator

[0125] The mutation operator introduces additional randomness into the genetic algorithm to prevent the algorithm from falling into the local optimal solution. Specifically, for each individual in the population, according to the mutation probability P m Determine whether a mutation occurs, and the parameter of the mutated individual becomes a random value in the parameter space.

[0126] The effectiveness of the proposed method is verified by simulation experiments:

[0127] From formulas (1.11) and (1.12), we can see that the model to be identified is:

[0128]

[0129] The parameters to be identified in the genetic algorithm are Combined with prior information (parameter k obtained by system identification and friction identification algorithm v =223, k0=193500, b0=1220500, the identified f f≈80), the identification range of each parameter is designed as:

[0130]

[0131] The individuals in the initial population are obtained by randomly selecting values ​​in the parameter identification space.

[0132] Here, the S-type friction model to be identified is written as:

[0133]

[0134] instead of:

[0135]

[0136] This is because, order:

[0137]

[0138] Then we get:

[0139]

[0140] That is, the length of the transition section of the S-type friction model is Inversely proportional, this will make It is easy to converge to a local minimum. Due to the properties of the inverse proportional function, when When the distribution is uniform, the length of the transition section is not uniform, so it is improved to (1.22). In the genetic algorithm calculation process, the differential equation uses the ode45 solver. According to the above analysis, the sampling time is selected as 4e -4 , population size 100, iteration round 100, probability parameter γ is set to 20, crossover probability P c Set to 0.9, the mutation probability P m Set to 0.1, the fitness convergence of the four experiments is as follows Figure 3 As shown, Figure 3 (a) shows the fitness convergence of the first simulation experiment. Figure 3 (b) shows the fitness convergence of the second simulation experiment. Figure 3 (c) shows the fitness convergence of the third simulation experiment. Figure 3 (d) shows the fitness convergence of the fourth simulation experiment.

[0141] Table 1 Comparison of genetic algorithm identification parameters, nominal parameters, and system identification parameters

[0142]

[0143]

[0144] The identified parameters are shown in Table 1. The identified friction model is compared with the friction model identified by the friction identification method. Figure 4 shown.

[0145] Furthermore, the previous analysis shows that the sampling period of the measured data and the sampling period declared by the host computer (2e -4 ) does not match, and the test shows that it is closer to [3e -4 , 4e -4 ] To solve this problem, genetic algorithms can be used to optimize various parameters, regardless of whether they are analytical or not. The sampling time Ts is also taken as a parameter to be identified. The parameter identification range of Ts is T s ~[2e -4 , 5e -4 ].

[0146] The same four identifications are performed, and the fitness convergence of the four identifications is as follows Figure 5 , as shown in Table 2. Figure 5 (a) shows the fitness convergence of the first identification. Figure 5 (b) shows the fitness convergence of the second identification. Figure 5 (c) shows the fitness convergence of the third identification. Figure 5 (d) shows the fitness convergence of the fourth identification.

[0147] Table 2 Comparison of genetic algorithm identification parameters and nominal parameters, system identification (IV method)

[0148]

[0149] At this point, it is obvious that there is a big difference between the identified friction model and the optimal friction model obtained through debugging in the actual experiment. This is mainly because the compromise between control performance and noise performance is considered in the actual debugging. However, through the method of identifying the friction model by genetic algorithm, it is easy to take the noise performance into account in the performance index. It only needs to adjust the fitness index to:

[0150]

[0151] Among them, △F f Indicates the changing value of friction.

[0152] Generally speaking, the noise after adding friction compensation is mainly caused by the switching term or approximate switching term of friction, so the change of friction is added to the fitness index to measure the noise performance. β is an adjustable parameter. The running results of the genetic algorithm under different β are as follows: Figure 6 shown.

[0153] Table 3 Comparison of genetic algorithm identification parameters and nominal parameters, system identification (IV method)

[0154]

[0155] The identified parameters are shown in Table 3. The identified friction model is compared with the friction model identified by the friction identification method. Figure 7 shown.

[0156] The effectiveness of the method proposed in the present invention is verified by the above simulation experiments, and the results show that the method can improve the control performance and robustness of the voice coil motor servo system. The scheme described in the present invention provides an effective genetic algorithm-based identification method for the control and application of the voice coil motor servo system. The method has the potential to be applied to the identification and control problems of other nonlinear systems. Further research can apply the method to actual systems, and conduct experimental verification and optimization improvements to further improve the performance and stability of the system.

[0157] Based on the above ideal embodiments of the present invention, the relevant staff can make various changes and modifications without departing from the technical concept of the present invention through the above description. The technical scope of the present invention is not limited to the contents of the specification, and its technical scope must be determined according to the scope of the claims.

Claims

1. A friction nonlinear identification method for voice coil motor based on genetic algorithm, characterized in that: The following steps are involved: Step S1: establishing a dynamic model of a voice coil motor servo system containing friction, and analyzing the influence of friction on system performance; Step S2: Using a genetic algorithm to identify the parameters of the S-type friction model, and optimizing the parameters of the friction model to match the friction characteristics of the actual system to adapt to different voice coil motor servo systems.

2. The method for identifying friction nonlinearity of voice coil motor based on genetic algorithm according to claim 1, characterized in that: The step S1 specifically includes the following steps: Step S1.1: Construct the dynamic model of the voice coil motor servo system with friction Applying the working voltage U to the voice coil motor generates the working current I to drive the voice coil motor to work, and a voltage drop U will be generated on the coil resistance R R , an induced voltage drop U will be generated on the coil inductance L L At the same time, the voice coil motor will generate back electromotive force E when working; according to Kirchhoff's law, the voltage balance equation of the voice coil motor is: U=U R +U L +E=RI+LI+k m v(0.1) Where v is the speed at which the voice coil motor moves in a straight line, i.e., the speed at which the motor moves in a straight line; k m is the electromagnetic force coefficient of the voice coil motor; Combined with the motion characteristics of the voice coil motor servo system, the mechanical motion model of the voice coil motor servo system is simplified and equivalent to a single-degree-of-freedom spring-mass-damper mechanical positioning system; according to Newton's second law, the motion differential equation of the reed-suspended voice coil motor-driven optical image stabilization system is obtained as follows: Where m is the equivalent mass of the voice coil motor, the camera module load and their attached components; k is the equivalent stiffness of the reed and the system connection; c is the equivalent damping coefficient of the voice coil motor and the camera module; y is the axial displacement of the system, and Combined E = NBLv = k m v, k m =NBL, the dynamic model of the voice coil motor servo system is obtained: Where N is the number of coil turns, B is the magnetic induction intensity, L is the effective length of the coil in the magnetic field; k m is the electromagnetic force coefficient of the motor; Assume that the current loop has been closed in the servo system, and the dynamics of the current loop can be ignored relative to the mechanical dynamics of the system, that is: i≈i ref (0.4) i ref Indicates the given current Then the simplified dynamic equation of the voice coil motor servo system is: Step S1.2: Analyze the effect of friction on system performance When the speed of the voice coil motor servo system is frequently switched, the friction of the system is a nonlinear function of the speed F. f (v), based on the Coulomb + viscous friction model, we have: F f (v)=Fsgn(v)+F v v(0.6) Where F is the Coulomb friction force, F v is the viscous friction coefficient; At this time, the dynamic equation of the system is: Let x1 = y, x2 = v, u = I, and the state space equation of the voice coil motor servo system is: Where k0 = k / m, k v =Fv / m, b0=k m / m,f c =F c / m.

3. The friction nonlinearity identification method of voice coil motor based on genetic algorithm according to claim 2, characterized in that: The step S2 specifically includes the following steps: Step S2.1: Establish S-type friction model The voice coil motor servo system equation based on the hyperbolic tangent function form friction model is: Among them, f f , a is the parameter to be identified; Step S2.2: Identify S-type friction based on genetic algorithm, specifically: encode all individuals to form an initial population, calculate the fitness of each individual, and judge whether the genetic algorithm convergence condition is met according to the fitness. If it is met, output the identification result; if it is not met, select operators, combine crossover operators and mutation operators to generate a population representing a new solution set, and evolve from generation to generation to produce better and better approximate solutions. The optimal individual in the last population is decoded as the approximate optimal solution.

4. The method for identifying friction nonlinearity of voice coil motor based on genetic algorithm according to claim 3, characterized in that: In step S2.2, the fitness J is calculated based on the standard deviation of the S-type friction model output and the actual output. k Assessment, namely: y(ii) is the sample of y at time ii, where:

5. The method for identifying friction nonlinearity of voice coil motor based on genetic algorithm according to claim 4, characterized in that: In step S2.2, the selection operator is specifically as follows: First, the selection probability p of the individual is calculated k , the selection probability is the ratio of a certain individual’s fitness to the total fitness of the population. The higher the fitness, the higher the probability of being selected. The sum of the selection probabilities of all individuals is equal to 1. Among them, γ represents an adjustable parameter; J k represents the cost of the kth individual, and n represents the number of individuals. Then, the roulette wheel selection method is used to select the best individuals from the group, and the optimized individuals are directly passed on to the next generation or new individuals are generated through pairing and crossover and then passed on to the next generation.

6. The method for identifying friction nonlinearity of voice coil motor based on genetic algorithm according to claim 5, characterized in that: In step S2.2, the crossover operator is specifically as follows: using the linear recombination algorithm in real-valued recombination, exchanging genes between two random individuals in the selected population to generate a new gene combination, and hoping to combine beneficial genes together; first, randomly sorting the selected new population; then for two adjacent individuals in the new population, according to the crossover probability P c Decide whether to crossover; for the individuals to crossover, crossover is performed according to the following formula; NO i =dO i +(1-d)O i+1 (0.14) NO i+1 =dO i+1 +(1-d)O i (0.15) Among them, O i is the corresponding parameter of the individual before crossover, NO i is the parameter corresponding to the new individual generated by crossover, and d is a random number between [0,1].

7. The method for identifying friction nonlinearity of voice coil motor based on genetic algorithm according to claim 6, characterized in that: In step S2.2, the mutation operator introduces additional randomness into the genetic algorithm to prevent the algorithm from falling into a local optimal solution; specifically, for each individual in the population, according to the mutation probability P m Determine whether a mutation occurs, and the parameter of the mutated individual becomes a random value in the parameter space.

Citation Information

Patent Citations

  • Intelligent compensation method and control system for nonlinear characteristics of linear voice coil motor

    CN101795110A

  • Servo system inertia identification method adopting genetic algorithm for optimization

    CN105915121A

  • Control method for enhancing robust interference resistance of voice coil motor direct drive system

    CN116526928A

  • Servo control method and device suitable for it

    JP2006216054A