Stable amplitude control method and system of MEMS resonator and storage medium

By converting the equivalent dynamics model of the MEMS gyroscope into a state space equation and using the LQR regulator, the contradiction between the overshoot and settling time of the PI controller is solved, achieving faster amplitude stability and lower The noise level improves the control effect of the MEMS gyroscope.

CN118730068AActive Publication Date: 2024-10-01EAST CHINA INST OF OPTOELECTRONICS INTEGRATEDDEVICE
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202410973059.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-19
Publication Date
2024-10-01
Estimated Expiration
2044-07-19

AI Technical Summary

Technical Problem

The existing PI controller of MEMS gyroscopes has a contradiction between overshoot and stabilization time, which makes it difficult to meet the needs of linear time-varying systems and achieve good control effects when system parameters change.

Method used

By converting the equivalent dynamics model of the MEMS resonator into a state space equation, changing the expression form of the input matrix, and using the minimized LQR performance index function to obtain the optimal control rule, an LQR regulator is constructed to judge and stabilize the drive closed-loop system to avoid The overshoot of the PI controller conflicts with the settling time.

Benefits of technology

It achieves faster amplitude stabilization speed, reduces overshoot, reduces noise levels, improves the stability of the amplitude output voltage, and maintains system stability in the presence of external disturbances or parameter changes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118730068A_ABST
    Figure CN118730068A_ABST
Patent Text Reader

Abstract

The invention discloses a stable amplitude control method and system of an MEMS resonator, and a storage medium. The method comprises the following steps: converting an equivalent dynamic model of the MEMS resonator into a state-space equation; changing the expression form of an input matrix in the state-space equation, and converting the non-standard state-space equation into a standard linear feedback equation; according to the set state weight matrix Q and the control weight matrix R, the performance index function of the LQR is minimized, and an input gain matrix under the optimal control rule is obtained; judging whether the driving closed-loop system is stable or not according to the input gain matrix and the linear feedback equation, and when the driving closed-loop system is stable, obtaining a coefficient matrix N for determining the gain matrix; and constructing an LQR regulator according to the coefficient matrix N for determining the gain matrix, wherein the LQR regulator generates a control signal for driving the closed-loop system according to the received reference signal and a feedback signal for driving the closed-loop system. According to the invention, faster amplitude stabilization speed and smaller overshoot are realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of MEMS gyroscopes, and in particular to a method, system and storage medium for controlling a stable amplitude of a MEMS resonator. Background Art

[0002] MEMS gyroscopes work based on the Coriolis force principle. According to the Coriolis force formula, the driving vibration amplitude and frequency directly affect the scale factor and zero bias performance of the MEMS gyroscope. Therefore, ensuring the amplitude stability of the gyroscope driving mode is the key prerequisite for achieving high-precision gyroscopes.

[0003] At present, the driving circuits of silicon micromechanical gyroscopes all adopt closed-loop driving methods, among which the solutions based on AGC technology to achieve driving amplitude stabilization and PLL technology to achieve frequency control are relatively mature and have been widely used. At present, the control system of MEMS gyroscopes usually adopts the traditional PI control method, in which the setting of PI parameters has a great influence on the stability time and overshoot of the system. Since the setting of PI parameters usually requires multiple adjustments based on experience, this method is not only time-consuming but also cannot meet the needs of linear time-varying systems. In actual work, the system parameters of the gyroscope will change, so it is difficult to achieve a good control effect using a PI controller. Summary of the invention

[0004] The purpose of the present application is to provide a stable amplitude control method, system and storage medium of a MEMS resonator to solve the disadvantage of the contradiction between the overshoot and the stabilization time of the PI controller used in the prior art.

[0005] In order to achieve the above objectives, this application is implemented by adopting the following technical solutions: In a first aspect, the present application discloses a method for controlling a stable amplitude of a MEMS resonator, comprising: Convert the equivalent dynamic model of the MEMS resonator into a state-space equation; Changing the expression form of the input matrix in the state space equation, converting the non-standard state space equation into a standard linear feedback equation; According to the set state weight matrix Q and control weight matrix R, the performance index function of LQR is minimized to obtain the input gain matrix [ ]; According to the input gain matrix [ ] and the linear feedback equation to determine whether the driving closed-loop system is stable. When the driving closed-loop system is stable, the input gain matrix [ ]’s coefficient matrix N; According to the input gain matrix [ ] is used to construct an LQR regulator, which generates a control signal for driving the closed-loop system based on the received reference signal and the feedback signal of the driving closed-loop system.

