WO2015143707A1 - Proximity sensing switch - Google Patents

Proximity sensing switch Download PDF

Info

Publication number
WO2015143707A1
WO2015143707A1 PCT/CN2014/074275 CN2014074275W WO2015143707A1 WO 2015143707 A1 WO2015143707 A1 WO 2015143707A1 CN 2014074275 W CN2014074275 W CN 2014074275W WO 2015143707 A1 WO2015143707 A1 WO 2015143707A1
Authority
WO
WIPO (PCT)
Prior art keywords
module
capacitor
proximity sensor
clock
switch
Prior art date
Application number
PCT/CN2014/074275
Other languages
French (fr)
Chinese (zh)
Inventor
肖锴
Original Assignee
肖锴
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 肖锴 filed Critical 肖锴
Priority to PCT/CN2014/074275 priority Critical patent/WO2015143707A1/en
Publication of WO2015143707A1 publication Critical patent/WO2015143707A1/en

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K17/00Electronic switching or gating, i.e. not by contact-making and –breaking
    • H03K17/94Electronic switching or gating, i.e. not by contact-making and –breaking characterised by the way in which the control signals are generated
    • H03K17/945Proximity switches
    • H03K17/955Proximity switches using a capacitive detector
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K2217/00Indexing scheme related to electronic switching or gating, i.e. not by contact-making or -breaking covered by H03K17/00
    • H03K2217/94Indexing scheme related to electronic switching or gating, i.e. not by contact-making or -breaking covered by H03K17/00 characterised by the way in which the control signal is generated
    • H03K2217/96Touch switches
    • H03K2217/9607Capacitive touch switches
    • H03K2217/96071Capacitive touch switches characterised by the detection principle
    • H03K2217/960725Charge-transfer

