The present invention relates to providing feedback in an electronic circuit, particularly but not exclusively to a mixed-mode self-balancing bridge for a capacitive acceleration sensor.
Referring to
In order to take a measurement, a test voltage V1, V2 is applied across each capacitor 5, 6 of the accelerometer 1. However, the test voltages V1, V2 generate mechanical forces F1, F2, on the mass 2. Provided that the areas of the plates of the first and second capacitors 5, 6, are equal, the two forces F1, F2 cancel each other out if the charge on the capacitors 5, 6 is equal. The self-balancing bridge principle is therefore generally used in the front-end circuitry of capacitive acceleration sensors in order to provide a feedback control loop that adjusts the test voltages V1. V2 so that forces on the accelerometer mass 2 cancel out and an accurate measurement can be obtained.
Acceleration sensors are increasingly being used in a wide range of devices, for instance mobile devices such as mobile phones and personal digital assistants (PDAs). In such devices, in order to minimise component costs, sensor interface circuitry, for instance the above-described front-end circuitry for a capacitive acceleration sensor, is implemented using high density CMOS integration technology. Such technology has a high digital gate density and enables economic realization of the sensor post-processing in terms of both cost and space. In order to minimize the power consumption in sensor front-end circuitry, low sampling rates are preferably used. However, high density CMOS integration technologies result in circuits that exhibit high leakage currents that cause significant inaccuracies in stored analogue voltages, for instance those required to provide feedback in circuits such as the self-balancing bridge. To avoid such inaccuracies, sampling frequencies are increased, thus limiting the effects of the high leakage currents, but also bringing about an increase in power consumption when compared to circuits operating at lower sampling frequencies.
To avoid the drawback of increased power consumption, the sensor interface can be implemented using a separate, additional, integrated circuit optimised for low power analogue signal processing. However, this has the effect of increasing circuit board area and component manufacturing and testing costs.
The present invention aims to address the above drawbacks. According to the invention, there is provided a method comprising the steps of using an analogue storage device of an electronic circuit to store an analogue input signal, using an analogue to digital converter of the electronic circuit to convert the stored analogue input signal into a digital signal and storing the digital signal, using a digital to analogue converter of the electronic circuit to convert the stored digital signal into an analogue feedback signal, and providing feedback in the electronic circuit using the analogue feedback signal.
The present invention therefore provides a method by which feedback can be provided in an electronic circuit without the analogue storage device used in the circuit being required to store the analogue input signal for any longer than is necessary for the analogue signal to be converted into the digital domain. Accordingly, the effects of leakage currents on the signal stored by the analogue storage device can be greatly reduced.
The method can further comprise the step of sampling the analogue input signal, wherein the step of storing the analogue input signal comprises storing the sampled analogue input signal.
The method steps of storing the analogue input signal, converting the stored analogue input signal into a digital signal and storing the digital signal can be performed in a first sampling period. The steps of converting the stored digital signal into an analogue feedback signal and providing feedback in the electronic circuit using the analogue feedback signal can be performed in a second sampling period occurring after the first sampling period.
The method can further comprise performing, in each sampling period n of a plurality of sampling periods occurring after the first sampling period, the method steps of converting the digital signal stored in the (n−1)th sampling period into an analogue feedback signal and providing feedback in the electronic circuit using the analogue feedback signal, storing the analogue input signal using the analogue storage device, converting the analogue input signal stored in the nth sampling period into a digital signal, and storing the digital signal obtained in the nth sampling period.
The method can further comprise performing the method steps performed in each of the plurality of sampling periods in a fraction of the respective sampling period. The fraction can comprise a period of less than 1% of the sampling period.
The plurality of sampling periods can occur periodically at a sampling frequency of less than 1 kHz.
The method can further comprise providing the digital signal as an output of the electronic circuit and/or performing digital signal processing of the digital signal.
The method can further comprise powering off the analogue storage device during a period in which the analogue storage device is not required to store the analogue input signal.
The method can further comprise storing an error signal indicative of errors in the electronic circuit and adjusting said analogue input signal using said stored error signal.
The method can further comprise performing the step of converting the stored analogue input signal into a digital signal using the digital to analogue converter in a successive approximation analogue to digital converter arrangement.
The method can further comprise providing the digital to analogue converter with predetermined data and wherein the step of using the digital to analogue converter to convert the stored digital signal into an analogue feedback signal comprises using the digital to analogue converter to convert the stored digital signal and the predetermined data into the analogue feedback signal. The predetermined data can, for instance, provide an initial feedback value such that the first output of the electronic circuit is relatively accurate. Alternatively, the predetermined value can, for instance, provide a temperature dependent tuning parameter or other such parameters to improve the accuracy of the output of the electronic circuit.
According to the invention, there is further provided an electronic circuit comprising an analogue storage device for storing an analogue input signal, an analogue to digital converter arranged to convert an analogue input signal stored by the analogue storage device into a digital signal, a digital storage device arranged to store a digital signal provided by the analogue to digital converter, and a digital to analogue converter arranged to convert a digital signal stored at the digital storage device into an analogue feedback signal for providing feedback in the electronic circuit.
The analogue storage device can be implemented using a CMOS integration technology and/or the electronic circuit can comprise a CMOS integrated circuit.
The electronic circuit can further comprise a control unit arranged to power off the analogue storage device during a period when it is not required to store the analogue input signal.
The control unit can be further arranged to control the electronic circuit to operate at a sampling frequency of less than 1 kHz.
The electronic circuit can be arranged for use as the front-end circuitry for a sensor. The sensor can comprise a capacitive acceleration sensor.
The electronic circuit can be arranged to operate as a self-balancing bridge.
The electronic circuit can further comprise an error storage device for storing an error signal indicative of errors in the electronic circuit, and error adjusting circuitry for adjusting said analogue input signal using said stored error signal.
The analogue to digital converter can comprise the digital to analogue converter used in a successive approximation analogue to digital converter arrangement.
The digital storage means can comprise a digital filter.
Analogue components in the electronic circuit can be implemented using a switched capacitor arrangement.
According to the invention, there is also provided a mobile device comprising the electronic circuit according to the invention and a sensor for providing the analogue input signal.
According to the invention, there is further provided an electronic circuit comprising means for storing an analogue input signal, means for converting an analogue input signal stored by the analogue storage means into a digital signal, means for storing a digital signal provided by the analogue to digital converter, and means for converting a digital signal stored at the digital storage means into an analogue feedback signal.
Embodiments of the invention will now be described, by way of example, with reference to the accompanying drawings, in which:
Referring to
The front-end circuitry 12 includes analogue signal processing circuitry 14 connected to the output of the sensor 13. In the present example, the analogue signal processing circuitry 14 includes an amplifier arranged to amplify the analogue input signal received from the sensor 13, and an analogue storage device to store the input signal. The analogue signal processing circuitry 14 is also configured, in the present example, to adjust the test voltages used in the analogue sensor 13 when taking measurements. However, alternative configurations of the analogue signal processing circuitry 14 can be used, as may be required according to the particular application of the electronic circuit 12 and/or the specific type of sensor 13. For instance, the amplifier and/or analogue storage device may be omitted in the case that such functions are not required in the analogue signal processing circuitry 14.
The output of the analogue signal processing circuitry 14 is connected to the input of an analogue to digital (A/D) converter 15, the output of which is, in turn, connected to an output terminal 16 of the front-end circuitry 12 and to the write-input of a digital storage device 17, in this example random access memory (RAM) 17. An output of the RAM 17 is connected to a digital to analogue (D/A) converter 18. The output of the D/A converter 18 is connected to a feedback path providing feedback to the analogue signal processing circuitry 14.
A controller 19 provides timing control signals for controlling the components of the front-end circuitry 12.
Operation of the front-end circuitry 12 of
The analogue signal processing circuitry 14 stores the analogue input signal received from the sensor 13 (step 4) and provides the stored analogue signal to the A/D converter 15, which converts the analogue signal into a digital data signal (step 5). The digital data signal is, in turn, provided from the output of the A/D converter 15 to both the output terminal 16 of the electronic circuit 12 and to the RAM 17. The digital data signal provided at the output terminal 16 of the circuit 12 can be applied to further circuitry (not illustrated) for processing as may be required according to the particular application of the sensor 13. For instance, the digital signal can be analysed to extract particular information or may be compressed and stored in memory for processing at a later time.
The RAM 17 stores the digital data signal (step 6) until the start of a subsequent sampling period. In the present example, the RAM 17 stores the digital signal until the start of the sampling period immediately following the sampling period in which the digital data signal is stored, although the RAM 17 can be arranged to store the digital signal for longer periods and/or to store multiple digital signals.
The steps described above with reference to
For instance, the sampling frequency in the example of
Additional circuitry can also be implemented in the electronic circuit 12 of
Digital signal processing (DSP) circuitry (not shown) can also be provided in the front-end circuit of
The sensor 13 used with the front-end circuitry in the example of
In cases in which multiple sensors are used with the circuit of
Although in the example of
Furthermore, although the example of
Also, although the example of
Referring to
The first electrode 21 is selectively connected, via a first switch S1, to the non-inverting input of an operational amplifier A2 of a charge amplification circuit 24. The second electrode 22 is selectively connected to the non-inverting input of the operational amplifier A2 via a second switch S2. The first electrode 21 is also selectively connected, via a third switch S3, to a voltage supply terminal 25 for supplying a voltage Vref with respect to a common ground or reference terminal 26, and the second electrode 22 is connected, via a fourth switch S4, to the ground terminal 26. The third electrode 23 is connected, via a first capacitor C1, to an inverting input of the operational amplifier A2 of the charge amplification circuit 24.
The charge amplification circuit 24 is generally formed as a correlated double sampling charge amplifier arrangement with a second capacitor C2 and the first capacitor C1 respectively selectively connected in series between the output of the operational amplifier A2 and its inverting input, according to the on/off condition of a seventh switch S7 arranged between the first and second capacitors C1, C2. An eighth switch S8 selectively connects a node 27 between the second capacitor C2 and the seventh switch S7 to the inverting input of the operational amplifier A2. A ninth switch S9 selectively connects the output of the operational amplifier A2 directly to its input. A sixth switch S6 selectively connects the non-inverting input of the operational amplifier A2 to the third electrode 23, and accordingly to the first and second electrodes 21, 22, according to the on/off conditions of switches S1 and S2 respectively.
The output of the operational amplifier A2 of the charge amplification circuit 24 is selectively connected to the inverting input of an operational amplifier A3 of a sample and hold arrangement 28, via a series arrangement of a tenth switch S10 and a third capacitor C3. A voltage Vbb is applied to the non-inverting input of the operational amplifier A3 of the sample and hold arrangement 28. An eleventh switch S11 selectively connects the third capacitor C3 into a feedback loop of the operational amplifier A3, between its output and its inverting input. A twelfth switch S12 selectively connects the output of the operational amplifier A3 of the sample and hold arrangement 28 directly to its inverting input.
The output of the operational amplifier A3 of the sample and hold arrangement 28 is connected to the input of an A/D converter 29, the output of which is connected to the input of a finite impulse response (FIR) filter 30. The FIR filter 30 is formed of three cascaded filter stages in the present example, each providing an output that has a delay of one sampling period with respect to its input, and the output of each being respectively added to the FIR filter input signal received from the A/D converter 29. However, different arrangements of FIR filter or an FIR filter having an alternative numbers of stages and different summing weights can be used. Alternative filters, such as an infinite impulse response (IIR) filter can also be used.
The output of the FIR filter 30 is connected to an output terminal 31 of the electronic circuit and to the input of an inverting arrangement 32. The inverting arrangement 32 comprises a summing circuit in which the output of the FIR filter 30 is applied to a subtracting input and a digital signal having a value of twice the analogue to digital conversion of the voltage level Vref/2 is applied to an adding input. Other arrangements can alternatively be used to invert the digital signal supplied from the FIR filter 30.
The output of the inverting arrangement 32 is connected to the input of a D/A converter 33. The output of the D/A converter 33 is connected to the non-inverting input of an operational amplifier A1 of a buffer arrangement 34. The output of the operational amplifier A1 of the buffer arrangement 34 is selectively connected to the non-inverting input of the operational amplifier A2 of the charge amplification circuit 24, via a fifth switch S5.
Control circuitry (not shown) is also provided for controlling the components of the electronic circuit of
The analogue parts of the electronic circuit of
Referring to
The control signal generating circuit also includes a single inverter 46 having an input connected to the input terminal 43. A second NOR gate 47 has first and second inputs, to a first of which the output of the single inverter 46 is connected and to the second of which the first output terminal (at which XA is provided) is connected. The output of the second NOR gate 47 is connected to the input of a second group of four NOT gates 48 connected in series. The output of the second group of NOT gates 48 is connected to the second output terminal 41 (at which XB is provided).
The control signal generating circuit of
Other control signals, VBEn, PD1, PD2 and PD3, are normal synchronous control signals without any need for non-overlapping sequence generation.
The operation of the circuit of
Referring to
In many cases, the A/D- and D/A-conversion full scales of A/D and D/A converters used in circuits such as that of
The resulting digital data is provided (step 12) to the D/A converter 34 from the summing arrangement 32, which, in turn, receives the output of the FIR filter 30 (see
Following this, the amplifier A1 of the buffer arrangement 34 and the amplifier A2 of the charge amplifier arrangement 24 are powered on by power signals PD1 and PD2 (step 14), but the amplifier A3 of the sample and hold arrangement is left in sleep mode. In this phase, switch control signal VBEn (controlling the fifth switch S5) is set to logic level ‘1’, while both control signals ‘Sample’ and ‘Hold’ are still low (i.e. logic level ‘0’). Simultaneously, the offset voltage of the operational amplifier A2 of the charge amplification circuit 24 is stored on the first capacitor C1 (step 15).
The amplifier A1 of the buffer arrangement 34 is provided to ensure that the off-chip parasitic capacitances at the third electrode 23 of the capacitive acceleration sensor 20 will be charged to the desired voltage while the sensor capacitors Cs1 and Cs2 are shorted so that no electrical force will affect the mass of the accelerometer 20.
After the voltage at the third (middle) electrode 23 of the acceleration sensor 20 is settled, charge amplification can be performed by applying a bias voltage (Vref) across the first electrode 21 (top plate) and second electrode 22 (bottom plate) of the sensor 20, as shown in
V
O2
=V
DAC
−C2·ΔQ (5)
where VDAC is the voltage at the output of the D/A converter 33, ΔQ is the change in charge at the third electrode 23 of the sensor 20 and C2 is the capacitance of the second capacitor C2 of the charge amplification circuit 24. The offset voltage of amplifier A1 is stored in capacitor C1 so that it cancels out in the output voltage VO2 (step 17).
The amplifier A3 of the sample and hold arrangement 28 is also activated in the measurement phase (step 18) and the output voltage VO2 of the amplifier of the charge amplification circuit 24 is stored on the third capacitor C3 for use in the A/D conversion phase (step 19).
The reference voltage Vbb applied to the non-inverting input of the amplifier A3 of the sample and hold arrangement is selected to provide a voltage level in which the amplifier input stage works well and the voltage level should be stable during the activity period. For example the voltage level in the present example is set to Vref/2. In alternative examples, a diode-connected NMOS-transistor can be used. The absolute value of Vbb is, in general, not critical since the circuit is arranged to cancel it out.
Referring to
The A/D converted data is fed to the FIR-filter 30 from the A/D converter 29 and filtered (step 24), the resulting output of the filter 30 at the output electrode 31 is the measurement output, which can be further processed as requires, for instance to detect application specific gestures etc. The measurement sampling frequency is set by a timer, which keeps the digital part in hold and the analogue part powered off until the whole sampling period
is elapsed, where fs is the sampling frequency, and after that the next measurement cycle is started.
The clock frequency of the digital control circuitry can be set to be high enough so that the signals controlling power-up of the amplifiers A1, A2 and A3 can be realized with synchronous control logic and such that the A/D-conversion time can be kept relatively low. Furthermore, the non-overlapping timing signals for switches S1 to S12 (SampleA, SampleB, SampleEA, HoldA and HoldB) can, rather than being generated using the asynchronous circuit of
The analogue switch on- and off-times are selected so that they are long enough to ensure power efficient amplifier realization, since shorter amplifier settling times require higher amplifier current consumption, yet short enough to keep the errors caused by leakage currents lower than the A/D-converter resolution, thus enabling adequate accuracy with modern deep-submicron CMOS processes.
Normally, the digital clock frequency is arranged to be in the range of few megahertz and the analogue switch on- and off-times are in the range of one or two microseconds. Accordingly, the duration of one measurement, including D/A-conversion, sensor capacitance sampling and amplification and A/D-conversion, is in the range of tens of microseconds. Since, in many applications, sampling rates for capacitive accelerometers can be set to below 1 kHz, the analogue circuitry can be powered on only for 1% of the whole sampling period, leading to very low average current and therefore power consumption.
The amplifiers A1 and A2 of the buffer arrangement 34 and the charge amplification arrangement 24 can require relatively high current consumption in order to maintain stable operation with large off-chip parasitic capacitances connected to the third electrode 23 of the sensor 20. However, the amplifier A3 of the sample and hold arrangement 28 drives on-chip loads thus enabling a lower current consumption. Accordingly, since amplifiers A1 and A2 can be turned off while the measurement is held by amplifier A3, current and therefore power consumption can be reduced, although using this separate sample-and-hold amplifier (A3) increases silicon area.
While the specific arrangements of
While, during D/A-conversion, whether for providing feedback to the charge amplification circuitry 24 or as part of the SAR A/D converter operation, the voltage buffer 34 is turned on for the whole analogue activity period, the comparator 40, however, need only be turned on during A/D-conversions. For m-bit conversion, the successive approximation converter requires m conversion cycles. The digital FIR-filter 42 performs interpolation resulting in an n-bit output from an m-bit input, where n>m.
In the circuit of
Similarly, in fast transients where the measurement circuit in not fast enough to follow sensor mass displacement so that charge imbalance occurs, the resulting electrical error forces have opposite directions in even and odd measurement instances thus partially cancelling out the effect of the error forces.
The control sequences for the mixed-mode self-balancing bridge circuit of
A 2 MHz main clock is assumed for the synchronous logic generating the control signals, resulting in a 0.51 is timing resolution. Additionally, a 12-bit D/A-converter and 10-bit successive approximation A/D-conversion with a 1 μs conversion cycle is assumed, and therefore the m-bit signal of
The measurement cycle starts by loading the appropriate data (vmlp) into the D/A-converter 33. At the same time the bias voltage polarity control (Sign) is set to ‘1’ and the amplifier A1 is activated by clearing power-down signal PD1 to ‘0’. The output of A1 of the buffer arrangement 34 is assumed to settle, without off-chip load, in 1 μs, and after that the analogue switch S5 is activated to connect the output of amplifier A1 to the off-chip sensor electrode 23.
Both amplifier A2 of the charge amplification circuit 24 and A3 of the sample and hold arrangement are activated 2 μs after the measurement sequence starts. The sample-and-hold amplifier A3 could be turned off for yet another 2 μs but then the start-up transients may affect the charge amplification accuracy and thus the resulting minor increase in average power consumption is generally preferable.
Both amplifiers A2 and A3 are assumed to settle in 2 μs and thus both the error-sampling phase (from the falling edge of signal PD2 to rising edge of signal ‘Sample’) and the charge amplification phase (from the rising edge of signal ‘Sample’ to the rising edge of signal ‘Hold’) last for 2 μs.
The ‘Hold’ signal raises 0.5 μs before the ‘Sample’ signal falls to ensure that there are no glitches at the output of amplifier A2 when switches S10 and S12 are opened. At 6.5 μs, the sample-and-hold amplifier A3 has a valid signal stored at the third capacitor C3 and there is no connection to the output of amplifier A2 and thus A2 can be powered off. Since the amplifier A1 of the voltage buffer arrangement 34 is required in A/D-conversion, it remains powered on.
Signal PD4 is cleared to ‘0’, which turns on the comparator 40, and A/D-conversion takes 10 μs to complete so that at 17 μs the measurement with opposite sensor bias voltage can start. This measurement cycle is almost identical to the first one; the Sign-signal is changed from ‘1’ to ‘0’ at the start of the second measurement cycle and amplifiers A1 and A3 need not to be turned on since they were not powered off during the first measurement cycle. The sample-and-hold amplifier A3 could be turned off for a short instant in the start of the second measurement cycle but the resulting power saving is minimal and may be wasted in the power-on transient, not to mention possible disturbances to A1 and A2.
In the case of a 1-axis accelerometer, there is only one capacitor pair Cs1, Cs2.
At 34 μs, the measurement has been performed with both bias voltage polarities and enough data is gathered so that one accurate sample can be calculated with digital post-processing. Therefore, if the required sampling rate to gather 1-axis acceleration data is 1 kHz, the analogue part of the mixed-mode self-balancing bridge is on only for 3.4% of the actual sampling period and thus the average current consumption of the analogue parts of the circuit can be lowered almost to 3.4% of the active current consumption of the analogue parts. The powering on and off transients and leakage current in modern CMOS processes will slightly limit the power saving. In addition to this, the sensor front-end requires a 2 MHz clock generator, which cannot be turned off along with other analogue blocks.
The voltage reference Vref can be a passively filtered external voltage available in the system but, in certain cases, this reference voltage may be generated with an on-chip voltage regulator that requires longer turn on and off times than other analogue circuit blocks. When an on-chip Vref regulator is used, most likely an on-chip voltage reference (Bandgap-reference) is also required thus increasing the total current consumption. However, this reference voltage is required also in the conventional sensor interface and, in the case of mixed-mode self balancing bridge, it is possible to turn these references off while the analogue part of the sensor interface is powered off.
Applying the above described measurement principles to sensors with 2 or more axes and thus 2 or more capacitor pairs is straight-forward. With multiple capacitor pairs, the third, or middle electrode (m) is common for all capacitor pairs and the top (t) and bottom (b) electrodes are individually controlled with analogue switches so that all capacitances remain shorted except during the SampleB period when the voltage bias is applied the a particular capacitor pair that are to be measured.
Therefore, for N pairs of sensor capacitors, the active measurement time is N*34 μs leading to approximately 10% activity with 3 sensor capacitor pairs with 1 kHz sampling frequency.
Based on numerical simulations, the mixed-mode self-balancing bridge circuits of
A register-programmable digital counter can be used to control the sampling rate to almost any desired value without any hardware changes in clock generators etc. The mixed-mode self balancing bridge circuits of
The proposed mixed-mode self-balancing bridge circuits can be used to perform a one-shot measurement by using an educated guess as the bridge balance state and the bias voltage chopping. However, in start-up, conventional arrangements, such as normal sigma-delta modulators, require a significant amount of time before output data can be considered valid.
The proposed mixed-mode self-balancing bridge provides enough resolution for each application in question with minimal power consumption and very small silicon area. Unlike other self-balancing bridge realizations, this realization scales well with CMOS-integration technology.
The digital functionality of the above described electronic circuits, for instance the FIR filter arrangements 30, 42 of
It should be realised that the foregoing examples should not be construed as limiting. Other variations and modifications will be apparent to persons skilled in the art upon reading the present application. Such variations and modifications extend to features already known in the field, which are suitable for replacing the features described herein, and all functionally equivalent features thereof. Moreover, the disclosure of the present application should be understood to include any novel features or any novel combination of features either explicitly or implicitly disclosed herein or any generalisation thereof and during the prosecution of the present application or of any application derived therefrom, new claims may be formulated to cover any such features and/or combination of such features.
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/IB2007/050715 | 3/5/2007 | WO | 00 | 5/18/2010 |