Capacitive sensor
阅读说明:本技术 电容传感器 (Capacitive sensor ) 是由 J·L·梅兰桑 A·巴塔查里亚 A·汤姆森 E·史密斯 V·帕鲁帕利 M·梅 J·G·加 于 2018-05-17 设计创作,主要内容包括:感测电子设备可以用于测量诸如移动设备中的扬声器之类的部件的电容。感测电路(200)可以包括具有正弦波激励的电荷感测前端(204)、模数转换块(206)和数字解调器(208)。可以通过高频正弦波激励(212)来激励由感测电子设备测量所述部件(202)。可以通过使带通滤波器以激励信号的频率附近(例如,在激励信号的频率的5%以内)为中心,使用与激励信号同步的带通滤波器来执行对来自部件的输出的数字化。(Sensing electronics can be used to measure capacitance of components such as speakers in mobile devices. The sensing circuit (200) may include a charge sensing front end (204) with sine wave excitation, an analog-to-digital conversion block (206), and a digital demodulator (208). The component (202) may be excited for measurement by sensing electronics by a high frequency sine wave excitation (212). Digitization of the output from the component may be performed using a bandpass filter synchronized with the excitation signal by centering the bandpass filter around the frequency of the excitation signal (e.g., within 5% of the frequency of the excitation signal).)
1. An apparatus, comprising:
a band pass 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 band pass ADC and configured to receive the digital signal from the band pass ADC and configured to output a digital representation of the capacitance of the component; and
an excitation source configured to be coupled to the component to output an excitation signal to the component, the excitation signal resulting in 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 band pass ADC is configured to receive an input current signal as the input signal.
3. The apparatus of claim 1, wherein the band pass ADC is configured to receive an input voltage signal as the input signal.
4. The apparatus of claim 3, further comprising a charge sensing front end coupled to the band pass ADC and configured to be coupled 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 measuring the capacitance of the component, wherein the demodulator is coupled to the sine wave excitation source and configured to be synchronized with the sine wave.
6. The apparatus of claim 5, wherein the sine wave excitation source is configured to generate a sine wave having 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 a stimulus signal to a component, the stimulus signal resulting in generation of an input signal proportional to a capacitance of the component;
digitizing the input signal with a band-pass 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 demodulation 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: the input current signal is digitized.
11. The method of claim 9, wherein the step of digitizing an input signal comprises: the input voltage signal is digitized.
12. The method of claim 11, further comprising: the component is sensed with a charge sensing front end to generate the input voltage signal.
13. The method of claim 9, further comprising: applying a sine wave to the component for measuring 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 a stimulus signal to a component, the stimulus signal resulting in generation of an input signal proportional to a capacitance of the component;
digitizing the input signal with a band-pass 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 demodulation 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 an input voltage signal by digitizing the input voltage signal, wherein the apparatus further comprises a charge sensing front end coupled to the controller and configured to be coupled 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.
Technical Field
The present disclosure relates to electronic sensors. More particularly, portions of the present disclosure relate to capacitance-based sensors.
Background
A sensing circuit for measuring the capacitance of the component may be used to determine the capacitance of, for example, a speaker or a physical sensor. Fig. 1 shows an example of a capacitive sensor. Fig. 1 is a block diagram illustrating a capacitance sensing circuit using a transimpedance amplifier (TIA) according to the related art. The
One drawback of the TIA-based
The disadvantages mentioned here are merely representative and are included merely to emphasize the existence of a need for improved electrical components, particularly for sensing circuits employed in consumer grade devices such as mobile phones. The embodiments described herein address certain disadvantages, but not necessarily every disadvantage described herein or known in the art. Furthermore, embodiments described herein may provide advantages in addition to addressing the disadvantages described above, and may be used in applications other than those with the disadvantages described above.
Disclosure of Invention
Sensing electronics that operate to measure and digitize capacitance values with improved operation can perform demodulation and can utilize a demodulator and signal generator in the digital domain to generate an excitation signal. This is in contrast to the conventional TIA-based capacitive sensor described above, which performs demodulation and other tasks in the analog domain. Embodiments of such sensing electronics may include a charge sensing front end with sine wave excitation, a voltage to digital conversion block, and a digital demodulator. The components measured by the sensing electronics may be excited by a high frequency sine wave excitation. Digitization of the output from the component may be performed using a bandpass filter synchronized with the excitation signal by centering the bandpass filter around the frequency of the excitation signal (e.g., within 5% of the frequency of the excitation signal). The use of high frequency signals, such as between about 20khz and 1000 khz, reduces 1/f flicker noise in the signals measured from the components. The high frequency signal may be outside the common audio frequency band recognized by humans, which is between 20 hz and 20 khz.
Such sensing electronics and sensing methods using the high frequency excitation signals described herein provide a number of advantages. The charge input stage has an improved signal-to-noise ratio (SNR) and is less disturbed. Based on the reduced flicker noise contribution, the low frequency performance is improved. Furthermore, performing signal processing in the digital domain reduces noise in the final signal, power consumed in processing the signal, area of circuitry processing the signal, and improved linearity. That is, digital circuitry provides several advantages for determining capacitance based on output from components when an excitation signal is applied. Digital processing may be performed in dedicated circuitry or in a general-purpose processor, such as a Digital Signal Processor (DSP).
Electronic devices incorporating sensing circuits such as those described above for sensing capacitance may benefit from improved capacitance measurement of integrated circuit components in the electronic device. For example, a mobile phone may include a speaker or other transducer with unknown capacitance or varying capacitance. The capacitance of the speaker component may be measured by the sensing circuit and may be used to control the output from the speaker to improve sound quality. The sensing capability provided by the circuitry or code executed by the processor may be included in the audio controller. The audio controller may also include an analog-to-digital converter (ADC). An ADC may be used to convert an analog signal, such as an audio signal, to a digital representation of the analog signal. Such ADCs and similar digital-to-analog converters (DACs) may be used in electronic devices having audio outputs, such as music players, CD players, DVD players, blu-ray players, headsets, portable speakers, earphones, mobile phones, tablet computers, personal computers, set-top boxes, Digital Video Recorder (DVR) boxes, home theater receivers, infotainment systems, car audio systems, and so forth.
According to one embodiment of the invention, an electronic circuit for measuring and digitizing a capacitance value of a component may include a charge sensing Analog Front End (AFE) with sine wave excitation to create a voltage signal proportional to an input capacitance. The created voltage signal may be provided to a voltage-to-digital conversion block, such as a voltage-mode ADC, for converting the voltage signal into a digital code. The digital code may be provided to a digital demodulator and filter block to process the digital code and provide a digital representation of the input capacitance. In this example circuit, the processing of the created voltages is performed in the digital domain after conversion to digital code by the voltage-to-digital conversion module. In some embodiments, a current signal may be created from a charge sensing Analog Front End (AFE) instead of a voltage signal. The created current signal can be used to generate a digital code using a current mode ADC, and the processing of the digital code is similar to the voltage mode embodiment. In some embodiments, a current signal may be created from a component and provided to a current-mode ADC, and the processing of the digital code is similar to a voltage-mode embodiment.
The foregoing has outlined rather broadly certain features and technical advantages of embodiments of the present invention in order that the detailed description that follows may be better understood. Additional features and advantages of the invention will be described hereinafter which form the subject of the claims of the invention. It should be appreciated by those skilled in the art that the conception and specific embodiment disclosed may be readily utilized as a basis for modifying or designing other structures for carrying out the same or similar purposes. It should also be realized by those skilled in the art that such equivalent constructions do not depart from the spirit and scope of the invention as set forth in the appended claims. Additional features will be better understood from the following description when considered in conjunction with the accompanying drawings. It is to be expressly understood, however, that each of the figures is provided for the purpose of illustration and description only and is not intended as a definition of the limits of the present invention.
Drawings
For a more complete understanding of the disclosed systems and methods, reference is now made to the following descriptions taken in conjunction with the accompanying drawings.
Fig. 1 is a block diagram illustrating a capacitance sensing circuit using a transimpedance amplifier (TIA) according to the related art.
Fig. 2 is a block diagram illustrating a sensing circuit with digital signal processing according to some embodiments of the present disclosure.
Fig. 3 is a flow diagram illustrating a method for sensing capacitance of a component in accordance with some embodiments of the present disclosure.
FIG. 4 is a block diagram illustrating a sensing circuit with current mode operation in the analog domain according to some embodiments of the present disclosure.
5A-5C are graphs illustrating outputs within a sensing circuit such as FIG. 2 when measuring capacitance of a component according to some embodiments of the present disclosure.
Figure 6 is a graph illustrating a band pass analog to digital converter (ADC) response near an excitation frequency according to some embodiments of the present disclosure.
Fig. 7 is a graph illustrating demodulator in-phase output, according to some embodiments of the present disclosure.
Detailed Description
Fig. 2 is a block diagram illustrating a sensing circuit with digital signal processing according to some embodiments of the present disclosure. The
The sensing circuitry may include a charge sensitive Analog Front End (AFE) 204. The
The analog values corresponding to the capacitance values of
The digital code representing the capacitance may be processed to determine the capacitance value of
The excitation signal for performing the sensing of the
A method for measuring the capacitance of a component is described with reference to fig. 3. The method of fig. 3 may be performed using the circuitry shown in fig. 2 or other circuitry for performing the operations described. Fig. 3 is a flow diagram illustrating a method for sensing capacitance of a component in accordance with some embodiments of the present disclosure. The
Although some of the circuits in the analog domain described above process voltage sense signals, capacitive sensing may also be performed using current sense signals, such as shown in FIG. 4. FIG. 4 is a block diagram illustrating a sensing circuit with current mode operation in the analog domain according to some embodiments of the present disclosure.
One exemplary operation performed by the sensing circuit according to embodiments described herein is described with reference to fig. 5A-5C. 5A-5C are graphs illustrating outputs within a sensing circuit, such as the sensing circuit of FIG. 2, when measuring capacitance of a component, according to some embodiments of the present disclosure. The graph of fig. 5A includes a graph of the output of the component as a function of time. Signal 502 illustrates a capacitive signal output from a component, which may have a pattern similar to a sine wave excitation signal. The graph of fig. 5B illustrates the
Fig. 6 and 7 show the frequency response of components in the sensing circuit. Figure 6 is a graph illustrating a band pass analog-to-digital converter (ADC) response around an excitation frequency according to some embodiments of the present disclosure.
The proposed methods and circuits described herein may address one or more of the following issues with conventional capacitive sensing: achieving high SNR within the constraints of low power and small area of the mobile device; better linearity and Total Harmonic Distortion (THD) performance is achieved compared to existing solutions; achieve better resistance to various interference sources in the mobile device; and/or achieve better low frequency accuracy compared to existing solutions.
The schematic flow chart diagram of fig. 3 is generally set forth as a logical flow chart diagram. Also, other operations of the circuits are described herein without a flow chart as a sequence of ordered steps. The depicted order, labeled steps, and described operations are indicative of various aspects of the presented methods. Other steps and methods may be conceived that are equivalent in function, logic, or effect to one or more steps, or portions thereof, of the illustrated method. Additionally, the format and symbols employed are provided to explain the logical steps of the method and are understood not to limit the scope of the method. Although various arrow types and line types may be employed in the flow chart diagrams, they are understood not to limit the scope of the corresponding method. Indeed, some arrows or other connectors may be used to indicate only the logical flow of the method. For instance, an arrow may indicate a waiting or monitoring period of unspecified duration between enumerated steps of the depicted method. Additionally, the order in which a particular method occurs may or may not strictly adhere to the order of the corresponding steps shown.
The above operations may be performed by a controller configured with any circuitry for performing the described operations. Such circuitry may be Integrated Circuits (ICs) fabricated 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 circuits may be configured through a hard-wired connection or by being programmed by instructions contained in firmware. Further, the logic circuitry may be configured as a general purpose processor capable of executing instructions contained in software. Firmware and/or software may include instructions that cause the processing of signals described herein to be performed. In some embodiments, an Integrated Circuit (IC) as the controller may include other functionality. For example, the controller IC may include an audio coder/decoder (CODEC) and circuitry for performing the functions described herein. Such an IC is an example of an audio controller. Other audio functions may additionally or alternatively be integrated with the IC circuits described herein to form an audio controller.
If implemented in firmware and/or software, the 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 media may be any available media 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. Magnetic and optical disks include Compact Disk (CD), laser disk, optical disk, Digital Versatile Disk (DVD), floppy disk and blu-ray disk. Generally, a magnetic disk magnetically reproduces data, and an optical disk optically reproduces data. Combinations of the above should also be included within the scope of computer-readable media.
In addition to being stored on a computer-readable medium, the instructions and/or data may also be provided as signals on a transmission medium included in the communication device. For example, the communication device 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.
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 a general-purpose processor is described as performing certain processing steps, the general-purpose processor may be a Digital Signal Processor (DSP), a Graphics Processing Unit (GPU), a Central Processing Unit (CPU), or other configurable logic circuitry. As another example, although processing of audio data is described in some examples, other data may be processed by the filters and other circuitry described above. As one of ordinary skill in the art will readily appreciate from the 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.
- 上一篇:一种医用注射器针头装配设备
- 下一篇:燃气表