CN114244344A - Touch key detection device and detection method - Google Patents

Touch key detection device and detection method Download PDF

Info

Publication number
CN114244344A
CN114244344A CN202210079941.3A CN202210079941A CN114244344A CN 114244344 A CN114244344 A CN 114244344A CN 202210079941 A CN202210079941 A CN 202210079941A CN 114244344 A CN114244344 A CN 114244344A
Authority
CN
China
Prior art keywords
module
detection
voltage
gating
switch
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.)
Pending
Application number
CN202210079941.3A
Other languages
Chinese (zh)
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.)
Guangzhou Zhongji Guowei Electronic Technology Co ltd
Original Assignee
Guangzhou Zhongji Guowei Electronic Technology Co ltd
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 Guangzhou Zhongji Guowei Electronic Technology Co ltd filed Critical Guangzhou Zhongji Guowei Electronic Technology Co ltd
Priority to CN202210079941.3A priority Critical patent/CN114244344A/en
Publication of CN114244344A publication Critical patent/CN114244344A/en
Pending legal-status Critical Current

Links

Images

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/96Touch switches
    • H03K17/962Capacitive touch switches
    • H03K17/9622Capacitive touch switches using a plurality of detectors, e.g. keyboard

Landscapes

  • Electronic Switches (AREA)

Abstract

The invention discloses a touch key detection device and a detection method, wherein the device comprises a detection circuit, a processor and a plurality of touch keys, wherein the detection circuit is integrated with a gating module, a voltage detection module, a control module and a detection capacitor module; the gating module is used for sequentially conducting the detection capacitor module and one of the touch keys according to a preset sequence; the detection capacitor module is used for acquiring electric energy output by the touch key when the gating module is conducted; the voltage detection module is used for acquiring the real-time voltage of the detection capacitor module, counting when the real-time voltage starts to rise, stopping counting when the real-time voltage reaches a preset voltage threshold value and outputting a count value; the control module is used for obtaining the count value and outputting the count value to the processor so that the processor can calculate according to the count value and judge the state of the touch key.

Description