[0006] Furthermore, the linear feedback equation is expressed as: = + = ; in, represents the driving resonant frequency of the MEMS resonator, represents the quality factor of the MEMS resonator drive shaft, represents the state variable error, Represents a state variable.

[0007] Further, according to the input gain matrix [ ] and the linear feedback equation to determine whether the drive closed-loop system is stable, including: Obtain the coefficient matrix N of LQR according to the linear feedback equation; wherein, the coefficient matrix N= ; According to the input gain matrix [ ] Determine whether the eigenvalue of the coefficient matrix N is less than 0. If it is less than 0, the drive closed-loop system is stable.

[0008] Furthermore, the eigenvalue solution equation of the coefficient matrix N is: -( ) + .

[0009] Furthermore, the expression of the performance indicator function of the LQR is: J== ; in, represents the state vector, Indicates the target time when the closed-loop system is driven to be stable. represents the weight matrix of the state vector in the performance index, represents the transpose operation, Represents the input matrix.

[0010] Furthermore, the state space equation is expressed as: = + ; in, represents the input matrix, , represents the force acting on the MEMS resonator drive axis, represents the equivalent mass of the MEMS resonator, represents the driving resonant frequency of the MEMS resonator, represents the quality factor of the MEMS resonator drive shaft, Represents a state variable.

[0011] Furthermore, it also includes: determining the input gain matrix [ ] to obtain the equivalent transfer function of LQR X(s) ; The equivalent transfer function X(s) The open-loop transfer function and closed-loop transfer function of the driving closed-loop system are input into the open-loop transfer function and the closed-loop transfer function of the driving closed-loop system to obtain the open-loop transfer function and the closed-loop transfer function of the driving closed-loop system using LQR control, so as to analyze the stability index of the driving closed-loop system.

[0012] In a second aspect, the present application discloses a computer-readable storage medium having a computer program / instruction stored thereon, characterized in that when the computer program / instruction is executed by a processor, the steps of any one of the stable amplitude control methods described in the first aspect are implemented.

[0013] In a third aspect, the present application discloses a computer system, comprising: Memory, for storing computer programs / instructions; A processor is used to execute the computer program / instructions to implement the steps of the stable amplitude control method described in any one of the first aspects.

[0014] In a fourth aspect, the present application discloses a computer program product, including a computer program / instruction, characterized in that when the computer program / instruction is executed by a processor, the steps of the stable amplitude control method described in any one of the first aspects are implemented.

[0015] The beneficial effects of this application are: The present application converts the equivalent dynamic model of the MEMS resonator into the form of a state space equation, and converts the system into a standard linear feedback system by changing the expression form of the input matrix. The stability of the system can be determined by the characteristic roots of the coefficient matrix, and the input gain matrix under the optimal control rule can be obtained according to the function calculation. The linear quadratic regulator of the present invention is used to realize amplitude control, which avoids the disadvantage of the contradiction between the overshoot and the stabilization time of the PI controller, and achieves faster amplitude stabilization speed and smaller overshoot. The smaller feedback input makes the noise level introduced into the system lower, thereby further improving the stability of the amplitude output voltage. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 is a system block diagram of a linear quadratic regulator LQR of the present invention; Figure 2 The Bode diagram of the open-loop system under the control of the linear quadratic regulator of the present invention; Figure 3 The Bode diagram of the closed-loop system under the control of the linear quadratic regulator of the present invention; Figure 4 This is a rendering of the PI control response curve and the linear quadratic regulator response curve when KP=10 and KI=5 of the present invention; Figure 5 It is the effect diagram of the PI control response curve and the linear quadratic regulator response curve when KP=1 and KI=5 of the present invention; Figure 6 This is a rendering of the driving excitation signal generated by the PI controller of the present invention in a noisy environment; Figure 7 This is a diagram showing the effect of a driving excitation signal generated by a linear quadratic regulator in a noisy environment of the present invention; Figure 8 This is a block diagram of the MEMS resonator drive closed-loop system based on LQR control of the present invention. DETAILED DESCRIPTION

[0017] In order to make the technical means, creative features, objectives and effects achieved by this application easy to understand, this application is further explained below in conjunction with specific implementation methods.

[0018] like Figures 1 to 8 As shown, the present application discloses a method for controlling the stable amplitude of a MEMS resonator, comprising the following steps: The equivalent dynamic model of the MEMS resonator is converted into a state-space equation.

