Touch control circuit, control method, electronic device, and storage medium
By designing a touch control circuit including a trigger circuit, a sampling circuit, a regulation circuit, an analog-to-digital conversion unit and a logic control circuit, the problem of too long touch detection time in the prior art is solved, and the touch with fast response and immediate feedback is achieved Control effects.
Patent Information
- Application Number
- PCT/CN2024/106506
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-08-16
- Filing Date
- 2024-07-19
- Publication Date
- 2025-02-20
AI Technical Summary
In the prior art, touch detection time is too long, making it difficult to achieve rapid response.
A touch control circuit is designed, including a trigger circuit, a sampling circuit, a regulation circuit, an analog-to-digital conversion unit and a logic control circuit. Through the cooperation of the regulation circuit and the logic control circuit, the precise allocation and output of charge are achieved.
Through this circuit, fast touch response and instant touch feedback are achieved, which reduces detection time and improves the accurate positioning and sensitivity of touch control.
Smart Images

Figure CN2024106506_20022025_PF_FP_ABST
Abstract
Description
Touch control circuit, control method, electronic device and storage medium
[0001] This disclosure claims priority to the Chinese patent application filed with the State Intellectual Property Office of China on August 16, 2023, with application number 202311036713.9 and invention name “Touch control circuit, control method, electronic device and storage medium”, the entire contents of which are incorporated by reference in this disclosure. Technical Field
[0002] The present disclosure relates to the field of fingerprint recognition technology, and in particular to a touch control circuit, a control method, an electronic device, and a storage medium. Background Art
[0003] Compared with traditional mechanical keys, touch keys have many advantages such as long life, small space occupation, and easy operation, and their use has become more and more common.
[0004] Among the related technologies known to the inventors, the current implementation method is to charge the internal capacitor, then distribute the charge to the external touch sensing capacitor, and detect the electrical amplitude on the circuit to determine whether there is human touch. The detection time is long, and even more time is required to implement multiple buttons.
[0005] Summary of the Invention
[0006] In order to solve the technical problem of long detection time in the prior art, the present disclosure provides a touch control circuit, a control method, an electronic device and a storage medium to at least solve the problems existing in the related art.
[0007] In a first aspect, the present disclosure provides a touch control circuit, comprising: a trigger circuit, a sampling circuit, a regulating circuit, an analog-to-digital conversion unit, and a logic control circuit;
[0008] The trigger circuit and the sampling circuit mutually output the charges they have;
[0009] One end of the regulating circuit is connected to the trigger circuit, and the other end is connected to the sampling circuit and is used to access the power supply;
[0010] The analog-to-digital conversion unit is connected to the sampling circuit;
[0011] The logic control circuit controls the distribution of the charge to be output to the trigger circuit or the sampling circuit.
[0012] In one embodiment, the sampling circuit further includes a first sampling capacitor and a second sampling capacitor.
[0013] The first sampling capacitor and the second sampling capacitor, one end of the analog-to-digital conversion unit is connected to the first sampling capacitor, and the other end of the analog-to-digital conversion unit is connected to the second sampling capacitor.
[0014] In one embodiment, the trigger circuit includes a first resistor and a touch capacitor.
[0015] The input end of the first resistor is connected to the first output end of the regulating circuit, and the output end of the first resistor is connected to one end of the touch capacitor;
[0016] The other end of the touch capacitor is grounded.
[0017] In one embodiment, the regulating circuit includes a first control switch, a second control switch, a third control switch, a fourth control switch, a fifth control switch, a sixth control switch, a seventh control switch, an eighth control switch, a ninth control switch, and a tenth control switch;
[0018] One end of the first control switch is connected to the trigger circuit, and the other end is connected to one end of the seventh control switch, the eighth control switch, and the second control switch; the other end of the second control switch is connected to the third control switch, the fourth control switch, the ninth control switch, and the tenth control switch;
[0019] The seventh control switch is connected to the ninth switch and is used to connect to the power supply, and the eighth control switch is connected to the tenth control and is grounded;
[0020] The fourth control switch is further connected to the first sampling capacitor and the sixth control switch; the third control switch is further connected to the first sampling capacitor and the fifth control switch.
[0021] In one embodiment, the sixth control switch is arranged between the first sampling capacitor and the analog-to-digital conversion unit, and the fifth control switch is arranged between the second sampling capacitor and the analog-to-digital conversion unit; one end of the first sampling capacitor is grounded, and the other end is connected to the fourth control switch and the sixth control switch; one end of the second sampling capacitor is grounded, and the other end is connected to the third control switch and the fifth control switch.
[0022] In a second aspect, an embodiment of the present disclosure provides an electronic device, comprising the power supply circuit in the first aspect.
[0023] In a third aspect, an embodiment of the present disclosure provides a control method, which is applied to the electronic device in the second aspect, including: obtaining a trigger request for the trigger circuit; and operating the logic control circuit based on the trigger request to control the transfer of charge between the sampling circuit and the regulation circuit according to preset rules.
[0024] In one embodiment, the operating the logic control circuit based on the trigger request to control the charge transfer between the sampling circuit and the regulating circuit according to a preset rule includes:
[0025] Disconnecting the first control switch, the second control switch, the third control switch, the fourth control switch, the fifth control switch, the sixth control switch, the seventh control switch, the eighth control switch, the ninth control switch, and the tenth control switch;
[0026] The first control switch and the seventh control switch are turned off to charge the touch capacitor; the third control switch and the tenth control switch are turned off to discharge the second sampling capacitor.
[0027] In one embodiment, the operating the logic control circuit based on the trigger request to control the charge transfer between the sampling circuit and the regulating circuit according to a preset rule further includes:
[0028] After disconnecting the first control switch, the third control switch, the sixth control switch, the seventh control switch, and the tenth control switch, the first control switch, the second control switch, and the third control switch are closed to distribute charge between the second sampling capacitor and the touch capacitor;
[0029] The first control switch, the second control switch, the third control switch, and the fifth control switch are closed to perform analog-to-digital conversion on the second sampling capacitor and the analog-to-digital conversion unit; the first control switch and the eighth control switch are closed to discharge the touch capacitor; and the fourth control switch and the ninth control switch are closed to charge the second sampling capacitor.
[0030] Disconnect the first control switch, the fourth control switch, the fifth control switch, the eighth control switch, and the ninth control switch, and close the first control switch, the second control switch, and the fourth control switch to distribute charge between the first sampling capacitor and the touch capacitor;
[0031] The first control switch, the second control switch, and the fourth control switch are opened, and the sixth control switch is closed to perform analog-to-digital conversion on the first sampling capacitor and the analog-to-digital conversion unit; the first control switch and the seventh control switch are closed to charge the touch capacitor; and the third control switch and the tenth control switch are closed to discharge the second sampling capacitor.
[0032] In a fourth aspect, an embodiment of the present disclosure provides an electronic device comprising: a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the programs or instructions are executed by the processor, the steps of the control method of the third aspect are implemented.
[0033] In a fifth aspect, an embodiment of the present disclosure provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the control method of the third aspect are implemented.
[0034] Compared with the prior art, one or more embodiments of the above solutions may have the following advantages or beneficial effects:
[0035] The touch control circuit, control method, electronic device, and storage medium provided by the present disclosure can achieve precise touch control and provide accurate positioning and touch response through the collaboration of the adjustment circuit and the logic control circuit. Through the control of the logic control circuit and the connection with the analog-to-digital conversion unit, the touch control circuit can achieve a fast response speed and provide instant touch feedback. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] The scope of the present disclosure may be better understood by reading the following detailed description of exemplary embodiments in conjunction with the accompanying drawings, which include:
[0037] FIG1 shows an exemplary circuit structure diagram of a touch control circuit provided by an embodiment of the present disclosure;
[0038] FIG2 is a schematic flow chart showing an exemplary control method of a touch control circuit according to an embodiment of the present disclosure;
[0039] FIG3 shows a structural block diagram of an electronic device for executing a control method according to an embodiment of the present disclosure;
[0040] FIG4 shows a computer-readable storage medium proposed in an embodiment of the present disclosure for storing or carrying a control method according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0041] In order to make the purpose, technical solutions and advantages of the present disclosure clearer, the present disclosure will be further described in detail below with reference to the accompanying drawings. The described embodiments should not be regarded as limiting the present disclosure. All other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present disclosure.
[0042] In the following description, reference is made to “some embodiments”, which describes a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.
[0043] If similar descriptions of "first / second / third" appear in the application documents, the following explanation is added. In the following description, the terms "first / second / third" are merely used to distinguish similar objects and do not represent a specific order for the objects. It can be understood that "first / second / third" can be interchanged with a specific order or sequence where permitted, so that the embodiments of the present disclosure described herein can be implemented in an order other than that illustrated or described herein.
[0044] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the art in the art of the present disclosure. The terms used herein are only for the purpose of describing the embodiments of the present disclosure and are not intended to limit the present disclosure.
[0045] Based on the problems existing in the related art, the embodiment of the present disclosure provides a touch control circuit, including: a trigger circuit, a sampling circuit, a regulating circuit, an analog-to-digital conversion unit and a logic control circuit;
[0046] The trigger circuit and the sampling circuit mutually output the charge;
[0047] One end of the regulating circuit is connected to the trigger circuit, and the other end is connected to the sampling circuit and is used to access the power supply;
[0048] The analog-to-digital conversion unit is connected to the sampling circuit;
[0049] The charge distribution is controlled by the logic control circuit and output to the trigger circuit or the sampling circuit.
[0050] In this embodiment, through the collaboration of the adjustment circuit and the logic control circuit, the touch control circuit can achieve precise touch control, provide accurate positioning and touch response, and the design of the trigger circuit and the sampling circuit outputting charges and stable power supply to each other can enhance the stability and reliability of the touch control circuit, reduce false triggering and other interference, and through the control of the logic control circuit and the connection of the analog-to-digital conversion unit, the touch control circuit can achieve a fast response speed and provide instant touch feedback. Through the collaboration of the trigger circuit, sampling circuit, adjustment circuit, analog-to-digital conversion unit and logic control circuit, precise touch control is achieved, and it can be applied to various touch control devices.
[0051] In one embodiment, the sampling circuit further includes a first sampling capacitor and a second sampling capacitor.
[0052] A first sampling capacitor and a second sampling capacitor, one end of the analog-to-digital conversion unit is connected to the first sampling capacitor, and the other end of the analog-to-digital conversion unit is connected to the second sampling capacitor.
[0053] In one embodiment, the trigger circuit includes a first resistor and a touch capacitor.
[0054] An input end of the first resistor is connected to a first output end of the regulating circuit, and an output end of the first resistor is connected to one end of the touch capacitor;
[0055] The other end of the touch capacitor is grounded.
[0056] Considering that in actual use, the current implementation method is to charge the internal capacitor, then distribute the charge to the external touch sensing capacitor, and detect the electrical amplitude on the circuit to determine whether there is human touch. It takes 8 time periods to detect a key through charge distribution, and the detection time is long. It takes more time to implement multiple keys.
[0057] In one embodiment, the regulating circuit includes a first control switch, a second control switch, a third control switch, a fourth control switch, a fifth control switch, a sixth control switch, a seventh control switch, an eighth control switch, a ninth control switch, and a tenth control switch;
[0058] One end of the first control switch is connected to the trigger circuit, and the other end is connected to the seventh control switch, the eighth control switch, and one end of the second control switch. The other end of the second control switch is connected to the third control switch, the fourth control switch, the ninth control switch, and the tenth control switch.
[0059] The seventh control switch is connected to the ninth switch and is used to connect to the power supply, and the eighth control switch is connected to the tenth control and is grounded;
[0060] The fourth control switch is further connected to the first sampling capacitor and the sixth control switch; the third control switch is further connected to the first sampling capacitor and the fifth control switch.
[0061] In the embodiment of the present disclosure, by adding multiple control switches, the regulation circuit can achieve more control options and flexibility. Each switch can control different functions or parameters, allowing users to adjust according to specific needs and achieve personalized touch control, wherein the first control switch is connected to the trigger circuit and is connected to the seventh, eighth, and second control switches, while the second control switch is connected to the third, fourth, ninth, and tenth control switches. This connection method allows the charge to be distributed on multiple paths, increasing the reliability and balance of the charge transmission. The seventh control switch is connected to the ninth switch and is used to connect to the power supply, while the eighth control switch is connected to the tenth control switch and is grounded. This connection method can realize the control of power supply and grounding, ensuring the normal operation and stability of the regulation circuit. The fourth control switch connects the first sampling capacitor and the sixth control switch, and the third control switch connects the first sampling capacitor and the fifth control switch. This connection method can control the sampling capacitor, adjust the sampling and processing of the touch signal, and improve the accuracy and sensitivity of the touch.
[0062] In one embodiment, the sixth control switch is arranged between the first sampling capacitor and the analog-to-digital conversion unit, and the fifth control switch is arranged between the second sampling capacitor and the analog-to-digital conversion unit; one end of the first sampling capacitor is grounded, and the other end is connected to the fourth control switch and the sixth control switch; one end of the second sampling capacitor is grounded, and the other end is connected to the third control switch and the fifth control switch.
[0063] In the disclosed embodiment, one end of the first sampling capacitor is grounded, and the other end is connected to the fourth control switch and the sixth control switch. One end of the second sampling capacitor is grounded, and the other end is connected to the third control switch and the fifth control switch. By controlling the states of these switches, signal sampling and conversion can be controlled. Different switch combinations can change the connection path between the sampling capacitor and the analog-to-digital conversion unit, thereby affecting the results of signal sampling and conversion.
[0064] In one embodiment, an electronic device includes any one of the above touch control circuits.
[0065] In one embodiment, a control method is applied to the electronic device of claim 7, comprising:
[0066] obtaining a trigger request for a trigger circuit;
[0067] The logic control circuit is operated based on the trigger request to control the charge transfer between the sampling circuit and the regulating circuit according to a preset rule.
[0068] In one embodiment, the logic control circuit is operated based on the trigger request to control the charge transfer between the sampling circuit and the regulating circuit according to a preset rule, including:
[0069] Disconnecting the first control switch, the second control switch, the third control switch, the fourth control switch, the fifth control switch, the sixth control switch, the seventh control switch, the eighth control switch, the ninth control switch, and the tenth control switch;
[0070] The first control switch and the seventh control switch are turned off to charge the touch capacitor; the third control switch and the tenth control switch are turned off to discharge the second sampling capacitor.
[0071] In one embodiment, the logic control circuit is operated based on the trigger request to control the charge transfer between the sampling circuit and the regulating circuit according to a preset rule, further comprising:
[0072] After disconnecting the first control switch, the third control switch, the sixth control switch, the seventh control switch, and the tenth control switch, the first control switch, the second control switch, and the third control switch are closed to distribute charge between the second sampling capacitor and the touch capacitor;
[0073] The first control switch, the second control switch, the third control switch, and the fifth control switch are closed to perform analog-to-digital conversion on the second sampling capacitor and the analog-to-digital conversion unit; the first control switch and the eighth control switch are closed to discharge the touch capacitor; the fourth control switch and the ninth control switch are closed to charge the second sampling capacitor;
[0074] The first control switch, the fourth control switch, the fifth control switch, the eighth control switch, and the ninth control switch are opened, and the first control switch, the second control switch, and the fourth control switch are closed to distribute charge between the first sampling capacitor and the touch capacitor;
[0075] The first control switch, the second control switch, and the fourth control switch are opened, and the sixth control switch is closed to perform analog-to-digital conversion on the first sampling capacitor and the analog-to-digital conversion unit; the first control switch and the seventh control switch are closed to charge the touch capacitor; and the third control switch and the tenth control switch are closed to discharge the second sampling capacitor.
[0076] In the embodiment of the present disclosure, by closing and disconnecting different control switches, the touch capacitor and the second sampling capacitor can be charged and discharged, which can effectively control the charge state of the capacitor and prepare for the next step of sampling and conversion; by operating the state of the switch, the connection and disconnection between the second sampling capacitor and the analog-to-digital conversion unit can be achieved, and the signal sampling and analog-to-digital conversion can be performed. In this process, by controlling the merging and disconnection of the switches, the charge can be selectively distributed to different capacitors, and the charge state of the capacitor can be converted into a digital signal for subsequent processing and analysis; by controlling the merging and disconnection of the switches, the charging and discharging of the touch capacitor can be controlled, which helps to maintain a constant voltage on the touch capacitor or restore its charge state to its initial state so that it can be re-sampled when the next touch event occurs.
[0077] Based on this, the touch control circuit provided by the present disclosure increases the sampling and holding capacitors so that when the sampling capacitor 1 performs analog-to-digital conversion, the sampling capacitor 2 performs charge transfer, thereby improving the touch capacitance detection time.
[0078] This disclosure designs a touch capacitance detection circuit and control method. Without increasing the ADC conversion rate, this method increases the touch detection speed by simply adding a sampling and holding capacitor and a control switch. This method reduces the original eight time periods to four, allowing more touch channels to be detected within a limited timeframe.
[0079] FIG1 shows a schematic diagram of an exemplary circuit structure of a touch control circuit provided by an embodiment of the present disclosure.
[0080] As shown in Figure 1, 1. In the figure, CX is the external human touch capacitor, C1 and C2 are the internal sampling and holding capacitors of the chip, and the designed capacitance values are the same.
[0081] SW1, SW2, SW3, SW4, SW5, SW6, SW7, SW8, SW9, and SW10 are controllable switches.
[0082] The logic control circuit is a logic flow control.
[0083] ADC is an analog-to-digital conversion unit.
[0084] Figure 2 is a flow chart of an exemplary control method for a touch control circuit provided by an embodiment of the present disclosure. As shown in Figure 2, the logic control process is as follows:
[0085] At T0: SW1, SW2, SW3, SW4, SW5, SW6, SW7, SW8, SW9, and SW10 are all disconnected;
[0086] At T1: SW1 and SW7 are closed, and the CX capacitor is charged; SW3 and SW10 are closed, and the C2 capacitor is discharged;
[0087] At T2: SW1, SW3, SW6, SW7, and SW10 are disconnected, SW1, SW2, and SW3 are closed, and C2 and CX are performing charge distribution.
[0088] At T3: SW1, SW2, and SW3 are disconnected, SW5 is closed, and C2 and ADC perform analog-to-digital conversion.
[0089] SW1 and SW8 are closed, CX is discharged; SW4 and SW9 are closed, C1 is charged;
[0090] At T4: SW1, SW4, SW5, SW8, and SW9 are disconnected, SW1, SW2, and SW4 are closed, and C1 and CX are performing charge distribution.
[0091] At T5: SW1, SW2, and SW4 are disconnected, SW6 is closed, and C1 and ADC perform analog-to-digital conversion.
[0092] When SW1 and SW7 are closed, the CX capacitor is charged; when SW3 and SW10 are closed, the C2 capacitor is discharged.
[0093] The T2-T5 process is subsequently repeated. This circuit and implementation method optimize the detection method and improve the detection speed.
[0094] Specifically, the charge transfer method is used to transfer the charge in the Cx capacitor to C1 or C2. After the voltage is balanced, the analog-to-digital conversion of C1 or C2 is performed to a certain value. When a finger approaches the touch button, the detected capacitance Cx increases. Since the capacitance value of C1 or C2 remains unchanged, the conversion value is larger when the finger is in contact than when there is no finger contact.
[0095] The charge transfer method transfers the charge of C1 or C2 to Cx. After voltage balancing, C1 or C2 is converted to a specific value through analog-to-digital conversion. When a finger approaches the touch button, the detected capacitance Cx increases. Since the capacitance of C1 or C2 remains unchanged, the conversion value is smaller when the finger is in contact than when there is no finger contact.
[0096] In addition, the present disclosure provides a control method, comprising:
[0097] obtaining a trigger request for a trigger circuit;
[0098] The logic control circuit is operated based on the trigger request to control the charge transfer between the sampling circuit and the regulating circuit according to a preset rule.
[0099] In addition, running the logic control circuit based on the trigger request to control the charge transfer between the sampling circuit and the regulating circuit according to a preset rule may also include executing the above-described steps, which will not be repeated here.
[0100] Please refer to FIG3 , which is a structural block diagram of an electronic device 200 that can execute the above control method according to an embodiment of the present disclosure. The electronic device 200 can be a smart phone, a tablet computer, a computer, a portable computer or other devices.
[0101] The electronic device 200 further includes a processor 202 and a memory 204 . The memory 204 stores a program that can execute the contents of the aforementioned embodiments, and the processor 202 can execute the program stored in the memory 204 .
[0102] The processor 202 may include one or more cores for processing data and a message matrix unit. The processor 202 utilizes various interfaces and circuits to connect various components within the electronic device 200. It executes instructions, programs, code sets, or instruction sets stored in the memory 204, and accesses data stored in the memory 204 to perform various functions and process data within the electronic device 200. Optionally, the processor 202 may be implemented using at least one of the following hardware forms: a digital signal processing (DSP), a field-programmable gate array (FPGA), or a programmable logic array (PLA). The processor 202 may integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), and a modem (decoder). The CPU primarily processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing display content; and the modem handles wireless communications. It is understood that the modem (decoder) may not be integrated into the processor and may be implemented separately via a communications chip.
[0103] The memory 204 may include a random access memory (RAM) or a read-only memory (ROM). The memory 204 may be used to store instructions, programs, codes, code sets, or instruction sets. The memory 204 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (e.g., instructions for a user to obtain a random number), instructions for implementing the various method embodiments described below, and the like. The data storage area may also store data (e.g., random numbers) created by the terminal during use.
[0104] The electronic device 200 may also include a network module and a screen. The network module is used to receive and transmit electromagnetic waves, realize the mutual conversion between electromagnetic waves and electrical signals, and thus communicate with a communication network or other devices, such as communicating with an audio playback device. The network module may include various existing circuit components for performing these functions, such as an antenna, a radio frequency transceiver, a digital signal processor, an encryption / decryption chip, a user identity module (SIM) card, a memory, etc. The network module can communicate with various networks such as the Internet, an intranet, a wireless network, or communicate with other devices via a wireless network. The above-mentioned wireless network may include a cellular telephone network, a wireless local area network, or a metropolitan area network. The screen can display interface content and perform data interaction.
[0105] Please refer to Figure 4, which shows a block diagram of a computer-readable storage medium provided by an embodiment of the present disclosure. The computer-readable storage medium 400 stores program code 410, which can be called by a processor to execute the method described in the above method embodiment.
[0106] Computer-readable storage medium 400 may be an electronic memory such as flash memory, EEPROM (Electrically Erasable Programmable Read-Only Memory), EPROM, hard disk, or ROM. Alternatively, the computer-readable storage medium includes a non-transitory computer-readable storage medium. Computer-readable storage medium 400 has storage space for program code 410 for executing any of the method steps in the above method. These program codes 410 can be read from or written to one or more computer program products. Program code 410 can be compressed, for example, in a suitable form.
[0107] The present disclosure also provides a computer program product or computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the control method described in the various optional implementations described above.
[0108] The above embodiments are only used to illustrate the technical solutions of the present disclosure, rather than to limit them. Although the present disclosure has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not drive the essence of the corresponding technical solutions away from the spirit and scope of the technical solutions of the various embodiments of the present disclosure.
[0109] Although the embodiments disclosed in this disclosure are as described above, the contents described are merely embodiments adopted to facilitate understanding of the disclosure and are not intended to limit the disclosure. Any person skilled in the art of the disclosure may make any modifications and changes in the form and details of the implementation without departing from the spirit and scope of the disclosure. However, the scope of protection of the disclosure shall still be based on the scope defined by the appended claims.
Claims
1. A touch control circuit, wherein: include: Trigger circuit, sampling circuit, regulation circuit, analog-to-digital conversion unit and logic control circuit; The trigger circuit and the sampling circuit mutually output the charges they have; One end of the regulating circuit is connected to the trigger circuit, and the other end is connected to the sampling circuit and is used to access the power supply; The analog-to-digital conversion unit is connected to the sampling circuit; The distribution of the charge is controlled and output to the trigger circuit or the sampling circuit according to the logic control circuit.
2. The touch control circuit according to claim 1, wherein: The sampling circuit also includes a first sampling capacitor and a second sampling capacitor; One end of the analog-to-digital conversion unit is connected to the first sampling capacitor, and the other end of the analog-to-digital conversion unit is connected to the second sampling capacitor.
3. The touch control circuit according to claim 2, wherein: The trigger circuit includes a first resistor and a touch capacitor; An input end of the first resistor is connected to a first output end of the regulating circuit, and an output end of the first resistor is connected to one end of the touch capacitor; The other end of the touch capacitor is grounded.
4. The touch control circuit according to claim 3, wherein: The regulating circuit includes a first control switch, a second control switch, a third control switch, a fourth control switch, a fifth control switch, a sixth control switch, a seventh control switch, an eighth control switch, a ninth control switch and a tenth control switch; One end of the first control switch is connected to the trigger circuit, and the other end is connected to the seventh control switch, the eighth control switch and one end of the second control switch, and the other end of the second control switch is connected to the third control switch, the fourth control switch, the ninth control switch and the tenth control switch; The seventh control switch is connected to the ninth switch and is used to connect to the power supply, and the eighth control switch is connected to the tenth control and is grounded; The fourth control switch is further connected to the first sampling capacitor and the sixth control switch; the third control switch is further connected to the first sampling capacitor and the fifth control switch.
5. The touch control circuit according to claim 4, wherein: The sixth control switch is arranged between the first sampling capacitor and the analog-to-digital conversion unit, and the fifth control switch is arranged between the second sampling capacitor and the analog-to-digital conversion unit; one end of the first sampling capacitor is grounded, and the other end is connected to the fourth control switch and the sixth control switch; one end of the second sampling capacitor is grounded, and the other end is connected to the third control switch and the fifth control switch.
6. [Corrected 13.08.2024 in accordance with Rule 26] An electronic device, wherein: The touch control circuit comprises the touch control circuit as claimed in any one of claims 1 to 5.
7. A control method, applied to the electronic device according to claim 6, wherein: include: Obtaining a trigger request for the trigger circuit; The logic control circuit is operated based on the trigger request to control the charge transfer between the sampling circuit and the regulating circuit according to a preset rule.
8. The control method according to claim 7, wherein: The operating the logic control circuit based on the trigger request to control the charge transfer between the sampling circuit and the regulating circuit according to a preset rule includes: Disconnecting the first control switch, the second control switch, the third control switch, the fourth control switch, the fifth control switch, the sixth control switch, the seventh control switch, the eighth control switch, the ninth control switch and the tenth control switch; The first control switch and the seventh control switch are turned off to charge the touch capacitor; the third control switch and the tenth control switch are turned off to discharge the second sampling capacitor.
9. The control method according to claim 8, wherein: The step of operating the logic control circuit based on the trigger request to control the charge transfer between the sampling circuit and the regulating circuit according to a preset rule also includes: After disconnecting the first control switch, the third control switch, the sixth control switch, the seventh control switch and the tenth control switch, the first control switch, the second control switch and the third control switch are turned off to distribute charge between the second sampling capacitor and the touch capacitor; The first control switch, the second control switch, the third control switch and the fifth control switch are closed to perform analog-to-digital conversion on the second sampling capacitor and the analog-to-digital conversion unit; the first control switch and the eighth control switch are closed to discharge the touch capacitor; the fourth control switch and the ninth control switch are closed to charge the second sampling capacitor; The first control switch, the fourth control switch, the fifth control switch, the eighth control switch and the ninth control switch are opened, and the first control switch, the second control switch and the fourth control switch are closed to distribute charge between the first sampling capacitor and the touch capacitor; The first control switch, the second control switch and the fourth control switch are opened, and the sixth control switch is closed to perform analog-to-digital conversion on the first sampling capacitor and the analog-to-digital conversion unit; the first control switch and the seventh control switch are closed to charge the touch capacitor; the third control switch and the tenth control switch are closed to discharge the second sampling capacitor.
10. A computer-readable storage medium, wherein: The computer-readable storage medium stores program codes, and the program codes can be called by one or more processors to execute the control method as described in any one of claims 7 to 9.
Citation Information
Patent Citations
Capacitive sensing key and key detection method
CN102594327A
Touch signal acquisition method for capacitive touch switch
CN103049154A
Detection system of touch screen control circuit
CN104049822A
Capacitive touch screen detection circuit and detection method
CN106648268A
An anti-interference capacitive touch key controller and an implementation method thereof
CN109039319A