Definitions

  • the present invention relates to the field of inductive switches, and more particularly to a proximity inductive switch.
  • inductive switches typically use an infrared proximity sensor or a conventional capacitive sensor to generate a switch control signal.
  • the drive circuit controls the solenoid valve switch based on the switch control signal.
  • infrared sensor switches require independent or integrated installation of infrared proximity sensors. Since the infrared proximity sensor is in operation for a long time, the service life is limited. And the infrared proximity sensor has directivity, and the sensing area is relatively small, so when in use, the user has to enter the area specified by the infrared proximity sensor to trigger the switch. The sensing distance of a conventional capacitive sensing switch is very short and cannot be changed.
  • the technical problem to be solved by the present invention is that the proximity sensing switch of the prior art requires an additional proximity sensor, a small sensing area and a fixed sensing distance, and provides a large proximity sensing sensor without additional installation of the proximity sensor.
  • a proximity proximity switch that can be set.
  • the technical solution adopted by the present invention to solve the technical problem is to construct a proximity sensor switch, including:
  • a conductive sensing module for receiving an electrostatic charge of the human body when the human body approaches;
  • a capacitance control module for controlling a charging discharge of the capacitor based on the electrostatic charge to generate a valve driving signal
  • a valve drive module for controlling opening and closing of the valve module based on the valve drive signal.
  • the capacitor controller further includes:
  • a capacitor charging and discharging module configured to charge and discharge the capacitor based on the electrostatic charge
  • a pulse width modulation module for generating a duty cycle signal according to a predetermined setting
  • bit stream signal generating module configured to generate a bit stream signal based on the charging discharge
  • a counting module configured to generate a count based on the duty cycle signal and the bit stream signal
  • a processing module for generating a valve drive signal based on the count.
  • the capacitor charging and discharging module includes a sensing capacitor, an external modulation capacitor, and a discharge resistor, and the first end of the sensing capacitor is connected to a power source via the first control switch, and the sensing capacitor
  • the second end of the external modulation capacitor is connected to the power source via the second control switch and the first control switch, and the second end of the external modulation capacitor is grounded, and the first end of the discharge resistor is connected
  • the first end of the external modulation capacitor and the bit stream signal generating module and the second end of the discharging resistor are grounded via a third control switch.
  • the bit stream signal generating module includes a comparator and a latch, and the first input end of the comparator is connected to the capacitor charging and discharging module, and the comparator The input terminal is connected to the input terminal of the latch, and the output of the latch is connected to the counting module and the capacitor charging and discharging module.
  • the counting module includes an AND gate and a counter, and the first input end of the AND gate is connected to the pulse width modulation module, and the second input end of the AND gate is connected
  • the bit stream signal generating module and the output end of the AND gate are connected to an input end of the counter.
  • the capacitance controller further includes a clock module for generating a clock signal.
  • the clock module includes a clock source, an oscillating module, and a branching module, and the clock source is connected to an input end of the oscillating module, and an output end of the oscillating module is connected to the The input end of the branching module is connected to the pulse width modulation module, the bit stream signal generating module and the clock end of the counting module.
  • a proximity sensing switch including: a conductive sensing module, Inductive capacitor, external modulation capacitor, discharge resistor, comparator, latch, AND gate, pulse width modulation module, counter, processing module, valve drive module and valve module; wherein the conductive sensing module is used to receive when the human body approaches An electrostatic charge of the human body, the induced capacitance sensing the electrostatic charge, the first end of the sensing capacitor is connected to the power source via a first control switch, the second end of the sensing capacitor is grounded, and the first externally modulated capacitor The terminal is connected to the power source via the second control switch and the first control switch, and the second end of the external modulation capacitor is grounded, the first end of the discharge resistor is connected to the first end of the external modulation capacitor and the comparison a first input end of the device, a second end of the discharge resistor is grounded via a third control switch, a second input of the comparator is coupled to a reference voltage signal, and an output of the
  • the capacitance controller further includes a clock module for generating a clock signal.
  • the clock module includes a clock source, an oscillating module, and a branching module, and the clock source is connected to an input end of the oscillating module, and an output end of the oscillating module is connected to the The input end of the branching module is connected to the pulse width modulation module, the latch, and the clock end of the counter.
  • proximity sensing can be realized without installing a separate sensor. And because there are no separate sensors, there is no problem with sensor life. Since the electrostatic charge is sensed by the human body, there is no directivity, and the proximity and proximity of the body can be triggered to turn on and off. Further, since the control is based on the charge discharge of the electrostatic charge control capacitor, different sensing distances can be set according to the user.
  • FIG. 1 is a schematic block diagram of a first embodiment of a proximity sensor switch of the present invention
  • Figure 2 is a schematic block diagram of a second embodiment of the proximity sensor switch of the present invention.
  • Figure 3 is a circuit schematic diagram of a third embodiment of the proximity sensor switch of the present invention.
  • FIG. 4 is an equivalent circuit diagram of a modulation mode of the proximity type inductive switch shown in FIG. 3;
  • FIG. 5 is a voltage output waveform diagram of a charging and discharging process of the proximity type inductive switch shown in FIG. 3;
  • FIG. 6 is a waveform diagram of a comparator output of a charge and discharge process of the proximity type inductive switch shown in FIG. 3;
  • FIG. 7 is a schematic diagram showing the principle of the counting process of the charging and discharging process of the proximity type inductive switch shown in FIG.
  • FIG. 1 is a schematic block diagram of a first embodiment of a proximity sensor switch of the present invention.
  • the proximity sensor switch includes a conductive sensing module 100 , a capacitor control module 200 , a valve driving module 300 , and a valve module 400 .
  • the conductive sensing module 100 is configured to receive an electrostatic charge of a human body when the human body approaches.
  • the conductive sensing module 100 can be any metal inductor, graphite conductor, polymer inductor or other conductive material inductor.
  • the conductive sensing module 100 may be, for example, a metal faucet, a metal button for controlling a household appliance such as an electric lamp, a television, a refrigerator, or the like.
  • the capacitance control module 200 is configured to control a charge discharge of the capacitor based on the electrostatic charge to generate a valve drive signal.
  • the capacitance control module 200 receives an electrostatic charge from the conductive sensing module 100. Since the amount of electrostatic charge received is different when people approach and leave, this will result in different charging and discharging times of the capacitor.
  • the capacitance control module 200 can generate a valve drive signal based on this difference.
  • the valve drive module 300 receives the valve drive signal from the capacitance control module 200 and controls opening and closing of the valve module 400 based on the valve drive signal.
  • the valve module 400 can be a solenoid valve
  • the valve actuation module 300 can be a solenoid valve drive circuit.
  • the valve module can be other switching devices such as transistors, transistors, and the like.
  • the valve driving module 300 may be a triode driving circuit or a transistor driving circuit or the like.
  • proximity sensing can be realized without installing a separate sensor. And because there are no separate sensors, there is no problem with sensor life. Since the electrostatic charge is sensed by the human body, there is no directivity, and the proximity and proximity of the body can be triggered to turn on and off. Further, since the control is based on the charge discharge of the electrostatic charge control capacitor, different sensing distances can be set according to the user.
  • the proximity sensor switch includes a conductive sensing module 100, a capacitor control module 200, a valve driving module 300, and a valve module 400.
  • the conductive sensing module 100, the valve driving module 300, and the valve module 400 can be constructed according to the embodiment shown in FIG. 1, and will not be described here.
  • the capacitance control module 200 includes a capacitor charging and discharging module 210, a pulse width modulation module 220, a bit stream signal generating module 230, a counting module 240, and a processing module 250.
  • the capacitor charging and discharging module 210 is configured to charge and discharge the capacitor based on the electrostatic charge.
  • the capacitor charging and discharging module 210 can be any LC charging and discharging circuit, or an LRC charging and discharging circuit.
  • the pulse width modulation module 220 is configured to generate a duty cycle signal in accordance with a predetermined setting.
  • the pulse width modulation module 220 can be any pulse width modulation circuit, chip or program module.
  • the bit stream signal generation module 230 is configured to generate a bit stream signal based on the charge discharge.
  • the bitstream signal generation module 230 can generate a bitstream signal based on the charge and discharge time and the magnitude of the voltage.
  • the counting module 240 is configured to generate a count based on the duty cycle signal and the bit stream signal.
  • the counting module 240 can count using any counter.
  • the processing module 250 can generate a valve drive signal based on the count. For example, when the count is greater than the set value, an open valve drive signal is generated. When the count is less than the set value, a closed valve drive signal is generated.
  • proximity sensing can be realized without installing a separate sensor. And because there are no separate sensors, there is no problem with sensor life. Since the electrostatic charge is sensed by the human body, there is no directivity, and the proximity and proximity of the body can be triggered to turn on and off. Further, since the control is based on the charge discharge of the electrostatic charge control capacitor, different sensing distances can be set according to the user.
  • FIG. 3 is a circuit schematic diagram of a third embodiment of the proximity sensor switch of the present invention.
  • the configuration of the capacitance control module 200 is mainly shown in FIG.
  • the capacitance control module 200 includes a sensing capacitor Cx, an external modulation capacitor Cmod, a discharge resistor RB, a comparator F1, a latch L1, an AND gate Y1, a pulse width modulation module PWM, a counter CN1, and a processing module 250.
  • the sensing capacitor Cx, the external modulation capacitor Cmod, and the discharging resistor RB constitute the capacitor charging and discharging module 210 shown in FIG. 2.
  • the pulse width modulation module PWM constitutes the pulse width modulation module 220 shown in FIG.
  • the comparator F1 and the latch L1 constitute the bit stream signal generating module 230 shown in FIG. 2.
  • the AND gate Y1 and the counter CN1 constitute the counting module 240 shown in FIG. 2.
  • the first end of the sensing capacitor Cx is connected to the power supply VDD via the first control switch ⁇ 1, and the second end of the sensing capacitor Cx is grounded.
  • the first end of the external modulation capacitor Cmod is sequentially connected to the power supply VDD via the second control switch ⁇ 2 and the first control switch ⁇ 1.
  • the second end of the external modulation capacitor Cmod is grounded.
  • a first end of the discharge resistor RB is coupled to a first end of the external modulation capacitor Cmod and a first input of the comparator F1.
  • the second end of the discharge resistor RB is grounded via a third control switch ⁇ 3, and the second input of the comparator F1 is connected to the reference voltage signal VREF.
  • the output of the comparator F1 is connected to the input of the latch L1.
  • An output end of the latch L1 is connected to the third control switch ⁇ 3 and a second input terminal of the AND gate Y1.
  • the first input of the AND gate Y1 is coupled to the pulse width modulation module PWM.
  • the output of the AND gate Y1 is connected to the input of the counter CN1 to output a count.
  • the processing module 250 generates a valve drive signal based on the count.
  • FIG. 4 is an equivalent circuit diagram of a modulation mode of the proximity type inductive switch shown in FIG.
  • Fig. 5 is a diagram showing voltage output waveforms of a charge and discharge process of the proximity type inductive switch shown in Fig. 3.
  • Fig. 6 is a diagram showing a comparator output waveform of a charge and discharge process of the proximity type inductive switch shown in Fig. 3.
  • FIG. 7 is a schematic diagram showing the principle of the counting process of the charging and discharging process of the proximity type inductive switch shown in FIG. The principle of the proximity sensor switch shown in Fig. 3 will be described below with reference to Figs. 4-7.
  • the sensing capacitor Cx is charged by the power source VDD.
  • the first control switch ⁇ 1 is turned off and the second control switch ⁇ 2 is turned off, the external modulation capacitor Cmod is charged by the sense capacitor Cx.
  • the comparator F1 outputs a high level.
  • Latch L1 will latch high. The high level of the latch L1 controls the third control switch ⁇ 3 to be closed, thereby discharging by the discharge resistor RB.
  • Latch L1 enables the PWM modulation module PWM output to AND gate Y1; until latch L1 has a new status update.
  • the duty ratio of the pulse width modulation module PWM output and the bit stream signal output from the latch L1 are combined with the gate Y1 and supplied to the input terminal of the counter CN1.
  • Counter CN1 outputs a count to processing module 250.
  • the processing module 250 finally processes the value of the counter CN1 to determine if there is a finger touch.
  • the sensing capacitor Cx can be converted into an equivalent resistor Rcx.
  • the resistor Vdd charges the external modulation capacitor Cmod through the equivalent resistor Rcx, knowing that the charge reaches the reference voltage Vref.
  • the comparator F1 outputs a high level, the latch L1 latches a high level, the discharge resistor RB accesses the ground, and discharges the external modulation capacitor Cmod.
  • the comparator F1 When the external modulation capacitor Cmod voltage is lower than the reference voltage Vref, the comparator F1 outputs Low level, the discharge resistor RB is disconnected to ground, and the power supply Vdd again charges the external modulation capacitor Cmod.
  • the external modulation capacitor Cmod voltage V (Cmod) and the output of the comparator F1 are as shown in Figure 5-6.
  • the conductive sensing module 100 When a person approaches or touches the conductive sensing module 100, the conductive sensing module 100 is configured to receive an electrostatic charge of the human body when the human body approaches or touches. At this time, the sense capacitance Cx increases, and the equivalent resistance Rcx becomes small. The equivalent resistance Rcx becomes smaller, the charging current becomes larger, and the charging time of the external modulation capacitor Cmod becomes shorter. When the external modulation capacitor Cmod is charged, the charging time becomes shorter and the discharge time does not change. At this time, after the AND gate Y1 sums the duty signal from the pulse width modulation module PWM and the bit stream signal from the latch L1, the obtained duty ratio becomes large, and the counter CN1 can be turned on for a longer time. .
  • the counter CN1 counts more, as shown in FIG.
  • the value of the counter can be calculated by employing the processing module 250, and then it is determined whether someone is approaching or touching the conductive sensing module 100. For example, when the count is greater than the set value, it is determined that a person approaches or touches the conductive sensing module 100 to generate an open valve drive signal. When the count is less than the set value, it is determined that no one approaches or touches the conductive sensing module 100 to generate an open valve drive signal.
  • the capacitor control module 200 further includes a clock module composed of a clock source PRS, an oscillation module OS1, and a branching module r.
  • the clock source PRS is connected to an input end of the oscillation module OS1.
  • the output of the oscillation module OS1 is connected to the input of the branching module r.
  • the output ends of the splitting module r are respectively connected to the clock widths of the pulse width modulation module PWM, the latch L1 and the counter CN1.
  • the clock source PRS simultaneously controls the first control switch ⁇ 1 and the second control switch ⁇ 2.
  • a person skilled in the art may separately set a clock in the pulse width modulation module PWM, the latch L1 and the counter CN1, or may have a clock built in the processing module 250, or adopt a clock.
  • the processing module 250 controls the first control switch ⁇ 1 and the second control switch ⁇ 2.
  • proximity sensing can be realized without installing a separate sensor. And because there are no separate sensors, there is no problem with sensor life. Since the electrostatic charge is sensed by the human body, there is no directivity, and the proximity and proximity of the body can be triggered to turn on and off. Further, since the control is based on the charge discharge of the electrostatic charge control capacitor, different sensing distances can be set according to the user. Further, since the present invention does not measure the capacitance voltage to determine whether someone is approaching or touching, as in the conventional method, but by determining whether the charging voltage is greater than the reference voltage, the accuracy problem caused by the voltage conversion is minimized. Therefore, the sensitivity is better.