[0019] The expression form of the input matrix in the state space equation is changed to convert the non-standard state space equation into a standard linear feedback equation.

[0020] According to the set state weight matrix Q and control weight matrix R, the performance index function of LQR is minimized to obtain the input gain matrix [ ].

[0021] According to the input gain matrix [ ] and the linear feedback equation to determine whether the driving closed-loop system is stable. When the driving closed-loop system is stable, the input gain matrix [ ] is the coefficient matrix N of .

[0022] According to the input gain matrix [ ] is used to construct an LQR regulator, which generates a control signal for driving the closed-loop system based on the received reference signal and the feedback signal of the driving closed-loop system.

[0023] This application obtains the linear feedback equation and determines the input gain matrix [ The coefficient matrix N of the LQR and the performance index function of the LQR can be used to construct the LQR regulator. The LQR method used in this application can provide an accurate control strategy to ensure that the driving amplitude of the MEMS resonator is stable at the desired level, even in the case of external disturbances or parameter changes. Example

[0024] The present application is described below through specific embodiments.

[0025] Figure 1 The figure shows a system block diagram of the linear quadratic regulator proposed in the present invention, including a reference signal input, a coefficient matrix, an input gain coefficient and an integrator. The reference signal indicates the output amplitude stable state that the driving closed-loop system expects to achieve. When the driving closed-loop system receives the reference signal, the LQR regulator compares the feedback output of the current driving closed-loop system with the reference signal. If the feedback output deviates from the stable amplitude indicated by the reference signal, the LQR regulator calculates an appropriate control signal based on the deviation between the feedback output and the reference signal to cause the driving closed-loop system to return to the target stable amplitude. This process is repeated until the actual amplitude stabilizes near the value set by the reference signal, thereby achieving closed-loop control.

[0026] In the linear quadratic regulator, the general form of the performance index can be expressed as: J== (1) In formula (1), Q represents the state weight matrix and R represents the control weight matrix, both of which are positive definite symmetric matrices. Usually, Q and R will choose diagonal matrices, and the elements on the diagonal are greater than 0. represents the state vector, Indicates the target time when the closed-loop system is driven to be stable. represents the weight matrix of the state vector in the performance index, represents the transpose operation, Represents the input matrix.

[0027] According to the dynamic model of the MEMS resonator, its driving mode can be equivalent to a second-order spring-damper system. Therefore, the MEMS resonator can be converted into the form of a state space equation, and the state variable , state variables , , represents the force acting on the MEMS resonator drive axis, It represents the equivalent mass of the MEMS resonator, and the state variables specifically represent the oscillation amplitude and oscillation speed.

[0028] The equivalent transfer function of the driving mode can be expressed as: (2) in, represents the driving resonant frequency of the MEMS resonator, It represents the quality factor of the MEMS resonator drive axis.

[0029] The state space equation corresponding to the equivalent transfer function of the driving mode can be expressed as: = + (3) The state variable error is taken as ,in, is a certain constant value set so that the driving closed-loop system is always kept near this equilibrium state through the control action of the linear quadratic regulator in the MEMS resonator driving mode state. Therefore, the state space equation can be rewritten as: = + + (4) It can be seen from the above formula that due to the existence of suffix terms, the state space equation is not a standard linear feedback system, so the expression of the input matrix u is converted into: (5) In the above formula, and are the state variable errors e With state variables The gain coefficient can simplify the state space equation of the drive modal state regulator into a standard linear feedback equation: = + = (6) According to formula (6), the equivalent model of LQR can be established, where and are all fixed constants, and The value of can be obtained by solving the Riccati equation to obtain the optimal solution that minimizes J, where the two weight matrices Q and R are set according to the requirements of system performance (rapid stabilization and reduced overshoot).

[0030] When the eigenvalue of the coefficient matrix N is less than 0, the zeros and poles of the drive closed-loop system are all located in the left half plane of the polar coordinates, and the drive closed-loop system is in a stable state, where the coefficient matrix N is: N= (7) Therefore, when designing a linear quadratic state regulator, the eigenvalue of the coefficient matrix N can be solved to determine whether the drive closed-loop system can be stably controlled. The eigenvalue solution equation of the coefficient matrix N is as follows: -( ) + (8) Find the eigenvalues ​​of the coefficient matrix N and They are: , (9) in, and The matrix composed of is called the input gain matrix, and its size is determined by the state weight matrix Q and the control weight matrix R. The input gain matrix under the optimal control rule can be obtained by calculating the LQR function [ ]. For the selection of state weight matrix Q and control weight matrix R, in general, the larger the value of Q matrix, the smaller the state vector is needed to minimize the value of cost function J. x(t) , which means that the eigenvalue of the matrix (A-BK) of the driving closed-loop system is located further to the left of the S plane, causing the driving closed-loop system to decay to 0 at a faster speed; the larger the value of the R matrix, the more attention is paid to the input gain matrix [ ], the input vector Decreasing means the state decay will be slower.

[0031] According to the block diagram of the linear quadratic regulator, the equivalent transfer function of the linear quadratic regulator can be derived: X(s) , as follows: (10) Here, s is the Laplace variable.

[0032] Therefore, substituting equation (10) into the open-loop transfer function and closed-loop transfer function of the MEMS resonator driven closed-loop system, the open-loop transfer function of the driven closed-loop system controlled by the linear quadratic regulator can be obtained: and the closed-loop transfer function : (11) (12) in, represents the gain coefficient of the low-pass filter, Represents the gain factor of the front-end amplifier circuit, represents the cutoff frequency of the low-pass filter, is the electromechanical conversion coefficient, A ref is the reference signal input of the linear quadratic regulator. , is the capacitance-to-current conversion coefficient, is the preamplifier transimpedance gain, and is the conversion gain coefficient between ADC and DAC, see Figure 8 .

[0033] According to formula 11, the amplitude-frequency and phase-frequency characteristic curves of the open-loop system under the control of the linear quadratic regulator can be drawn as follows: Figure 2 As shown in the figure, it can be seen that the amplitude margin of the system is 12.7dB and the phase margin is 54°. The amplitude-frequency characteristic curve of formula (12) is solved by mathematical calculation software, and the obtained Figure 3 The Bode diagram of the drive closed-loop system is shown in Figure 1. It shows that the bandwidth of the drive closed-loop system is 59.7Hz, and the above indicators meet the requirements for normal operation of the system.

[0034] In order to verify the advantages of the linear quadratic regulator of the present invention over the PI controller, the control effects of the traditional PI controller and the linear quadratic regulator are compared in the driving closed-loop system. Figure 4 and Figure 5 It can be seen that the PI controller has a contradictory relationship between overshoot and stabilization time. Reducing the stabilization time will inevitably increase the overshoot. In order to avoid excessive overshoot, a longer stabilization time is required. The advantage of using a linear quadratic regulator is that the system's stabilization time is only 0.11s, which is less than the stabilization time of 0.32s using a PI controller, and no overshoot will be generated. The input gain matrix obtained by the optimal control theory [ ], which can make the system reach a stable state with the optimal control trajectory, and has obvious advantages over traditional PI control.

[0035] In order to further analyze the control effects of the two controllers under disturbance conditions, a white noise module is introduced into the simulation model of the drive closed-loop system to simulate the random disturbances in the system. Figure 6 and Figure 7As shown in the figure, the drive mode excitation signal generated by the linear quadratic regulator (the drive mode excitation signal represents the output voltage of the drive closed-loop system under the control of the linear quadratic regulator) is more stable, and the excitation signal generated by the PI controller is significantly affected by noise. From the perspective of the control system, the linear quadratic regulator produces a smoother feedback input, which is conducive to the stable control of the drive closed-loop system. In addition, from the simulation results of the drive mode detection current signal, it can be seen that in the case of disturbance input, the control method of the linear quadratic regulator can make the drive closed-loop system have a higher anti-interference ability.

[0036] Example 2 An embodiment of the present application further provides an electronic device. In the embodiment of the present application, the electronic device may be a tablet computer, a smart phone, a personal digital assistant, etc.

[0037] The electronic device may include: a memory, a processor, a communication interface and a communication bus, and the communication bus is used to realize the connection and communication between these components.

[0038] The memory is used to store all model data, as well as various data such as the calculation program instructions corresponding to the stable amplitude control method and system provided in the embodiments of the present application, wherein the memory can be a random access memory (RAM), a read-only memory (ROM), a programmable read-only memory (PROM), an erasable read-only memory (EPROM), etc.

[0039] The processor is used to read and run the computer program instructions corresponding to the stable amplitude control method stored in the memory, and execute the stable amplitude control method provided in the embodiment of the present application.

[0040] The processor may be an integrated circuit chip with signal processing capabilities. The above processor may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it may also be a digital signal processor (DSP), a discrete gate or transistor logic device, or a discrete hardware component.

[0041] Example 3 Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

[0042] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0043] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0044] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0045] It is known from common technical knowledge that the present application can be implemented by other embodiments that do not deviate from its spirit or essential features. Therefore, the above disclosed embodiments are only illustrative in all respects and are not exclusive. All changes within the scope of the present application or within the scope equivalent to the present application are included in the present application.