Touch key detection device and detection method
Technical Field
The invention relates to the technical field of touch key detection, in particular to a touch key detection device and a detection method.
Background
The capacitive touch key is applied to various electronic products, and has the characteristics of simple structure, convenience in assembly, good water resistance, oil resistance, moisture resistance and the like.
In the existing touch key detection mode, a touch key capacitor is mostly adopted to charge a detection capacitor, and the detection capacitor is detected, so that the state of the touch key is judged. However, in the current detection mode, since the detection circuit is externally connected with the detection capacitor and there are complex electromagnetic signals in the application environment, the touch key detection circuit is easily interfered by peripheral signals, for example, interference signals generated when a device using the touch key or other external devices works, and the like, and thus erroneous judgment is easily caused on the triggering or releasing of the touch key.
Disclosure of Invention
The technical problem to be solved by the invention is as follows: the touch key detection device and the detection method are provided to solve the problem that a detection circuit is easy to be interfered to cause misjudgment.
In order to solve the technical problems, the invention adopts the technical scheme that:
a touch key detection device comprises a detection circuit, a processor and a plurality of touch keys, wherein the detection circuit is integrated with a gating module, a voltage detection module, a control module and a detection capacitor module;
the gating module is respectively connected with the detection capacitor module and the plurality of touch keys and is used for sequentially switching on the detection capacitor module and one of the touch keys according to a preset sequence;
the detection capacitor module is used for acquiring the electric energy output by the touch key when the gating module is switched on;
the voltage detection module is respectively connected with the gating module and the detection capacitor module and is used for acquiring the real-time voltage of the detection capacitor module, counting when the real-time voltage starts to rise, stopping counting when the real-time voltage reaches a preset voltage threshold value and outputting a count value;
the control module is respectively connected with the voltage detection module and the processor and used for acquiring the counting value and outputting the counting value to the processor so that the processor can calculate according to the counting value and judge the state of the touch key.
Further, the voltage detection module includes:
the voltage detection unit is respectively connected with the gating module and the detection capacitor module and is used for acquiring the real-time voltage of the detection capacitor module and comparing the real-time voltage with the preset voltage threshold voltage;
and the counting unit is respectively connected with the voltage detection unit and the control module and is used for counting when the real-time voltage starts to rise and stopping counting and outputting a counting value when the real-time voltage reaches a preset voltage threshold value.
Further, the voltage detection unit comprises a schmitt trigger, and the input end of the schmitt trigger is respectively connected with the gating module and the detection capacitor module.
Further, the control module comprises a control unit, and the control unit is respectively connected with the voltage detection module and the processor.
Further, the counting unit comprises a counter, and the counter is respectively connected with the voltage detection unit and the control module.
Furthermore, the gating module comprises a power connection switch, a grounding switch, a first switch and a plurality of gating switches;
the input ends of the gating switches are connected with the touch keys in a one-to-one correspondence mode, and the output ends of the gating switches are respectively connected with the output end of the power supply switch and the input end of the first switch; the input end of the power switch is connected with an input power supply; the output end of the first switch is respectively connected with the input end of the grounding switch, the detection capacitor module and the control module; the output end of the grounding switch is grounded.
Furthermore, the detection capacitor module comprises a plurality of detection capacitor units connected in parallel, and the detection capacitor units are respectively connected with the gating module and the voltage detection unit and used for acquiring the electric energy output by the touch key when the gating module is switched on.
Further, the detection capacitance unit includes a second switch and the detection capacitance;
the input end of the second switch is respectively connected with the gating module and the control module, the output end of the second switch is connected with one end of the detection capacitor, and the other end of the detection capacitor is grounded;
the control module is connected with the detection capacitor module and is also used for controlling the on-off of the second switches.
Furthermore, the control module is connected with the gating module and is also used for controlling the connection power switch, the grounding switch, the first switch and the gating switches to be switched on and off.
A detection method of the touch key detection device comprises the following steps:
s1, releasing the electric energy of the detection capacitor module, and clearing the count value;
s2, selecting one of the touch keys according to a preset sequence;
s3, charging the capacitor to be tested of the touch key;
s4, connecting the capacitor to be detected with the detection capacitor module so that the capacitor to be detected charges the detection capacitor module;
s5, judging whether the real-time voltage of the detection capacitor module reaches a preset voltage threshold value;
s6, when the real-time voltage does not reach the preset voltage threshold, counting for one time, and repeating the steps S3 and S4;
s7, outputting a count value when the real-time voltage reaches a preset voltage threshold;
and S8, performing operation according to the count value, and judging that the touch key is triggered or released.
The invention has the beneficial effects that: the detection capacitor module is integrated in the detection circuit, so that complex electromagnetic signals in an application environment are shielded, the interference of an external environment is reduced, the detection accuracy of the touch key is improved, and the misjudgment is avoided; in addition, the gating module, the voltage detection module and the control module are arranged to realize the detection of the plurality of touch keys, so that the cost of the detection circuit is reduced, the circuit and the operation are simplified, compared with the prior art, an interface for externally connecting the detection capacitor module is saved, the interface can be conveniently used as other functional interfaces, and the flexibility of the whole product in function application is improved.
Drawings
FIG. 1 is a schematic block diagram of a touch key detection apparatus according to an embodiment of the present invention;
FIG. 2 is another schematic block diagram of a touch key detection apparatus according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of an equivalent circuit of a touch key according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a Schmitt trigger in accordance with an embodiment of the present invention;
FIG. 5 is a graph of the input-output characteristics of a Schmitt trigger in accordance with an embodiment of the present invention;
FIG. 6 is a schematic block diagram of a touch key detecting device according to an embodiment of the present invention;
FIG. 7 is another schematic diagram of a capacitance detection module according to an embodiment of the invention;
fig. 8 is a flow chart of a detection method according to an embodiment of the present invention.
Description of reference numerals:
100. touching a key; 200. a processor; 300. a gating module; 400. a voltage detection module; 410. a voltage detection unit; 420. a counting unit; 500. a control module; 600. a detection capacitance module; 610. a detection capacitance unit; 700. a detection circuit.
Detailed Description
In order to explain technical contents, achieved objects, and effects of the present invention in detail, the following description is made with reference to the accompanying drawings in combination with the embodiments.
Examples
Referring to fig. 1 to 8, an embodiment of the present invention is: a touch key detection device is applied to other household appliances such as kitchen appliances, bathroom appliances and the like, and can also be applied to electronic products such as all-in-one machines and mobile phones.
Referring to fig. 1, the touch key detection apparatus includes a detection circuit 700, a processor 200, and a plurality of touch keys 100, wherein the detection circuit 700 is integrated with a gating module 300, a voltage detection module 400, a control module 500, and a detection capacitor module 600; the gating module 300 is respectively connected to the detection capacitor module 600 and the plurality of touch keys 100, and is configured to sequentially turn on the detection capacitor module 600 and one of the touch keys 100 according to a preset sequence; the capacitance detection module 600 is configured to obtain the electric energy output by the touch key 100 when the gating module 300 is turned on; the voltage detection module 400 is respectively connected to the gating module 300 and the detection capacitor module 600, and is configured to obtain a real-time voltage of the detection capacitor module 600, count when the real-time voltage starts to rise, and stop counting and output a count value when the real-time voltage reaches a preset voltage threshold; the control module 500 is respectively connected to the voltage detection module 400 and the processor 200, and is configured to obtain the count value and output the count value to the processor 200, so that the processor 200 performs an operation according to the count value and determines the state of the touch key 100. The processor 200 in this embodiment is a microprocessor 200.
The equivalent structure of the capacitive touch key 100 is shown in fig. 3. The parasitic capacitance between the touch key 100 and the ground is identified by CP, and the parasitic capacitance is a fixed value; the touch capacitance between touch key 100 and ground is denoted by CT, and is a variable value that varies depending on the touch area. The capacitance to be measured between the touch key 100 and the ground is the sum of the parasitic capacitance and the touch capacitance, and the capacitance to be measured is identified by CK, that is, CK is CP + CT. The process of detecting the touch key is the process of detecting the change of the capacitance to be detected.
The working principle of the touch key detection device in this embodiment is as follows: the gating module 300 turns on the plurality of touch keys 100 according to a preset sequence, and specifically detects the plurality of touch keys 100 in a time-sharing manner within a detection period. When any touch key 100 is detected, the gating module 300 enables the touch key 100 to be turned on, the rest touch keys 100 are turned off, the capacitance detection module 600 is charged through the capacitance to be detected, the voltage detection module 400 obtains the real-time voltage of the capacitance detection module 600 and compares the real-time voltage with a preset voltage threshold, and counting is performed when the real-time voltage starts to rise; and stopping counting when the real-time voltage reaches a preset voltage threshold value, and outputting a count value. The control unit obtains the count value and outputs the count value to the processor 200, and the processor 200 performs operation processing according to the count value and determines whether the touch key 100 is in a trigger state or a release state.
It can be understood that, by the above arrangement, the detection capacitor module 600 is integrated in the detection circuit 700, so as to shield complex electromagnetic signals in an application environment, reduce interference of an external environment, and improve detection accuracy of the touch key 100; in addition, the gating module 300, the voltage detection module 400 and the control module 500 are arranged, so that the detection of the plurality of touch keys 100 is realized, the cost of the detection circuit 700 is reduced, the circuit and the operation are simplified, compared with the prior art, an interface for externally connecting the detection capacitor module 600 is saved, the interface can be conveniently used as other functional interfaces, and the flexibility of the whole product in function application is improved.
Referring to fig. 2, in the present embodiment, the voltage detection module 400 includes: the voltage detection unit 410, the voltage detection unit 410 is respectively connected to the gating module 300 and the detection capacitor module 600, and is configured to obtain a real-time voltage of the detection capacitor module 600 and compare the real-time voltage with the preset voltage threshold voltage; the counting unit 420 is connected to the voltage detection unit 410 and the control module 500, and is configured to count when the real-time voltage starts to rise, and stop counting and output a count value when the real-time voltage reaches a preset voltage threshold.
It can be understood that, when any touch key 100 is detected, the counting unit 420 counts when the real-time voltage of the capacitance module 600 starts to rise, and outputs a count value; stopping counting when the real-time voltage reaches a counting threshold value, so as to obtain a counting value corresponding to the touch key 100, receiving the counting value, and then performing an operation by the processor 200, exemplarily, setting the counting threshold value, comparing the counting value with the counting threshold value, and determining a trigger state of the touch key 100 when the counting value is greater than the counting threshold value; when the count value is not greater than the count threshold value, it is determined that the touch key 100 is in the release state. In this embodiment, the capacitance detection module 600 includes a single detection capacitor, and the detection capacitor is identified by CS, and all the touch keys 100 can be detected by the single detection capacitor.
In this embodiment, the voltage detection unit 410 includes a schmitt trigger, and the input end of the schmitt trigger is connected to the gating module 300 and the detection capacitor module 600, respectively. Fig. 4 shows a specific circuit structure of the schmitt trigger used in the embodiment, and schmitt triggers with other circuit structures may be required to be selected in other embodiments. Fig. 5 is an input-output characteristic curve of the schmitt trigger, in which when the input voltage VIN is lower than the negative threshold voltage VIL, the output voltage VOUT is at a high level; when the input voltage VIN is higher than the forward threshold voltage VIH, the output voltage VOUT is at a low level; when the input voltage rises from being lower than a negative threshold voltage VIL to a positive threshold voltage VIH, the output voltage VOUT changes from a high level to a low level; when the input voltage VIN decreases from greater than the positive-going threshold voltage VIH to the negative-going threshold voltage VIL, the output voltage VOUT changes from a low level to a high level. Therefore, when the input voltage VIN varies between the negative threshold voltage VIL and the positive threshold voltage VIH, the state of the output voltage VOUT does not change. The Schmitt trigger shows a hysteresis characteristic and has good anti-interference performance, the Schmitt trigger is adopted to acquire the voltage of the detection capacitor in real time, the complexity of the detection circuit 700 is reduced compared with the scheme of adopting a comparator, a reference voltage circuit and the like, and meanwhile, the cost is further reduced.
Further, the counting unit 420 includes a counter, the counter is respectively connected to the voltage detection unit 410 and the control module 500, the control module 500 includes a control unit, and the control unit is respectively connected to the voltage detection module 400 and the processor 200. The control unit is an existing commonly used integrated unit, and is configured to obtain the count value and output the count value to the processor 200. Specifically, the counter is connected to the schmitt trigger and the control unit, when any touch key 100 is detected, the schmitt trigger obtains a real-time voltage of the detection capacitor, when the real-time voltage starts to rise, the counter starts to count, when the real-time voltage reaches a preset voltage threshold, the counter stops counting and outputs a count value, the control unit obtains the count value and outputs the count value to the processor 200, and the processor 200 performs operation processing according to the count value and determines the state of the currently detected touch key 100. And after the detection is finished, clearing the counter.
In this embodiment, the gating module 300 is further configured to charge the capacitor to be detected before the capacitor to be detected charges the detection capacitor. Referring to fig. 2, specifically, the gating module 300 includes a power connection switch, a ground connection switch, a first switch, and a plurality of gating switches; the input ends of the gating switches are connected with the touch keys 100 in a one-to-one correspondence manner, and the output ends of the gating switches are respectively connected with the output end of the power supply switch and the input end of the first switch; the input end of the power switch is connected with an input power supply; the output end of the first switch is respectively connected with the input end of the grounding switch, the detection capacitor module 600 and the control module 500; the output end of the grounding switch is grounded. Further, referring to fig. 6, the control module 500 is connected to the gating module 300, and the control module 500 is further configured to control on/off of the power connection switch, the ground connection switch, the first switch, and the plurality of gating switches. The power connection switch is marked by KD, the first switch is marked by KS, and the grounding switch is marked by KG.
It can be understood that, in the embodiment, by providing the gating module 300 to gate and detect the plurality of touch keys 100, the number of detection capacitors required by the detection circuit 700 is reduced, the cost of the detection circuit 700 is reduced, and the circuit structure is simplified; in addition, the control module 500 can charge the capacitor to be tested of the touch key 100 by controlling the on/off of the power connection switch, the ground connection switch and the first switch, so that the circuit structure is further optimized.
Referring to fig. 6 and 7, in other embodiments, the detection capacitor module 600 includes a plurality of detection capacitor units 610 connected in parallel, and the detection capacitor units 610 are respectively connected to the gating module 300 and the voltage detection unit 410, and are configured to obtain the electric energy output by the touch key 100 when the gating module 300 is turned on.
Specifically, the detection capacitor unit comprises second switches KA 1-KAM and detection capacitors CS 1-CSM; the input end of the second switch is respectively connected to the gating module 300 and the control module 500, the output end of the second switch is connected to one end of the detection capacitor, and the other end of the detection capacitor is grounded. Further, the control module 500 is connected to the capacitance detecting module 600, and the control module 500 is further configured to control on/off of a plurality of second switches.
It can be understood that a plurality of detection capacitors and the second switch are combined to form a combined capacitor, and the control module 500 controls the on/off of the second switch, so that the capacitance value of the combined capacitor is adjusted to meet more detection requirements.
In this embodiment, the detection circuit 700 further includes key interfaces TK1 to TKN connected to the touch keys 100 and the gating switches in a one-to-one correspondence manner.
Referring to fig. 1, 2 and 8, the present embodiment further discloses a detection method, in which the touch KEY detection device described in any one of the above embodiments sequentially detects all the KEY KEYs 1-KEYN in a time-sharing manner within one period, the gate switches K1-KN are correspondingly connected to the touch KEY KEYs 1-KEYN, taking detecting the first touch KEY1 as an example, the gate switch connected to the first touch KEY1 is the first gate switch K1, and other gate switches K2-KN are all turned off during the detection process, and the detection method of the touch KEY detection device includes the steps of:
and S1, releasing the electric energy of the detection capacitor module, and clearing the count value.
In this step, releasing the electric energy of the detection capacitor module 600 includes: the first switch is opened, the grounding switch is closed, the anode grounding level of the capacitor is detected, and the count value is cleared.
And S2, selecting one touch key according to the preset sequence.
And S3, charging the capacitor to be tested of the touch key.
The method comprises the following steps: the first switch and the grounding switch are disconnected, the gating switch and the power connection switch are closed, and the anode of the touch key 100 is connected with an input power supply, so that the capacitor to be tested of the touch key 100 is charged.
And S4, connecting the capacitor to be detected with the detection capacitor module so as to charge the detection capacitor with the capacitor to be detected.
The method comprises the following steps: and the power connection switch and the grounding switch are disconnected, the gating switch and the first switch are closed, the capacitor to be detected is communicated with the detection capacitor, the capacitor to be detected is charged for the detection capacitor, and the voltage of the detection capacitor rises.
And S5, judging whether the real-time voltage of the detection capacitor module reaches a preset voltage threshold value.
In this step, the real-time voltage of the detection capacitor is obtained through the voltage detection unit 410.
S6, when the real-time voltage does not reach the preset voltage threshold, counting for one time, and repeating the steps S3 and S4;
in this step, counting is performed through a counter, and when the real-time voltage does not reach the preset voltage threshold, the counter value is increased by 1.
And S7, outputting a count value when the real-time voltage reaches a preset voltage threshold value.
In this step, when the real-time voltage reaches the voltage threshold, the counting is stopped, and the counter outputs a count value.
And S8, performing operation according to the count value, and judging that the touch key is triggered or released.
The step of performing operation processing by the processor 200 specifically includes: setting a counting threshold value, and judging that the touch key 100 is in a trigger state when the counting value is greater than the counting threshold value; when the count value is not greater than the count threshold value, it is determined that the touch key 100 is released to the released state.
In other embodiments, a variation threshold may be set, the variation threshold comprising a trigger threshold and a release threshold, and a variation difference of a current count value of the counter with respect to an adjacent count value (or an average of historical count values of one cycle/a plurality of cycles) is compared with the variation threshold. If the change difference is increased and is larger than the trigger threshold, judging that the touch key is in a trigger state; and if the change difference is reduced and is larger than the release threshold, judging that the touch key is in a release state. The change difference value of the current count value, which is changed from the reference, is compared with the change threshold value by taking the moving average value of the historical count values of one period or a plurality of periods as the reference, and if the change difference value is increased and is greater than the trigger threshold value, the touch key is judged to be in the trigger state; and if the change difference is reduced and is larger than the release threshold, judging that the touch key is in a release state.
In summary, according to the touch key device and the detection method provided by the invention, the detection capacitor is integrated in the detection circuit, so that complex electromagnetic signals in an application environment are shielded, the interference of an external environment is reduced, and the detection accuracy of the touch key is improved; in addition, through setting up gating module, voltage detection module and control module to realize the detection to a plurality of touch buttons, even only use single detection electric capacity can accomplish the detection of all touch buttons, thereby reduce detection circuitry's cost, simplify circuit and operation, save the interface that is used for external detection electric capacity module in comparison with prior art, be convenient for regard as other functional interfaces with this interface, improve the flexibility of whole product in function application.
In addition, the control module controls the on-off of the power switch, the grounding switch and the first switch to charge the capacitor to be tested of the touch key, so that the circuit structure is further optimized; the detection capacitors and the second switch can be combined to form a combined capacitor, and the control module controls the on-off of the second switch, so that the capacitance value of the combined capacitor is adjusted, and more detection requirements are met.
The above description is only an embodiment of the present invention, and not intended to limit the scope of the present invention, and all equivalent modifications made by the contents of the present specification and the drawings, or applied to the related technical fields directly or indirectly, are included in the scope of the present invention.