Landscapes

  • Electronic Switches (AREA)

Abstract

A proximity sensing switch comprises: a conductive sensing module (100), used for receiving electrostatic charges of a human body when the human body approaches; a capacitor control module (200), used for controlling charging and discharging of a capacitor according to the electrostatic charges so as to generate a valve drive signal; and a valve drive module (300), used for controlling opening and closing of a valve module (400) according to the valve drive signal. Because the conductive sensing module itself is used as a sensor, proximity sensing can be implemented without mounting an independent sensor and the problem of the service life of the independent sensor does not need to be considered. Because the electrostatic charges of the human body are sensed, the proximity sensing switch has no directivity and the switch can be triggered to switch on and switch off as long as the switch approaches an inductor. In addition, charging and discharging of a capacitor is controlled according to the electrostatic charges, so that different sensing distances can be set according to users.

Description

接近式感应开关  Proximity sensor switch 技术领域 Technical field
本发明涉及感应开关领域,更具体地说,涉及一种接近式感应开关。  The present invention relates to the field of inductive switches, and more particularly to a proximity inductive switch.
背景技术 Background technique
现有的感应开关通常是使用红外接近传感器或者普通的电容式感应器产生开关控制信号。驱动电路基于该开关控制信号控制电磁阀开关。然而红外感应开关需要独立或者集成安装红外接近传感器。由于红外接近传感器长期处于工作状态,使用寿命有限。并且红外接近传感器有指向性,感应区域相对较小,因此在使用时,用户要进入红外接近传感器指定的区域才能触发开关。而普通的电容感应开关的感应距离很短,且不能改变。Existing inductive switches typically use an infrared proximity sensor or a conventional capacitive sensor to generate a switch control signal. The drive circuit controls the solenoid valve switch based on the switch control signal. However, infrared sensor switches require independent or integrated installation of infrared proximity sensors. Since the infrared proximity sensor is in operation for a long time, the service life is limited. And the infrared proximity sensor has directivity, and the sensing area is relatively small, so when in use, the user has to enter the area specified by the infrared proximity sensor to trigger the switch. The sensing distance of a conventional capacitive sensing switch is very short and cannot be changed.
因此,需要一种无需额外安装接近传感器、感应区域较大且感应距离可以设定的接近式感应开关。Therefore, there is a need for a proximity sensor switch that does not require an additional proximity sensor, a large sensing area, and a sensing distance that can be set.
发明内容 Summary of the invention
本发明要解决的技术问题在于,针对现有技术的接近式感应开关需要额外安装接近传感器、感应区域较小且感应距离固定的缺陷,提供一种无需额外安装接近传感器、感应区域较大且感应距离可以设定的接近式感应开关。 The technical problem to be solved by the present invention is that the proximity sensing switch of the prior art requires an additional proximity sensor, a small sensing area and a fixed sensing distance, and provides a large proximity sensing sensor without additional installation of the proximity sensor. A proximity proximity switch that can be set.
本发明解决其技术问题所采用的技术方案是:构造一种接近式感应开关,包括:The technical solution adopted by the present invention to solve the technical problem is to construct a proximity sensor switch, including:
导电感应模块,用于在人体接近时接收人体的静电电荷;a conductive sensing module for receiving an electrostatic charge of the human body when the human body approaches;
电容控制模块,用于基于所述静电电荷控制电容的充电放电以生成阀驱动信号;a capacitance control module for controlling a charging discharge of the capacitor based on the electrostatic charge to generate a valve driving signal;
阀驱动模块,用于基于所述阀驱动信号控制阀门模块的开启和关闭。A valve drive module for controlling opening and closing of the valve module based on the valve drive signal.
在本发明所述的接近式感应开关中,所述电容控制器进一步包括:In the proximity sensor switch of the present invention, the capacitor controller further includes:
电容充放电模块,用于基于所述静电电荷对电容进行充电放电;a capacitor charging and discharging module, configured to charge and discharge the capacitor based on the electrostatic charge;
脉冲宽度调制模块,用于按照预定设置生成占空比信号;a pulse width modulation module for generating a duty cycle signal according to a predetermined setting;
比特流信号生成模块,用于基于所述充电放电生成比特流信号;a bit stream signal generating module, configured to generate a bit stream signal based on the charging discharge;
计数模块,用于基于所述占空比信号和所述比特流信号生成计数;a counting module, configured to generate a count based on the duty cycle signal and the bit stream signal;
处理模块,用于基于所述计数生成阀驱动信号。A processing module for generating a valve drive signal based on the count.
在本发明所述的接近式感应开关中,所述电容充放电模块包括感应电容、外部调制电容和放电电阻,所述感应电容的第一端经第一控制开关连接到电源、所述感应电容的第二端接地,所述外部调制电容的第一端依次经第二控制开关和第一控制开关连接到电源、所述外部调制电容的第二端接地,所述放电电阻的第一端连接到所述外部调制电容的第一端和所述比特流信号生成模块、所述放电电阻的第二端经第三控制开关接地。In the proximity sensor switch of the present invention, the capacitor charging and discharging module includes a sensing capacitor, an external modulation capacitor, and a discharge resistor, and the first end of the sensing capacitor is connected to a power source via the first control switch, and the sensing capacitor The second end of the external modulation capacitor is connected to the power source via the second control switch and the first control switch, and the second end of the external modulation capacitor is grounded, and the first end of the discharge resistor is connected The first end of the external modulation capacitor and the bit stream signal generating module and the second end of the discharging resistor are grounded via a third control switch.
在本发明所述的接近式感应开关中,所述比特流信号生成模块包括比较器和锁存器,所述比较器的第一输入端连接所述电容充放电模块、所述比较器的第二输入端连接参考电压信号、所述比较器的输出端连接所述锁存器的输入端,所述锁存器的输出端连接所述计数模块和所述电容充放电模块。In the proximity sensor switch of the present invention, the bit stream signal generating module includes a comparator and a latch, and the first input end of the comparator is connected to the capacitor charging and discharging module, and the comparator The input terminal is connected to the input terminal of the latch, and the output of the latch is connected to the counting module and the capacitor charging and discharging module.
在本发明所述的接近式感应开关中,所述计数模块包括与门和计数器,所述与门的第一输入端连接所述脉冲宽度调制模块、所述与门的第二输入端连接所述比特流信号生成模块、所述与门的输出端连接所述计数器的输入端。In the proximity sensor switch of the present invention, the counting module includes an AND gate and a counter, and the first input end of the AND gate is connected to the pulse width modulation module, and the second input end of the AND gate is connected The bit stream signal generating module and the output end of the AND gate are connected to an input end of the counter.
在本发明所述的接近式感应开关中,所述电容控制器进一步包括用于生成时钟信号的时钟模块。In the proximity sensor switch of the present invention, the capacitance controller further includes a clock module for generating a clock signal.
在本发明所述的接近式感应开关中,所述时钟模块包括时钟源、振荡模块、分波模块,所述时钟源与所述振荡模块的输入端相连,所述振荡模块的输出端连接所述分波模块的输入端,所述分波模块的输出端分别连接所述脉冲宽度调制模块、所述比特流信号生成模块和所述计数模块的时钟端。In the proximity sensor switch of the present invention, the clock module includes a clock source, an oscillating module, and a branching module, and the clock source is connected to an input end of the oscillating module, and an output end of the oscillating module is connected to the The input end of the branching module is connected to the pulse width modulation module, the bit stream signal generating module and the clock end of the counting module.
本发明解决其技术问题采用的另一技术方案是,构造一种接近式感应开关,包括:导电感应模块、 感应电容、外部调制电容、放电电阻,比较器、锁存器、与门、脉冲宽度调制模块、计数器、处理模块、阀驱动模块和阀门模块;其中所述导电感应模块用于在人体接近时接收人体的静电电荷,所述感应电容感应所述静电电荷,所述感应电容的第一端经第一控制开关连接到电源、所述感应电容的第二端接地,所述外部调制电容的第一端依次经第二控制开关和第一控制开关连接到电源、所述外部调制电容的第二端接地,所述放电电阻的第一端连接到所述外部调制电容的第一端和所述比较器的第一输入端、所述放电电阻的第二端经第三控制开关接地,所述比较器的第二输入端连接参考电压信号、所述比较器的输出端连接所述锁存器的输入端,所述锁存器的输出端连接所述第三控制开关和所述与门的第二输入端、所述与门的第一输入端连接所述脉冲宽度调制模块、所述与门的输出端连接所述计数器的输入端,所述计数器的输出端连接所述处理模块以输出计数,所述处理模块基于所述计数生成阀驱动信号,所述阀驱动模块基于所述阀驱动信号控制阀门模块的开启和关闭。Another technical solution adopted by the present invention to solve the technical problem is to construct a proximity sensing switch, including: a conductive sensing module, Inductive capacitor, external modulation capacitor, discharge resistor, comparator, latch, AND gate, pulse width modulation module, counter, processing module, valve drive module and valve module; wherein the conductive sensing module is used to receive when the human body approaches An electrostatic charge of the human body, the induced capacitance sensing the electrostatic charge, the first end of the sensing capacitor is connected to the power source via a first control switch, the second end of the sensing capacitor is grounded, and the first externally modulated capacitor The terminal is connected to the power source via the second control switch and the first control switch, and the second end of the external modulation capacitor is grounded, the first end of the discharge resistor is connected to the first end of the external modulation capacitor and the comparison a first input end of the device, a second end of the discharge resistor is grounded via a third control switch, a second input of the comparator is coupled to a reference voltage signal, and an output of the comparator is coupled to the latch Input end, the output end of the latch is connected to the third control switch and the second input end of the AND gate, and the first input end of the AND gate is connected to the pulse width a modulation module, an output end of the AND gate connected to an input end of the counter, an output end of the counter connected to the processing module to output a count, the processing module generating a valve driving signal based on the counting, the valve driving The module controls the opening and closing of the valve module based on the valve drive signal.
在本发明所述的接近式感应开关中,所述电容控制器进一步包括用于生成时钟信号的时钟模块。In the proximity sensor switch of the present invention, the capacitance controller further includes a clock module for generating a clock signal.
在本发明所述的接近式感应开关中,所述时钟模块包括时钟源、振荡模块、分波模块,所述时钟源与所述振荡模块的输入端相连,所述振荡模块的输出端连接所述分波模块的输入端,所述分波模块的输出端分别连接所述脉冲宽度调制模块、所述锁存器和所述计数器的时钟端。In the proximity sensor switch of the present invention, the clock module includes a clock source, an oscillating module, and a branching module, and the clock source is connected to an input end of the oscillating module, and an output end of the oscillating module is connected to the The input end of the branching module is connected to the pulse width modulation module, the latch, and the clock end of the counter.
实施本发明的接近式感应开关,由于采用了导电感应模块自身当作传感器,无需安装独立的传感器就可以实现接近感应。并且因为不存在独立的传感器,没有传感器使用寿命的问题。由于通过对人体静电电荷进行感应,因此无指向性,只要接近感应体即可触发开和关。此外,由于基于所述静电电荷控制电容的充电放电进行控制,因此可以根据用户设定不同的感应距离。By implementing the proximity sensor switch of the present invention, since the conductive sensing module itself is used as the sensor, proximity sensing can be realized without installing a separate sensor. And because there are no separate sensors, there is no problem with sensor life. Since the electrostatic charge is sensed by the human body, there is no directivity, and the proximity and proximity of the body can be triggered to turn on and off. Further, since the control is based on the charge discharge of the electrostatic charge control capacitor, different sensing distances can be set according to the user.
附图说明DRAWINGS
下面将结合附图及实施例对本发明作进一步说明,附图中: The present invention will be further described below in conjunction with the accompanying drawings and embodiments, in which:
图1是本发明的接近式感应开关的第一实施例的原理框图;1 is a schematic block diagram of a first embodiment of a proximity sensor switch of the present invention;
图2是本发明的接近式感应开关的第二实施例的原理框图;Figure 2 is a schematic block diagram of a second embodiment of the proximity sensor switch of the present invention;
图3是本发明的接近式感应开关的第三实施例的电路原理图;Figure 3 is a circuit schematic diagram of a third embodiment of the proximity sensor switch of the present invention;
图4是图3所示的接近式感应开关的调制模式的等效电路图;4 is an equivalent circuit diagram of a modulation mode of the proximity type inductive switch shown in FIG. 3;
图5是图3所示的接近式感应开关的充放电过程的电压输出波形图;5 is a voltage output waveform diagram of a charging and discharging process of the proximity type inductive switch shown in FIG. 3;
图6是图3所示的接近式感应开关的充放电过程的比较器输出波形图;6 is a waveform diagram of a comparator output of a charge and discharge process of the proximity type inductive switch shown in FIG. 3;
图7是图3所示的接近式感应开关的充放电过程的计数过程的原理示意图。FIG. 7 is a schematic diagram showing the principle of the counting process of the charging and discharging process of the proximity type inductive switch shown in FIG.
具体实施方式detailed description
以上仅为本发明具体实施方式,不能以此来限定本发明的范围,本技术领域内的一般技术人员根据本创作所作的均等变化,以及本领域内技术人员熟知的改变,都应仍属本发明涵盖的范围。 The above is only the specific embodiment of the present invention, and the scope of the present invention is not limited thereto, and the average variation made by those skilled in the art according to the present creation, as well as the changes well known to those skilled in the art, should still be The scope covered by the invention.
图1是本发明的接近式感应开关的第一实施例的原理框图。如图1所示,所述接近式感应开关包括导电感应模块100、电容控制模块200、阀驱动模块300和阀门模块400。所述导电感应模块100用于在人体接近时接收人体的静电电荷。例如,该导电感应模块100可以是任何金属感应体、石墨导电体,聚合物感应体或者其他导电材料感应体。在本发明的优选实施例中,该导电感应模块100可以是例如金属水龙头,控制电灯、电视、冰箱等等家用电器的金属按键等等。所述电容控制模块200用于基于所述静电电荷控制电容的充电放电以生成阀驱动信号。所述电容控制模块200从所述导电感应模块100接收静电电荷。由于人靠近和离开时,接收到的静电电荷数量不同,这将导致电容的充电放电时间不同。所述电容控制模块200可基于这一差别生成阀驱动信号。所述阀驱动模块300从所述电容控制模块200接收该阀驱动信号,并基于该阀驱动信号控制阀门模块400的开启和关闭。在本发明的一个实施例中,该阀门模块400可以是电磁阀,所述阀驱动模块300可以是电磁阀驱动电路。在本发明的其他实施例中,该阀门模块可以是其他开关器件,例如三极管、晶体管等等。而所述阀驱动模块300可以是三极管驱动电路或者晶体管驱动电路等等。BRIEF DESCRIPTION OF THE DRAWINGS Figure 1 is a schematic block diagram of a first embodiment of a proximity sensor switch of the present invention. As shown in FIG. 1 , the proximity sensor switch includes a conductive sensing module 100 , a capacitor control module 200 , a valve driving module 300 , and a valve module 400 . The conductive sensing module 100 is configured to receive an electrostatic charge of a human body when the human body approaches. For example, the conductive sensing module 100 can be any metal inductor, graphite conductor, polymer inductor or other conductive material inductor. In a preferred embodiment of the present invention, the conductive sensing module 100 may be, for example, a metal faucet, a metal button for controlling a household appliance such as an electric lamp, a television, a refrigerator, or the like. The capacitance control module 200 is configured to control a charge discharge of the capacitor based on the electrostatic charge to generate a valve drive signal. The capacitance control module 200 receives an electrostatic charge from the conductive sensing module 100. Since the amount of electrostatic charge received is different when people approach and leave, this will result in different charging and discharging times of the capacitor. The capacitance control module 200 can generate a valve drive signal based on this difference. The valve drive module 300 receives the valve drive signal from the capacitance control module 200 and controls opening and closing of the valve module 400 based on the valve drive signal. In one embodiment of the invention, the valve module 400 can be a solenoid valve, and the valve actuation module 300 can be a solenoid valve drive circuit. In other embodiments of the invention, the valve module can be other switching devices such as transistors, transistors, and the like. The valve driving module 300 may be a triode driving circuit or a transistor driving circuit or the like.
实施本发明的接近式感应开关,由于采用了导电感应模块自身当作传感器,无需安装独立的传感器就可以实现接近感应。并且因为不存在独立的传感器,没有传感器使用寿命的问题。由于通过对人体静电电荷进行感应,因此无指向性,只要接近感应体即可触发开和关。此外,由于基于所述静电电荷控制电容的充电放电进行控制,因此可以根据用户设定不同的感应距离。By implementing the proximity sensor switch of the present invention, since the conductive sensing module itself is used as the sensor, proximity sensing can be realized without installing a separate sensor. And because there are no separate sensors, there is no problem with sensor life. Since the electrostatic charge is sensed by the human body, there is no directivity, and the proximity and proximity of the body can be triggered to turn on and off. Further, since the control is based on the charge discharge of the electrostatic charge control capacitor, different sensing distances can be set according to the user.
图2是本发明的接近式感应开关的第二实施例的原理框图。如图2所示,所述接近式感应开关包括导电感应模块100、电容控制模块200、阀驱动模块300和阀门模块400。在本实施例中,所述导电感应模块100、阀驱动模块300和阀门模块400可以按照图1所示的实施例构建,在此就不再累述了。2 is a schematic block diagram of a second embodiment of the proximity sensor switch of the present invention. As shown in FIG. 2, the proximity sensor switch includes a conductive sensing module 100, a capacitor control module 200, a valve driving module 300, and a valve module 400. In this embodiment, the conductive sensing module 100, the valve driving module 300, and the valve module 400 can be constructed according to the embodiment shown in FIG. 1, and will not be described here.
在本实施例中,所述电容控制模块200包括电容充放电模块210、脉冲宽度调制模块220、比特流信号生成模块230、计数模块240和处理模块250。在本实施例中,所述电容充放电模块210用于基于所述静电电荷对电容进行充电放电。例如,所述电容充放电模块210可以是任何的LC充放电电路,或者LRC充放电电路。所述脉冲宽度调制模块220用于按照预定设置生成占空比信号。例如所述脉冲宽度调制模块220可以是任何的脉冲宽度调制电路、芯片或者程序模块。所述比特流信号生成模块230用于基于所述充电放电生成比特流信号。例如,所述比特流信号生成模块230可以根据充放电时间和电压大小生成比特流信号。所述计数模块240用于基于所述占空比信号和所述比特流信号生成计数。例如,所述计数模块240可以采用任何的计数器进行计数。所述处理模块250可以基于所述计数生成阀驱动信号。例如,当所述计数大于设定数值的时候,生成开启的阀驱动信号。当所述计数小于设定数值的时候,生成关闭的阀驱动信号。In this embodiment, the capacitance control module 200 includes a capacitor charging and discharging module 210, a pulse width modulation module 220, a bit stream signal generating module 230, a counting module 240, and a processing module 250. In this embodiment, the capacitor charging and discharging module 210 is configured to charge and discharge the capacitor based on the electrostatic charge. For example, the capacitor charging and discharging module 210 can be any LC charging and discharging circuit, or an LRC charging and discharging circuit. The pulse width modulation module 220 is configured to generate a duty cycle signal in accordance with a predetermined setting. For example, the pulse width modulation module 220 can be any pulse width modulation circuit, chip or program module. The bit stream signal generation module 230 is configured to generate a bit stream signal based on the charge discharge. For example, the bitstream signal generation module 230 can generate a bitstream signal based on the charge and discharge time and the magnitude of the voltage. The counting module 240 is configured to generate a count based on the duty cycle signal and the bit stream signal. For example, the counting module 240 can count using any counter. The processing module 250 can generate a valve drive signal based on the count. For example, when the count is greater than the set value, an open valve drive signal is generated. When the count is less than the set value, a closed valve drive signal is generated.
实施本发明的接近式感应开关,由于采用了导电感应模块自身当作传感器,无需安装独立的传感器就可以实现接近感应。并且因为不存在独立的传感器,没有传感器使用寿命的问题。由于通过对人体静电电荷进行感应,因此无指向性,只要接近感应体即可触发开和关。此外,由于基于所述静电电荷控制电容的充电放电进行控制,因此可以根据用户设定不同的感应距离。By implementing the proximity sensor switch of the present invention, since the conductive sensing module itself is used as the sensor, proximity sensing can be realized without installing a separate sensor. And because there are no separate sensors, there is no problem with sensor life. Since the electrostatic charge is sensed by the human body, there is no directivity, and the proximity and proximity of the body can be triggered to turn on and off. Further, since the control is based on the charge discharge of the electrostatic charge control capacitor, different sensing distances can be set according to the user.
图3是本发明的接近式感应开关的第三实施例的电路原理图。图3中主要示出了电容控制模块200的构造。如图3所示,电容控制模块200包括感应电容Cx、外部调制电容Cmod、放电电阻RB,比较器F1、锁存器L1、与门Y1、脉冲宽度调制模块PWM、计数器CN1、处理模块250。其中感应电容Cx、外部调制电容Cmod、放电电阻RB构成了图2所示的电容充放电模块210。脉冲宽度调制模块PWM构成图2所示的脉冲宽度调制模块220。比较器F1、锁存器L1构成了图2所示的比特流信号生成模块230。与门Y1、计数器CN1构成图2所示的计数模块240。Figure 3 is a circuit schematic diagram of a third embodiment of the proximity sensor switch of the present invention. The configuration of the capacitance control module 200 is mainly shown in FIG. As shown in FIG. 3, the capacitance control module 200 includes a sensing capacitor Cx, an external modulation capacitor Cmod, a discharge resistor RB, a comparator F1, a latch L1, an AND gate Y1, a pulse width modulation module PWM, a counter CN1, and a processing module 250. The sensing capacitor Cx, the external modulation capacitor Cmod, and the discharging resistor RB constitute the capacitor charging and discharging module 210 shown in FIG. 2. The pulse width modulation module PWM constitutes the pulse width modulation module 220 shown in FIG. The comparator F1 and the latch L1 constitute the bit stream signal generating module 230 shown in FIG. 2. The AND gate Y1 and the counter CN1 constitute the counting module 240 shown in FIG. 2.
如图3所示,所述感应电容Cx的第一端经第一控制开关φ1连接到电源VDD、所述感应电容Cx的第二端接地。所述外部调制电容Cmod的第一端依次经第二控制开关φ2和第一控制开关φ1连接到电源VDD。所述外部调制电容Cmod的第二端接地。所述放电电阻RB的第一端连接到所述外部调制电容Cmod的第一端和所述比较器F1的第一输入端。所述放电电阻RB的第二端经第三控制开关φ3接地,所述比较器F1的第二输入端连接参考电压信号VREF。所述比较器F1的输出端连接所述锁存器L1的输入端。所述锁存器L1的输出端连接所述第三控制开关φ3和所述与门Y1的第二输入端。所述与门Y1的第一输入端连接所述脉冲宽度调制模块PWM。所述与门Y1的输出端连接所述计数器CN1的输入端以输出计数。所述处理模块250基于所述计数生成阀驱动信号。As shown in FIG. 3, the first end of the sensing capacitor Cx is connected to the power supply VDD via the first control switch φ1, and the second end of the sensing capacitor Cx is grounded. The first end of the external modulation capacitor Cmod is sequentially connected to the power supply VDD via the second control switch φ2 and the first control switch φ1. The second end of the external modulation capacitor Cmod is grounded. A first end of the discharge resistor RB is coupled to a first end of the external modulation capacitor Cmod and a first input of the comparator F1. The second end of the discharge resistor RB is grounded via a third control switch φ3, and the second input of the comparator F1 is connected to the reference voltage signal VREF. The output of the comparator F1 is connected to the input of the latch L1. An output end of the latch L1 is connected to the third control switch φ3 and a second input terminal of the AND gate Y1. The first input of the AND gate Y1 is coupled to the pulse width modulation module PWM. The output of the AND gate Y1 is connected to the input of the counter CN1 to output a count. The processing module 250 generates a valve drive signal based on the count.
图4是图3所示的接近式感应开关的调制模式的等效电路图。图5是图3所示的接近式感应开关的充放电过程的电压输出波形图。图6是图3所示的接近式感应开关的充放电过程的比较器输出波形图。图7是图3所示的接近式感应开关的充放电过程的计数过程的原理示意图。下面将结合图4-7,对图3所示的接近式感应开关的原理说明如下。4 is an equivalent circuit diagram of a modulation mode of the proximity type inductive switch shown in FIG. Fig. 5 is a diagram showing voltage output waveforms of a charge and discharge process of the proximity type inductive switch shown in Fig. 3. Fig. 6 is a diagram showing a comparator output waveform of a charge and discharge process of the proximity type inductive switch shown in Fig. 3. FIG. 7 is a schematic diagram showing the principle of the counting process of the charging and discharging process of the proximity type inductive switch shown in FIG. The principle of the proximity sensor switch shown in Fig. 3 will be described below with reference to Figs. 4-7.
如图3-4所示,第一控制开关φ1闭合时,利用电源VDD对感应电容Cx进行充电。第一控制开关φ1断开而第二控制开关φ2断开时,利用感应电容Cx对外部调制电容Cmod进行充电。当Cmod充电电压达到参考电压Vref时,比较器F1输出高电平。锁存器L1将锁存高电平。锁存器L1的高电平控制第三控制开关φ3闭合,从而利用放电电阻RB进行放电。锁存器L1使能所述脉冲宽度调制模块PWM输出到与门Y1;直到锁存器L1有新状态更新。与门Y1结合所述脉冲宽度调制模块PWM输出的占空比和锁存器L1输出的比特流信号,并将其提供给计数器CN1的输入端。计数器CN1输出计数到处理模块250。处理模块250最后将计数器CN1的值进行处理判断是否有手指触摸。As shown in FIG. 3-4, when the first control switch φ1 is closed, the sensing capacitor Cx is charged by the power source VDD. When the first control switch φ1 is turned off and the second control switch φ2 is turned off, the external modulation capacitor Cmod is charged by the sense capacitor Cx. When the Cmod charging voltage reaches the reference voltage Vref, the comparator F1 outputs a high level. Latch L1 will latch high. The high level of the latch L1 controls the third control switch φ3 to be closed, thereby discharging by the discharge resistor RB. Latch L1 enables the PWM modulation module PWM output to AND gate Y1; until latch L1 has a new status update. The duty ratio of the pulse width modulation module PWM output and the bit stream signal output from the latch L1 are combined with the gate Y1 and supplied to the input terminal of the counter CN1. Counter CN1 outputs a count to processing module 250. The processing module 250 finally processes the value of the counter CN1 to determine if there is a finger touch.
结合图3和图5可知,可以将所述感应电容Cx转换为等效电阻Rcx。电阻Vdd通过等效电阻Rcx对外部调制电容Cmod进行充电,知道充电达到参考电压Vref。比较器F1输出高电平,锁存器L1锁存高电平,放电电阻RB接入地,对外部调制电容Cmod进行放电,当外部调制电容Cmod电压低于参考电压Vref时,比较器F1输出低电平,放电电阻RB对地断开,电源Vdd再次对外部调制电容Cmod进行充电。在充放电过程中,外部调制电容Cmod电压V(Cmod)以及比较器F1输出如图5-6。3 and FIG. 5, the sensing capacitor Cx can be converted into an equivalent resistor Rcx. The resistor Vdd charges the external modulation capacitor Cmod through the equivalent resistor Rcx, knowing that the charge reaches the reference voltage Vref. The comparator F1 outputs a high level, the latch L1 latches a high level, the discharge resistor RB accesses the ground, and discharges the external modulation capacitor Cmod. When the external modulation capacitor Cmod voltage is lower than the reference voltage Vref, the comparator F1 outputs Low level, the discharge resistor RB is disconnected to ground, and the power supply Vdd again charges the external modulation capacitor Cmod. During charging and discharging, the external modulation capacitor Cmod voltage V (Cmod) and the output of the comparator F1 are as shown in Figure 5-6.
在有人接近或者触摸导电感应模块100时,所述导电感应模块100用于在人体接近或触摸时接收人体的静电电荷。此时感应电容Cx增大,等效电阻Rcx就变小。等效电阻Rcx就变小,充电电流就变大,外部调制电容Cmod的充电时间就变短。当外部调制电容Cmod充电时间变短而放电时间不变。这时,通过与门Y1将来自脉冲宽度调制模块PWM的占空比信号和来自锁存器L1的所述比特流信号求与之后,获得的占空比变大,可以更长时间开启计数器CN1。由于开启计数器CN1的时间更长,计数器CN1计数就越多,如图7所示。通过采用处理模块250可以计算计数器的值,然后判断是否有人接近或者触摸导电感应模块100。例如,当所述计数大于设定数值的时候,判断有人接近或者触摸导电感应模块100,生成开启的阀驱动信号。当所述计数小于设定数值的时候,判断没有人接近或者触摸导电感应模块100,生成开启的阀驱动信号。When a person approaches or touches the conductive sensing module 100, the conductive sensing module 100 is configured to receive an electrostatic charge of the human body when the human body approaches or touches. At this time, the sense capacitance Cx increases, and the equivalent resistance Rcx becomes small. The equivalent resistance Rcx becomes smaller, the charging current becomes larger, and the charging time of the external modulation capacitor Cmod becomes shorter. When the external modulation capacitor Cmod is charged, the charging time becomes shorter and the discharge time does not change. At this time, after the AND gate Y1 sums the duty signal from the pulse width modulation module PWM and the bit stream signal from the latch L1, the obtained duty ratio becomes large, and the counter CN1 can be turned on for a longer time. . Since the time for turning on the counter CN1 is longer, the counter CN1 counts more, as shown in FIG. The value of the counter can be calculated by employing the processing module 250, and then it is determined whether someone is approaching or touching the conductive sensing module 100. For example, when the count is greater than the set value, it is determined that a person approaches or touches the conductive sensing module 100 to generate an open valve drive signal. When the count is less than the set value, it is determined that no one approaches or touches the conductive sensing module 100 to generate an open valve drive signal.
在图3所示的实施例中,电容控制模块200还包括时钟源PRS、振荡模块OS1、分波模块r构成的时钟模块。如图3所示,所述时钟源PRS与所述振荡模块OS1的输入端相连。所述振荡模块OS1的输出端连接所述分波模块r的输入端。所述分波模块r的输出端分别连接所述脉冲宽度调制模块PWM、所述锁存器L1和所述计数器CN1的时钟端。如图3所示,所述时钟源PRS同时控制第一控制开关φ1和第二控制开关φ2。在本发明的其他实施例中,本领域技术人员可以分别在所述脉冲宽度调制模块PWM、所述锁存器L1和所述计数器CN1内置时钟,也可以在处理模块250中内置时钟,或者采用处理模块250控制第一控制开关φ1和第二控制开关φ2。In the embodiment shown in FIG. 3, the capacitor control module 200 further includes a clock module composed of a clock source PRS, an oscillation module OS1, and a branching module r. As shown in FIG. 3, the clock source PRS is connected to an input end of the oscillation module OS1. The output of the oscillation module OS1 is connected to the input of the branching module r. The output ends of the splitting module r are respectively connected to the clock widths of the pulse width modulation module PWM, the latch L1 and the counter CN1. As shown in FIG. 3, the clock source PRS simultaneously controls the first control switch φ1 and the second control switch φ2. In other embodiments of the present invention, a person skilled in the art may separately set a clock in the pulse width modulation module PWM, the latch L1 and the counter CN1, or may have a clock built in the processing module 250, or adopt a clock. The processing module 250 controls the first control switch φ1 and the second control switch φ2.
实施本发明的接近式感应开关,由于采用了导电感应模块自身当作传感器,无需安装独立的传感器就可以实现接近感应。并且因为不存在独立的传感器,没有传感器使用寿命的问题。由于通过对人体静电电荷进行感应,因此无指向性,只要接近感应体即可触发开和关。此外,由于基于所述静电电荷控制电容的充电放电进行控制,因此可以根据用户设定不同的感应距离。更进一步地,由于本发明没有像传统方式一样,将电容电压进行测量从而却确定是否有人靠近或触摸,而是通过判断充电电压是否大于参考电压,因此将电压转换导致的精度问题减小到最小,因此灵敏度更佳。By implementing the proximity sensor switch of the present invention, since the conductive sensing module itself is used as the sensor, proximity sensing can be realized without installing a separate sensor. And because there are no separate sensors, there is no problem with sensor life. Since the electrostatic charge is sensed by the human body, there is no directivity, and the proximity and proximity of the body can be triggered to turn on and off. Further, since the control is based on the charge discharge of the electrostatic charge control capacitor, different sensing distances can be set according to the user. Further, since the present invention does not measure the capacitance voltage to determine whether someone is approaching or touching, as in the conventional method, but by determining whether the charging voltage is greater than the reference voltage, the accuracy problem caused by the voltage conversion is minimized. Therefore, the sensitivity is better.
虽然本发明是通过具体实施例进行说明的,本领域技术人员应当明白,在不脱离本发明范围的情况下,还可以对本发明进行各种变换及等同替代。因此,本发明不局限于所公开的具体实施例,而应当包括落入本发明权利要求范围内的全部实施方式。While the invention has been described by way of specific embodiments, the embodiments of the invention Therefore, the invention is not limited to the specific embodiments disclosed, but all the embodiments falling within the scope of the appended claims.

Claims (10)

1、一种接近式感应开关,其特征在于,包括:A proximity sensor switch, comprising:
导电感应模块,用于在人体接近时接收人体的静电电荷;a conductive sensing module for receiving an electrostatic charge of the human body when the human body approaches;
电容控制模块,用于基于所述静电电荷控制电容的充电放电以生成阀驱动信号;a capacitance control module for controlling a charging discharge of the capacitor based on the electrostatic charge to generate a valve driving signal;
阀驱动模块,用于基于所述阀驱动信号控制阀门模块的开启和关闭。A valve drive module for controlling opening and closing of the valve module based on the valve drive signal.
2、根据权利要求1所述的接近式感应开关,其特征在于,所述电容控制器进一步包括:2. The proximity sensor switch of claim 1, wherein the capacitance controller further comprises:
电容充放电模块,用于基于所述静电电荷对电容进行充电放电;a capacitor charging and discharging module, configured to charge and discharge the capacitor based on the electrostatic charge;
脉冲宽度调制模块,用于按照预定设置生成占空比信号;a pulse width modulation module for generating a duty cycle signal according to a predetermined setting;
比特流信号生成模块,用于基于所述充电放电生成比特流信号;a bit stream signal generating module, configured to generate a bit stream signal based on the charging discharge;
计数模块,用于基于所述占空比信号和所述比特流信号生成计数;a counting module, configured to generate a count based on the duty cycle signal and the bit stream signal;
处理模块,用于基于所述计数生成阀驱动信号。A processing module for generating a valve drive signal based on the count.
3、根据权利要求2所述的接近式感应开关,其特征在于,所述电容充放电模块包括感应电容、外部调制电容和放电电阻,所述感应电容的第一端经第一控制开关连接到电源、所述感应电容的第二端接地,所述外部调制电容的第一端依次经第二控制开关和第一控制开关连接到电源、所述外部调制电容的第二端接地,所述放电电阻的第一端连接到所述外部调制电容的第一端和所述比特流信号生成模块、所述放电电阻的第二端经第三控制开关接地。The proximity sensor of claim 2, wherein the capacitor charging and discharging module comprises an inductive capacitor, an external modulation capacitor and a discharge resistor, and the first end of the inductive capacitor is connected to the first control switch The second end of the external modulation capacitor is grounded, the first end of the external modulation capacitor is sequentially connected to the power source via the second control switch and the first control switch, and the second end of the external modulation capacitor is grounded, the discharge A first end of the resistor is coupled to the first end of the external modulation capacitor and the bit stream signal generating module, and the second end of the discharge resistor is grounded via a third control switch.
4、根据权利要求2所述的接近式感应开关,其特征在于,所述比特流信号生成模块包括比较器和锁存器,所述比较器的第一输入端连接所述电容充放电模块、所述比较器的第二输入端连接参考电压信号、所述比较器的输出端连接所述锁存器的输入端,所述锁存器的输出端连接所述计数模块和所述电容充放电模块。The proximity sensor switch according to claim 2, wherein the bit stream signal generating module comprises a comparator and a latch, and the first input end of the comparator is connected to the capacitor charging and discharging module, a second input end of the comparator is connected to a reference voltage signal, an output end of the comparator is connected to an input end of the latch, an output end of the latch is connected to the counting module, and the capacitor is charged and discharged. Module.
5、根据权利要求2所述的接近式感应开关,其特征在于,所述计数模块包括与门和计数器,所述与门的第一输入端连接所述脉冲宽度调制模块、所述与门的第二输入端连接所述比特流信号生成模块、所述与门的输出端连接所述计数器的输入端。The proximity sensor switch according to claim 2, wherein the counting module comprises an AND gate and a counter, the first input end of the AND gate is connected to the pulse width modulation module, the AND gate The second input is coupled to the bitstream signal generation module, and the output of the AND gate is coupled to the input of the counter.
6、根据权利要求1-5中任一权利要求所述的接近式感应开关,其特征在于,所述电容控制器进一步包括用于生成时钟信号的时钟模块。6. A proximity sensor switch according to any of claims 1-5, wherein the capacitance controller further comprises a clock module for generating a clock signal.
7、根据权利要求6所述的接近式感应开关,其特征在于,所述时钟模块包括时钟源、振荡模块、分波模块,所述时钟源与所述振荡模块的输入端相连,所述振荡模块的输出端连接所述分波模块的输入端,所述分波模块的输出端分别连接所述脉冲宽度调制模块、所述比特流信号生成模块和所述计数模块的时钟端。The proximity sensor switch according to claim 6, wherein the clock module comprises a clock source, an oscillating module, and a branching module, wherein the clock source is connected to an input end of the oscillating module, and the oscillating An output end of the module is connected to an input end of the branching module, and an output end of the branching module is respectively connected to the pulse width modulation module, the bit stream signal generating module and a clock end of the counting module.
8、一种接近式感应开关,其特征在于,包括:导电感应模块、 感应电容、外部调制电容、放电电阻,比较器、锁存器、与门、脉冲宽度调制模块、计数器、处理模块、阀驱动模块和阀门模块;其中所述导电感应模块用于在人体接近时接收人体的静电电荷,所述感应电容感应所述静电电荷,所述感应电容的第一端经第一控制开关连接到电源、所述感应电容的第二端接地,所述外部调制电容的第一端依次经第二控制开关和第一控制开关连接到电源、所述外部调制电容的第二端接地,所述放电电阻的第一端连接到所述外部调制电容的第一端和所述比较器的第一输入端、所述放电电阻的第二端经第三控制开关接地,所述比较器的第二输入端连接参考电压信号、所述比较器的输出端连接所述锁存器的输入端,所述锁存器的输出端连接所述第三控制开关和所述与门的第二输入端、所述与门的第一输入端连接所述脉冲宽度调制模块、所述与门的输出端连接所述计数器的输入端,所述计数器的输出端连接所述处理模块以输出计数,所述处理模块基于所述计数生成阀驱动信号,所述阀驱动模块基于所述阀驱动信号控制阀门模块的开启和关闭。8. A proximity sensor switch, comprising: a conductive sensing module, Inductive capacitor, external modulation capacitor, discharge resistor, comparator, latch, AND gate, pulse width modulation module, counter, processing module, valve drive module and valve module; wherein the conductive sensing module is used to receive when the human body approaches An electrostatic charge of the human body, the induced capacitance sensing the electrostatic charge, the first end of the sensing capacitor is connected to the power source via a first control switch, the second end of the sensing capacitor is grounded, and the first externally modulated capacitor The terminal is connected to the power source via the second control switch and the first control switch, and the second end of the external modulation capacitor is grounded, the first end of the discharge resistor is connected to the first end of the external modulation capacitor and the comparison a first input end of the device, a second end of the discharge resistor is grounded via a third control switch, a second input of the comparator is coupled to a reference voltage signal, and an output of the comparator is coupled to the latch Input end, the output end of the latch is connected to the third control switch and the second input end of the AND gate, and the first input end of the AND gate is connected to the pulse width a modulation module, an output of the AND gate connected to an input end of the counter, an output of the counter being connected to the processing module to output a count, the processing module generating a valve driving signal based on the counting, the valve The drive module controls opening and closing of the valve module based on the valve drive signal.
9、根据权利要求8所述的接近式感应开关,其特征在于,所述电容控制器进一步包括用于生成时钟信号的时钟模块。9. The proximity sensor switch of claim 8 wherein said capacitance controller further comprises a clock module for generating a clock signal.
10、根据权利要求9所述的接近式感应开关,其特征在于,所述时钟模块包括时钟源、振荡模块、分波模块,所述时钟源与所述振荡模块的输入端相连,所述振荡模块的输出端连接所述分波模块的输入端,所述分波模块的输出端分别连接所述脉冲宽度调制模块、所述锁存器和所述计数器的时钟端。The proximity sensor switch according to claim 9, wherein the clock module comprises a clock source, an oscillating module, and a branching module, wherein the clock source is connected to an input end of the oscillating module, and the oscillating An output end of the module is connected to an input end of the branching module, and an output end of the branching module is respectively connected to the pulse width modulation module, the latch, and a clock end of the counter.
PCT/CN2014/074275 2014-03-28 2014-03-28 Proximity sensing switch WO2015143707A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2014/074275 WO2015143707A1 (en) 2014-03-28 2014-03-28 Proximity sensing switch

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2014/074275 WO2015143707A1 (en) 2014-03-28 2014-03-28 Proximity sensing switch