Claims

1. A stable amplitude control method for a MEMS resonator, It is characterized in that include: Convert the equivalent dynamic model of the MEMS resonator into a state-space equation; Changing the expression form of the input matrix in the state space equation, converting the non-standard state space equation into a standard linear feedback equation; According to the set state weight matrix Q and control weight matrix R, the performance index function of LQR is minimized to obtain the input gain matrix [ ]; According to the input gain matrix [ ] and the linear feedback equation to determine whether the driving closed-loop system is stable. When the driving closed-loop system is stable, the input gain matrix [ ]’s coefficient matrix N; According to the input gain matrix [ ] is used to construct an LQR regulator, which generates a control signal for driving the closed-loop system based on the received reference signal and the feedback signal of the driving closed-loop system.

2. The method for controlling the stable amplitude of a MEMS resonator according to claim 1, It is characterized in that The expression of the linear feedback equation is: = + = ; in, represents the driving resonant frequency of the MEMS resonator, represents the quality factor of the MEMS resonator drive shaft, represents the state variable error, Represents a state variable.

3. The method for controlling the stable amplitude of a MEMS resonator according to claim 2, It is characterized in that According to the input gain matrix [ ] and the linear feedback equation to determine whether the drive closed-loop system is stable, including: Obtain the coefficient matrix N of LQR according to the linear feedback equation; wherein, the coefficient matrix N= ; According to the input gain matrix [ ] Determine whether the eigenvalue of the coefficient matrix N is less than 0. If it is less than 0, the drive closed-loop system is stable.

