Numerous items such as smart phones, smart watches, tablets, automobiles, aerial drones, appliances, aircraft, exercise aids, and game controllers may utilize sensors such as microelectromechanical system (MEMS) sensors during their operation. In many applications, various types of motion sensors such as accelerometers and gyroscopes may be analyzed independently or together in order to determine varied information for particular applications. For example, gyroscopes and accelerometers may be used in gaming applications (e.g., smart phones or game controllers) to capture complex movements by a user, drones and other aircraft may determine orientation based on gyroscope measurements (e.g., roll, pitch, and yaw), and vehicles may utilize measurements for determining direction (e.g., for dead reckoning) and safety (e.g., to recognizing skid or roll-over conditions).
As MEMS sensors are integrated into an increasing number and type of devices having a variety of applications and form factors, there are numerous constraints on MEMS sensor design and to design of systems including multiple MEMS sensors. In some applications, multiple MEMS sensors (e.g., corresponding to multiple measurement axes) may share certain processing components, such as portions of a sense path and analog and digital processing circuitry. There may be substantial constraints on the physical size and/or power consumption of components that may be utilized with MEMS sensors.
In an embodiment of the present disclosure, a method for cancelling a quadrature component of a sensed signal of a MEMS gyroscope comprises receiving, at an input of a capacitance-to-voltage (C2V) amplifier, the sensed signal, wherein the sensed signal corresponds to a movement of one or more components of a MEMS structure, outputting, from the C2V amplifier, a C2V output signal, and extracting, from the C2V output signal, a quadrature portion of the C2V output signal. The method further comprises integrating the quadrature portion of the C2V output signal, digitizing the integrated quadrature portion, and generating, by digital processing circuitry, a variable capacitor control signal based on the digitized integrated quadrature portion, wherein the variable capacitor control signal is generated to reduce the quadrature portion of the C2V output signal. The method further comprises providing, from the digital processing circuitry to one or more variable quadrature cancellation capacitors, the variable capacitor control signal, wherein the one or more variable quadrature cancellation capacitors are coupled to the C2V amplifier to modify the received sensed signal, and wherein the quadrature component of the sensed signal is cancelled based on the capacitances of the one or more variable quadrature cancellation capacitors.
In an embodiment of the present disclosure, a MEMS gyroscope comprises a MEMS structure, wherein a sensed capacitive signal associated with the MEMS structure changes based on a sensed angular velocity, and a capacitance-to-voltage (C2V) amplifier, comprising an input coupled to the MEMS structure to receive the sensed capacitive signal. The MEMS gyroscope further comprises a demodulator coupled to an output of the C2V amplifier, wherein the demodulator is configured to demodulate a portion of the output of the C2V amplifier associated with a quadrature portion of the sensed signal, and an integrator coupled to the demodulator to integrate an output signal of the demodulator. The MEMS gyroscope further comprises an analog-to-digital converter (ADC) coupled to the demodulator to digitize an output of the integrator, and digital processing circuitry coupled to an output of the ADC, wherein the digital processing circuitry is configured to generate a variable capacitor control signal based on the output of the ADC, wherein the variable capacitor control signal is generated to reduce the quadrature portion. The MEMS gyroscope further comprises at least one variable capacitor coupled to an output of the ADC and the input of the C2V amplifier, wherein the at least one variable capacitor receives the variable capacitor control signal from the digital processing circuitry, and wherein the quadrature portion of the sensed signal is cancelled based on a capacitance of the at least on variable capacitors.
In an embodiment of the present disclosure, processing circuitry of a MEMS gyroscope, comprises a capacitance-to-voltage (C2V) amplifier, comprising an input coupled to an output of a MEMS structure to receive a sensed capacitive signal from the MEMS structure, and a demodulator coupled to an output of the C2V amplifier, wherein the demodulator is configured to demodulate a portion of the output of the C2V amplifier associated with a quadrature portion of the sensed signal. The processing circuitry further comprises an integrator coupled to the demodulator to integrate an output signal of the demodulator, an analog-to-digital converter (ADC) coupled to the demodulator to digitize an output of the integrator, and digital processing circuitry coupled to an output of the ADC, wherein the digital processing circuitry is configured to generate a variable capacitor control signal based on the output of the ADC, wherein the variable capacitor control signal is generated to reduce the quadrature portion. The processing circuitry further comprises at least one variable capacitor coupled to an output of the digital processing circuitry and the input of the C2V amplifier, wherein the at least one variable capacitor receives the variable capacitor control signal from the digital processing circuitry, and wherein the quadrature portion of the sensed signal is cancelled based on a capacitance of the at least on variable capacitors.
The above and other features of the present disclosure, its nature, and various advantages will be more apparent upon consideration of the following detailed description, taken in conjunction with the accompanying drawings in which:
A MEMS sensor such as a MEMS gyroscope outputs a capacitance signal that corresponds to the movement of movable MEMS components such as proof masses in response to a force of interest, such as an angular velocity about a particular axis. The received capacitance signal includes a variety of signal components based on the operation of the MEMS, such as the force of interest that is being measured (e.g., angular velocity), a periodic signal that corresponds to the drive frequency of the MEM gyroscope, and undesired signal components or portions such as a quadrature signal. While the intended Coriolis signal strength depends on the speed of rotation, the unintended signals include quadrature, drive harmonics and in-phase offset. Out of the unintended signals quadrature is by far the largest contributor and it can significantly exceed Coriolis signal in strength. The sense path that receives the capacitive signal includes a variety of components such as a C2V converter that provides amplification of the received capacitance signal and additional components such as feedback capacitors for the C2V converter and capacitors and other components used for compensation of undesired signal components.
In some applications, multiple MEMS gyroscope structures may output capacitance signals to a common sense path in a “round-robin” fashion (e.g., via a multiplexer switching gyroscope output signals at a switching frequency), allowing a single sense path to selectively provide processing for multiple MEMS gyroscope capacitive signals. In some instances, a component such as reset switches (e.g., connected in parallel with the C2V converter) perform a function of resetting or otherwise removing a contribution of a previously processed capacitive signal from a capacitive signal that is currently being processed (e.g., with the reset occurring at the switching frequency). In some implementations, this reset may occur when the periodic portion of the capacitance signal associated with the force of interest (e.g., the Coriolis signal) is at or near zero. After a transition from one capacitance signal to the next (e.g., from processing one gyroscope axis output to the next gyroscope axis output), the C2V may nonetheless be sampling the unwanted quadrature signal, which is 90 degrees out of phase with the Coriolis signal.
However the C2V signal is supplied and generated, this output from the C2V converter often includes a DC offset due to quadrature sampling as well as the quadrature signal. Additional circuitry and processing may be implemented to substantially reduce or eliminate contributions of the quadrature signal to the C2V output signal. The output of the C2V converter is processed and analyzed to identify and determine characteristics of the quadrature contribution of the C2V output. A feedback look is implemented wherein a control signal is provided to control circuitry coupled to the C2V input in a manner that reduces or eliminates that quadrature signal portion of the C2V output. In this manner, the feedback loop is continuously operating to dynamically drive and maintain the quadrature signal contribution to the C2V output towards zero. Without the quadrature signal contribution occupying the dynamic range of the C2V, the C2V gain can be better allocated to the signal of interest (e.g., Coriolis signal), resulting in a larger C2V amplifier gain. A larger amplifier gain suppresses analog-to-digital converter (ADC) noise in the signal processing path of the C2V output, resulting in an overall lower noise system.
In an example implementation, the C2V output signal may be coupled to an analog stage including a mixer, an integrator, and an ADC, with the mixer demodulating the quadrature portion of the C2V output signal, the integrator processing the demodulated quadrature portion over time to output an averaged signal that changes with the quadrature signal portion, and the ADC converting the output of the integrator into a digital signal that can be processed by a digital stage that modulates the control signal. An example digital stage applies sigma-delta modulation to modulate the control signal in a manner to drive the quadrature signal portion towards zero, which in turn eliminates or substantially reduces both the quadrature-caused offset and the quadrature signal from the C2V output signal. In an example, the control signal controls a capacitive digital-to-analog (DAC) converter, which may be implemented as variable capacitors that are coupled to the sense path between the MEMS sensor capacitive output and the C2V input. In this manner, the system employs a capacitive DAC modulated by a digitally controlled loop (e.g., a sigma-delta modulator) in order to cancel quadrature dynamically.
Processing circuitry 104 may include one or more components providing processing based on the requirements of the MEMS system 100. In some embodiments, processing circuitry 104 may include hardware control logic that may be integrated within a chip of a sensor (e.g., on a base substrate of a MEMS gyroscope 102 or other sensors 108, or on an adjacent portion of a chip to the MEMS gyroscope 102 or other sensors 108) to control the operation of the MEMS gyroscope 102 or other sensors 108 and perform aspects of processing for the MEMS gyroscope 102 or the other sensors 108. In some embodiments, the MEMS gyroscope 102 and other sensors 108 may include one or more registers that allow aspects of the operation of hardware control logic to be modified (e.g., by modifying a value of a register). In some embodiments, processing circuitry 104 may also include a processor such as a microprocessor that executes software instructions, e.g., that are stored in memory 106. The microprocessor may control the operation of the MEMS gyroscope 102 by interacting with the hardware control logic and processing signals received from MEMS gyroscope 102. The microprocessor may interact with other sensors 108 in a similar manner. In some embodiments, some or all of the functions of the processing circuitry 104, and in some embodiments, of memory 106, may be implemented on an application specific integrated circuit (“ASIC”) and/or a field programmable gate array (“FPGA”).
Although in some embodiments (not depicted in
In some embodiments, certain types of information may be determined based on data from multiple MEMS gyroscopes 102 and other sensors 108 in a process that may be referred to as sensor fusion. By combining information from a variety of sensors it may be possible to accurately determine information that is useful in a variety of applications, such as image stabilization, navigation systems, automotive controls and safety, dead reckoning, remote control and gaming devices, activity sensors, 3-dimensional cameras, industrial automation, and numerous other applications.
In embodiments of the present disclosure, the MEMS sensor such as a MEMS gyroscope includes components that respond to a force of interest such as an angular velocity about an axis of interest by moving in a manner (e.g., in response to a Coriolis force generated by the coupling of a drive motion the MEMS gyroscope to the angular velocity about an axis perpendicular to the drive motion) that changes a capacitance between adjacent components. Although differential sensing is not required in the context of the present disclosure, the MEMS components may be configured such that differential outputs are generated in response to the force of interest, for example, based on respective capacitors of a MEMS sensor changing in capacitance in an equal and opposite manner. In addition to including a signal portion corresponding to the Coriolis force (e.g., a Coriolis signal), the output capacitance signal from the MEMS structure includes other signals and noise, with the most prominent of such signals portions typically being a quadrature portion (e.g., a quadrature signal) that is 90 degrees out of phase with the Coriolis signal at the same frequency (e.g., corresponding to the drive frequency of the MEMS gyroscope). The capacitance signal outputs from the MEMS sensor are provided to an amplifier such as a C2V converter, which in the context of round-robin sensing (e.g., multiple sensor outputs being output to common processing circuitry over time) may be reset such as when the capacitance signal outputs are changed to a new MEMS sensor output or periodically during measurement of a MEMS sensor output (e.g., at a full period of the Coriolis signal). The output of the C2V is provided to quadrature processing circuitry, which analyzes a quadrature portion of the C2V output signal, which in turn corresponds to an undesired (e.g., non-Coriolis) portion of the C2V output, and is an artifact of the MEMS sensor configuration (e.g., including quadrature signals and carrier signals) and other processing such as timing of C2V resets.
The quadrature processing circuitry includes components such as a mixer, an integrator, an ADC (e.g., a successive-approximation-register or SAR ADC) and digital processing (e.g., a sigma-delta modulator). The mixer receives a demodulation input signal that is in phase with the quadrature signal at the quadrature signal frequency, and thus brings the quadrature signal to its baseband. The integrator integrates (e.g., averages) the output of the C2V converter over time, resulting in an output that approximates the amplitude of the presently sensed quadrature signal. The ADC digitizes the output of the integrator and provides the digitized integrator output to the digital processing. The digital processing (e.g., sigma-delta modulator) evaluates the digitized integrator output, which is representative of the quadrature portion of the signal, and generates control signals for digitally controlled variable capacitors (e.g., a selectable capacitor bank) connected at the input to the C2V. These control signals modify the variable capacitors in a manner that reduces the quadrature that is output by the C2V, while not modifying the underlying sensor output signal (e.g., a sensed signal such as a Coriolis signal output from a gyroscope, modulated by a drive/carrier frequency). The digital processing continues to dynamically modify the values of the variable capacitors to maintain the quadrature at a negligible value. This allows the gain of the C2V to be allocated to the underlying sensed (e.g., Coriolis) signal.
In an exemplary embodiment where the MEMS sensor 200 is a MEMS gyroscope, the gyroscope sense path typically consists of a C2V amplifier 208 and an analog-to-digital converter (“ADC”—not depicted in
In some instances, the signals output to the sense path (e.g., first sense path signal line 204 and second sense path signal line 206) may be provided in a round robin fashion from multiple MEMS structures 202, for example, by time multiplexing (not depicted in
When the reset switch is opened, the sampled MEMS Coriolis signal (e.g., including a signal at a drive frequency of the system, with a signal due to angular velocity modifying the amplitude of the Coriolis signal) provided as an input to C2V amplifier 208 via the sense path (first sense path signal line 204 and second sense path signal line 206) is transferred to C2V feedback capacitors 210 and 212 and shows up as a sampled offset at C2V output 250/252. Since the MEMS Coriolis signal is nearly zero at that time, very little of the MEMS signal gets sampled during the release of the reset signal and very little of C2V output range is occupied by such offset.
Other signals such as quadrature and harmonics are present with the Coriolis signal within the sense path signal lines 204/206. As it is 90 degrees out of phase with the Coriolis signal and the reset occurs at a zero-crossing of the Coriolis signal, a quadrature signal sampled at the opening of the reset switches is at its maximum. In some embodiments, the C2V amplifier sampled offset due to quadrature is partially cancelled via statically trimmed SOC capacitors (e.g., SOC capacitors 236 and 238, which are selectively placed in parallel with FT capacitors 232 and 234 between drive circuitry 230 (e.g., applying a DC voltage)) and the sense path signal lines 202/204. The trimming of the SOC capacitors may be performed such as during manufacturing, e.g., in a manner that attempts to match and partially remove a contribution of the unwanted quadrature signal from the C2V amplifier 208 output. However, this trimming is limited in precision and only occurs at one point in time, whereas moderate wear, temperature, stresses applied during assembly with other components, and the like may occur after the MEMS sensor manufacturing, such that the original trimming no longer matches the actual quadrature signal output, resulting in the appearance of an undesired quadrature-based signal (e.g., including the quadrature-based offset and quadrature signal) at the output of C2V amplifier 208. This quadrature output signal, in turn, forces the amplifier 208 to be trimmed with a reduced gain by increasing capacitances 210 and 212 since the quadrature signal component occupies a significant portion of the C2V amplifier 208 output. This reduces amplification of the signal of interest, such as Coriolis signal, which reduces signal-to-noise ratio of such signal when noise from circuit components such as an integrator or an ADC, typically connected to amplifier 208 output, are taken into account
A Coriolis signal 302 may have a frequency in accordance with a drive frequency of a MEMS gyroscope and may include amplitude changes based on an angular velocity that causes a Coriolis force to occur, such as to a proof mass of the MEMS gyroscope that forms capacitors with an adjacent sense electrode. An output of a MEMS gyroscope may also include a quadrature signal 306 at the drive frequency of the MEMS system but 90 degrees out of phase with Coriolis signal 302. Although the Coriolis signal 302 and quadrature signal 306 are provided as a single combined output from the MEMS sensor to the C2V amplifier, the signal portions are depicted separately in
As depicted in
Because the quadrature signal 306 is 90 degrees out of phase with the Coriolis signal 302, the reset occurs at a non-zero point of the quadrature signal near the signal maximum or minimum peak (e.g., depending on which zero-crossing of the Coriolis signal corresponds to the reset signal). After an initial zero output 314a of the quadrature output signal 310 during the initial reset (and after later resets 314b and 314c) the quadrature signal decreases from the zero output signal level, resulting in an oscillation about a signal level of −Q (e.g., with Q being the quadrature signal amplitude) below the zero signal level. This results in a DC offset of Q corresponding to the quadrature output signal 310, which in turn has a peak-to-peak amplitude 2Q based on the uncancelled quadrature signal received at the C2V amplifier input. Accordingly, because the output of the C2V due to quadrature (e.g., quadrature signal oscillating about an offset signal due to quadrature) is seen at the output of the C2V amplifier even in the absence of a Coriolis force, a significant portion of the C2V range is consumed by this quadrature output, resulting in saturation if scaling for the Coriolis output is increased significantly.
In an exemplary embodiment where the MEMS sensor 400 is a MEMS gyroscope, the gyroscope sense path typically consists of a C2V amplifier 408 and an analog-to-digital converter (e.g., a second ADC connected to the C2V amplifier 408 output, not depicted in
Referring to
In some instances, the signals output to the sense path (e.g., first sense path signal line 404 and second sense path signal line 406) may be provided in a round robin fashion from multiple MEMS structures 402, for example, by time multiplexing (not depicted in
When the reset switch is opened, the sampled MEMS Coriolis signal (e.g., including a signal at a drive frequency of the system, with a signal due to angular velocity modifying the amplitude of the Coriolis signal) is provided as an input to C2V amplifier 408 via the sense path (first sense path signal line 404 and second sense path signal line 406) is transferred to C2V feedback capacitors 410 and 412 and shows up as a sampled offset due to quadrature at C2V output 450/452. Since the MEMS Coriolis signal is nearly zero at that time, very little of the MEMS signal gets sampled during the release of the reset signal and very little of C2V output range is occupied by such offset. As described herein, the quadrature circuitry attempts to drive the remaining quadrature portion (e.g., based in part on remaining quadrature signal sampled at the end of the reset) towards zero, substantially removing all of the quadrature signal from the C2V output.
The C2V output signal is provided to mixer 420, which also receives as an input a quadrature demodulation signal, for example, having a frequency and phase that correspond to the frequency and phase of the quadrature signal, which in turn is the same frequency as the Coriolis signal (e.g., modulated at the drive frequency) and 90 degrees out of phase from the Coriolis signal. Because of this relationship to the Coriolis signal, in some embodiments the quadrature demodulation signal may be generated based on a Coriolis demodulation signal used elsewhere within the processing circuitry to demodulate the quadrature signal (e.g., bring the portion of the quadrature signal due to quadrature force to baseband by removing the drive/carrier signal at another mixer). The phase of the Coriolis and/or the quadrature signal may be monitored and updated in some embodiments, for example, to monitor for phase changes that occur during packaging, assembly, standard wear over time, temperature, and the like. Based on the quadrature demodulation signal mixer 420 demodulates the output signal, removing the carrier signal at the drive frequency and bringing the signal due to quadrature to baseband.
The outputs from mixer 420 are provided to integrator 422, which integrates the output signal to output a signal representative of the quadrature. The integrator may average the incoming signal over a gyroscope drive period with a reset of the integrator after each drive period. Averaging over the drive period and resetting nulls out gyroscope drive related tones, since an average of a sinusoid of the period of the sinusoid is zero. The resulting output thus generally corresponds to an average of the signal representative of the quadrature at the C2V output. The integrated signal is output from integrator 422 to ADC 424 (e.g., a SAR DAC), which converts the integrated signal corresponding to the quadrature into a digital signal (e.g., a 13-bit digital signal) for further processing by digital stage 418.
In an embodiment, the digital stage 418 is implemented as a second-order Sigma-Delta modulator that drives the variable capacitor 432/434 values in the direction needed to minimize ADC output, which represents digitized C2V output quadrature. The residual or uncancelled quadrature error (quantization noise) is spread over higher frequency spectrum, with any limit cycles eliminated by built in PRBS (pseudo random binary sequence) generator (not depicted), that injects random noise into digital ADC 424 output. In some embodiments, the random sequence is injected at the ADC 424. This results in zero C2V offset. Although particular filters, gain values, and combinations thereof are depicted as implementing the functionality of digital stage 418, a variety of filters, gain values, combinations thereof, and order of processing operations may be modified in certain embodiments in accordance with the present disclosure. For example, the order of the sigma-delta modulator can be increased or decreased and the update rate of the variable capacitors can increase or decrease. Appropriate gain and filter values, and digital processing operations, may be dependent upon the components of the particular processing circuitry of the MEMS sensor, such as the gain and configuration of the C2V amplifier 408 and related components (e.g., capacitors 410 and 412), the drive frequency of the MEMS structure 402, the number and resolution of available capacitance values for variable capacitors 432 and 434, and other related factors.
Within the exemplary digital stage 418 depicted in
The outputs of first filter 440 and first gain element 442 are combined at adder 444, after which they are provided to second gain element 446, which applies a gain to scale the output appropriately to control the capacitors, which in the embodiment of
A digital control signal (e.g., a 9-bit control signal is output from digital stage 418 to variable capacitors 432 and 434. In an embodiment, each of the variable capacitors 432 and 434 may include an array of capacitors that are selectively switched into a circuit, resulting in combined capacitances that span a wide range of capacitances based on which capacitors are selected and how they are connected to other capacitors within the array of capacitors. The variable capacitors 432 and 434 are responsive to the digital input provided by the control signal output from digital stage 418. When driven by drive circuit 430 (e.g., a drive amplifier that translates capacitive change in the MEMS drive electrodes to an output voltage, resulting in a signal such as a sinusoid at the MEMS drive frequency and having a programmable amplitude), the variable capacitors 432 and 434 with values that are appropriately selected by digital stage 418, provide a complex signal having appropriate characteristics to filter and effectively remove the quadrature signal at the C2V amplifier, removing both the quadrature signal and the offset quadrature signal from the C2V output. In some embodiments, aspects of the drive signal (e.g., amplitude, frequency, phase) provided by drive circuitry 430 may also be modified based on control signals generated by digital stage 418.
In the embodiment of
The adder 504 outputs the combined signal from gain elements 502 and 530 to mixer 505, which corresponds to mixer 420 in
The system depicted and described can be represented as follows:
where:
Shifting the VOUT terms to the same side of the equation and simplifying terms results in the following:
The equation can be further simplified with the complex terms as follows:
Based on the above, the response of the system (VOUT) to a particular sensed angular velocity (DPSIN) can be represented as follows:
In the above equation (5), the real and complex portions of the denominator depend in part on the values of KFF and KFB. Plot 702 illustrates an example where KFF is set to zero, with the amplitude of the real portion 704 and complex portion 706 varying based on the x-axis frequency of angular velocity in units of 2Π*x (rad). As is depicted in plot 702, there are multiple frequencies 708a and 708b (e.g., at approximately 0.23 and 0.88) where both the real portion 704 and the complex portion 708 are zero or approximately zero simultaneously. As a result, the denominator term of equation (5) above approaches zero, resulting in a resonance peak at these frequencies, for example, as depicted in first signal transfer function 604.
Plot 710 depicts an appropriately selected stabilization gain such as KFF=0.5 for the system depicted herein, although it will be understood that different stabilization gains will be selected based on particular sensor characteristics, analog circuitry, and digital processing implementations. As depicted in
Processing starts at step 802, where an initial C2V capacitance to be applied to the system (e.g., via variable capacitors as described herein) may be determined, for example, by accessing previously determined variable capacitor values from memory for a particular sensor, or in round-robin operation, a particular axis being switched into the sense path. In some instances, variable capacitance values may have previously been set for the sensor or axis as described herein, such that conditions may be similar to the present operating conditions and the initial variable capacitor values may substantially remove the quadrature signal from the C2V output. Once the initial variable capacitor values are determined, processing may continue to step 804.
At step 804 the output of a C2V amplifier is reset and the integrator is also reset. In an example of a round-robin system for processing MEMS sensor outputs, multiple MEMS structures or portions of structures (e.g., a multi-axis sensing MEMS gyroscope) may sense different forces of interest (e.g., a 3-axis gyroscope may include signal outputs corresponding to a sensed angular velocity about each of an x-axis, y-axis, and z-axis). The signals may be processed by shared processing circuitry, for example, by multiplexing the sensed capacitance signals (e.g., time multiplexing) such that each signal is provided to the processing circuitry at appropriate times, and with appropriate sampling periods, to process each of the received signals. In this manner, the area occupied by processing circuitry and overall power consumption of the MEMS sensor may be reduced. Although a reset (e.g., shorting the input of the C2V amplifier to the output of the C2V amplifier) may also be implemented for other purposes (e.g., for generating a common-mode output), in an embodiment of round robin processing the reset may temporarily zero the output of the C2V amplifier and the integrator, for example, at a time when the periodic Coriolis signal is at a zero-crossing. The C2V amplifier and integrator may then be reset periodically during sensing, for example, at each period of the signal being sensed. The reset may persist for an adequate time to zero the output of the C2V amplifier and integrator, after which the reset is removed (e.g., by removing the short between the C2V amplifier input and output). After the reset is removed, processing may continue to step 806.
At step 806, after the reset is removed, the signal corresponding to the force of interest may be received. Although components may be included in the system (e.g., trimming capacitors at a C2V input) to remove signal components that contribute to a C2V quadrature output signal (e.g., by reducing a quadrature portion of the received signal), there may nonetheless be a significant signal component received by the C2V input even when the reset is timed to correspond to a zero-crossing of the signal corresponding to the force of interest (e.g., the Coriolis signal). As an example, in a gyroscope the initial trimming may not be precise, the characteristics of the gyroscope may drift over time, the characteristics of the gyroscope may change after trimming (e.g., due to stress imparted on the MEMS structure when the sensor is assembled with other components of the end product), or the operating environment (e.g., temperature) may impact the gyroscope response. When the initial received signal has a significant signal component (e.g., a quadrature signal) at the time of the release of the reset, that signal component will appear at the C2V output, with the signal of interest riding on this quadrature output signal. The quadrature output signal may occupy a substantial portion of the output range of the C2V amplifier, limiting the ability to apply additional gain to the signal of interest to increase sensing resolution. The output of the C2V amplifier is provided to a mixer having an input signal at the frequency and phase of the quadrature signal, and the corresponding baseband quadrature signal is then integrated. Integrating the quadrature signal averages the C2V output signal at an integer multiple of gyroscope oscillation period (e.g., one), reducing the contribution of the force of interest (e.g., a sensed angular velocity with a carrier frequency corresponding to the drive frequency), resulting in a signal that corresponds to the quadrature portion of the C2V output signal. When the C2V signal is initially output after a reset, the amplitude of the quadrature portion of the C2V output signal may be significant compared to the amplitude of the signal corresponding to the force of interest (e.g., Coriolis signal). As described herein and in the following steps, the analog and digital stages of the present disclosure modify values of variable capacitors located at an input to the C2V amplifier in a manner that reduces the contribution of the quadrature to the C2V output signal. Accordingly, the output portion of the signal that is output by the integrator is driven towards zero in a short period of time between resets (e.g., repeated loops of the steps of
At step 808, the output of the integrator from step 806 may be digitized to prepare the output for processing by the digital stage. The integrator output is digitized with adequate precision (e.g., bits) for the digital stage to provide appropriate processing, for example, to avoid output swings caused by rough digital transitions. Further, because the C2V output signal has been integrated, the digital stage will be able to process the quadrature portion of the C2V output signal without needing to compensate for signal changes due to periodic portions of the C2V output signal (e.g., Coriolis signal, etc.). In an exemplary embodiment the integrated C2V output signal may be digitized by an ADC such as a SAR ADC, and an exemplary resolution of the ADC may be 13 bits. In some instances, the ADC or subsequent circuitry may inject random noise into the digital output, for example, with a built in PRBS (pseudo random binary sequence) generator. The uncancelled quadrature error (quantization noise) is spread over higher frequency spectrum, with any limit cycles eliminated. Once the integrated and demodulated C2V output signal has been digitized, processing may continue to step 810.
At step 810, the digital stage may process the received digital signal to generate a control signal in a manner that reduces the quadrature portion of the C2V output signal. The digital stage includes a variety of gain elements, filters, and signal paths, and in an embodiment, implements a second-order Sigma-Delta modulator. A compensation gain term in the initial signal path (e.g., gain KFF) stabilizes the system (e.g., removes resonance peaks within a frequency range of interest) and is subtracted from the output of an initial first-order filter. A gain is applied to scale the output appropriately to control the capacitors (e.g., a gain of 1/16 to remove the least significant 4 bits of resolution from the 13-bit signal). An additional filter (e.g., integrator) processes this 9-bit signal to generate the control signal, which in turn controls the operation of variable capacitors connected at the sense signal inputs to the C2V amplifier. The digital stage sets the values of the control signals to drive the quadrature portion of the C2V output signal towards zero. The variable capacitance will then be implemented at an appropriate time, such as the next reset cycle. Example variable capacitors may each be capable of receiving a digital input that controls the operation of the variable capacitors, such as by modifying a configuration of an array of capacitors in a manner that corresponds to the control signal (e.g., switching particular capacitors of the array of capacitors into the active circuit and/or modifying signal paths between capacitors within the array of capacitors). Although the variable capacitors are described herein as having the same available capacitance values and responding to the same control signal, in some embodiments that variable capacitors may have different base capacitances, more than one control signal may be provided, and the variable capacitors may respond differently to a provided control signal. In some embodiments, the variable capacitors may have an initial value, for example, that is set along with the reset signal, and that corresponds to a fixed base value or previously determined capacitance values for the particular signal being sensed (e.g., previously determined variable capacitance values for a particular sense axis in a round robin scheme). Once the digital processing is completed and the control signal has been provided, processing may continue to step 812.
At step 812, processing may be performed to measure the force of interest. Once the quadrature portion of the C2V output is removed or substantially reduced, the gain of the C2V amplifier is effectively applied to only the remaining signal portions, including the signal of interest (e.g., a Coriolis signal modulated by a drive frequency). In some embodiments, this measurement may be performed only after the quadrature portion has been reduced or removed, such as by implementing a set delay time or based on a measurement (e.g., at the integrator or ADC output) of the quadrature output signal portion. The measurement may be performed based on the output signal of the C2V converter having the quadrature portion removed. Processing may be performed to remove undesired characteristics of the output signal. In some embodiments, certain components may be shared with the quadrature cancellation circuitry, for example, by routing the signal corresponding to the force of interest to the ADC (e.g., SAR ADC) after the offset compensation has been performed. Once the signal of interest has been measured, processing may continue to return to step 804 for the next reset and measurement cycle.
As depicted in
Although particular ordering and configuration of the parallel demodulation components is depicted in
Returning to the configuration of
The digital compensation stage 906 includes components that are selected based on the particular configuration of the sensing system, for example, the presence of SOC and FT capacitors (not depicted in
In the above equation (6) representing a MEMS system, Quad0 corresponds to the initial quadrature signal and QuadTC includes temperature and stress related quadrature changes. The overall quadrature term is multiplied by the various sources of phase shift, including phaseMEMS (e.g., the phase shift associated with the MEMS structure), phaseDC2V (phase delay of amplifier 430), phaseSC2V (phase delay of amplifier 408), and phaseDMD (e.g., the phase shift associated with the demodulation signal). The QFTstatic term is static compensation to the quadrature signal provided by feed-through capacitors, which is scaled based on the difference between phaseSC2V and phaseDMD. During ongoing operation, the primary term of concern is the QuadTC term. Thus, the overall offset value can be minimized by minimizing the impact of QuadTC on offset, such as by trimming the phaseDMD (adjustable phase delay of Phase Locked Loop used for demodulation) value to minimize the overall angle of the (phaseMEMS−phaseDC2V+phaseSC2V−phaseDMD) term.
To understand the impact of dynamic quadrature removal, the representation of (6) may be rewritten as follows:
In the case of dynamic quadrature cancellation as described herein, the OFTstatic term is replaced by a dynamic quadrature cancellation term OFTdyn, which in turn cancels the entire second part of the above equation as follows:
Equation (8), in turn, thus represents the Coriolis output from demultiplexer 904. The result is that the dominant term of the Coriolis output is the (Quad0+QuadTC)*(phaseMEMS−phaseDC2V) term, which is susceptible to changes QuadTC (e.g., due to temperature or stress during operation) based on the difficulty of trimming either phaseMEMS or phaseDC2V. Accordingly, to enable the ability to trim for QuadTC (e.g., by modifying phaseDMD), one option is to reinsert in the digital domain the quadrature signal that was dynamically removed in the analog domain, for example, by digitally modifying the offset term received from demultiplexer 904 corresponding to equation (8) based on the digital control values provided for quadrature cancellation (e.g., from digital stage 418), in order to achieve a digital signal corresponding to equations (6) and (7).
The signal to be digitally inserted is based on the difference between equation (7) (e.g., the standard offset, in which QuadTC can be removed based on tuning of phaseDMD) and equation (8) (e.g., the offset present with dynamic removal of the quadrature signal), which results in the following with cancellation of terms:
Accordingly, to arrive at the original (trimmable for QuadIC) digital output, both OFTdyn and OFTstatic must be quantified. QFTdyn and OFTstatic can be quantified based on a respective scaling terms Kdyn for QFTdyn and Kstatic for OFTstatic multiplied by a unit capacitance Cft, where Cft is a unit feed-through capacitor located in capacitor arrays 432 and 434 and K is an integer multiple of the feed-through capacitor selected during static feedthrough trim (Kstatic) or a dynamic integer code (Kdyn) generated by dynamic digital sigma-delta compensation as described herein. Accordingly, QFTdyn and OFTstatic can be represented as follows):
If OFTunit is an amount of quadrature compensated by an addition of a single Cft unit capacitor, the difference equation representative of equation (7) (e.g., standard offset) minus equation (8) (e.g., offset with dynamic quadrature removal) is as follows:
The impact of CFT on digital sensor output can be estimated during the initial trim procedure and should include the effect of the multiplier (phaseSC2V−phaseDMD). In other words, the digital equivalent of QFTUNIT*(phaseSC2V−phaseDMD) can be estimated during the initial (e.g., fabrication or manufacturing) trim procedure, as can the integer multiplier Kstatic, since Kstatic represents the feedthrough trim code during static trimming of feedthrough. The remaining integer multiplier, Kdyn, corresponds to the digital code generated by the digital sigma-delta dynamic circuit (e.g., digital stage 418).
Accordingly, digital compensation stage 906 depicts digital processing to digitally derive the standard offset output corresponding to equations (6) and (7). As is depicted in FIG. 9B, the control signal output from digital stage 418 corresponds to Kdyn and is provided to gain element 908, which multiplies Kdyn by OFTunit*(phaseSC2V−phaseDMD), which is output to subtractor 912. The static compensation signal 910 corresponds to the OFTstatic term, such as Kstatic*QFTunit*(phaseSC2V−phaseDMD) as described above. This static compensation term is subtracted from the dynamic term output from gain element 908 at subtractor 910, resulting in the signal of equation (12) output from subtractor 912 to adder 914.
The first input to adder 914 is the digitized Coriolis signal, which corresponds to equation (8), while the second input to adder 914 is the digital compensation signal corresponding to equation (12). The resulting addition cancels the OFTdyn term and reinserts the QTFstatic term along and the trimmable phaseDMD, with an output corresponding to equations (6) and (7). Accordingly, trimming for QuadTC may be performed, for example, by modifying the phaseDMD term (e.g., trimming of the demodulation phase) in accordance with equations (6) and (7).
At step 1002, the processing circuitry (e.g., a C2V amplifier and associated feed-through and variable capacitors) may receive an input signal from a MEMS sensor such as MEMS gyroscope. Step 1002 may represent the beginning of a single sensing cycle, e.g., before the dynamic quadrature cancellation has been performed for the particular cycle (e.g., the variable capacitors may be set or may be set to an initial value based on prior sensing cycles). Additional processing such as resetting of the C2V amplifier may also be performed at step 1002. Once processing is initiated with a received MEMS output signal at step 1002, processing may continue to step 1004.
At step 1004, the dynamic quadrature compensation path may be switched into the C2V to ADC circuit path, for example, by one or multiplexers and/or demultiplexers switching the quadrature demodulator into the circuit path and the ADC outputting the digital representation of the baseband quadrature signal to a digital stage. The digital stage may be a digital sigma-delta modulator that generates a control signal to dynamically remove the quadrature signal from the C2V amplifier output. Processing may then continue to step 1006.
At step 1006, the variable capacitors may be modified based on the control signal, substantially removing the quadrature signal from the C2V amplifier output as described herein. Processing may then continue to step 1008, at which the control signal is utilized to calculate a digital compensation term to be combined with the Coriolis output signal and enable ongoing trimming of the Coriolis output such as based on demodulation phase, as described herein. Processing may then continue to step 1010.
At step 1010, the Coriolis processing path may be switched into the C2V to ADC circuit path, for example, by one or multiplexers and/or demultiplexers switching the Coriolis demodulator into the circuit and the ADC outputting the digital representation of the baseband Coriolis signal (e.g., with quadrature dynamically removed) to a Coriolis digital compensation stage. Processing then continues to step 1012, at which the digital compensation stage injects a digital representation of the quadrature signal back into the Coriolis signal to facilitate trimming, such as of the demodulation phase to reduce quadrature effects due to change in temperature or stress conditions. In this manner, the quadrature may be removed at the C2V amplifier to enable a greater gain to be applied to the Coriolis signal, without sacrificing trimming techniques such as modification of demodulation phase. Processing may then return to step 1002 for the next sensing cycle.
The foregoing description includes exemplary embodiments in accordance with the present disclosure. These examples are provided for purposes of illustration only, and not for purposes of limitation. It will be understood that the present disclosure may be implemented in forms different from those explicitly described and depicted herein and that various modifications, optimizations, and variations may be implemented by a person of ordinary skill in the present art, consistent with the following claims.