Publications (1)

Publication Number Publication Date
WO2015143707A1 true WO2015143707A1 (en) 2015-10-01

Family

ID=54193941

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/074275 WO2015143707A1 (en) 2014-03-28 2014-03-28 Proximity sensing switch

Country Status (1)

Country Link
WO (1) WO2015143707A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106992774A (en) * 2017-04-18 2017-07-28 深圳和家园网络科技有限公司 Human body sensor circuit
CN115981507A (en) * 2023-03-20 2023-04-18 上海海栎创科技股份有限公司 Touch sensing system
CN117578351A (en) * 2024-01-16 2024-02-20 深圳市力生美半导体股份有限公司 Switching power supply, control method thereof and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002368597A (en) * 2001-06-06 2002-12-20 Sensus Yamamoto Co Ltd Nearness sensor
US20050068045A1 (en) * 2003-09-30 2005-03-31 Aisin Seiki Kabushiki Kaisha Capacitance detection apparatus
CN101060321A (en) * 2006-04-19 2007-10-24 北京希格玛和芯微电子技术有限公司 Charge transport device, touch induction device and method
US20070273560A1 (en) * 2006-05-25 2007-11-29 Cypress Semiconductor Corporation Low pin count solution using capacitance sensing matrix for keyboard architecture
CN201146489Y (en) * 2007-12-17 2008-11-05 伊玛精密电子(苏州)有限公司 Intelligent type capacitive approach switch
CN101833406A (en) * 2010-03-30 2010-09-15 福建华映显示科技有限公司 Touch panel detection circuit
CN202103646U (en) * 2011-06-17 2012-01-04 中国华录·松下电子信息有限公司 Non-contact capacitance induction switch
CN202451930U (en) * 2011-09-29 2012-09-26 开平吉星卫浴实业有限公司 Approach inductive electronic water tap
CN102843122A (en) * 2011-02-28 2012-12-26 赛普拉斯半导体公司 Capacitive sensing button on chip

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002368597A (en) * 2001-06-06 2002-12-20 Sensus Yamamoto Co Ltd Nearness sensor
US20050068045A1 (en) * 2003-09-30 2005-03-31 Aisin Seiki Kabushiki Kaisha Capacitance detection apparatus
CN101060321A (en) * 2006-04-19 2007-10-24 北京希格玛和芯微电子技术有限公司 Charge transport device, touch induction device and method
US20070273560A1 (en) * 2006-05-25 2007-11-29 Cypress Semiconductor Corporation Low pin count solution using capacitance sensing matrix for keyboard architecture
CN201146489Y (en) * 2007-12-17 2008-11-05 伊玛精密电子(苏州)有限公司 Intelligent type capacitive approach switch
CN101833406A (en) * 2010-03-30 2010-09-15 福建华映显示科技有限公司 Touch panel detection circuit
CN102843122A (en) * 2011-02-28 2012-12-26 赛普拉斯半导体公司 Capacitive sensing button on chip
CN202103646U (en) * 2011-06-17 2012-01-04 中国华录·松下电子信息有限公司 Non-contact capacitance induction switch
CN202451930U (en) * 2011-09-29 2012-09-26 开平吉星卫浴实业有限公司 Approach inductive electronic water tap

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106992774A (en) * 2017-04-18 2017-07-28 深圳和家园网络科技有限公司 Human body sensor circuit
CN115981507A (en) * 2023-03-20 2023-04-18 上海海栎创科技股份有限公司 Touch sensing system
CN115981507B (en) * 2023-03-20 2023-06-02 上海海栎创科技股份有限公司 Touch sensing system
CN117578351A (en) * 2024-01-16 2024-02-20 深圳市力生美半导体股份有限公司 Switching power supply, control method thereof and storage medium
CN117578351B (en) * 2024-01-16 2024-04-05 深圳市力生美半导体股份有限公司 Switching power supply, control method thereof and storage medium