Claims (10)

1. A touch key detection device is characterized by comprising a detection circuit, a processor and a plurality of touch keys, wherein the detection circuit is integrated with a gating module, a voltage detection module, a control module and a detection capacitor module;
the gating module is respectively connected with the detection capacitor module and the plurality of touch keys and is used for sequentially switching on the detection capacitor module and one of the touch keys according to a preset sequence;
the detection capacitor module is used for acquiring the electric energy output by the touch key when the gating module is switched on;
the voltage detection module is respectively connected with the gating module and the detection capacitor module and is used for acquiring the real-time voltage of the detection capacitor module, counting when the real-time voltage starts to rise, stopping counting when the real-time voltage reaches a preset voltage threshold value and outputting a count value;
the control module is respectively connected with the voltage detection module and the processor and used for acquiring the counting value and outputting the counting value to the processor so that the processor can calculate according to the counting value and judge the state of the touch key.
2. The apparatus of claim 1, wherein the voltage detection module comprises:
the voltage detection unit is respectively connected with the gating module and the detection capacitor module and is used for acquiring the real-time voltage of the detection capacitor module and comparing the real-time voltage with the preset voltage threshold voltage;
and the counting unit is respectively connected with the voltage detection unit and the control module and is used for counting when the real-time voltage starts to rise and stopping counting and outputting a counting value when the real-time voltage reaches a preset voltage threshold value.
3. The apparatus according to claim 2, wherein the voltage detection unit comprises a schmitt trigger, and an input terminal of the schmitt trigger is connected to the gating module and the detection capacitor module, respectively.
4. The apparatus according to claim 1, wherein the control module comprises a control unit, and the control unit is connected to the voltage detection module and the processor respectively.
5. The apparatus of claim 2, wherein the counting unit comprises a counter, and the counter is connected to the voltage detecting unit and the control module respectively.
6. The apparatus of claim 2, wherein the gating module comprises a power connection switch, a ground connection switch, a first switch, and a plurality of gating switches;
the input ends of the gating switches are connected with the touch keys in a one-to-one correspondence mode, and the output ends of the gating switches are respectively connected with the output end of the power supply switch and the input end of the first switch; the input end of the power switch is connected with an input power supply; the output end of the first switch is respectively connected with the input end of the grounding switch, the detection capacitor module and the control module; the output end of the grounding switch is grounded.
7. The apparatus according to claim 6, wherein the control module is connected to the gating module, and the control module is further configured to control on/off of the power connection switch, the ground connection switch, the first switch, and the plurality of gating switches.
8. The device for detecting the touch key according to claim 2, wherein the detection capacitor module comprises a plurality of detection capacitor units connected in parallel, and the detection capacitor units are respectively connected to the gating module and the voltage detection unit and are configured to obtain the electric energy output by the touch key when the gating module is turned on.
9. The touch key detecting device according to claim 8, wherein the detection capacitance unit includes a second switch and the detection capacitance;
the input end of the second switch is respectively connected with the gating module and the control module, the output end of the second switch is connected with one end of the detection capacitor, and the other end of the detection capacitor is grounded;
the control module is connected with the detection capacitor module and is also used for controlling the on-off of the second switches.
10. A method for detecting a touch key detection device according to any one of claims 1 to 9, comprising the steps of:
s1, releasing the electric energy of the detection capacitor module, and clearing the count value;
s2, selecting one of the touch keys according to a preset sequence;
s3, charging the capacitor to be tested of the touch key;
s4, connecting the capacitor to be detected with the detection capacitor module so that the capacitor to be detected charges the detection capacitor module;
s5, judging whether the real-time voltage of the detection capacitor module reaches a preset voltage threshold value;
s6, when the real-time voltage does not reach the preset voltage threshold, counting for one time, and repeating the steps S3 and S4;
s7, outputting a count value when the real-time voltage reaches a preset voltage threshold;
and S8, performing operation according to the count value, and judging that the touch key is triggered or released.
CN202210079941.3A 2022-01-24 2022-01-24 Touch key detection device and detection method Pending CN114244344A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210079941.3A CN114244344A (en) 2022-01-24 2022-01-24 Touch key detection device and detection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210079941.3A CN114244344A (en) 2022-01-24 2022-01-24 Touch key detection device and detection method

