The invention provides a capacitance detection circuit, belonging to the technical field of semiconductor integrated circuits. The circuit includes: detecting capacitance, capacitance, reference the first and the second switch and third switch, a comparator, an oscillator, a counter and a data processing unit; the first switch is connected to the input voltage, one end and the other end is connected with the second switch reference capacitor, but also received a positive input comparator; the other end is connected to the reference capacitor the end; the other end is connected with the detection capacitance and end of third switch second switch; the other end is connected to the other end of the capacitance detection; the third switch is grounded; the negative input terminal of the comparator half of the input voltage, the output end of the comparator is connected with the counter enable terminal; counter input connected to the output of the oscillator. The counter output access data processing module for data processing. Compared with the traditional capacitance detecting circuit, the circuit of the invention has the advantages of high detection precision, strong anti-interference ability, etc..
【技术实现步骤摘要】
一种电容检测电路
本专利技术属于半导体集成电路
,具体涉及一种电容检测电路。
技术介绍
目前迅猛发展的电容触摸技术给人们的生活带来了很多的便利,触摸按键已经广泛应用到了台灯、电冰箱等生活的方方面面,所以通过检测电容值的大小来判断触摸与否的电容检测电路就变得越来越重要了。传统的电容检测技术都是通过将电容置于RC振荡器中,通过检测RC振荡器频率的变化来判断电容值的变化。这种传统的检测方法对电容的检测精度低,而且抗干扰能力弱。
技术实现思路
为解决现有电容检测电路检测精度低、抗干扰能力弱的技术问题,本专利技术提供了一种检测精度高、抗干扰能力强的电容检测电路。一种电容检测电路,包括:检测电容CX、基准电容CR、第一开关S1、第二开关S2和第三开关S3、比较器COMP、振荡器OSC、计数器Counter以及数据处理单元Dataprocessing;第一开关S1一端接输入电压VREF,另一端接基准电容CR的一端和第二开关S2的一端,同时也接到比较器的正输入端;基准电容CR的另一端接地;第二开关S2的另一端接检测电容CX的一端和第三开关S3的一端;检测电容CX的另一端接地;第三开关S3的另一端也接地;比较器COMP的负输入端接半输入电压1/2VREF,比较器COMP的输出端接计数器Counter的使能端EN;计数器Counter的输入接振荡器OSC的输出,计数器Counter的输出接入数据处理模块Dateprocessing进行数据处理。本专利技术的电容检测电路,首先第一开关S1打开,将基准电容CR的电压充到输入电压VREF,然后再将第二开关S2和第三开关S3交替打开 ...
【技术保护点】
一种电容检测电路,其特征在于,包括:检测电容CX、基准电容CR、第一开关S1、第二开关S2和第三开关S3、比较器COMP、振荡器OSC、计数器Counter以及数据处理单元Data processing;第一开关S1一端接输入电压VREF,另一端接基准电容CR的一端和第二开关S2的一端,同时也接到比较器的正输入端;基准电容CR的另一端接地;第二开关S2的另一端接检测电容CX的一端和第三开关S3的一端;检测电容CX的另一端接地;第三开关S3的另一端也接地;比较器COMP的负输入端接半输入电压1/2VREF,比较器COMP的输出端接计数器Counter的使能端EN;计数器Counter的输入接振荡器OSC的输出,计数器Counter的输出接入数据处理模块Date processing进行数据处理。
【技术特征摘要】
1.一种电容检测电路,其特征在于,包括:检测电容CX、基准电容CR、第一开关S1、第二开关S2和第三开关S3、比较器COMP、振荡器OSC、计数器Counter以及数据处理单元Dataprocessing;第一开关S1一端接输入电压VREF,另一端接基准电容CR的一端和第二开关S2的一端,同时也接到比较器的正输入端;基准电容CR的另一端接地;第二开...
【专利技术属性】
技术研发人员:不公告发明人,
申请(专利权)人:长沙方星腾电子科技有限公司,
类型:发明
国别省市:湖南,43
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。