CN107395194B - A capacitive sensor interface circuit based on frequency conversion - Google Patents

A capacitive sensor interface circuit based on frequency conversion Download PDF

Info

Publication number
CN107395194B
CN107395194B CN201710758437.5A CN201710758437A CN107395194B CN 107395194 B CN107395194 B CN 107395194B CN 201710758437 A CN201710758437 A CN 201710758437A CN 107395194 B CN107395194 B CN 107395194B
Authority
CN
China
Prior art keywords
frequency
tube
nmos
drain
circuit based
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710758437.5A
Other languages
Chinese (zh)
Other versions
CN107395194A (en
Inventor
徐卫林
刘俊昕
孙晓菲
李海鸥
韦保林
龚全熙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guilin University of Electronic Technology
Original Assignee
Guilin University of Electronic Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guilin University of Electronic Technology filed Critical Guilin University of Electronic Technology
Priority to CN201710758437.5A priority Critical patent/CN107395194B/en
Publication of CN107395194A publication Critical patent/CN107395194A/en
Application granted granted Critical
Publication of CN107395194B publication Critical patent/CN107395194B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K19/00Logic circuits, i.e. having at least two inputs acting on one output; Inverting circuits
    • H03K19/0175Coupling arrangements; Interface arrangements
    • H03K19/017509Interface arrangements
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K5/00Manipulating of pulses not covered by one of the other main groups of this subclass
    • H03K5/01Shaping pulses
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Nonlinear Science (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Mathematical Physics (AREA)
  • Manipulation Of Pulses (AREA)
  • Measurement Of Resistance Or Impedance (AREA)

Abstract

The invention discloses a capacitive sensor interface circuit based on frequency conversion, which consists of a frequency modulation circuit based on capacitance change and a frequency voltage conversion circuit; the input end of the frequency modulation circuit based on capacitance change forms the input end of the whole interface circuit and is connected with the tested capacitor; the output end of the frequency modulation circuit based on capacitance change is connected with the input end of the frequency-voltage conversion circuit; the output end of the frequency-voltage conversion circuit forms the output end of the whole interface circuit; the measured capacitance value is converted into a frequency value through the frequency modulation circuit based on capacitance change, and then the frequency value is converted into a voltage value through the frequency voltage conversion circuit. The invention can effectively inhibit the influence of noise at low frequency, only one input signal period is needed, and frequency signals can be converted into corresponding voltage signals, thereby reducing the output delay and greatly improving the response speed of the capacitive sensor interface circuit.

Description

一种基于频率转换的电容传感器接口电路A capacitive sensor interface circuit based on frequency conversion

技术领域technical field

本发明涉及集成电路技术领域,具体涉及一种基于频率转换的电容传感器接口电路。The invention relates to the technical field of integrated circuits, in particular to a capacitive sensor interface circuit based on frequency conversion.

背景技术Background technique

传感器作为测量系统中的一种前端部件,能够感知外界物理量、化学量和生物信息的变化,并按照一定的规律将这些非电量信息转换成电子系统可检测、可处理的电信号。传感器已经被广泛的应用于工业生产、交通运输、国防军事以及生物医疗等领域,随着科技的不断进步,传感器逐渐向着小型化、集成化、智能化的方向发展。As a front-end component in the measurement system, the sensor can perceive the changes of external physical quantities, chemical quantities and biological information, and convert these non-electrical information into electrical signals that can be detected and processed by the electronic system according to certain rules. Sensors have been widely used in industrial production, transportation, national defense and military, and biomedical fields. With the continuous advancement of science and technology, sensors are gradually developing in the direction of miniaturization, integration, and intelligence.

相比于电阻性传感器,电容性传感器本身并不消耗任何静态电流,所以在低功耗的便携式移动终端、可穿戴设备等领域获得了广泛的应用。当电容性传感器确定后,传感系统的主要性能处决于连接到电容性传感器的接口电路。因此,对接口电路的检测范围、功耗与精度等性能指标提出了较高的要求。传统的电容性传感器接口电路,直接将电容值的变化量放大,转换为电压值的变化,并且多数采用电荷泵积分方法,需要经过多个周期对电荷泵充电,才能产生稳定的输出电压,导致整个接口电路工作速度较慢,功耗较大,准确度与灵敏度不高,占用过多的芯片面积,易受温度、噪声和外界因素的干扰,使得其应用受到较大限制。Compared with resistive sensors, capacitive sensors themselves do not consume any quiescent current, so they have been widely used in low-power portable mobile terminals, wearable devices and other fields. When the capacitive sensor is determined, the main performance of the sensing system depends on the interface circuit connected to the capacitive sensor. Therefore, higher requirements are put forward for performance indicators such as detection range, power consumption and precision of the interface circuit. The traditional capacitive sensor interface circuit directly amplifies the change in capacitance value and converts it into a change in voltage value, and most of them use the charge pump integration method, which needs to charge the charge pump for multiple cycles to generate a stable output voltage, resulting in The whole interface circuit has slow working speed, high power consumption, low accuracy and sensitivity, occupies too much chip area, and is easily disturbed by temperature, noise and external factors, which greatly limits its application.

发明内容Contents of the invention

本发明所要解决的是传统电容性传感器接口电路所存在的问题,提供一种基于频率转换的电容传感器接口电路。The invention aims to solve the problems existing in the traditional capacitive sensor interface circuit, and provides a capacitive sensor interface circuit based on frequency conversion.

为解决上述问题,本发明是通过以下技术方案实现的:In order to solve the above problems, the present invention is achieved through the following technical solutions:

一种基于频率转换的电容传感器接口电路,由基于电容变化的频率调制电路和频率电压转换电路组成;基于电容变化的频率调制电路的输入端形成整个接口电路的输入端,与被测电容Csen连接;基于电容变化的频率调制电路的输出端连接频率电压转换电路的输入端;频率电压转换电路的输出端形成整个接口电路的输出端Vout;通过基于电容变化的频率调制电路先将被测电容值Csen转换为频率值,再通过频率电压转换电路将频率值转换为电压值。A capacitive sensor interface circuit based on frequency conversion, which is composed of a frequency modulation circuit based on capacitance change and a frequency-voltage conversion circuit; the input end of the frequency modulation circuit based on capacitance change forms the input end of the entire interface circuit, and the measured capacitance C sen connected; the output end of the frequency modulation circuit based on capacitance change is connected to the input end of the frequency-voltage conversion circuit; the output end of the frequency-voltage conversion circuit forms the output end V out of the entire interface circuit; through the frequency modulation circuit based on capacitance change, the measured The capacitance value C sen is converted into a frequency value, and then the frequency value is converted into a voltage value through a frequency-voltage conversion circuit.

上述基于电容变化的频率调制电路由PMOS管PM1~PM2,NMOS管NM1~NM5和反相器INV1组成;PMOS管PM1和PM2的源极和与电源VDD连接;PMOS管PM1的栅极与漏极、NMOS管NM1的漏极、NMOS管NM3的栅极、以及NMOS管NM3的栅极相连;PMOS管PM2的栅极与漏极、NMOS管NM31的漏极、NMOS管NM1的栅极、NMOS管NM4的栅极、以及反相器INV1的输入端相连;反相器INV1的另一端形成基于电容变化的频率调制电路的输出端,与频率电压转换电路的输入端连接;NMOS管NM1的源极和NMOS管NM2的漏极相连后,形成基于电容变化的频率调制电路的一个输入端,与被测电容Csen的一端连接;NMOS管N3的源极和NMOS管NM24的漏极相连后,形成基于电容变化的频率调制电路的另一个输入端,与被测电容Csen的另一端连接;NMOS管NM2的源极、NMOS管NM4的源极、以及NMOS管NM5的漏极相连;NMOS管NM5的栅极与外部偏置电压Vb1连接;NMOS管NM5的源极与地GND相连。The above-mentioned frequency modulation circuit based on capacitance change is composed of PMOS transistors PM 1 to PM 2 , NMOS transistors NM 1 to NM 5 and inverter INV 1 ; the sources of the PMOS transistors PM 1 and PM 2 are connected to the power supply VDD; the PMOS transistors The gate and drain of PM 1 , the drain of NMOS transistor NM 1 , the gate of NMOS transistor NM 3 , and the gate of NMOS transistor NM 3 are connected; the gate and drain of PMOS transistor PM 2 , the gate of NMOS transistor NM 31 The drain of the NMOS transistor NM 1 , the gate of the NMOS transistor NM 4 , and the input terminal of the inverter INV 1 are connected; the other end of the inverter INV 1 forms the output terminal of the frequency modulation circuit based on capacitance changes , connected to the input terminal of the frequency-voltage conversion circuit; after the source of the NMOS transistor NM 1 is connected to the drain of the NMOS transistor NM 2 , an input terminal of the frequency modulation circuit based on capacitance variation is formed, which is connected to one end of the measured capacitance C sen connection; after the source of NMOS transistor N3 is connected to the drain of NMOS transistor NM 24 , another input end of the frequency modulation circuit based on capacitance variation is formed, which is connected with the other end of the measured capacitance C sen ; the source of NMOS transistor NM 2 pole, the source of the NMOS transistor NM4 , and the drain of the NMOS transistor NM5 ; the gate of the NMOS transistor NM5 is connected to the external bias voltage V b1 ; the source of the NMOS transistor NM5 is connected to the ground GND.

上述频率电压转换电路由PMOS管PM3~PM7,NMOS管NM6~NM9,反相器INV2~INV3,触发器DFF1~DFF2和电容C1组成;触发器DFF1~DFF2的时钟端CK形成频率电压转换电路的输入端,与基于电容变化的频率调制电路的输出端相连;触发器DFF1的D端和SN端以及触发器DFF2的D端和SN端均与电源VDD相连;触发器DFF1的Q端与NMOS管NM6的栅极连接;NMOS管NM6的漏极、PMOS管PM3的漏极、PMOS管PM4的漏极、PMOS管PM6的栅极、反相器INV2的输入端、以及触发器DFF2的RN端相连;NMOS管NM6的源极与地GND相连;反相器INV2的输出端与PMOS管PM3的栅极连接;PMOS管PM6的源极与PMOS管PM5的漏极相连;PMOS管PM3的源极、PMOS管PM4的源极和PMOS管PM5的源极与电源VDD相连;PMOS管PM4的栅极、反相器INV3的输入端和触发器DFF1的RN端相连后,与外部复位信号RST连接;反相器INV3的输出端连接NMOS管NM7的栅极、NMOS管NM8的栅极和NMOS管NM9的栅极;NMOS管NM8的漏极、触发器DFF2的Q端与PMOS管PM7的栅极连接;PMOS管PM7的源极、NMOS管NM7的漏极和PMOS管PM6的漏极相连;NMOS管NM7的源极、NMOS管NM8的源极、NMOS管NM9的源极、以及电容C1的一端与地GND相连;NMOS管NM9的漏极、PMOS管PM7的漏极、以及电容C1的另一端相连后,形成频率电压转换电路的输出端,即整个接口电路的输出端VoutThe above-mentioned frequency-voltage conversion circuit is composed of PMOS tubes PM 3 ~ PM 7 , NMOS tubes NM 6 ~ NM 9 , inverters INV 2 ~ INV 3 , flip-flops DFF 1 ~ DFF 2 and capacitor C 1 ; flip-flops DFF 1 ~ DFF The clock terminal CK of 2 forms the input terminal of the frequency-voltage conversion circuit, and is connected with the output terminal of the frequency modulation circuit based on capacitance change; the D terminal and the SN terminal of the flip-flop DFF 1 and the D terminal and the SN terminal of the flip-flop DFF 2 are connected with The power supply VDD is connected; the Q terminal of the flip-flop DFF 1 is connected to the gate of the NMOS transistor NM 6 ; the drain of the NMOS transistor NM 6 , the drain of the PMOS transistor PM 3 , the drain of the PMOS transistor PM 4 , and the drain of the PMOS transistor PM 6 The gate, the input terminal of the inverter INV 2 , and the RN terminal of the flip-flop DFF 2 are connected; the source of the NMOS transistor NM 6 is connected to the ground GND; the output terminal of the inverter INV 2 is connected to the gate of the PMOS transistor PM 3 Connection; the source of the PMOS transistor PM 6 is connected to the drain of the PMOS transistor PM 5 ; the source of the PMOS transistor PM 3 , the source of the PMOS transistor PM 4 and the source of the PMOS transistor PM 5 are connected to the power supply VDD; the PMOS transistor PM After the grid of 4 , the input terminal of the inverter INV 3 is connected to the RN terminal of the flip-flop DFF 1 , it is connected to the external reset signal RST; the output terminal of the inverter INV 3 is connected to the gate of the NMOS transistor NM 7 , the NMOS transistor The gate of NM 8 and the gate of NMOS transistor NM 9 ; the drain of NMOS transistor NM 8 , the Q terminal of flip-flop DFF 2 are connected to the gate of PMOS transistor PM 7 ; the source of PMOS transistor PM 7 , the source of NMOS transistor NM 7 is connected to the drain of the PMOS transistor PM 6 ; the source of the NMOS transistor NM 7 , the source of the NMOS transistor NM 8 , the source of the NMOS transistor NM 9 , and one end of the capacitor C 1 are connected to the ground GND; the NMOS After the drain of the transistor NM 9 , the drain of the PMOS transistor PM 7 , and the other end of the capacitor C 1 are connected, they form the output end of the frequency-to-voltage conversion circuit, that is, the output end V out of the entire interface circuit.

上述方案中,触发器DFF1~DFF2为边沿触发的D触发器。In the above solution, the flip-flops DFF 1 -DFF 2 are edge-triggered D flip-flops.

与现有技术相比,本发明具体如下特点:Compared with the prior art, the present invention has the following characteristics:

1、频率电压转换电路可在一个信号周期内完成从频率到电压的转换,减少信号的处理时间,提高整体电路系统的工作效率和反应速度;1. The frequency-to-voltage conversion circuit can complete the conversion from frequency to voltage within one signal cycle, reducing the signal processing time and improving the working efficiency and response speed of the overall circuit system;

2、基于电容变化的频率调制与频率电压转换方法,检测电容范围可达1pF~20pF,并且有效抑制低频噪声及外界因素的影响;2. Based on the frequency modulation and frequency voltage conversion method of capacitance change, the detection capacitance range can reach 1pF ~ 20pF, and effectively suppress the influence of low frequency noise and external factors;

3、基于开关控制的张弛振荡器,实现电容充电方向自动切换,产生占空比为50%的方波。3. Based on the switch-controlled relaxation oscillator, the capacitor charging direction can be automatically switched, and a square wave with a duty cycle of 50% can be generated.

附图说明Description of drawings

图1为一种基于频率转换的电容传感器接口电路的结构图。Fig. 1 is a structural diagram of a capacitive sensor interface circuit based on frequency conversion.

图2为本发明输入输出关系图。Fig. 2 is an input-output relationship diagram of the present invention.

具体实施方式Detailed ways

为使本发明的目的、技术方案和优点更加清楚明白,以下结合具体实例,并参照附图,对本发明进一步详细说明。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in combination with specific examples and with reference to the accompanying drawings.

本发明提出一种基于频率转换的电容传感器接口电路,如图1所示,由基于电容变化的频率调制电路和频率电压转换电路组成。基于电容变化的频率调制电路,将不同的电容值转换为不同频率、占空比为50%的方波。频率电压转换电路,经过一个输入信号周期,将不同频率的方波转换为相对应的电压信号,使所产生的电压信号与被检测电容成一定比例关系。The present invention proposes a capacitive sensor interface circuit based on frequency conversion, as shown in Figure 1, which is composed of a frequency modulation circuit based on capacitance variation and a frequency-voltage conversion circuit. The frequency modulation circuit based on capacitance variation converts different capacitance values into square waves with different frequencies and a duty cycle of 50%. The frequency-to-voltage conversion circuit converts square waves of different frequencies into corresponding voltage signals after one input signal cycle, so that the generated voltage signal has a certain proportional relationship with the detected capacitance.

上述基于电容变化的频率调制电路包括:PMOS管PM1、PM2,NMOS管NM1、NM2、NM3、NM4、NM5,一个反相器INV1,外部偏置电压Vb1,被测电容Csen。其中,PM1的源极与电源VDD连接,PM1的栅极与PM1的漏极相连后与NM1的漏极相连,NM1的栅极与NM3的漏极相连,NM1的源极与NM2的漏极相连,NM2的栅极与NM1的漏极相连,NM2的源极与NM5的漏极相连,NM5的栅极与Vb1相连,NM5的源极与地GND相连。PM2的源极与电源VDD连接,PM2的栅极与PM2的漏极相连后与NM3的漏极相连,NM3的栅极与NM1的漏极相连,NM3的源极与NM4的漏极相连,NM4的栅极与NM3的漏极相连后与反相器INV1的输入端相连,NM4的源极与NM5的漏极相连。被测电容Csen的一端与NM1的源极相连,Csen的另一端与NM3的源极相连。The above-mentioned frequency modulation circuit based on capacitance change includes: PMOS transistors PM 1 and PM 2 , NMOS transistors NM 1 , NM 2 , NM 3 , NM 4 , and NM 5 , an inverter INV 1 , and an external bias voltage V b1 , which is Measure capacitance C sen . Among them, the source of PM 1 is connected to the power supply VDD, the gate of PM 1 is connected to the drain of PM 1 and then connected to the drain of NM 1 , the gate of NM 1 is connected to the drain of NM 3 , and the source of NM 1 The pole is connected to the drain of NM 2 , the gate of NM 2 is connected to the drain of NM 1 , the source of NM 2 is connected to the drain of NM 5 , the gate of NM 5 is connected to V b1 , and the source of NM 5 Connect to ground GND. The source of PM 2 is connected to the power supply VDD, the gate of PM 2 is connected to the drain of PM 2 and then connected to the drain of NM 3 , the gate of NM 3 is connected to the drain of NM 1 , and the source of NM 3 is connected to The drain of NM 4 is connected, the gate of NM 4 is connected with the drain of NM 3 and then connected with the input terminal of inverter INV 1 , the source of NM 4 is connected with the drain of NM 5 . One end of the measured capacitance C sen is connected to the source of NM 1 , and the other end of C sen is connected to the source of NM 3 .

上述频率电压转换电路包括:PMOS管PM3、PM4、PM5、PM6、PM7,NMOS管NM6、NM7、NM8、NM9,二个反相器INV2、INV3,二个边沿触发的D触发器DFF1、DFF2,电容C1,外部偏置电压Vb2,外部复位信号RST,输出端Vout。其中,前一级电路中反相器INV1的输出端与二个D触发器DFF1、DFF2的时钟端CK相连。DFF1的D端与SN端相连后与电源VDD相连,DFF1的RN端与外部复位信号RST相连,DFF1的Q端与NM6的栅极相连。DFF2的D端与SN端相连后与电源VDD相连,DFF2的RN端与NM6的漏极相连,DFF2的Q端与PM7的栅极相连。PM3的源极与电源VDD相连,PM3的栅极与反相器INV2的输出端相连,PM3的漏极与反相器INV2的输入端相连后与NM6的漏极相连,NM6的源极与地GND相连。PM4的源极与电源VDD相连,PM4的栅极与外部复位信号RST相连,PM4的漏极与NM6的漏极相连。反相器INV3的输入端与外部复位信号RST相连反相器INV3的输出端与NM7的栅极相连。NM8、NM9的栅极相连后与反相器INV3的输出端相连,NM8的漏极与PM7的栅极相连,NM8的源极与地GND相连。NM9的漏极与PM7的源极相连,NM9的源极与地GND相连。PM5的源极与电源VDD相连,PM5的栅极与Vb2相连,PM5的漏极与PM6的源极相连,PM6的栅极与NM6的漏极相连,PM6的漏极与NM7的漏极相连,NM7的源极与地GND相连,PM7的源极与NM7的漏极相连,PM7的漏极与电容C1的一端相连后接电路的输出端Vout,电容C1的另一端与地GND相连。The above-mentioned frequency-voltage conversion circuit includes: PMOS transistors PM 3 , PM 4 , PM 5 , PM 6 , PM 7 , NMOS transistors NM 6 , NM 7 , NM 8 , NM 9 , two inverters INV 2 , INV 3 , two Edge-triggered D flip-flops DFF 1 and DFF 2 , capacitor C 1 , external bias voltage V b2 , external reset signal RST, and output terminal V out . Wherein, the output terminal of the inverter INV 1 in the previous stage circuit is connected to the clock terminals CK of the two D flip-flops DFF 1 and DFF 2 . The D terminal of the DFF 1 is connected to the SN terminal and then connected to the power supply VDD, the RN terminal of the DFF 1 is connected to the external reset signal RST, and the Q terminal of the DFF 1 is connected to the gate of the NM 6 . The D terminal of the DFF 2 is connected to the SN terminal and then connected to the power supply VDD, the RN terminal of the DFF 2 is connected to the drain of the NM 6 , and the Q terminal of the DFF 2 is connected to the gate of the PM 7 . The source of PM 3 is connected to the power supply VDD, the gate of PM 3 is connected to the output terminal of inverter INV 2 , the drain of PM 3 is connected to the input terminal of inverter INV 2 and then connected to the drain of NM 6 , The source of NM 6 is connected to the ground GND. The source of PM 4 is connected to the power supply VDD, the gate of PM 4 is connected to the external reset signal RST, and the drain of PM 4 is connected to the drain of NM 6 . The input terminal of the inverter INV 3 is connected to the external reset signal RST, and the output terminal of the inverter INV 3 is connected to the gate of the NM 7 . The gates of NM 8 and NM 9 are connected to the output terminal of the inverter INV 3 , the drain of NM 8 is connected to the gate of PM 7 , and the source of NM 8 is connected to the ground GND. The drain of NM 9 is connected to the source of PM 7 , and the source of NM 9 is connected to the ground GND. The source of PM 5 is connected to the power supply VDD, the gate of PM 5 is connected to V b2 , the drain of PM 5 is connected to the source of PM 6 , the gate of PM 6 is connected to the drain of NM 6 , and the drain of PM 6 The pole is connected to the drain of NM 7 , the source of NM 7 is connected to GND, the source of PM 7 is connected to the drain of NM 7 , the drain of PM 7 is connected to one end of capacitor C1 and then connected to the output end of the circuit V out , the other end of the capacitor C 1 is connected to the ground GND.

本发明的工作原理为:通过基于电容变化的频率调制电路先将被测电容值转换为频率值,再通过频率电压转换电路将频率值转换为电压值。The working principle of the invention is as follows: the measured capacitance value is first converted into a frequency value through a frequency modulation circuit based on capacitance change, and then the frequency value is converted into a voltage value through a frequency-voltage conversion circuit.

基于电容变化的频率调制电路中,PMOS管PM1、PM2作为有源负载,NMOS管NM1、NM2、NM3、NM4作为开关,NMOS管NM5作为尾电流源,NMOS管NM1、NM4导通时,NMOS管NM2、NM3关断,实现给电容Csen正向充电;NMOS管NM1、NM4关断时,NMOS管NM2、NM3导通,实现给电容Csen反向充电;电容Csen正向充电时,与有源电阻PM1形成RC张弛振荡器;电容Csen反向充电时,与有源电阻PM2形成RC张弛振荡器;最终,经过反相器INV1整形、放大,频率调制电路输出频率随电容变化、占空比为50%的全摆幅方波信号。In the frequency modulation circuit based on capacitance change, PMOS transistors PM 1 and PM 2 are used as active loads, NMOS transistors NM 1 , NM 2 , NM 3 , and NM 4 are used as switches, NMOS transistor NM 5 is used as a tail current source, and NMOS transistor NM 1 When NM 4 and NM 4 are turned on, NMOS transistors NM 2 and NM 3 are turned off to realize forward charging of capacitor C sen ; when NMOS transistors NM 1 and NM 4 are turned off, NMOS transistors NM 2 and NM 3 are turned on to realize charging to capacitor C sen is reversely charged; when the capacitor C sen is positively charged, it forms an RC relaxation oscillator with the active resistor PM 1 ; when the capacitor C sen is reversely charged, it forms an RC relaxation oscillator with the active resistor PM 2 ; finally, after the reverse The phase device INV 1 is used for shaping and amplifying, and the frequency modulation circuit outputs a full-swing square wave signal whose frequency varies with capacitance and whose duty cycle is 50%.

频率电压转换电路中,当RST信号为低电平时,PMOS管PM4将PM6的栅极拉高为高电平,NMOS管NM7将PM7的源极拉低为低电平,NMOS管NM8将PM7的栅极拉低为低电平,NMOS管NM9将电容C1拉低为低电平;当RST信号为高电平时,D触发器DFF1开始工作,当D触发器DFF1检测到输入信号的上升沿,D触发器DFF1的输出端Q输出高电平,此时NMOS管NM6导通,反相器INV2及PMOS管PM3用于将NM6的漏极锁定为低电平,使NM6的漏极电平一直为低,当NM6的漏极为低电平时,PMOS管PM6导通;当NM6的漏极为低电平时D触发器DFF2开始工作,当D触发器DFF2检测到输入信号的上升沿,D触发器DFF2的输出端Q输出高电平,此时PMOS管PM7关断;PM6、PM7共同导通的时间,为输入信号的一个周期,偏置电流源PM5为电容C1充了一个周期的电,输入信号的频率不同,相对应的周期就不同,电容C1充电的时间也就不同,最终,不同频率的输入信号,对应电容C1上不同的输出电压,从而实现了频率到电压的转换。In the frequency-voltage conversion circuit, when the RST signal is at low level, the PMOS transistor PM 4 pulls the gate of PM 6 to a high level, and the NMOS transistor NM 7 pulls the source of PM 7 to a low level, and the NMOS transistor NM 8 pulls down the gate of PM 7 to low level, and NMOS transistor NM 9 pulls capacitor C 1 down to low level; when the RST signal is high level, D flip-flop DFF 1 starts to work, when D flip-flop DFF 1 detects the rising edge of the input signal, and the output terminal Q of the D flip-flop DFF 1 outputs a high level. At this time, the NMOS transistor NM 6 is turned on, and the inverter INV 2 and the PMOS transistor PM 3 are used to turn the drain of NM 6 The pole is locked at low level, so that the drain level of NM 6 is always low. When the drain of NM 6 is at low level, the PMOS transistor PM 6 is turned on; when the drain of NM 6 is at low level, D flip-flop DFF 2 Start to work, when the D flip-flop DFF 2 detects the rising edge of the input signal, the output terminal Q of the D flip-flop DFF 2 outputs a high level, at this time the PMOS tube PM 7 is turned off; the time when PM 6 and PM 7 are jointly turned on , is one cycle of the input signal, the bias current source PM 5 charges the capacitor C 1 for one cycle, the frequency of the input signal is different, the corresponding cycle is different, and the charging time of the capacitor C 1 is also different, finally, Input signals of different frequencies correspond to different output voltages on the capacitor C 1 , thereby realizing frequency-to-voltage conversion.

基于电容变化的频率调制电路产生振荡方波的频率可以表示为(1)式:The frequency of the oscillating square wave generated by the frequency modulation circuit based on capacitance changes can be expressed as formula (1):

Figure BDA0001392706900000041
Figure BDA0001392706900000041

其中,

Figure BDA0001392706900000044
为流过被测电容Csen的电流,Vswing为被测电容Csen两端的电压差。in,
Figure BDA0001392706900000044
For the current flowing through the measured capacitor C sen , V swing is the voltage difference between the two ends of the measured capacitor C sen .

所以方波的周期可以表示为(2)式:So the period of the square wave can be expressed as formula (2):

Figure BDA0001392706900000042
Figure BDA0001392706900000042

经过频率电压转换电路后,最终输出电压为:After the frequency-to-voltage conversion circuit, the final output voltage is:

Figure BDA0001392706900000043
Figure BDA0001392706900000043

其中,

Figure BDA0001392706900000045
为PMOS管PM5产生的电流。in,
Figure BDA0001392706900000045
It is the current generated by the PMOS transistor PM5 .

本发明采用基于开关控制的张弛振荡器将电容的变化直接转化为频率的变化,实现电容充电方向自动切换,且产生占空比为50%的方波,有效抑制低频处噪声的影响,有效提高了电容检测的精度。本发明采用频率电压转化电路,仅需要一个输入信号周期,可将频率信号转化为相应的电压信号,减小了输出的延时,极大的提高电容传感器接口电路反应速度,实现对电容值的检测。本发明在简化电路结构的同时,提升了电路对输入信号的处理速度,降低了功耗,仅为微瓦量级,且未使用电阻,仅用少量电容,有效地减小了由温度变化引起的热噪声影响、减小版图面积,更方便与标准CMOS工艺兼容,降低了生产成本。采用基于电容变化的频率调制与频率电压转换方法,有效地抑制了低频噪声的影响,可实现高速准确的电容检测。图2为本发明输入输出关系图,基于0.18-um CMOS工艺的CadenceSpectre仿真表明,可检测电容范围1pF~20pF,输出电压范围500mV~1.225V,1.8V供电条件下总功耗为85.14uW,电路延时最少可为72.774nS。The invention adopts a relaxation oscillator based on switch control to directly convert the change of capacitance into a change of frequency, realize automatic switching of the charging direction of the capacitor, and generate a square wave with a duty ratio of 50%, effectively suppressing the influence of noise at low frequencies, and effectively improving The accuracy of capacitance detection is improved. The invention adopts a frequency-voltage conversion circuit, which only needs one input signal cycle, and can convert the frequency signal into a corresponding voltage signal, which reduces the output delay, greatly improves the response speed of the capacitance sensor interface circuit, and realizes the adjustment of the capacitance value. detection. While simplifying the circuit structure, the present invention improves the processing speed of the circuit to the input signal, reduces the power consumption, which is only on the order of microwatts, and does not use resistors, and only uses a small amount of capacitance, which effectively reduces the power consumption caused by temperature changes. Thermal noise impact, reduced layout area, more convenient compatibility with standard CMOS processes, and reduced production costs. The method of frequency modulation and frequency-voltage conversion based on capacitance changes can effectively suppress the influence of low-frequency noise, and can realize high-speed and accurate capacitance detection. Figure 2 is a diagram of the relationship between input and output of the present invention. CadenceSpectre simulation based on 0.18-um CMOS technology shows that the detectable capacitance range is 1pF to 20pF, the output voltage range is 500mV to 1.225V, and the total power consumption is 85.14uW under the condition of 1.8V power supply. Delay can be at least 72.774nS.

本发明能够解决传统电容性传感器接口电路所存在的信号处理时间较长、延时较大、灵敏度较低、检测范围较窄、易受噪声影响、芯片面积和功耗过大等问题。The invention can solve the problems of long signal processing time, large delay, low sensitivity, narrow detection range, easy to be affected by noise, excessive chip area and power consumption and the like existing in the traditional capacitive sensor interface circuit.

需要说明的是,尽管以上本发明所述的实施例是说明性的,但这并非是对本发明的限制,因此本发明并不局限于上述具体实施方式中。在不脱离本发明原理的情况下,凡是本领域技术人员在本发明的启示下获得的其它实施方式,均视为在本发明的保护之内。It should be noted that although the above-mentioned embodiments of the present invention are illustrative, they are not intended to limit the present invention, so the present invention is not limited to the above specific implementation manners. Without departing from the principles of the present invention, all other implementations obtained by those skilled in the art under the inspiration of the present invention are deemed to be within the protection of the present invention.

Claims (3)

1. A capacitive sensor interface circuit based on frequency conversion, characterized by: the frequency modulation circuit is based on capacitance change, and the frequency voltage conversion circuit is composed of a frequency modulation circuit and a frequency voltage conversion circuit; the input end of the frequency modulation circuit based on capacitance change forms the input end of the whole interface circuit and the tested capacitor C sen Connecting; the output end of the frequency modulation circuit based on capacitance change is connected with the input end of the frequency-voltage conversion circuit; the output end of the frequency-voltage conversion circuit forms the output end V of the whole interface circuit out The method comprises the steps of carrying out a first treatment on the surface of the The measured capacitance value C is firstly measured by a frequency modulation circuit based on capacitance change sen Converting the frequency value into a frequency value, and converting the frequency value into a voltage value through a frequency-voltage conversion circuit;
the frequency-voltage conversion circuit is formed by PMOS (P-channel metal oxide semiconductor) tubes PM 3 ~PM 7 NMOS tube NM 6 ~NM 9 Inverter INV 2 ~INV 3 Flip-flop DFF 1 ~DFF 2 And capacitor C 1 Composition; flip-flop DFF 1 ~DFF 2 The clock end CK of the frequency-voltage conversion circuit is connected with the output end of the frequency modulation circuit based on capacitance change; flip-flop DFF 1 D-terminal and SN-terminal of (a) and flip-flop DFF 2 The D end and the SN end of the power supply are connected with the power supply VDD; flip-flop DFF 1 Q terminal of (2) and NMOS transistor NM 6 Is connected with the grid electrode; NMOS tube NM 6 Drain electrode of PMOS tube PM 3 Drain electrode of PMOS tube PM 4 Drain electrode of PMOS tube PM 6 Grid electrode of (C) and inverter INV 2 Input terminal of (a), and flip-flop DFF 2 Is connected with the RN end; NMOS tube NM 6 Is connected to ground GND; inverter INV 2 Output end of (2) and PMOS tube PM 3 Is connected with the grid electrode; PMOS tube PM 6 Source electrode of (C) and PMOS tube PM 5 Is connected with the drain electrode of the transistor; PMOS tube PM 3 Source electrode of PMOS tube PM 4 Source electrode of (C) and PMOS tube PM 5 Is connected with a power supply VDD; PMOS tube PM 4 Grid electrode of (C) and inverter INV 3 Is input to and flip-flop DFF 1 Is connected with an external reset signal RST after being connected with an RN end; inverter INV 3 The output end of (a) is connected with an NMOS tube NM 7 Grid electrode of (n-channel metal oxide semiconductor) NMOS (N-channel metal oxide semiconductor) tube NM 8 Gate and NMOS transistor NM 9 A gate electrode of (a); NMOS tube NM 8 Is of the drain and flip-flop DFF 2 Q end of (2) and PMOS tube PM 7 Is connected with the grid electrode; PMOS tube PM 7 Source electrode of (NMOS) tube NM 7 Drain electrode of (C) and PMOS tube PM 6 Is connected with the drain electrode of the transistor; NMOS tube NM 7 Source electrode of (NMOS) tube NM 8 Source electrode of (NMOS) tube NM 9 Source of (C), and capacitor C 1 Is connected to ground GND; NMOS tube NM 9 Drain electrode of PMOS tube PM 7 Drain of (C), and capacitor C 1 After the other end of the interface circuit is connected, an output end of the frequency-voltage conversion circuit, namely an output end V of the whole interface circuit out
2. A capacitive sensor interface circuit based on frequency conversion as claimed in claim 1, wherein: the frequency modulation circuit based on capacitance change is formed by PMOS (P-channel metal oxide semiconductor) tube PM 1 ~PM 2 NMOS tube NM 1 ~NM 5 Inverter INV 1 Composition;
PMOS tube PM 1 And PM 2 Is connected to a power supply VDD; PMOS tube PM 1 Grid electrode, drain electrode and NMOS tube NM 1 Drain of NMOS transistor NM 2 Gate of (c), and NMOS transistor NM 3 Gate phase of (c)Connecting; PMOS tube PM 2 Grid electrode, drain electrode and NMOS tube NM 3 Drain of NMOS transistor NM 1 Grid electrode of (n-channel metal oxide semiconductor) NMOS (N-channel metal oxide semiconductor) tube NM 4 Gate of (2), and inverter INV 1 Is connected with the input end of the power supply; inverter INV 1 The other end of the frequency modulation circuit based on capacitance change is connected with the input end of the frequency-voltage conversion circuit; NMOS tube NM 1 Source and NMOS transistor NM 2 After the drains of the capacitors are connected, an input end of the frequency modulation circuit based on capacitance change is formed to be connected with the capacitor C to be tested sen Is connected with one end of the connecting rod; NMOS tube NM 3 Source and NMOS transistor NM 4 After the drain electrode of the capacitor is connected, another input end of the frequency modulation circuit based on capacitance change is formed and connected with the tested capacitor C sen Is connected with the other end of the connecting rod; NMOS tube NM 2 Source electrode of (NMOS) tube NM 4 Source of (2), and NMOS transistor NM 5 Is connected with the drain electrode of the transistor; NMOS tube NM 5 Gate of (2) and external bias voltage V b1 Connecting; NMOS tube NM 5 Is connected to ground GND.
3. A capacitive sensor interface circuit based on frequency conversion as claimed in claim 1, wherein: flip-flop DFF 1 ~DFF 2 Is an edge-triggered D flip-flop.
CN201710758437.5A 2017-08-29 2017-08-29 A capacitive sensor interface circuit based on frequency conversion Active CN107395194B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710758437.5A CN107395194B (en) 2017-08-29 2017-08-29 A capacitive sensor interface circuit based on frequency conversion

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710758437.5A CN107395194B (en) 2017-08-29 2017-08-29 A capacitive sensor interface circuit based on frequency conversion

Publications (2)

Publication Number Publication Date
CN107395194A CN107395194A (en) 2017-11-24
CN107395194B true CN107395194B (en) 2023-04-25

Family

ID=60346220

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710758437.5A Active CN107395194B (en) 2017-08-29 2017-08-29 A capacitive sensor interface circuit based on frequency conversion

Country Status (1)

Country Link
CN (1) CN107395194B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111585562A (en) * 2020-04-29 2020-08-25 西安交通大学 A Capacitive Tactile Sensing Unit with Neuromorphic Output

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5905414A (en) * 1996-11-18 1999-05-18 Murata Manufacturing Co., Ltd. VCO having control voltage and modulation signal applied to varactor
US8169238B1 (en) * 2007-07-03 2012-05-01 Cypress Semiconductor Corporation Capacitance to frequency converter
CN102749364A (en) * 2012-07-06 2012-10-24 山东省科学院海洋仪器仪表研究所 Relative humidity sensor for marine meteorological elements
CN102971639A (en) * 2010-07-02 2013-03-13 莱姆知识产权股份有限公司 Hall sensor system
JP2016114571A (en) * 2014-12-18 2016-06-23 アイシン精機株式会社 Capacitance sensing device
CN106444344A (en) * 2016-10-13 2017-02-22 东南大学 High-stability clock generation circuit based on automatic biasing frequency locking ring
CN107014507A (en) * 2017-05-24 2017-08-04 杭州电子科技大学 A kind of built-in temperature sensor and its temperature checking method based on RC oscillators
CN207083069U (en) * 2017-08-29 2018-03-09 桂林电子科技大学 A capacitive sensor interface circuit based on frequency conversion

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010239527A (en) * 2009-03-31 2010-10-21 Panasonic Corp Voltage-controlled oscillator, and PLL circuit, FLL circuit, and wireless communication device using the same

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5905414A (en) * 1996-11-18 1999-05-18 Murata Manufacturing Co., Ltd. VCO having control voltage and modulation signal applied to varactor
US8169238B1 (en) * 2007-07-03 2012-05-01 Cypress Semiconductor Corporation Capacitance to frequency converter
CN102971639A (en) * 2010-07-02 2013-03-13 莱姆知识产权股份有限公司 Hall sensor system
CN102749364A (en) * 2012-07-06 2012-10-24 山东省科学院海洋仪器仪表研究所 Relative humidity sensor for marine meteorological elements
JP2016114571A (en) * 2014-12-18 2016-06-23 アイシン精機株式会社 Capacitance sensing device
CN106444344A (en) * 2016-10-13 2017-02-22 东南大学 High-stability clock generation circuit based on automatic biasing frequency locking ring
CN107014507A (en) * 2017-05-24 2017-08-04 杭州电子科技大学 A kind of built-in temperature sensor and its temperature checking method based on RC oscillators
CN207083069U (en) * 2017-08-29 2018-03-09 桂林电子科技大学 A capacitive sensor interface circuit based on frequency conversion

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
Babak Jamali 等."A 0.2-2.6GHz instantaneous frequency-to-voltage converter in 90nm CMOS".《2016 IEEE Radio and Wireless Symposium (RWS)》.2016,45-47. *
Khalil Arshak 等."A Wireless Sensor Network System for Pressure and Temperature Signals Monitoring".《2007 IEEE International Symposium on Industrial Electronics》.2007,第1496-1498页. *
Raúl Aragonés 等."Very Low Power Supply Dependence ROIC for Capacitive Sensing Platforms".Raúl Aragonés 等.2014,第14卷(第4期),第1322-1323页. *
吉文婷 ; 秦明 ; 黄庆安 ; .利用差频电路实现微电容式传感器检测电路的温漂抑制.电子工程师.2008,(第10期),第1-3页. *

Also Published As

Publication number Publication date
CN107395194A (en) 2017-11-24

Similar Documents

Publication Publication Date Title
Tan et al. An energy-efficient 15-bit capacitive-sensor interface based on period modulation
CN105720955B (en) A kind of dynamic comparer with offset compensation
CN103066989B (en) Single power electric level shift circuit with digital filtering function
CN104124921B (en) Current mode comparator based low voltage low power consumption CMOS (Complementary Metal Oxide Semiconductors) relaxation oscillator and method
CN102368683B (en) A weak signal amplification and shaping circuit with low power consumption
CN104113211B (en) Low-power-dissipation hysteresis voltage detection circuit applied to energy acquisition system
TWI460997B (en) Adaptive clock signal generator with noise immunity capability
CN106100293B (en) current detection circuit and piezoelectric rectifier applied to piezoelectric rectifier
CN104614404A (en) Ion sensitive field effect transistor sensor and reading circuit thereof
CN102385409A (en) VGS/R type reference source that provides both voltage and current references with zero temperature coefficient
CN207083069U (en) A capacitive sensor interface circuit based on frequency conversion
CN107395194B (en) A capacitive sensor interface circuit based on frequency conversion
CN109975600A (en) A kind of undervoltage detection circuit of zero quiescent dissipation
TWI484148B (en) Temperature sensor circuit
CN103117740A (en) Low-power-consumption level shift circuit
CN107315440A (en) A kind of high-speed broadband band frequency-voltage conversion circuit
CN205336242U (en) Developments comparator with imbalance compensation
CN110798184A (en) A delay circuit unit
CN209201054U (en) A digital output two-stage double-precision biomedical capacitive sensor interface circuit
CN115421552A (en) A Dynamically Biased Low Power Integrator Based on Capacitor as Floating Voltage Source
CN102706473B (en) Temperature detecting circuit applied to radio frequency receiver
CN207133682U (en) A kind of high-speed broadband band frequency-voltage conversion circuit
Rotake et al. CMOS based capacitance to digital converter circuit for MEMS sensor
CN206573232U (en) Thermistor temperature detecting circuit
TW201144970A (en) Corner detector

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant