A fast detection method of modal frequency based on resonant MEMS gyroscope
By combining CORDIC and LMS algorithms, combined with frequency sweep and vibration detection methods, rapid and high-precision detection of the modal frequency of the resonant MEMS gyroscope is achieved, which solves the problems of slow detection speed and large error in the existing technology, and improves detection efficiency. Efficiency and precision.
Patent Information
- Application Number
- CN202210452860.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-27
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2042-04-27
AI Technical Summary
The existing resonant MEMS gyroscope modal frequency detection method has the problems of slow speed and large error, especially during frequent detection in the laser trimming system, which affects the work efficiency and accuracy.
Combining the CORDIC algorithm and the LMS algorithm, the digital sinusoidal drive signal is output to drive the resonant MEMS gyroscope, the pseudo-modal frequency is obtained through the frequency sweep detection method, and the transient response signal is obtained using the vibration detection method to accurately determine the modal frequency.
It greatly improves the speed of modal frequency detection while reducing errors, ensuring high-precision detection results and avoiding the need for frequent manual measurements.
Smart Images

Figure CN115014389B
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of micro-electromechanical systems, and in particular to a modal frequency rapid detection method based on a resonant MEMS gyroscope. Background Art
[0002] The structure of the resonant MEMS gyroscope will greatly affect its working performance. Since the micromechanical structure may cause errors during the production process, thereby reducing the working performance of the gyroscope, for the irregular microstructure in the gyroscope, machine vision technology and femtosecond lasers can be used for laser adjustment to optimize its inertial measurement working performance from the mechanical structure. Modal frequency is one of the important characteristics of the resonant MEMS gyroscope. Changing the micromechanical structure of the gyroscope will affect the modal frequency value of the gyroscope. On the other hand, the modal frequency value is the most important reference parameter for measuring the working performance of the resonant MEMS gyroscope. MEMS gyroscopes are usually packaged using vacuum packaging technology. While ensuring the sealing of the chip, it also provides a vacuum environment with a high Q value for the chip. Its modal frequency detection work is easier and the detection results are more accurate. In addition, the modal frequency detection work is generally used for the resonant frequency detection of the driving mode and the detection mode in the resonant MEMS gyroscope measurement and control system, which is convenient for the subsequent work of the entire measurement and control system. Therefore, the requirements for the number of frequency detections and the frequency detection time are not so strict.
[0003] In the laser tuning system, the modal frequency is the most important performance reference standard for measuring the resonant MEMS gyroscope structure before and after tuning. The gyroscope chip is in the form of a bare chip, which requires the modal frequency detection system to work in an atmospheric environment, that is, an environment with a lower Q value. This will affect the detection efficiency of the gyroscope modal frequency to a certain extent. In addition, the laser tuning of the chip is frequent, which leads to an increase in the number of gyroscope modal frequency detections. The frequency detection time will greatly affect the working efficiency of the entire laser tuning system. This requires a faster and more efficient resonant MEMS gyroscope modal frequency detection method while ensuring detection accuracy. Currently, there are two commonly used methods for detecting the modal frequency of resonant MEMS gyroscopes: the frequency sweeping detection method and the vibration detection method. The frequency sweeping detection method is more commonly used because its detection results are intuitive and accurate. However, under the condition of ensuring detection accuracy, the frequency sweeping detection method is very slow, and may even take up to 20 minutes. The vibration detection method is extremely fast, but when the frequency of the sinusoidal drive signal is too far away from the modal frequency of the resonant MEMS gyroscope, the result obtained by the vibration detection method may have a large error, and it is necessary to manually repeat multiple measurements, which requires certain experience for the detection personnel. Therefore, both methods of detecting the modal frequency of resonant MEMS gyroscopes have limitations. Summary of the invention
[0004] The technical problem to be solved by the embodiments of the present invention is to provide a method for rapid detection of modal frequency based on a resonant MEMS gyroscope, which combines the advantages of the sweep frequency detection technology and the vibration detection technology, and can effectively and quickly perform high-precision detection of the modal frequency of the resonant MEMS gyroscope.
[0005] In order to solve the above technical problems, an embodiment of the present invention provides a method for quickly detecting a modal frequency based on a resonant MEMS gyroscope, the method comprising: outputting a digital sinusoidal drive signal based on a CORDIC algorithm, converting the digital sinusoidal drive signal through a DAC to drive the resonant MEMS gyroscope to start oscillation and enter a steady-state response state; using an LMS algorithm to obtain the amplitude information of the steady-state response signal of the resonant MEMS gyroscope converted into a digital sinusoidal signal through an ADC; obtaining the pseudo-modal frequency of the resonant MEMS gyroscope based on a sweep frequency detection method; using the pseudo-modal frequency to drive the resonant MEMS gyroscope to start oscillation again, and canceling the sinusoidal drive signal after the resonant MEMS gyroscope enters a steady-state response state; and obtaining the frequency information of the transient response attenuation signal of the resonant MEMS gyroscope based on a vibration detection method, wherein the frequency is the modal frequency of the resonant MEMS gyroscope.
[0006] In one of the implementation cases, a digital sinusoidal drive signal is output based on the CORDIC algorithm, which is converted into an analog sinusoidal drive signal by a DAC to drive the resonant MEMS gyroscope to start oscillation and enter a steady-state response state. This means that the CORDIC algorithm can output a high-resolution digital sinusoidal signal by performing repeated iterative operations of displacement and addition, and is very suitable for controlling the output of the sinusoidal drive signal through an FPGA. The starting condition of the resonant MEMS gyroscope is the sinusoidal drive signal.
[0007] In one of the implementation cases, the LMS algorithm is used to obtain the amplitude information of the steady-state response signal of the resonant MEMS gyroscope converted into a digital sinusoidal signal by ADC, which means that the LMS algorithm is an adaptive filter, and the digital sinusoidal signal generated by the CORDIC algorithm is used as the input signal, and the steady-state response signal of the resonant MEMS gyroscope converted into a digital sinusoidal signal by ADC is used as the reference signal. After calculating the two orthogonal components of the output signal, the amplitude information of the steady-state response signal of the resonant MEMS gyroscope can be obtained.
[0008] In one of the implementation cases, the pseudo-modal frequency of the resonant MEMS gyroscope obtained based on the swept frequency detection method refers to a digital sinusoidal driving signal with a driving frequency that changes regularly from low to high outputted by the CORDIC algorithm, which is converted into an analog sinusoidal driving signal by a DAC and then drives the resonant MEMS gyroscope to start oscillation and enter a steady-state response state, and the amplitude information of the steady-state response signal of the resonant MEMS gyroscope converted into a digital sinusoidal signal by an ADC at each driving frequency is obtained in turn by the LMS algorithm. The driving frequency corresponding to the maximum amplitude is the pseudo-modal frequency of the resonant MEMS gyroscope obtained by the swept frequency detection method. Since the number of swept frequency steps in the swept frequency detection process is greatly reduced, the swept frequency detection speed is greatly improved, but the swept frequency accuracy is very low, so the result is the pseudo-modal frequency of the resonant MEMS gyroscope.
[0009] In one of the implementation cases, the use of a pseudo-modal frequency to drive the resonant MEMS gyroscope to vibrate again, and canceling the sinusoidal drive signal after the resonant MEMS gyroscope enters a steady-state response state, refers to outputting a digital sinusoidal drive signal with a driving frequency of the pseudo-modal frequency through a CORDIC algorithm, converting it into an analog sinusoidal drive signal and driving the resonant MEMS gyroscope to vibrate again, and canceling the sinusoidal drive signal after the resonant MEMS gyroscope enters a steady-state response state, at which time the resonant MEMS gyroscope will enter a transient response output state.
[0010] In one of the implementation cases, the frequency information of the transient response attenuation signal of the resonant MEMS gyroscope is obtained based on the vibration detection method. This frequency is the modal frequency of the resonant MEMS gyroscope, which means that after the sinusoidal drive signal is canceled, the resonant MEMS gyroscope enters the transient response output state, and the output waveform is in the form of underdamped attenuation. The attenuation waveform is collected by ADC and transmitted to the LabVIEW end for periodic detection. The frequency of the attenuation waveform is the modal frequency of the resonant MEMS gyroscope. In the vibration detection method, when the difference between the sinusoidal drive signal and the modal frequency of the resonant MEMS gyroscope is within a certain range, the obtained attenuation waveform frequency is still very close to the modal frequency of the resonant MEMS gyroscope. Therefore, the result obtained by the pseudo-resonance frequency is the modal frequency of the resonant MEMS gyroscope.
[0011] Implementing the embodiments of the present invention has the following beneficial effects:
[0012] 1. The advantage of the intuitive detection results of the frequency sweep detection method is retained, and the pseudo-resonance frequency obtained by the frequency sweep detection method is controlled within the reasonable error range of the sinusoidal drive signal in the vibration detection method, which greatly improves the speed of the frequency sweep detection.
[0013] 2. The advantage of the vibration detection method of extremely fast detection speed is retained. Since the pseudo-resonance frequency is within a reasonable error range, it avoids the possibility of large errors in the results obtained by the vibration detection method when the frequency of the sinusoidal drive signal is too far away from the modal frequency of the resonant MEMS gyroscope, thereby ensuring the detection accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] Figure 1 It is a schematic diagram of the flow of the method for rapid detection of modal frequency based on a resonant MEMS gyroscope of the present application. DETAILED DESCRIPTION
[0015] In order to make the objectives, technical solutions and advantages of the present invention more clear, the present invention will be further described in detail below with reference to the accompanying drawings.
[0016] The present invention provides a method for quickly detecting modal frequency based on a resonant MEMS gyroscope. Figure 1 As shown, it includes the steps:
[0017] S1: Drive the resonant MEMS gyroscope to vibrate and enter a steady-state response state based on the CORDIC algorithm; specifically, it includes:
[0018] S11: The CORDIC algorithm takes up less resources in FPGA, and only needs to perform repeated iterative operations of shifting and adding to output a digital sine signal with high resolution, which is very suitable for controlling the output of sine drive signals in FPGA. The CORDIC algorithm module is designed in FPGA. The digital sine value corresponding to each angle in the digital sine signal can be calculated through the iterative operation in the CORDIC algorithm. The angle to be calculated is periodically superimposed from 0° to 360°, and when it is superimposed to 360°, it is refreshed to 0° and superimposed again, so that a digital sine signal that changes with time can be generated. By controlling the time of periodic superposition of the angle, the frequency of the digital sine signal can be controlled, and then the frequency of the analog sine signal can be controlled.
[0019] S12: The digital sinusoidal signal with a frequency of ω generated by the CORDIC algorithm is transmitted to a 12-bit resolution DAC, and the DAC outputs an amplitude of V ac The simulated sinusoidal signal V ac sin(ωt).
[0020] S13: The starting signal of the resonant MEMS gyroscope is a sinusoidal drive signal in the form of a differential signal. The analog sinusoidal signal output by the DAC is transmitted to the differential amplifier circuit, and a DC voltage V is introduced. dc Get the differential sinusoidal drive signal V dc +V ac sin(ωt) and V dc -V acsin(ωt), and load the differential sinusoidal drive signal to the drive input port of the resonant MEMS gyroscope. The drive port transmits the differential sinusoidal drive signal to the fixed comb tooth structure to generate an electrostatic driving force, thereby driving the movable comb tooth structure to vibrate and enter a steady-state response state to perform simple harmonic motion, and then load a 5MHz high-frequency triangular carrier signal to the carrier input port of the resonant MEMS gyroscope to increase the displacement of the movable comb tooth structure.
[0021] S2: Using the LMS algorithm to obtain the amplitude information of the steady-state response signal of the resonant MEMS gyroscope; specifically including:
[0022] S21: When the resonant MEMS gyroscope starts to vibrate and enters a steady-state response state, the fixed comb-tooth microstructure of the resonant MEMS gyroscope will detect the capacitance change caused by the displacement of the movable comb teeth, and transmit the capacitance change information in the form of differential capacitance to the detection output port of the resonant MEMS gyroscope. The differential capacitance difference that changes with the displacement of the movable comb teeth is converted into a sinusoidal voltage signal through a ring diode C / V conversion circuit, and is amplified by an amplifier into an analog sinusoidal signal that can be detected by an ADC.
[0023] S22: The analog sinusoidal signal amplified by the amplifier is detected by a 12-bit resolution ADC, converted into a digital sinusoidal signal and sent back to the FPGA for processing.
[0024] S23: The steady-state response signal of the resonant MEMS gyroscope is a sinusoidal signal with the same frequency as the sinusoidal drive signal. The LMS algorithm, as an adaptive filter, can extract the amplitude information of the steady-state response signal of the resonant MEMS gyroscope. In FPGA, since the sinusoidal signals are all digital signals, and the digital sinusoidal signals are discrete time signals, the sine and cosine signals generated by the CORDIC algorithm are used as the input signal r(k), and the steady-state response signal of the resonant MEMS gyroscope converted by the ADC module is used as the reference signal u(ωk). The output signal is W(k), and the following can be obtained:
[0025] r(k)=[sin(ωk) cos(ωk)]
[0026]
[0027]
[0028] Where k is the discrete time, A x is the amplitude of the steady-state response signal, ω is the frequency of the sinusoidal drive signal, is the phase of the steady-state response signal.
[0029] Then the output error e(k) under the current conditions is:
[0030]
[0031] Where T represents the matrix transpose. The final output signal W(k+1) is:
[0032]
[0033] Let W(k) = [w1 w2], where After operating the two orthogonal components, the amplitude of the steady-state response signal of the resonant MEMS gyroscope is:
[0034]
[0035] S3: Obtain the pseudo-modal frequency of the resonant MEMS gyroscope based on the sweep frequency detection method;
[0036] The start frequency, end frequency and number of sweep steps are determined through the LabVIEW visual interface. To speed up the sweep speed, the number of sweep steps is set to 20. After the gyro starts to vibrate, it will enter a steady-state response within 0.1s. The sweep time of each step is set to 0.2s, so the total time spent on the sweep detection is 4s. The sweep data is transmitted to the FPGA through serial communication. The frequency at each moment is calculated in the FPGA through the sweep module and the digital sinusoidal signal of the corresponding frequency is generated through the CORDIC algorithm. The DAC and differential amplifier circuits convert the signal into a differential sinusoidal drive signal to drive the resonant MEMS gyro to start oscillation in turn. The ring diode C / V conversion circuit, amplifier and ADC are used to collect the steady-state response signal of the resonant MEMS gyroscope. After being transmitted to FPGA and extracted by LMS, the corresponding sinusoidal drive signal frequency and the amplitude of the steady-state response signal of the resonant MEMS gyroscope under each step are transmitted back to LabVIEW through serial communication. After being processed by LabVIEW, the amplitude diagram and the pseudo-resonance frequency ω' corresponding to the maximum amplitude are displayed. x .
[0037] S4: using the pseudo-modal frequency to drive the resonant MEMS gyroscope to vibrate again, and canceling the sinusoidal drive signal after the resonant MEMS gyroscope enters a steady-state response state; specifically including:
[0038] LabVIEW converts the pseudo-resonance frequency ω' obtained by the sweep frequency detection method x Communicate with FPGA through the serial port again, and output the differential sinusoidal drive signal V through the CORDIC algorithm, DAC and differential amplifier circuit. dc +V ac sin(ω' x t) and V dc -V ac sin(ω' xt) to the drive input port of the resonant MEMS gyroscope. After 0.2s, the resonant MEMS gyroscope enters the steady-state response state. The FPGA automatically cancels the sinusoidal drive signal, and the resonant MEMS gyroscope enters the transient response state. At this time, the output signal is
[0039] S5: Obtaining frequency information of a transient response attenuation signal of the resonant MEMS gyroscope based on a vibration detection method, that is, a modal frequency of the resonant MEMS gyroscope;
[0040] While the FPGA automatically cancels the sinusoidal drive signal, the resonant MEMS gyroscope transient response attenuation signal collected by the ring diode C / V conversion circuit, amplifier and ADC will be transmitted to LabVIEW via USB high-speed transmission. In LabVIEW, the frequency ω of the resonant MEMS gyroscope transient response attenuation signal is obtained through the period detection function. t , which has been verified by multiple experiments t The actual resonant MEMS gyro modal frequency ω x The error is within 3Hz, which ensures the detection accuracy of the resonant MEMS gyroscope modal frequency detection method. The entire vibration detection time is within 1s, and the total time of the resonant MEMS gyroscope modal frequency detection is controlled within 5s, which greatly improves the detection speed while ensuring the detection accuracy.
[0041] The above disclosure is only a preferred embodiment of the present invention, which certainly cannot be used to limit the scope of the present invention. Therefore, equivalent changes made according to the claims of the present invention are still within the scope of the present invention.
Claims
1. A method for rapid detection of modal frequency based on a resonant MEMS gyroscope, characterized in that: The following steps are involved: S1: Use the CORDIC algorithm to drive the resonant MEMS gyroscope to vibrate and enter a steady-state response state, including the following steps: S11: Calculate each input angle using the CORDIC algorithm in the FPGA The sine value of Periodic changes can generate digital sinusoidal signals to control The speed of periodic changes can control the frequency of the digital sinusoidal signal; S12: The digital sinusoidal signal generated by the CORDIC algorithm is transmitted to the DAC, and the analog sinusoidal signal is output through the DAC; S13: The analog sinusoidal signal output by the DAC is transmitted to the differential amplifier circuit, and a differential sinusoidal driving signal is obtained after a DC voltage is introduced and loaded to the driving input port of the resonant MEMS gyroscope. The movable comb tooth structure of the resonant MEMS gyroscope vibrates due to the electrostatic force and enters a steady-state response state, and then the displacement of the movable comb tooth structure is increased by a 5 MHz high-frequency triangular carrier signal; S2: Using the LMS algorithm to obtain the amplitude information of the steady-state response signal of the resonant MEMS gyroscope, including the following steps: S21: When the resonant MEMS gyroscope starts to vibrate and enters a steady-state response state, the differential capacitance difference that changes with the displacement of the movable comb teeth is converted into a sinusoidal voltage signal through a ring diode C / V conversion circuit, and is amplified into an analog sinusoidal signal that can be detected by an ADC through an amplifier; S22: Detect the analog sinusoidal signal through the ADC, convert it into a digital sinusoidal signal and send it back to the FPGA for processing; S23: In the FPGA, the amplitude information of the steady-state response signal of the resonant MEMS gyroscope is extracted by using the LMS algorithm; S3: Use the sweep frequency detection method to obtain the pseudo-modal frequency of the resonant MEMS gyroscope; S4: using the pseudo-modal frequency to drive the resonant MEMS gyroscope to vibrate again, and canceling the sinusoidal driving signal after the resonant MEMS gyroscope enters a steady-state response state; S5: Use a vibration detection method to obtain frequency information of the transient response attenuation signal of the resonant MEMS gyroscope.
2. The method for rapid detection of modal frequency based on resonant MEMS gyroscope according to claim 1, characterized in that: The step S3 specifically includes: The FPGA is controlled by the LabVIEW visual interface to perform frequency sweep detection on the resonant MEMS gyroscope. The ring diode C / V conversion circuit, amplifier and ADC collect the steady-state response signal of the resonant MEMS gyroscope at each step. After the amplitude information is extracted by LMS, the amplitude information at each step is transmitted back to LabVIEW through serial communication. After processing by LabVIEW, the amplitude diagram and the pseudo-resonance frequency corresponding to the maximum amplitude are displayed.
3. The method for rapid detection of modal frequency based on resonant MEMS gyroscope according to claim 2, characterized in that: The step S4 specifically includes: LabVIEW communicates the pseudo-resonance frequency obtained by the frequency sweep detection method with the FPGA again through the serial port, and outputs the differential sinusoidal drive signal to the drive input port of the resonant MEMS gyroscope through the CORDIC algorithm, DAC and differential amplifier circuit. After the resonant MEMS gyroscope enters the steady-state response state, the FPGA automatically cancels the sinusoidal drive signal, and the resonant MEMS gyroscope enters the transient response state.
4. The method for rapid detection of modal frequency based on resonant MEMS gyroscope according to claim 3, characterized in that: The S5 specifically includes: while the FPGA automatically cancels the sinusoidal drive signal, the resonant MEMS gyroscope transient response attenuation signal collected by the ring diode C / V conversion circuit, the amplifier and the ADC will be transmitted to LabVIEW via USB high speed, and the frequency of the resonant MEMS gyroscope transient response attenuation signal, that is, the modal frequency of the resonant MEMS gyroscope, is obtained in LabVIEW through the period detection function.
