CAPACITANCE SENSOR
20180335458 ยท 2018-11-22
Assignee
Inventors
- John L. Melanson (Austin, TX)
- Anindya Bhattacharya (Austin, TX, US)
- Axel Thomsen (Austin, TX)
- Eric Smith (Austin, TX, US)
- Vamsikrishna Parupalli (Austin, TX, US)
- MARK MAY (AUSTIN, TX, US)
- Johann Gaboriau (Austin, TX, US)
- Junsong Li (Austin, TX)
Cpc classification
International classification
G01R27/26
PHYSICS
Abstract
Sensing electronics may be used to measure capacitance of components, such as speakers in mobile devices. A sensing circuit may include a charge-sense front end with sine wave excitation, an analog-to-digital conversion block, and a digital demodulator. The component being measured by the sensing electronics may be excited by a high-frequency sine wave excitation. The digitization of the output from the component may be performed using a bandpass filter synchronized with the excitation signal by centering the bandpass filter near (e.g., within 5% of) the frequency of the excitation signal.
Claims
1. An apparatus, comprising: a bandpass analog-to-digital converter (ADC) configured to receive an input signal proportional to a capacitance of a component and configured to output a digital signal; a demodulator coupled to the bandpass ADC and configured to receive the digital signal from the bandpass ADC and configured to output a digital representation of the capacitance of the component; and an excitation source configured to couple to the component to output an excitation signal to the component that causes generation of the input signal, wherein the excitation source is coupled to the demodulator to synchronize the demodulator with the excitation signal.
2. The apparatus of claim 1, wherein the bandpass ADC is configured to receive an input current signal as the input signal.
3. The apparatus of claim 1, wherein the bandpass ADC is configured to receive an input voltage signal as the input signal.
4. The apparatus of claim 3, further comprising a charge sense front end coupled to the bandpass ADC and configured to couple to the component to generate the input voltage signal based on the capacitance of the component.
5. The apparatus of claim 1, wherein the excitation source comprises a sine wave excitation source configured to couple to the component and apply a sine wave to the component for measurement of the capacitance of the component, wherein the demodulator is coupled to the sine wave excitation source and configured to synchronize with the sine wave.
6. The apparatus of claim 5, wherein the sine wave excitation source is configured to generate a sine wave with a frequency between approximately 20 kiloHertz and 1000 kiloHertz.
7. The apparatus of claim 1, further comprising a low-pass filter (LPF) coupled to the demodulator.
8. The apparatus of claim 1, further comprising a transducer, wherein the transducer is coupled to the bandpass ADC, and wherein the capacitance of the component is a capacitance of the transducer.
9. A method, comprising: applying an excitation signal to a component that causes generation of an input signal proportional to a capacitance of the component; digitizing the input signal with a bandpass analog-to-digital converter (ADC) to generate a digital signal; and demodulating the digital signal with a demodulator to generate a digital representation of the capacitance of the component, wherein the demodulating is based, at least in part, on the excitation signal.
10. The method of claim 9, wherein the step of digitizing an input signal comprises digitizing an input current signal.
11. The method of claim 9, wherein the step of digitizing an input signal comprises digitizing an input voltage signal.
12. The method of claim 11, further comprising sensing, with a charge sense front end, the component to generate the input voltage signal.
13. The method of claim 9, further comprising applying a sine wave to the component for measurement of the capacitance of the component.
14. The method of claim 13, wherein the sine wave has a frequency between approximately 20 kiloHertz and 1000 kiloHertz.
15. The method of claim 9, further comprising low-pass filtering the digital representation generated by demodulating the digital signal.
16. The method of claim 9, further comprising determining a capacitance of a transducer based, at least in part, on the digital representation of the capacitance of the component.
17. An apparatus, comprising: a controller configured to perform steps comprising: applying an excitation signal to a component that causes generation of an input signal proportional to a capacitance of the component; digitizing the input signal with a bandpass analog-to-digital converter (ADC) to generate a digital signal; and demodulating the digital signal with a demodulator to generate a digital representation of the capacitance of the component, wherein the demodulating is based, at least in part, on the excitation signal.
18. The apparatus of claim 17, wherein the controller is configured to digitize the input signal by digitizing an input current signal.
19. The apparatus of claim 17, wherein the controller is configured to digitize the input signal by digitizing an input voltage signal, wherein the apparatus further comprises a charge sense front end coupled to the controller and configured to couple to the component to generate the input voltage signal based on the capacitance of the component.
20. The apparatus of claim 17, wherein the apparatus further comprises a transducer coupled to the controller, and wherein the controller is further configured to determine a capacitance of the transducer based, at least in part, on the digital representation of the capacitance of the component.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0010] For a more complete understanding of the disclosed system and methods, reference is now made to the following descriptions taken in conjunction with the accompanying drawings.
[0011]
[0012]
[0013]
[0014]
[0015]
[0016]
[0017]
DETAILED DESCRIPTION
[0018]
[0019] The sensing circuit may include a charge-sensitive analog front end (AFE) 204. The AFE 204 may include an amplifier 204A with a feedback loop having a parallel coupled resistor 204B and a capacitor 204C. The AFE 204 may create a voltage sense VSENSE signal that is proportional to a capacitance of the component 202 when excited by an excitation signal from an excitation source. The excitation signal may be a sine wave excitation signal with a high frequency, such as between approximately 20 kiloHertz and 1000 kiloHertz or another frequency outside of the audio band. The created voltage sense VSENSE signal is output from the AFE 204 to additional circuitry in the analog domain for conversion to a digital code. In some embodiments, the circuit 200 may include alterative circuits to the charge-sensitive AFE 204. In other embodiments, the circuit 200 may not include the AFE 204 or an alternative circuit. For example, an output of the component 202 may be coupled directly to analog-to-digital conversion (ADC) circuitry.
[0020] An analog value corresponding to the capacitance value of the component 202 may be converted to a digital code for processing in the digital domain. For example, the created voltage sense VSENSE signal from the AFE 204 may be input to an analog-to-digital converter (ADC) 206, such as a bandpass delta-sigma ADC. The ADC 206 may have a bandpass region centered around the excitation frequency. The bandpass region may be a region centered around the excitation frequency extending on either side of the excitation frequency in proportion to the signal bandwidth. The ADC 206 may be a delta-sigma modulator configured for the encoding of narrowband bandpass signals to achieve high signal-to-noise ratios and high resolution at low sampling rates in comparison to lowpass-based ADCs. Example bandpass delta-sigma modulators are described in Multibit Bandpass Delta-Sigma Modulators Using N-Path Structures by R. Schreier et al. published by the IEEE and A Fourth-Order Bandpass Sigma-Delta Modulator by Stephen A. Jantzi et al. published by the IEEE in the IEEE Journal of Solid-State Circuits, both of which are hereby incorporated by reference in their entirety. An output of the ADC 206 is digital codes that are representative of the capacitance of the component 202. The ADC 206 may define a boundary 220 between an analog domain and a digital domain. Processing performed on an output of the ADC 206 is performed in the digital domain; processing performed prior to conversion in the ADC 206 is performed in the analog domain.
[0021] The digital codes representative of the capacitance may be processed to determine the capacitance value of the component 202. For example, the digital codes may be demodulated in demodulator 208 using the excitation frequency to generate a digital representation of the capacitance. The digital representation may be further processed by the low-pass filter (LPF) 210. The LPF 210 may remove out-of-signal band components, including modulation noise. The processing in the digital domain may be performed using digital circuitry and/or a programmable processing circuit such as a digital signal processor (DSP). The demodulator 208 may be matched with the bandpass ADC 206 to allow operation at high frequencies, such as frequencies over 20 kHz.
[0022] The excitation signal for performing sensing of the component 202 may be generated by an excitation source based on control from digital circuitry. The digital circuitry may control switching on and off of the excitation signal. The digital circuitry may also or alternatively control the excitation frequency or other aspects of the excitation signal. For example, the digital circuitry may control a digital-to-analog converter (DAC) 212 to function as an excitation source by outputting a sine wave excitation signal with a high frequency. The output of the DAC 212 may be coupled to one terminal of the component 202, and the other terminal of the component 202 coupled to sensing circuitry. In some embodiments, the excitation signal may be applied to a first common mode terminal of the component 202 and the sensing circuitry coupled to a second common mode terminal.
[0023] A method for measuring a capacitance of a component is described with reference to
[0024] Although some circuitry in the analog domain described above processes voltage sense signals, the capacitance sensing may also be performed using current sense signals, such as shown in
[0025] One example operation performed by a sensing circuit according to the embodiment described herein is described with reference to
[0026] The frequency response of components in the sensing circuit is shown in
[0027] The proposed methods and circuits described herein may solve one or more of the following problems with conventional capacitive sensing: achieving high SNR within constraints of low power and small area for mobile devices; achieving better linearity and total harmonic distortion (THD) performance when compared to existing solutions; achieving better immunity to various interference sources in mobile devices; and/or achieving better low frequency accuracy when compared to existing solutions.
[0028] The schematic flow chart diagram of
[0029] The operations described above may be performed by a controller configured with any circuit for performing the described operations. Such a circuit may be an integrated circuit (IC) constructed on a semiconductor substrate and include logic circuitry, such as transistors configured as logic gates, and memory circuitry, such as transistors and capacitors configured as dynamic random access memory (DRAM), electronically programmable read-only memory (EPROM), or other memory devices. The logic circuitry may be configured through hard-wire connections or through programming by instructions contained in firmware. Further, the logic circuitry may be configured as a general purpose processor capable of executing instructions contained in software. The firmware and/or software may include instructions that cause the processing of signals described herein to be performed. In some embodiments, the integrated circuit (IC) that is the controller may include other functionality. For example, the controller IC may include an audio coder/decoder (CODEC) along with circuitry for performing the functions described herein. Such an IC is one example of an audio controller. Other audio functionality may be additionally or alternatively integrated with the IC circuitry described herein to form an audio controller.
[0030] If implemented in firmware and/or software, functions described above may be stored as one or more instructions or code on a computer-readable medium. Examples include non-transitory computer-readable media encoded with a data structure and computer-readable media encoded with a computer program. Computer-readable media includes physical computer storage media. A storage medium may be any available medium that can be accessed by a computer. By way of example, and not limitation, such computer-readable media can comprise random access memory (RAM), read-only memory (ROM), electrically-erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM) or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store desired program code in the form of instructions or data structures and that can be accessed by a computer. Disk and disc includes compact discs (CD), laser discs, optical discs, digital versatile discs (DVD), floppy disks and Blu-ray discs. Generally, disks reproduce data magnetically, and discs reproduce data optically. Combinations of the above should also be included within the scope of computer-readable media.
[0031] In addition to storage on computer readable medium, instructions and/or data may be provided as signals on transmission media included in a communication apparatus. For example, a communication apparatus may include a transceiver having signals indicative of instructions and data. The instructions and data are configured to cause one or more processors to implement the functions outlined in the claims.
[0032] Although the present disclosure and certain representative advantages have been described in detail, it should be understood that various changes, substitutions and alterations can be made herein without departing from the spirit and scope of the disclosure as defined by the appended claims. Moreover, the scope of the present application is not intended to be limited to the particular embodiments of the process, machine, manufacture, composition of matter, means, methods and steps described in the specification. For example, where general purpose processors are described as implementing certain processing steps, the general purpose processor may be a digital signal processors (DSPs), a graphics processing units (GPUs), a central processing units (CPUs), or other configurable logic circuitry. As another example, although processing of audio data is described in certain examples, other data may be processed through the filters and other circuitry described above. As one of ordinary skill in the art will readily appreciate from the present disclosure, processes, machines, manufacture, compositions of matter, means, methods, or steps, presently existing or later to be developed that perform substantially the same function or achieve substantially the same result as the corresponding embodiments described herein may be utilized. Accordingly, the appended claims are intended to include within their scope such processes, machines, manufacture, compositions of matter, means, methods, or steps.