Publications (1)

Publication Number Publication Date
CN114244344A true CN114244344A (en) 2022-03-25

Family

ID=80746999

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210079941.3A Pending CN114244344A (en) 2022-01-24 2022-01-24 Touch key detection device and detection method

Country Status (1)

Country Link
CN (1) CN114244344A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114593753A (en) * 2022-05-09 2022-06-07 广州中基国威电子科技有限公司 Sensor signal detection circuit and detection method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114593753A (en) * 2022-05-09 2022-06-07 广州中基国威电子科技有限公司 Sensor signal detection circuit and detection method
CN114593753B (en) * 2022-05-09 2022-08-23 广州中基国威电子科技有限公司 Sensor signal detection circuit and detection method

Similar Documents

Publication Publication Date Title
CN102273075B (en) Capacitative sensor system
US9823798B2 (en) Capacitive sensor device and method of operation
CN203117298U (en) Capacitance detection circuit
US20130120053A1 (en) Touch pad capacitive sensor circuit
CN105580279B (en) Multi-channel capacitive divider scan method and equipment
CN102193032A (en) Self-capacitance change measuring circuit with high precision and high stability
CN101908875A (en) Key-judging method for capacitive touch keys
CN110161318B (en) Capacitance detection circuit and detection method
CN114244344A (en) Touch key detection device and detection method
CN112073047A (en) Capacitive touch key system and control method thereof
CN101207377A (en) Control panel sensor and display device
CN108777574A (en) A kind of capacitance touch button circuit
CN108139840A (en) The device of capacitance detecting
CN103823598A (en) Touch sensing circuit and touch sensing method
CN216751709U (en) Touch key detection device
WO2021213194A1 (en) Touch sensing method and circuit, and electronic device
CN110224695A (en) A kind of hardware waterproof capacitance touch button circuit
CN101847070B (en) Capacitance change detection module taking electric signal change time as detection target
CN104184449A (en) Capacitive touch control apparatus, method, and system
US11863174B2 (en) Detection chip capable of cancelling baseline voltage
CN116203411A (en) Touch key capacitance detection method and system applied to MCU
CN112039512A (en) Capacitive touch key system and key detection method thereof
CN101907961A (en) Realizing method of capacitance type inductive key, inductive key circuit and keyboard
CN2938571Y (en) Electric load tranfer device, touch induction device
CN102004590B (en) Front-end signal detector and method for improving noise resistance of capacitance type touch pad

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