Capacitance measurement
09939476 ยท 2018-04-10
Assignee
Inventors
- Christian Steffen Birk (Innishannon, IE)
- John A. Cleary (Kilmallock, IE)
- David Sayago Montilla (Limerick, IE)
- Elizabeth A. Lillis (Athlunkard, IE)
- Padraig O'Connor (Aherla, IE)
- Eoin E. English (Pallasgreen, IE)
- Patrick Pratt (Mallow, IE)
- Kathleen Embrechts (Kellel-Lo, BE)
- Wim Rens (Schriek, BE)
- Jan Crols (Oud-Heverlee, BE)
Cpc classification
B81C99/003
PERFORMING OPERATIONS; TRANSPORTING
International classification
G01R27/26
PHYSICS
Abstract
Embodiments of the present invention may provide a method of measuring an unknown capacitance of a device. The method may comprise the steps of driving a test signal to a circuit system that includes a current divider formed by the device with unknown capacitance and a reference capacitor; mirroring a current developed in the reference capacitor to a second circuit system that includes a measurement impedance; measuring a voltage within the second circuit system; and deriving a capacitance of the unknown capacitance based on the measured voltage with reference to a capacitance of the reference capacitor and the measurement impedance.
Claims
1. A method for measuring a capacitance of a capacitive device, comprising: applying a first current to a first circuit system comprising a current divider formed by the capacitive device and a reference capacitor; mirroring a second current developed in the reference capacitor to a second circuit system that includes a measurement impedance; measuring a voltage generated across the measurement impedance; and deriving the capacitance of the capacitive device unknown capacitance based on the measured voltage and capacitance value of the reference capacitor and an impedance value of the measurement impedance.
2. The method of claim 1, further comprising digitizing the measured voltage.
3. The method of claim 1, further comprising: applying a fourth current to the reference capacitor such that a difference between the fourth current and the second current is positive for predetermined capacitance values of the capacitive device.
4. The method of claim 1, wherein the capacitive device is a capacitive actuator, and the method further comprises estimating a position of the capacitive actuator from the derived capacitance of the capacitive device.
5. The method of claim 1, wherein the capacitive device is a capacitive actuator, and the method further comprises correcting a drive signal of the capacitive actuator based on the derived capacitance of the capacitive device.
6. The method of claim 1, wherein the capacitive device is a capacitive actuator, and the method further comprises: driving the capacitive actuator in a driving phase with a drive signal according to a desired position of the capacitive actuator, and measuring during a measurement phase the capacitance of the capacitive actuator; and correcting the drive signal of the capacitive actuator for a subsequent iteration of the driving and measurement phase based on the derived capacitance of the capacitive device.
7. An integrated circuit for measuring a capacitance of a capacitive device, comprising: a first current source coupled to an output terminal configured for connection to the capacitive device and supplying a first current; a current mirror having first and second current paths; a reference capacitor coupled to the output terminal and the first current path; a measurement impedance coupled to the second current path; and an analog-to-digital converter having an input coupled to a second node within the second current path and configured to measure a voltage at the second node.
8. The integrated circuit of claim 7, further comprising a second current source coupled to a first node between the reference capacitor and the first current path, wherein the second current source is sized to supply a second current that exceeds the first current from the first current source for predetermined capacitance values of the capacitive device.
9. The integrated circuit of claim 7, wherein transistors of the current mirror have equal sizes.
10. The integrated circuit of claim 7, wherein transistors of the current mirror have non-equal sizes.
11. The integrated circuit of claim 7, wherein the capacitive device is a capacitive actuator, the integrated circuit further comprising a controller to drive the first current source iteratively among a drive mode and a measurement mode, wherein: during the drive mode, the controller drives the first current at a setting determined by a position signal representing a position of the capacitive actuator, and during the measurement mode, the controller generates a correction signal for a next iteration based on a value output by the analog-to-digital converter commensurate with the voltage measured at the second node.
12. The integrated circuit of claim 11, wherein, in the drive mode, the controller varies a duration of activation of the first current source.
13. The integrated circuit of claim 11, wherein the controller dithers onsets of signals output from the first current source from iteration to iteration.
14. A driver and voltage measurement circuit for operating a capacitive actuator, comprising: a driver providing a drive signal to the capacitive actuator for changing a position of the capacitive actuator; and a first voltage measurement circuit measuring a voltage representative of a capacitance of the capacitive actuator, the voltage measurement circuit comprising: a first current source coupled to the capacitive actuator and supplying a first current; a current mirror having first and second current paths; a reference capacitor coupled to a connection point between the capacitive actuator and the first current path; and a measurement impedance coupled to the second current path; wherein the voltage representative of the capacitance of the capacitive actuator is supplied at a second node within the second current path; and a controller supplying control signals to the driver based on an error signal representing a difference between an actual position of the capacitive actuator derived from the capacitance of the capacitive actuator as determined by the first voltage measurement circuit and a position setting for the capacitive actuator.
15. The driver and voltage measurement circuit of claim 14, further comprising an analog-to-digital converter for digitizing the voltage measured at the second node and supplying the digitized voltage to the controller.
16. The driver and voltage measurement circuit of claim 14, further comprising a second current sink configured to discharge both the capacitive actuator and the reference capacitor, wherein the first current source and second current sink are prevented from being enabled at the same time.
17. The driver and voltage measurement circuit of claim 14, further comprising a second measurement circuit to directly measure a voltage of the capacitive actuator.
18. The driver and voltage measurement circuit of claim 17, further comprising storage for lookup tables correlating values of the actual position and the directly measured voltage to drive current settings.
19. The driver and voltage measurement circuit of claim 18, wherein the storage includes sub-tables indexed by values representing gravitational forces acting on the capacitive actuator.
20. The driver and voltage measurement circuit of claim 14, wherein the controller derives drive current settings based at least in part on values representing gravitational forces acting on the capacitive actuator.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) The present invention will become more fully understood from the detailed description given below and from the accompanying drawings. The drawings are intended to disclose but a few possible examples of the present invention, and thus do not limit the present invention's scope.
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
(14)
DETAILED DESCRIPTION
(15) Embodiments of the present invention may provide a method of measuring an unknown capacitance of a device. The method may comprise the steps of driving a test signal to a circuit system that includes a current divider formed by the device with unknown capacitance and a reference capacitor; mirroring a current developed in the reference capacitor to a second circuit system that includes a measurement impedance; measuring a voltage within the second circuit system; and deriving a capacitance of the unknown capacitance based on the measured voltage with reference to a capacitance of the reference capacitor and the measurement impedance.
(16) Embodiments of the present invention may provide an integrated circuit for measuring an unknown capacitance of a device. The integrated circuit may comprise a current source coupled to an output terminal, a reference capacitor coupled to the output terminal, a current mirror having a pair of current pathsa first current path including the reference capacitor and a second current path including a measurement impedanceand an analog-to-digital converter having an input coupled to a node within the second current path.
(17)
(18) The current source 108 may provide a test current i to the capacitive device 102 and to the reference capacitor 109. The reference capacitor 109, when coupled to the capacitive device 102 may form a current divider. Each branch of the current divider may receive a portion of the test current i supplied by the current source 108 according to their relative capacitances. A current i.sub.ref thus may flow through the reference capacitor 109.
(19) The current mirror 110 may include a diode-connected transistor N.sub.1 and a second transistor N.sub.2 having its gate coupled to a gate of the first transistor N.sub.1. Thus, during operation, the second transistor N.sub.2 may pass a current in proportion to the current i.sub.ref that is passed by the first transistor N.sub.1.
(20) The measurement capacitor 111 may carry a voltage across it at a level that is determined by the current i.sub.meas passed by the current mirror 110. In the example illustrated in
(21) In the configuration illustrated in
(22) The switch S.sub.1 may be controlled by a switch controller (not shown) to provide selective control to enable or disable the current source 108. The switch S.sub.1 may be implemented as a transistor (for example, a FET, a 133T, etc.) that is sized to accommodate the driving voltage V.sub.DD1 to which the current source 108 is connected. When the switch S.sub.1 is controlled to be closed, the current source 108 may provide a test current to the capacitive device 102 and to the reference capacitor 109. It may be convenient to have the current source 108 provide the test current at a fixed magnitude (when switch S.sub.1 is closed), in which case the amount of charge provided by the current source 108 may be dictated by a period of time t during which the switch S.sub.1 remains closed.
(23) The reference capacitor 109 having a capacitance C.sub.ref may be coupled in a circuit path from the output terminal 103 through the current mirror 110. As discussed, the capacitor 109 and the capacitive device 102 form a current divider, dividing the test current i supplied by the current source 108. As such, the current i.sub.ref flowing through the reference capacitor 109 is a portion of the test current i supplied by the current source 108, dictated by the capacitances C.sub.ref and C.sub.unknown as:
(24)
(25) As discussed, the current mirror 110 may mirror the current i.sub.ref to the measurement capacitor 111 as the current i.sub.meas. The current mirror 110 is shown as including two n-channel transistors N.sub.1 and N.sub.2, but other configurations may be applied. For example, the transistors N.sub.1 and N.sub.2 may be implemented as any other types of transistors (for example, BJTs). And, as discussed below, other current mirrors may be provided with p-type devices. In the configuration illustrated in
i.sub.meas=i.sub.ref(2)
(26) Also in a simple configuration, the reference capacitor 109 and the measurement capacitor 111 may be sized such that the capacitances C.sub.meas and C.sub.ref are identical (C.sub.meas=C.sub.ref). However, if desired, the reference capacitor 109 and the measurement capacitor 111 may be unequally weighted by a factor of go as:
C.sub.meas=C.sub.ref(3)
(27) As discussed, a voltage may develop across the measurement capacitor 111 as the current i is passed by the current mirror 110. The current i.sub.meas may flow as long as the switch S.sub.1 is closed, causing the measurement voltage V.sub.meas to decrease. When the switch S.sub.1 is opened after a period of time t, the voltage across the measurement capacitor 111 may be expressed as:
(28)
(29) Substituting equations (1)-(3) into equation (4) results in:
(30)
(31) Therefore, a digital value generated by the ADC 112 may represent the unknown capacitance C.sub.unknown of the capacitive device 102 according to:
(32)
(33) It should be noted that all the parameters and variables on the right hand side of equation (6) may be known, predetermined, and/or measured. A processor 106 may derive the unknown capacitance C.sub.unknown of the capacitive device 102, for example, by direct mathematical computation. Alternatively, the processor 106 may store a lookup table, indexed by digital values output by the ADC 112, that stores capacitance values of the unknown capacitance C.sub.unknown.
(34) Once the ADC 112 has generated a digital value, to allow for a subsequent capacitance measurement, the voltage across the measurement capacitor 111 may be reset to zero by closing a switch S.sub.2 coupled across the measurement capacitor 111. Similar to the switch S.sub.1, the switch S.sub.2 may be implemented as a transistor (for example, a FET, a 133T, etc.).
(35)
(36) The current source 208 may provide a test current i to the capacitive device 202 and to the reference capacitor 209. The reference capacitor 209, when coupled to the capacitive device 202 may form a current divider. Each branch of the current divider may receive a portion of the test current i supplied by the current source 208 according to their relative capacitances. A current i.sub.ref thus may flow through the reference capacitor 209.
(37) The current mirror 214 may include a diode-connected transistor P.sub.1 and a second transistor P.sub.2 having its gate coupled to a gate of the first transistor P.sub.1. Thus, during operation, the second transistor P.sub.2 may pass a current i.sub.meas in proportion to the current i.sub.ref that is passed by the first transistor P.sub.1.
(38) The measurement capacitor 211 may carry a voltage across it at a level that is determined by the current i.sub.meas passed by the current mirror 214. In the example illustrated in
(39) In the configuration illustrated in
(40) The reference capacitor 209 having a capacitance C.sub.ref may be coupled in a circuit path from the output terminal 203 through the current mirror 214. As discussed, the capacitor 209 and the capacitive device 202 form a current divider, dividing the test current i supplied by the current source 208. As such, the current i.sub.ref flowing through the reference capacitor 209 is a portion of the test current i supplied by the current source 208, dictated by the capacitances C.sub.ref and C.sub.unknown as represented by equation (1) above.
(41) As discussed, the current mirror 214 may mirror the current i.sub.ref to the measurement capacitor 211 as the current i.sub.meas. The current mirror 214 is shown as including two p-channel transistors P.sub.1 and P.sub.2, but other configurations may be applied. In the configuration illustrated in
(42) In a simple implementation, the transistors P.sub.1 and P.sub.2 may be provided to have equal sizes and, therefore, the currents passed by the transistors P.sub.1 and P.sub.2 may be equal to each other (i.sub.meas=i.sub.ref). If desired, however, the transistors P.sub.1 and P.sub.2 may be sized unequally, in which case the transistor P.sub.2 will pass a current i.sub.meas corresponding to the relative sizes of the two transistors P.sub.1 and P.sub.2 (i.sub.meas i.sub.ref). For example, the current i.sub.meas may be a factor of the current i.sub.ref as in equation (2).
(43) Also in a simple configuration, the reference capacitor 209 and the measurement capacitor 211 may be sized such that the capacitances C.sub.meas and C.sub.ref are identical (C.sub.meas=C.sub.ref). However, if desired, the reference capacitor 209 and the measurement capacitor 211 may be unequally sized by a factor of and the capacitances C.sub.meas and C.sub.ref may be expressed as in equation (3).
(44) As discussed, a voltage may develop across the measurement capacitor 211 as the current i.sub.meas passed by the current mirror 214. The current i.sub.meas may flow as long as the switch S.sub.1 is closed, causing the measurement voltage V.sub.meas increase. When the switch S.sub.1 is opened after a period of time t, the voltage across the measurement capacitor 211 may be expressed as:
(45)
(46) Substituting equations (1)-(3) into equation (7) results in:
(47)
(48) Therefore, a digital value generated by the ADC 212 may represent the unknown capacitance C.sub.unknown of the capacitive device 202 according to:
(49)
(50) All the parameters and variables on the right hand side of equation (9) may be known, predetermined, and/or measured. A processor 206 may derive the unknown capacitance C.sub.unknown of the capacitive device 202, for example, by direct mathematical computation. Alternatively, the processor 206 may store a lookup table, indexed by digital values output by the ADC 212, that stores capacitance values of the unknown capacitance C.sub.unknown.
(51) Once the ADC 212 has generated a digital value, to allow for a subsequent capacitance measurement, the voltage across the measurement capacitor 211 may be reset to zero by closing a switch S.sub.2 coupled across the measurement capacitor 211.
(52)
(53)
(54) The current source 308 may provide a test current i, sourcing a current to the capacitive device 302 and sinking a current i.sub.ref from the reference capacitor 309. The reference capacitor 309, when coupled to the capacitive device 302 may form a current divider. Each branch of the current divider may contribute a portion of the test current i provided by the current source 308 according to their relative capacitances.
(55) The bleeding current source 316 may supply a current at a second level i.sub.bleed at a node formed by connection of the reference capacitor 309 and the current mirror 310. The current source 308 and bleeding current source 316 may cooperate to supply an aggregate current i.sub.bleedi.sub.ref through a first branch of the current mirror 310. In practice, the bleeding current i.sub.bleed may be sized to ensure that the aggregate current is positive for all practical values of the unknown capacitance C.sub.unknown (i.e., i.sub.bleed>i.sub.ref).
(56) The current mirror 310 may include a diode-connected transistor N.sub.1 and a second transistor N.sub.2 having its gate coupled to a gate of the first transistor N.sub.1. During operation, the second transistor N.sub.2 may pass a current i.sub.meas in proportion to the aggregate current i.sub.bleedi.sub.ref that is passed by the first transistor N.sub.1.
(57) The measurement capacitor 311 may carry a voltage across it at a level that is determined by the current i.sub.meas passed by the current mirror 310. In the example illustrated in
(58) In the configuration illustrated in
(59) The reference capacitor 309 having a capacitance C.sub.ref may be coupled in a circuit path from the output terminal 303 through the current mirror 310. As discussed, the capacitor 309 and the capacitive device 302 form a current divider, dividing the test current i supplied by the current source 308. As such, the current i.sub.ref flowing through the reference capacitor 309 is a portion of the test current i supplied by the current source 308, dictated by the capacitances C.sub.ref and C.sub.unknown as represented by equation (1) above.
(60) As discussed, the current mirror 310 may mirror the aggregate current i.sub.bleedi.sub.ref to the measurement capacitor 311 as the current i.sub.meas. The current mirror 310 is shown as including two n-channel transistors N.sub.1 and N.sub.2, but other configurations may be applied. In the configuration illustrated in
(61) In a simple implementation, the transistors N.sub.1 and N.sub.2 may be provided to have equal sizes and, therefore, the currents passed by the transistors N.sub.1 and N.sub.2 may be equal to each other (i.sub.meas=i.sub.bleedi.sub.ref). If desired, however, the transistors N.sub.1 and N.sub.2 may be sized unequally, in which case the transistor N.sub.2 will pass a current i.sub.meas corresponding to the relative sizes of the two transistors N.sub.1 and N.sub.2 (i.sub.meas (i.sub.bleedi.sub.ref)). For example, the current i.sub.meas may be a factor of the aggregate current i.sub.bleedi.sub.ref as:
i.sub.meas=(i.sub.bleedi.sub.ref)(10)
(62) Also in a simple configuration, the reference capacitor 309 and the measurement capacitor 311 may be sized such that the capacitances C.sub.meas and C.sub.ref are identical (C.sub.meas=C.sub.ref). However, if desired, the reference capacitor 309 and the measurement capacitor 311 may be unequally sized by a factor of and the capacitances C.sub.meas and C.sub.ref may be expressed as in equation (3).
(63) As discussed, a voltage may develop across the measurement capacitor 311 as the current i.sub.meas is passed by the current mirror 310. The current i.sub.meas may flow as long as the switch S.sub.1 is closed, causing the measurement voltage V.sub.meas to measurement decrease. When the switch S.sub.1 is opened after a period of time t, the voltage across the measurement capacitor 311 may be expressed as:
(64)
(65) Substituting equations (1), (3), and (10) into equation (11) results in:
(66)
(67) Therefore, a digital value generated by the ADC 312 may represent the unknown capacitance C.sub.unknown of the capacitive device 302 according to:
(68)
(69) All the parameters and variables on the right hand side of equation (13) may be known, predetermined, and/or measured. A processor 306 may derive the unknown capacitance C.sub.unknown of the capacitive device 302, for example, by direct mathematical computation. Alternatively, the processor 306 may store a lookup table, indexed by digital values output by the ADC 312, that stores capacitance values of the unknown capacitance C.sub.unknown.
(70) Once the ADC 312 has generated a digital value, to allow for a subsequent capacitance measurement, the voltage across the measurement capacitor 311 may be reset to zero by closing a switch S.sub.2 coupled across the measurement capacitor 311.
(71)
(72) The current source 408 may provide a test current i, sourcing a current to the capacitive device 402 and sinking a current i.sub.ref from the reference capacitor 409. The reference capacitor 409, when coupled to the capacitive device 402 may form a current divider. Each branch of the current divider may contribute a portion of the test current i provided by the current source 408 according to their relative capacitances.
(73) The bleeding current source 416 may supply a current at a second level i.sub.bleed at a node formed by connection of the reference capacitor 409 and the current mirror 414. The current source 408 and bleeding current source 416 may cooperate to supply an aggregate current i.sub.bleedi.sub.ref through a first branch of the current mirror 414. In practice, the bleeding current i.sub.bleed may be sized to ensure that the aggregate current is positive for all practical values of the unknown capacitance C.sub.unknown (i.e., i.sub.bleed>i.sub.ref).
(74) The current mirror 414 may include a diode-connected transistor P.sub.1 and a second transistor P.sub.2 having its gate coupled to a gate of the first transistor P.sub.1. During operation, the second transistor P.sub.2 may pass a current i.sub.meas in proportion to an aggregate current i.sub.bleedi.sub.ref that is passed by the first transistor P.sub.1.
(75) The measurement capacitor 411 may carry a voltage across it at a level that is determined by the current i.sub.meas passed by the current mirror 414. In the example illustrated in
(76) In the configuration illustrated in
(77) The reference capacitor 409 having a capacitance C.sub.ref may be coupled in a circuit path from the output terminal 403 through the current mirror 414. As discussed, the capacitor 409 and the capacitive device 402 form a current divider, dividing the test current i supplied by the current source 408. As such, the current i.sub.ref flowing through the reference capacitor 409 is a portion of the test current i supplied by the current source 408, dictated by the capacitances C.sub.ref and C.sub.unknown as represented by equation (1) above.
(78) As discussed, the current mirror 414 may mirror the aggregate current i.sub.bleedi.sub.ref to the measurement capacitor 411 as the current i.sub.meas. The current mirror 414 is shown as including two p-channel transistors P.sub.1 and P.sub.2, but other configurations may be applied. In the configuration illustrated in
(79) In a simple implementation, the transistors P.sub.1 and P.sub.2 may be provided to have equal sizes and, therefore, the currents passed by the transistors P.sub.1 and P.sub.2 may be equal to each other (i.sub.meas=i.sub.bleedi.sub.ref). If desired, however, the transistors P.sub.1 and P.sub.2 may be sized unequally, in which case the transistor N.sub.2 will pass a current i.sub.meas corresponding to the relative sizes of the two transistors P.sub.1 and P.sub.2 (i.sub.meas (i.sub.bleedi.sub.ref)). For example, the current i.sub.meas may be a factor of the aggregate current i.sub.bleedi.sub.ref as in equation (10) above.
(80) Also in a simple configuration, the reference capacitor 409 and the measurement capacitor 411 may be sized such that the capacitances C.sub.meas and C.sub.ref are identical (C.sub.meas=C.sub.ref). However, if desired, the reference capacitor 409 and the measurement capacitor 411 may be unequally sized by a factor of and the capacitances C.sub.meas and C.sub.ref may be expressed as in equation (3) above.
(81) As discussed, a voltage may develop across the measurement capacitor 411 as the current i.sub.meas is passed by the current mirror 414. The current i.sub.meas may flow as long as the switch S.sub.1 is closed, causing the measurement voltage V.sub.meas to increase. When the switch S.sub.1 is opened after a period of time t, the voltage across the measurement capacitor 411 may be expressed as:
(82)
(83) Substituting equations (1), (3), and (10) into equation (14) results in:
(84)
(85) Therefore, a digital value generated by the ADC 412 may represent the unknown capacitance C.sub.unknown of the capacitive device 402 according to:
(86)
(87) All the parameters and variables on the right hand side of equation (16) may be known, predetermined, and/or measured. A processor 406 may derive the unknown capacitance C.sub.unknown of the capacitive device 402, for example, by direct mathematical computation. Alternatively, the processor 406 may store a lookup table, indexed by digital values output by the ADC 412, that stores capacitance values of the unknown capacitance C.sub.unknown.
(88) Once the ADC 412 has generated a digital value, to allow for a subsequent capacitance measurement, the voltage across the measurement capacitor 411 may be reset to zero by closing a switch S.sub.2 coupled across the measurement capacitor 411.
(89)
(90) The driver 501 of the circuit 500 may apply a current to the actuator 502 to change the position of the device 520. An example of the actuator 502 may be a MicroElectroMechanical System (MEMS) actuator, which may be in the form of a cantilever beam or a comb structure. The device 520, a lens assembly for example, may be attached to the cantilever beam or the comb structure of the actuator 502. When the driver 501 applies a current to the actuator 502, the cantilever beam or the comb structure may be displaced, changing the position of the device 520. The displacement of the actuator 502 may result in a change in capacitance of the actuator 502.
(91) As discussed, the first voltage measurement circuit 504 may develop a voltage representative of the capacitance of the actuator 502. The circuit 500 may convert the developed voltage to a digital value and output it to the processor 506. The capacitance derivation system 526 of the processor 506 may derive the capacitance of the actuator 502 based on the digital value representing the developed voltage, for example, by direct mathematical computation. Alternatively, the processor 506 may store a lookup table, indexed by digital values output by the voltage measurement circuit 504, that stores capacitance values of the actuator 502. The derived capacitance may be provided to the position derivation system 528 and the controller 524.
(92) The position derivation system 528 of the processor 506 may then derive an actual position of the actuator 502 based on the derived capacitance. The processor 506 may store another look up table, indexed by capacitance values from the capacitance derivation system 528, that stores position values of the actuator 502.
(93) The position setting system 522 may provide a command signal indicating a desired position of the actuator 502 (and the device 520). The processor 506 may thus compute a position error signal between the desired position and the actual position derived by the position derivation system 528, and provide the position error signal to the controller 524.
(94) As discussed, operational factors such as temperature and physical orientation with respect to gravitational forces may have a substantial effect on a capacitive actuator. Thus, it is desirable to take gravitational forces into account when driving such an actuator to a desired position.
(95) As such, referring back to
(96) Based on the digitized voltage from the voltage measurement circuit 505 and the derived capacitance from the capacitance derivation system 526, the controller 524 may deduce the gravitational force acting on the actuator. The processor 506 may store a plurality of capacitance-versus-voltage transfer curves lookup tables or sub-tables, indexed by capacitance and voltage values. The controller 524 may then compute the amount of charge required to drive the actuator to the desired position based on the transfer curve lookup table corresponding to the deduced gravitational force. The controller 524 may further convert the required amount of charge into a control signal (for example, a duration for a drive current) and provide it to the driver 501 of the circuit 500 in order to drive the position error signal to zero, in which case the actual position of the actuator 502 is at the desired position.
(97)
(98) The circuit 700 may have an output terminal 703 that is coupled to a first terminal of the capacitive actuator 702. A second terminal of the capacitive actuator 702 may be coupled to a low voltage supply V.sub.SS. An output of the ADC 712 may be output to an output terminal 707 of the circuit 700 and on to other systems such as a processor 706.
(99) The current source 708 may provide a current i to charge both the capacitive device 702 and the reference capacitor 709. The current sink 730 may provide a current i to discharge both the capacitive actuator 702 and the reference capacitor 709. As discussed below, the current source 708 and the current sink 730 may be used during both a driving interval and a capacitance measurement interval of the capacitive actuator 702. The reference capacitor 709, when coupled to the capacitive actuator 702 may form a current divider. Each branch of the current divider may receive a portion of the current i from either the current source 708 or the current sink 730 according to their relative capacitances. A current i.sub.ref thus may flow through the reference capacitor 709. Using the convention of the arrow shown in
(100) The current mirror 710 may include a transistor N.sub.1 and a second transistor N.sub.2 having its gate coupled to a gate of the first transistor N.sub.1. Since the current i.sub.ref may be either positive or negative with respect to the current path of the transistor N.sub.1, the bleeding current source 716 may be sized to ensure that the aggregate current i.sub.bleed+i.sub.ref is positive for all practical values of the unknown capacitance C.sub.unknown. However, during an abnormal operation where a negative current i.sub.ref may become greater in magnitude than the current i.sub.bleed, a first comparator A.sub.1 and a second comparator A.sub.z, along with a third transistor N.sub.3, may be provided to effectively disable the current mirror 710. Thus, during normal operation, the second transistor N.sub.2 may pass a current i.sub.mirror in proportion to an aggregate current i.sub.bleed+i.sub.ref that is passed by the first transistor N.sub.1. In a simple implementation, the transistors N.sub.1 and N.sub.2 may be provided to have equal sizes and, therefore, the currents passed by the transistors P.sub.1 and P.sub.2 may be equal to each other (i.sub.mirror=i.sub.bleed+i.sub.ref).
(101) The measurement capacitor 711 may carry a voltage across it at a level that is determined by the current i.sub.meas. In the example illustrated in
(102) In the configuration illustrated in
(103) The current sink 730 may be coupled to the voltage supply V.sub.SS via a switch S.sub.3. The switch S.sub.3 may be controlled by the switch controller to provide selective control to enable or disable the current sink 730. When the switch S.sub.3 is controlled to be closed, the current sink 730 may provide a discharging current to the capacitive actuator 702 and to the reference capacitor 709. The current sink 730 may provide the discharging current at a fixed magnitude (when switch S.sub.3 is closed). A period of time t during which the switch S.sub.3 remains closed may thus determine the amount of charge removed by the current sink 730. It should be noted that only one between switches S.sub.1 and S.sub.3 may be closed at a time. In other words, the current sources 708 and 730 may not be enabled at the same time.
(104) The reference capacitor 709 having a capacitance C.sub.ref may be coupled in a circuit path from the output terminal 703 through the current mirror 710. As discussed, the capacitor 709 and the capacitive actuator 702 form a current divider, dividing the current i from either the current source 708 or the current sink 730. As such, the current i.sub.ref flowing through the reference capacitor 709 is a portion of the current i from either the current source 708 or the current sink 730, dictated by the capacitances C.sub.ref and C.sub.mems as represented:
(105)
(106) As discussed, the current mirror 710 may mirror the aggregate current i.sub.bleed+i.sub.ref as the current i.sub.mirror. The current mirror 710 is shown as including two n-channel transistors N.sub.1 and N.sub.2, but other configurations may be applied. In the configuration illustrated in
(107) In a simple implementation, the transistors N.sub.1 and N.sub.2 may be provided to have equal sizes and, therefore, the currents passed by the transistors N.sub.1 and N.sub.2 may be equal to each other (i.sub.mirror=i.sub.bleed+i.sub.ref). If desired, however, the transistors N.sub.1 and N.sub.2 may be sized unequally, in which case the transistor N.sub.2 will pass a current i.sub.mirror corresponding to the relative sizes of the two transistors N.sub.1 and N.sub.2 (i.sub.mirror (i.sub.bleed+.sub.ref)). For simplicity, the following analysis will assume equally-sized transistors N.sub.1 and N.sub.2. One skilled in the art would appreciate that the following analysis may be augmented with a scaling factor to account for the relative sizes of the two transistors N.sub.1 and N.sub.2.
(108) Also in a simple configuration, the reference capacitor 709 and the measurement capacitor 711 may be sized such that the capacitances C.sub.meas and C.sub.ref are identical (C.sub.meas=C.sub.ref). However, if desired, the reference capacitor 709 and the measurement capacitor 711 may be unequally sized by a factor of and the capacitances C.sub.meas and C.sub.ref may be expressed as in equation (3) above.
(109) As discussed, a voltage may develop across the measurement capacitor 711 as the current i.sub.meas passes through it. The current i.sub.meas may flow as long as either the switch S.sub.1 or the switch S.sub.3 is closed, causing the measurement voltage V.sub.meas to either decrease or increase, respectively. When either the switch S.sub.1 or the switch S.sub.3 is opened after a period of time t, the voltage across the measurement capacitor 711 may be expressed as:
(110)
(111) Substituting equation (17) into equation (18) results in:
(112)
(113) Therefore, a digital value generated by the ADC 712 may represent the variable capacitance C.sub.mems of the capacitive actuator 702 according to:
(114)
(115) Once the ADC 712 has generated a digital value, to allow for a subsequent capacitance measurement, the voltage across the measurement capacitor 711 may be reset to zero by closing a switch S.sub.2 coupled across the measurement capacitor 711.
(116) All the parameters and variables on the right hand side of equation (20) may be known, predetermined, and/or measured. A processor 706 may derive the capacitance C.sub.mems of the capacitive actuator 702, for example, by direct mathematical computation. Alternatively, the processor 706 may store a lookup table, indexed by digital values output by the ADC 712, that stores capacitance values of the capacitance C.sub.mems. Similar to the system in
(117)
(118) The circuit 800 may have an output terminal 803 that is coupled to a first terminal of the capacitive actuator 802. A second terminal of the capacitive actuator 802 may be coupled to a low voltage supply V.sub.SS. An output of the ADC 812 may be output to an output terminal 807 of the circuit 800 and on to other systems such as a processor 806. The current source 808 may provide a current i to charge both the capacitive device 802 and the reference capacitor 809. The current sink 830 may provide a current i to discharge both the capacitive actuator 802 and the reference capacitor 809. As discussed below, the current source 808 and the current sink 830 may be used during both a driving interval and a capacitance measurement interval of the capacitive actuator 802. The reference capacitor 809, when coupled to the capacitive actuator 802 may form a current divider. Each branch of the current divider may receive a portion of the current i from either the current source 808 or the current sink 830 according to their relative capacitances. A current i.sub.ref thus may flow through the reference capacitor 809. Using the convention of the arrow shown in FIG. 8, the current i.sub.ref may be positive when the current source 808 is enabled and negative when the current sink 830 is enabled.
(119) When the current source 808 is enabled (and the current sink 830 is disabled), the current mirror 810 may be employed by opening a switch S.sub.2 and closing a switch S.sub.4. The current mirror 810 may include a diode-connected transistor N.sub.1 and a second transistor N.sub.2 having its gate coupled to a gate of the first transistor N.sub.1. Thus, during operation, the second transistor N.sub.2 may pass a current i.sub.source in proportion to the current i.sub.ref that is passed by the first transistor N.sub.1.
(120) The source capacitor 811 may carry a voltage across it at a level that is determined by the current i.sub.source. In the example illustrated in
(121) When the current sink 830 is enabled (and the current source 808 is disabled), the current mirror 814 may be employed by closing the switch S.sub.2 and opening the switch S.sub.4. The current mirror 814 may include a diode-connected transistor P.sub.1 and a second transistor P.sub.2 having its gate coupled to a gate of the first transistor P.sub.1. Thus, during operation, the second transistor P.sub.2 may pass a current i.sub.sink in proportion to the current i.sub.ref that is passed by the first transistor P.sub.1.
(122) The sink capacitor 813 may carry a voltage across it at a level that is determined by the current %.sub.sink. In the example illustrated in
(123) In the configuration illustrated in
(124) The current sink 830 may be coupled to the voltage supply V.sub.SS via a switch S.sub.3. The switch S.sub.3 may be controlled by the switch controller to provide selective control to enable or disable the current sink 830. When the switch S.sub.3 is controlled to be closed, the current sink 830 may provide a discharging current to the capacitive actuator 802 and to the reference capacitor 809. The current sink 830 may provide the discharging current at a fixed magnitude (when switch S.sub.3 is closed). A period of time t during which the switch S.sub.3 remains closed may thus determine the amount of charge removed by the current sink 830. It should be noted that only one between switches S.sub.1 and S.sub.3 may be closed at a time. In other words, the current sources 808 and 830 may not be enabled at the same time.
(125) The reference capacitor 809 having a capacitance C.sub.ref may be coupled in a circuit path from the output terminal 803 through the current mirrors 810 and 814. As discussed, the capacitor 809 and the capacitive actuator 802 form a current divider, dividing the current i from either the current source 808 or the current sink 830. As such, the current i.sub.ref flowing through the reference capacitor 809 is a portion of the current i from either the current source 808 or the current sink 830, dictated by the capacitances C.sub.ref and C.sub.mems as represented by equation (17) above.
(126) As discussed, when the current source 808 is enabled (switch S.sub.1 closed), the current mirror 810 may mirror as the current i.sub.ref to the source capacitor 811 as the current i.sub.source. The current mirror 810 is shown as including two n-channel transistors N.sub.1 and N.sub.2, but other configurations may be applied. In the configuration illustrated in
(127) In a simple implementation, the transistors N.sub.1 and N.sub.2 may be provided to have equal sizes and, therefore, the currents passed by the transistors N.sub.1 and N.sub.2 may be equal to each other (i.sub.source=i.sub.ref). If desired, however, the transistors N.sub.1 and N.sub.2 may be sized unequally, in which case the transistor N.sub.2 will pass a current i.sub.source corresponding to the relative sizes of the two transistors N.sub.1 and N.sub.2 (i.sub.source i.sub.ref). For example, the current i.sub.source may be a factor .sub.source of the current i.sub.ref as:
i.sub.source=.sub.sourcei.sub.ref(21)
(128) Also in a simple configuration, the reference capacitor 809 and the source capacitor 811 may be sized such that the capacitances C.sub.source and C.sub.ref are identical (C.sub.source=C.sub.ref). However, if desired, the reference capacitor 809 and the source capacitor 811 may be unequally sized by a factor of .sub.source and the capacitances C.sub.source and C.sub.ref may be expressed as:
C.sub.source=.sub.sourceC.sub.ref(22)
(129) As discussed, a voltage may develop across the source capacitor 811 as the current i.sub.source passes through it. The current i.sub.source may flow as long as either the switch S.sub.1 is closed, causing the measurement voltage V.sub.meas (switch S.sub.5 closed) to decrease. When the switch S.sub.1 is opened after a period of time t, the voltage across the source capacitor 811 may be expressed as:
(130)
(131) Substituting equations (17), (21), and (22) into equation (23) results in:
(132)
(133) Therefore, a digital value generated by the ADC 812 may represent the variable capacitance C.sub.mems of the capacitive actuator 802, after being charged, according to:
(134)
(135) Once the ADC 812 has generated a digital value, to allow for a subsequent capacitance measurement, the voltage across the source capacitor 811 may be reset to zero by closing a switch S.sub.2 coupled across the measurement capacitor 811.
(136) As discussed, when the current sink 830 is enabled (switch S.sub.3 closed), the current mirror 814 may mirror as the current i.sub.ref to the sink capacitor 813 as the current i.sub.sink. The current mirror 814 is shown as including two p-channel transistors P.sub.1 and P.sub.2, but other configurations may be applied. In the configuration illustrated in
(137) In a simple implementation, the transistors P.sub.1 and P.sub.2 may be provided to have equal sizes and, therefore, the currents passed by the transistors P.sub.1 and P.sub.2 may be equal to each other (i.sub.sink=i.sub.ref). If desired, however, the transistors P.sub.1 and P.sub.2 may be sized unequally, in which case the transistor P.sub.2 will pass a current i.sub.sink corresponding to the relative sizes of the two transistors P.sub.1 and P.sub.2 (i.sub.sink i.sub.ref). For example, the current i.sub.sink may be a factor .sub.sink of the current i.sub.ref as:
i.sub.sink=.sub.sinki.sub.ref(26)
(138) Also in a simple configuration, the reference capacitor 809 and the sink capacitor 813 may be sized such that the capacitances C.sub.sink and C.sub.ref are identical (C.sub.sink=C.sub.ref). However, if desired, the reference capacitor 809 and the sink capacitor 813 may be unequally sized by a factor of .sub.sink and the capacitances C.sub.sink and C.sub.ref may be expressed as:
C.sub.sink=.sub.sinkC.sub.ref(27)
(139) As discussed, a voltage may develop across the sink capacitor 813 as the current i.sub.sink passes through it. The current i.sub.sink may flow as long as either the switch S.sub.3 is closed, causing the measurement voltage V.sub.meas (switch S.sub.6 closed) to increase. When the switch S.sub.3 is opened after a period of time t, the voltage across the sink capacitor 813 may be expressed as:
(140)
(141) Substituting equations (17), (26), and (27) into equation (28) results in:
(142)
(143) Therefore, a digital value generated by the ADC 812 may represent the variable capacitance C.sub.mems of the capacitive actuator 802, after being discharged, according to:
(144)
(145) Once the ADC 812 has generated a digital value, to allow for a subsequent capacitance measurement, the voltage across the sink capacitor 813 may be reset to zero by closing a switch S.sub.4 coupled across the measurement capacitor 813.
(146) All the parameters and variables on the right hand side of equations (25) and (30) may be known, predetermined, and/or measured. A processor 806 may derive the capacitance C.sub.mems of the capacitive actuator 802, for example, by direct mathematical computation. Alternatively, the processor 806 may store a lookup table, indexed by digital values output by the ADC 812, that stores capacitance values of the capacitance C.sub.mems. Similar to the system in
(147)
(148) The current source 962 may source a current i to the transistor network 963. The transistor network 963 may mirror a voltage V.sub.mems at the output terminal 966 to the voltage divider 964. The voltage divider 964 may scale the voltage V.sub.mems down to a voltage V.sub.out and provide it to the ADC 965. The ADC 965 may digitize the voltage V.sub.out and output it to a processor 906 via an output terminal 967 of the circuit 905.
(149) In the configuration illustrated in
(150) The transistor network 963 may include transistors P.sub.1, N.sub.1, and N.sub.2. The transistor P.sub.1 may have its gate coupled to the output terminal 966, its drain to a low voltage supply V.sub.SS, and its source to the current source 962 and the gate of transistor N.sub.1. The transistor N.sub.1 may have its drain connected to the voltage supply V.sub.DD1 and its source to the drain of the transistor N.sub.2 via a resistor R.sub.1 of the voltage divider 964. The transistor N.sub.2 may have its gate connected to a voltage supply V.sub.DD2 and its source coupled to the resistor R.sub.4 voltage divider 964. In certain configurations, a resistor R.sub.2 may be included in path between the transistor N.sub.2 and the voltage supply V.sub.DD2. In such a configuration, the transistor network 963, when biased, may mirror the voltage V.sub.mems to the voltage divider 964.
(151) The voltage divider 964 may include the resistor R.sub.1 and a resistor R.sub.4 in series (when the transistor N.sub.2 is on). The voltage divider 964 may scale the voltage V.sub.mems down to a voltage V.sub.out according to a ratio of the resistors R.sub.1 and R.sub.4. The ADC 965 may digitize the voltage V.sub.out and output the digitized voltage to the output terminal 967. In practice, the values of the resistors R.sub.1 and R.sub.4 may be known. Therefore, a processor 906 may derive the voltage V.sub.mems from the digitized voltage V.sub.out. In certain configurations, a resistor R.sub.3 may be provided in the path between the transistor N.sub.2 and the resistor R.sub.4, effectively adding to the resistance of the resistor R.sub.1 in the scaling ratio.
(152)
(153) In
(154) In
(155) For illustration, in
(156) In an embodiment of the present invention, the magnitude I.sub.1 may be kept constant and the time period t.sub.drive may be varied to vary the amount of the charge supplied to the capacitive actuator, for example, by controlling the period of time during which the switch S.sub.3 is kept closed. Alternatively, the time period t.sub.drive may be kept constant and the magnitude I.sub.1 may be varied to vary the amount of the charge supplied to the capacitive actuator. As the drive current with a magnitude I.sub.1 is driven into the actuator, the charge q.sub.mems may increase and the position of the actuator may be changed. The charge q.sub.mems may reach a charge Q.sub.1 at the end of the time period t.sub.drive. At this point, the actuator may have reached a position that may not necessarily be a desired position.
(157) As discussed, the actual position of the actuator may be derived from a capacitance of the actuator. The capacitance in turn may be derived by driving a test current into the actuator and measuring a voltage representative of the capacitance (for example, V.sub.meas). Therefore, in the example illustrated in
(158) Once the measurement is made, it is desirable to bring the charge of the actuator back to the charge Q.sub.1. This may be achieved by sinking a negative test current having a magnitude I.sub.3 from the actuator (by enabling the current sinks 730 and 830, for example) during the recover interval 1054. In this example, if the periods t.sub.2 and t.sub.3 are equal, the magnitudes I.sub.2 and I.sub.3 may also be equal. During the recover interval, a processor may derive based on the measured voltage the capacitance, and subsequently the actual position, of the actuator. A controller of the processor may further generate a command signal to drive the actuator in the next cycle. For example, the command signal may be a value for the time period t.sub.drive. The process of driving, measuring, and recovering may be repeated as needed such that the actuator may be driven to the desired position.
(159) In certain embodiments of the present invention, the period T may translate into a frequency that may be within the audible frequency range. As such, the actuator may generate audible noise when being driven at such a frequency. To prevent such audible noise, a dither 1058 may be included in at least one of a start and an end of the drive interval 1052, as illustrated in
(160)
(161)
(162)
(163) The method 1300 begins at step 1302 by driving a test current to a first circuit system that includes a capacitive actuator (for example, the capacitive actuator 702) and a reference capacitor (for example, the reference capacitor 709). At step 1304, the method 300 mirrors (for example, using the current mirror 710) a current developed in the reference capacitor to a second circuit system that includes a measurement capacitor (for example, the measurement capacitor 711). At step 1306, the method 300 measures a voltage (for example, the measurement voltage V.sub.meas) within the second circuit system. At step 1308, the method derives a capacitance of the capacitive actuator based on the measured voltage with reference to capacitances of the reference capacitor and the measurement capacitor. As discussed, the capacitance may be either mathematically computed or looked up from a lookup table, indexed by values of the measure voltage, that stores capacitance values of the actuator. At step 1310, the method further derives a position of the actuator based on the derived capacitance of the actuator. As discussed, for example, the position of the actuator may be looked up from a lookup table, indexed by capacitance values, that stores position values of the actuator.
(164) It should be understood that there exist implementations of other variations and modifications of the invention and its various aspects, as may be readily apparent to those of ordinary skill in the art, and that the invention is not limited by specific embodiments described herein. Features and embodiments described above may be combined with and without each other. It is therefore contemplated to cover any and all modifications, variations, combinations or equivalents that fall within the scope of the basic underlying principles disclosed and claimed herein.