Similar Documents

Publication Publication Date Title
CN106547415B (en) A kind of Embedded capacitance touch sensing device and its implementation
US8410797B2 (en) Capacitive sensor and sensing method
WO2015143707A1 (en) Proximity sensing switch
KR101488008B1 (en) Control circuit and control method for touch panel
TW201233867A (en) Washing machine
KR20100121605A (en) Multiple capacitance measuring circuits and methods
US9197207B2 (en) Touch sensor circuit and touch display device
TWI586067B (en) Electronic component, power receiving device, and power feeding system
CN107449810A (en) Electric capacity measure circuit, the input unit for having used it, electronic equipment
JP2011240110A (en) Washing machine
TW201810894A (en) DCDC converter
CN108777574B (en) Capacitive touch key circuit
CN204068914U (en) Proximity inductive switch
WO2015085469A1 (en) System and method for detecting power supply voltage and power supply system
US11716078B2 (en) Transistor switching based on voltage sensing
CN208013818U (en) Exchange turns direct current linear voltage-stabilizing circuit
CN109586553A (en) Circuit for driving power switch
CN111106820B (en) Touch key control system and control method thereof
CN110113055B (en) Pin multiplexing chip
US8129926B2 (en) Light source control device
TW201814455A (en) Charging calibration system and method thereof
CN113691251A (en) Capacitive sensing apparatus and method of sensing capacitance
KR101636645B1 (en) Programmable touch switches for AC power supply
TW201616143A (en) Power management system and detection apparatus for power module thereof
TW201324290A (en) Capacitive induction system and device, touch device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14887127

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase
122 Ep: pct application non-entry in european phase

Ref document number: 14887127

Country of ref document: EP

Kind code of ref document: A1