4. The method for controlling the stable amplitude of a MEMS resonator according to claim 3, It is characterized in that The eigenvalue solution equation of the coefficient matrix N is: -( ) + 。 5. The method for controlling the stable amplitude of a MEMS resonator according to claim 1, It is characterized in that The expression of the performance index function of the LQR is: J== ; in, represents the state vector, Indicates the target time when the closed-loop system is driven to be stable. represents the weight matrix of the state vector in the performance index, represents the transpose operation, Represents the input matrix.

6. The method for controlling the stable amplitude of a MEMS resonator according to claim 1, It is characterized in that The expression of the state space equation is: = + ; in, represents the input matrix, , represents the force acting on the MEMS resonator drive axis, represents the equivalent mass of the MEMS resonator, represents the driving resonant frequency of the MEMS resonator, represents the quality factor of the MEMS resonator drive shaft, Represents a state variable.

7. The method for controlling the stable amplitude of a MEMS resonator according to claim 1, It is characterized in that Also includes: According to the input gain matrix [ ] to obtain the equivalent transfer function of LQR X(s) ; The equivalent transfer function X(s) The open-loop transfer function and closed-loop transfer function of the driving closed-loop system are input into the open-loop transfer function and the closed-loop transfer function of the driving closed-loop system to obtain the open-loop transfer function and the closed-loop transfer function of the driving closed-loop system using LQR control, so as to analyze the stability index of the driving closed-loop system.

8. A computer-readable storage medium having a computer program / instructions stored thereon, It is characterized in that When the computer program / instruction is executed by a processor, the steps of the stable amplitude control method described in any one of claims 1-7 are implemented.

9. A computer system, It is characterized in that include: Memory, for storing computer programs / instructions; A processor, configured to execute the computer program / instructions to implement the steps of the stable amplitude control method according to any one of claims 1 to 7.

10. A computer program product comprising a computer program / instructions, It is characterized in that When the computer program / instruction is executed by a processor, the steps of the stable amplitude control method described in any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • PID (Proportion Integration Differentiation) controller parameter setting method based on LQR (Linear Quadrature Ratio) and modified extended state observer

    CN115933368A

  • Controller parameter setting method in tall control loop

    CN116047972A

  • Linear quadratic optimal control-based fuzzy expansion state observer design method

    CN116088306A

  • Method and system for suppressing output voltage harmonic waves of three-phase inverter power supply

    CN117955322A

  • MEMS accelerometer systems

    US20240094238A1