The present invention generally relates to a microelectromechanical system (MEMS) sensor of an accelerometer type and, in particular, to a technique for performing a self-test on the MEMS accelerometer.
A capacitive microelectromechanical system (MEMS) accelerometer sensor typically includes two stator nodes and one rotor node. An application specific integrated circuit (ASIC) is electrically connected to the three nodes of the MEMS sensor. The acceleration of the MEMS sensor in response to application of an external force causes a displacement of a mobile (proof) mass (which is electrically coupled to the one rotor node) relative to a pair of stationary electrodes (which are electrically coupled, respectively, to the two stator nodes) resulting in a change in capacitance. The ASIC applies a square wave drive voltage to the rotor node and monitors the change in capacitance at the two stator nodes to determine an acceleration due to the applied external force.
It is known to utilize a MEMS accelerometer sensor in a safety critical application such as with the passenger safety system of an automobile. For example, the MEMS accelerometer sensor may operate to assist with electronic stability control functions, mechanical fault detection and crash detection (for trigging airbag deployment and/or seat belt tensioning). It is accordingly imperative that the MEMS accelerometer sensor function properly. Self-testing of the MEMS accelerometer sensor is needed to ensure proper sensor operation.
There is a need in the art for a self-test technique for use in connection with a MEMS accelerometer sensor.
In an embodiment, a method is presented for self-testing an accelerometer system comprising a plurality of microelectromechanical system (MEMS) accelerometer sensors, a charge sensing circuit and a multiplexer configured to selectively couple sensing outputs of the MEMS accelerometer sensors to the charge sensing circuit in a cyclically repeating sensing period, wherein each sensing period includes a reset phase and a read phase. The method comprises: coupling the sensing outputs of a first MEMS accelerometer sensor of said plurality of MEMS accelerometer sensors through the multiplexer to the charge sensing circuit during a first sensing period; applying a self-test voltage to a second MEMS accelerometer sensor of said plurality of MEMS accelerometer sensors during said first sensing period, said self-test voltage having a leading edge coinciding with the reset phase of said first sensing period, and wherein said self-test voltage has a variably controlled excitation voltage; coupling the sensing outputs of the second MEMS accelerometer sensor through the multiplexer to the charge sensing circuit during a second sensing period that occurs subsequent to the first sensing period; and wherein said self-test voltage further has a trailing coinciding with the reset phase of said second sensing period.
In an embodiment, a method is presented for self-testing an accelerometer system comprising first, second and third microelectromechanical system (MEMS) accelerometer sensors, a charge sensing circuit and a multiplexer configured to selectively couple sensing outputs of the first, second and third MEMS accelerometer sensors to the charge sensing circuit in a cyclically repeating sensing period, wherein each sensing period includes a reset phase and a read phase. The method comprises: coupling the sensing outputs of the first MEMS accelerometer sensor through the multiplexer to the charge sensing circuit during a first sensing period; coupling the sensing outputs of the second MEMS accelerometer sensor through the multiplexer to the charge sensing circuit during a second sensing period; coupling the sensing outputs of the third MEMS accelerometer sensor through the multiplexer to the charge sensing circuit during a third sensing period; applying a first self-test voltage to the first MEMS accelerometer sensor during said second and third sensing periods, wherein said first self-test voltage has a first variably controlled excitation voltage with a leading edge coinciding with the reset phase of said second sensing period and a trailing edge coinciding with the reset phase of said first sensing period; applying a second self-test voltage to the second MEMS accelerometer sensor during said third and first sensing periods, wherein said second self-test voltage has a second variably controlled excitation voltage with a leading edge coinciding with the reset phase of said third sensing period and a trailing edge coinciding with the reset phase of said second sensing period; and applying a third self-test voltage to the third MEMS accelerometer sensor during said first and second sensing periods, wherein said third self-test voltage has a third variably controlled excitation voltage with a leading edge coinciding with the reset phase of said first sensing period and a trailing edge coinciding with the reset phase of said third sensing period.
For a better understanding of the embodiments, reference will now be made by way of example only to the accompanying figures in which:
Reference is now made to
Reference is now made to
The general structural configuration of the MEMS accelerometer sensor 12, 12x, 12y, or 12z is well known to those skilled in the art. Generally speaking, the MEMS accelerometer sensor 12, 12x, 12y, or 12z includes a stator and a mobile (proof) mass. The stator and mobile mass may be made of semiconductor material connected by means of elastic (spring) suspension elements. The stator and mobile mass typically include a plurality of fixed arms and mobile arms, respectively, which are interdigitated in a comb-fingered configuration so as to form a pair of capacitors which have a common electrical terminal coupled to the rotor node 20 and separate electrical terminals coupled, respectively, to the two stator nodes 22 and 24. The capacitance of each capacitor of the pair of capacitors depends on the relative positions of the arms which is, of course, dependent on the position of the mobile mass relative to the stator. In response to the applied force, there is movement of the mobile mass relative to the stator resulting in a corresponding change in capacitance. This change in capacitance is sensed by the ASIC through the capacitive sense signals Sc1, Sc2 and converted to a digital value indicative of acceleration. The MEMS accelerometer sensor 12, 12x, 12y, or 12z can be electrically represented as shown in
The C2V converter circuit 32 and ADC circuit 34 of the ASIC 14 are controlled to cyclically operate in accordance with a sensing period that includes a reset phase and a read phase during which the rotor node 20 of the MEMS accelerometer sensor 12 is driven with the square wave rotor drive signal Rd. In the reset phase of the sensing period, the sensing circuitry of the C2V converter circuit 32 is reset. For example, in the context of a C2V converter circuit 32 which implements a switched capacitor integration circuit, the integration capacitors are reset. The two single-ended inputs of the differential C2V converter circuit 32 may be shorted together by a switching circuit during the reset phase, and the two single-ended outputs of the differential C2V converter circuit 32 may be shorted together by a switching circuit during the reset phase. In the read phase of the sensing period, the sensing circuitry of the C2V converter circuit 32 is coupled to the stator nodes 22 and 24 (through the MUX 13, in the
As previously noted, it is important to ensure that the MEMS accelerometer sensor 12 is functioning properly, and to that end the ASIC implements a self-test mode of operation. A diffused approach for generating a self-test signal for a MEMS accelerometer sensor 12 is to introduce a difference in the voltage between the stator nodes 22 and 24. This voltage difference induces an unbalancing force between the stators which leads to a displacement of the mobile (proof) mass. This displacement can then be read using the ASIC. The force applied to displace the mobile mass is a function of the square of the difference between the voltage applied to the stator node Vst and the voltage applied to the rotor Vrot. If the same stator voltage is applied to both stator nodes 22 and 24, the applied forces cancel out. However, if different stator voltages are applied to the stator nodes 22 and 24, there is a net force which displaces the mobile mass.
Assuming a simplified timing scheme referred to a single axis sensor like that shown in
Where Tst is the period of time over which self-test is performed. This integral can be easily solved graphically as:
In the foregoing equation, c is a proportionality constant, VST is the self-test voltage applied to one of the two stator nodes 22 and 24 with a duty cycle D for a self-test period Tst, and Vs is the reference voltage (for example, a common mode voltage VCM) applied to the other of the two stator nodes 22 and 24. The foregoing equation shows that variation of the duty cycle D or variation of the self-test excitation amplitude VST can be used to alter the magnitude of the self-test force applied to the sense mass.
With reference once again to
When using the variable duty cycle self-test technique, the trailing edge transition of the self-test signal pulses in the sensing phase can introduce an unwanted behavior in the sensing axis that is not excited by the self-test signal and perturb the sensing operation of that sensing axis due to the injection of spurious charge at the input of the C2V converter 32. There is accordingly an advantage to the use of the variable voltage level self-test technique where the leading and trailing edges of the pulses for the self-test signal are aligned with the reset phases. Transitions of the self-test signals during the reset phases while that C2V converter 32 is inactive and being reset blocks spurious charge injection and will not perturb the sensing operation of the sensing axis.
Reference is now made to
A first switch S1 selectively connects signal line 102 to a first self-test voltage VSTX generated by a self-test voltage generator circuit and a second switch S2 selectively connects signal line 102 to a common mode voltage VCM of the C2V converter 32. A third switch S3 selectively connects signal line 104 to the first self-test voltage VSTX and a fourth switch S4 selectively connects signal line 104 to the common mode voltage VCM. The first self-test voltage VSTX and common mode voltage VCM are selectively applied through the MUX 100 in order to apply the self-test signal to the stator nodes of the sensor 12x during self-test operation. A fifth switch S5 selectively connects input signal line 102 to output signal line 114, and a sixth switch S6 selectively connects input signal line 104 to output signal line 116.
A seventh switch S7 selectively connects signal line 106 to a second self-test voltage VSTY generated by the self-test voltage generator circuit and an eighth switch S8 selectively connects signal line 106 to the common mode voltage VCM. A ninth switch S9 selectively connects signal line 108 to the second self-test voltage VSTY and a tenth switch S10 selectively connects signal line 108 to the common mode voltage VCM. The second self-test voltage VSTY and common mode voltage VCM are selectively applied through the MUX 100 in order to apply the self-test signal to the stator nodes of the sensor 12y during self-test operation. An eleventh switch S11 selectively connects input signal line 106 to output signal line 114, and a twelfth switch S12 selectively connects input signal line 108 to output signal line 116.
A thirteenth switch S13 selectively connects signal line 110 to a third self-test voltage VSTZ generated by the self-test voltage generator circuit and a fourteenth switch S14 selectively connects signal line 110 to the common mode voltage VCM. A fifteenth switch S15 selectively connects signal line 112 to the third self-test voltage VSTZ and a sixteenth switch S16 selectively connects signal line 112 to the common mode voltage VCM. The third self-test voltage VSTZ and common mode voltage VCM are selectively applied through the MUX 100 in order to apply the self-test signal to the stator nodes of the sensor 12z during self-test operation. A seventeenth switch S17 selectively connects input signal line 110 to output signal line 114, and an eighteenth switch S18 selectively connects input signal line 112 to output signal line 116.
Actuation of the switches S1-S18 is controlled using the select signal Sel (configured as a multi-bit digital signal) generated by the control circuit of the ASIC. The MUX 100 supports both the normal sensing operation (where the sense voltages VSc at the stator nodes are sensed) and the self-test operation (where the self-test voltages VSTX, VSTY and VSTZ are selectively applied to the rotor nodes and the voltages Vst are sensed).
Normal operation of the sensor will now be described (see, also,
When sensing the x-axis MEMS sensor 12x (reference 140,
When sensing the y-axis MEMS sensor 12y (reference 142,
When sensing the z-axis MEMS sensor 12z (reference 144,
Self-test operation of the sensor using the variable duty cycle, fixed amplitude technique will now be described (see, also,
Let’s assume that a test of the x-axis MEMS sensor 12x is being performed corresponding to an x-axis self-test period TstX. There are two drive periods TD of the drive signal Rd within the x-axis self-test period TstX, these two drive periods corresponding to when sensing is performed for the y-axis MEMS sensor 12y and z-axis MEMS second 12z. Coincident with an end of the drive period TD immediately preceding the x-axis self-test period TstX (i.e., the drive period where sensing of the sensor 12x is being performed), this end corresponding to a trailing edge of the rotor drive signal Rd, and corresponding to a first drive period of the two drive periods within the x-axis self-test period TstX, the control circuit of the ASIC generates the selection signal Sel to deactuate (i.e., open) switches S5 and S6 and disconnect the x-axis MEMS sensor 12x from the C2V converter of the ASIC, and actuate (i.e., close) switches S1 and S4 to apply the first self-test voltage VSTX through signal line 102 to the stator node 22x and apply the common mode voltage VCM through signal line 104 to the stator node 24x of the x-axis MEMS sensor 12x. Note here that switches S2 and S3 remain open from the immediately preceding drive period where sensing of the sensor 12x is being performed. Note also, as an alternative, the switches S2 and S3 are closed and the switches S1 and S4 remain open, to oppositely apply the first self-test voltage VSTX through signal line 104 to the stator node 24x and apply the common mode voltage VCM through signal line 102 to the stator node 22x of the x-axis MEMS sensor 12x. The leading edge transition from the common mode voltage VCM to the first self-test voltage VSTX for the x-axis MEMS sensor 12x self-test occurs during the reset phase. The voltage level of the first self-test voltage VSTX is fixed, but the duration of time this voltage is applied to the stator node is variably controlled by the control circuit of the ASIC through the selection signal Sel in order to set the amount of self-test force FST that is being applied to displace the mobile (proof) mass of the x-axis MEMS sensor 12x. In a second drive period of the two drive periods within the x-axis self-test period TstX, the deactuation of switches S2, S3, S5 and S6 continues, but the control circuit of the ASIC generates the selection signal Sel to deactuate (i.e., open) switch S1 and actuate (i.e., close) switch S2 to terminate application of the first self-test voltage VSTX and apply the common mode voltage VCM through line 102 to the stator node 22x in accordance with the variable duty cycle. Note: alternatively, instead open switch S3 and close switch S4 in connection with the opposite application. The trailing edge transition from the first self-test voltage VSTX to the common mode voltage VCM for the x-axis MEMS sensor 12x self-test is controlled by the desired duty cycle and will most likely occur sometime in or around the middle of the second drive period of the two drive periods for the x-axis self-test period TstX. After the end of the x-axis self-test period TstX, the control circuit of the ASIC generates the selection signal Sel to close switches S5, S6 for the drive period where sensing of the sensor 12x is being performed. In this phase, the stator voltages at nodes 22x, 24x are biased to the common mode voltage VCM level by the C2V converter 32. A sensing of the displaced mobile (proof) mass of the x-axis MEMS sensor 12x, due to the previously applied self-test force FST, can then be made by sensing the capacitance of the capacitors Cs1x and Cs2x. A magnitude of the sensed displacement is compared to an expected displacement in view of the applied self-test force FST in order to confirm proper operation of the x-axis MEMS sensor 12x. The actuation of the switches as described above causes the stator voltages VSc1x and VSc2x to assume the time behavior depicted in
It will be noted, due to the interleaved sensing operation of the system, that during the first drive period of the two drive periods for the x-axis self-test period TstX, the control circuit of the ASIC generates the selection signal Sel to actuate (i.e., close) switches S11 and S12 to connect the stator nodes 22y, 24y for the y-axis MEMS sensor 12y to the C2V converter of the ASIC for capacitance Cs1y, Cs2y sensing. Furthermore, during the second drive period of the two drive periods for the x-axis self-test period TstX, the control circuit of the ASIC generates the selection signal Sel to actuate (i.e., close) switches S17 and S18 to connect the stator nodes 22z, 24z for the z-axis MEMS sensor 12z to the C2V converter of the ASIC for capacitance Cs1z, Cs2z sensing. The application of the first self-test voltage VSTX to one of the stator nodes 22x (VSc1x), 24x (VSc2x) of the x-axis MEMS sensor 12x is accordingly being made concurrently with sensing operations being performed on other sensing axes.
A similar operation is performed with respect to testing of the y-axis MEMS sensor 12y (through stator nodes 22y, 24y) and the z-axis MEMS sensor 12z (through stator nodes 22z, 24z). The corresponding self-test periods TstY and TstZ are simply shifted (offset and partially overlapping) in time. Specifically, application of the second self-test voltage VSTY for a variable duty cycle, fixed amplitude self-test causing displacement of the sensing (proof mass) of the y-axis MEMS sensor 12y occurs during the drive periods TD associated with z-axis sensing and x-axis sensing. Similarly, application of the third self-test voltage VSTZ for a variable duty cycle, fixed amplitude self-test causing displacement of the sensing (proof mass) of the z-axis MEMS sensor 12z occurs during the drive periods TD associated with x-axis sensing and y-axis sensing.
In view of the variable duty cycle for the application of the self-test voltages VSTX, VSTY, VSTZ during self-test signal, there is a likelihood that the trailing edge transition to the common mode voltage VCM level will occur while one of these other sensing axes are connected by the MUX 100 to the C2V converter circuit of the ASIC (i.e., not during a reset phase). This can lead to an unwanted charge injection that perturbs the sensing measurement. Use of the variable amplitude and a fixed duty cycle for the self-test signals can solve the problem of unwanted charge injection.
Self-test operation of the sensor using the variable amplitude, fixed duty cycle technique will now be described (see, also,
Let’s assume that a test of the x-axis MEMS sensor 12x is being performed corresponding to an x-axis self-test period TstX. There are two drive periods TD of the drive signal Rd within the x-axis self-test period TstX, these two drive periods corresponding to when sensing is performed for the y-axis MEMS sensor 12y and z-axis MEMS second 12z. Coincident with an end of the drive period TD immediately preceding the x-axis self-test period TstX (i.e., the drive period where sensing of the sensor 12x is being performed), this end corresponding to a trailing edge of the rotor drive signal Rd, and corresponding to a first drive period of the two drive periods within the x-axis self-test period TstX, the control circuit of the ASIC generates the selection signal Sel to deactuate (i.e., open) switches S5 and S6 and disconnect the x-axis MEMS sensor 12x from the C2V converter of the ASIC, and actuate (i.e., close) switches S1 and S4 to apply the first self-test voltage VSTX through signal line 102 to the stator node 22x and apply the common mode voltage VCM through signal line 104 to the stator node 24x of the x-axis MEMS sensor 12x. Note here that switches S2 and S3 remain open from the immediately preceding drive period where sensing of the sensor 12x is being performed. Note also, as an alternative, the switches S2 and S3 are closed and the switches S1 and S4 remain open, to oppositely apply the first self-test voltage VSTX through signal line 104 to the stator node 24x and apply the common mode voltage VCM through signal line 102 to the stator node 22x of the x-axis MEMS sensor 12x. The leading edge transition from the common mode voltage VCM to the first self-test voltage VSTX for the x-axis MEMS sensor 12x self-test occurs during the reset phase. The duration of time this voltage is applied to the stator node is fixed, but the voltage level of the first self-test voltage VSTX applied to the stator node is variably controlled by the control circuit of the ASIC through the selection signal Sel in order to set the amount of self-test force FST that is being applied to displace the mobile (proof) mass of the x-axis MEMS sensor 12x. In a second drive period of the two drive periods within the x-axis self-test period TstX, the deactuation of switches S2, S3, S5 and S6 continues. Coincident with an end of the second drive period of the two drive periods the x-axis self-test period TstX, and in accordance with the fixed duty cycle for the self-test signal, the control circuit of the ASIC generates the selection signal Sel to deactuate (i.e., open) switch S1 and actuate (i.e., close) switch S2 to terminate application of the first self-test voltage VSTX and apply the common mode voltage VCM through line 102 to the stator node 22x. Note: alternatively, instead open switch S3 and close switch S4 in connection with the opposite application. The trailing edge transition from the first self-test voltage VSTX to the common mode voltage VCM for the x-axis MEMS sensor 12x self-test occurs during the subsequent reset phase, and thus the fixed duty cycle is specifically equal to two drive periods. After the end of the x-axis self-test period TstX, the control circuit of the ASIC generates the selection signal Sel to close switches S5, S6 for the drive period where sensing of the sensor 12x is being performed. In this phase, the stator voltages at nodes 22x and 24x are biased to the common mode voltage VCM level by the C2V converter 32. A sensing of the displaced mobile (proof) mass of the x-axis MEMS sensor 12x, due to the previously applied self-test force FST, can then be made by sensing the capacitance of the capacitors Cs1x and Cs2x. A magnitude of the sensed displacement is compared to an expected displacement in view of the applied self-test force FST in order to confirm proper operation of the x-axis MEMS sensor 12x. The actuation of the switches as described above causes the stator voltages VSc1x and VSc2x to assume the time behavior depicted in
It will be noted, due to the interleaved sensing operation of the system, that during the first drive period of the two drive periods for the x-axis self-test period TstX, the control circuit of the ASIC generates the selection signal Sel to actuate (i.e., close) switches S11 and S12 to connect the stator nodes 22y, 24y for the y-axis MEMS sensor 12y to the C2V converter of the ASIC for capacitance Cs1y, Cs2y sensing. Furthermore, during the second drive period of the two drive periods for the x-axis self-test period TstX, the control circuit of the ASIC generates the selection signal Sel to actuate (i.e., close) switches S17 and S18 to connect the stator nodes 22z, 24z for the z-axis MEMS sensor 12z to the C2V converter of the ASIC for capacitance Cs1z, Cs2z sensing. The application of the first self-test voltage VSTX to one of the stator nodes 22 (VSc1x), 24 (VSc2x) of the x-axis MEMS sensor 12x is accordingly being made concurrently with sensing operations being performed on other sensing axes.
A similar operation is performed with respect to testing of the y-axis MEMS sensor 12y (through stator nodes 22y, 24y) and the z-axis MEMS sensor 12z (through stator nodes 22z, 24z). The corresponding self-test periods TstY and TstZ are simply shifted (offset and partially overlapping) in time. Specifically, application of the second self-test voltage VSTY for a variable amplitude, fixed duty cycle self-test causing displacement of the sensing (proof mass) of the y-axis MEMS sensor 12y occurs during the drive periods TD associated with z-axis sensing and x-axis sensing. Similarly, application of the third self-test voltage VSTZ for a variable amplitude, fixed duty cycle self-test causing displacement of the sensing (proof mass) of the z-axis MEMS sensor 12z occurs during the drive periods TD associated with x-axis sensing and y-axis sensing.
Reference is now made to
While the invention has been illustrated and described in detail in the drawings and foregoing description, such illustration and description are considered illustrative or exemplary and not restrictive; the invention is not limited to the disclosed embodiments. Other variations to the disclosed embodiments can be understood and effected by those skilled in the art in practicing the claimed invention, from a study of the drawings, the disclosure, and the appended claims.