Touch circuit and electrical equipment
By using a gas discharge tube and comparator to control the switch on the touch panel, the touch chip can be powered off and reset in a timely manner, which solves the problem of touch buttons being accidentally triggered under electrostatic interference, and improves the stability of the device and the user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- GREE ELECTRIC APPLIANCE INC OF ZHUHAI
- Filing Date
- 2025-12-22
- Publication Date
- 2026-04-14
AI Technical Summary
In the existing technology, touch buttons in kitchen appliances are easily affected by static electricity, which can lead to accidental triggering or damage. Moreover, existing protection methods have limited effectiveness in complex static electricity environments, with slow response speed and long recovery time.
A gas discharge tube is connected to the touch panel. The power supply to the switch control unit is disconnected by controlling the electrostatic voltage threshold. Combined with a comparator and a voltage divider circuit, the touch chip can be powered off and reset in a timely manner.
It effectively avoids the impact of static electricity on the touch chip, prevents accidental device triggering, improves user experience and device stability, and enables rapid response and automatic recovery.
Smart Images

Figure CN121864083A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of household appliance technology, specifically to touch circuits and electrical devices. Background Technology
[0002] Touch buttons are widely used in kitchen appliances such as range hoods due to their aesthetic appeal and ease of cleaning. However, because of the large fluctuations in humidity in the kitchen environment and the possibility of static electricity carried by operators, touch buttons are susceptible to static interference during use, leading to accidental triggering or damage.
[0003] Existing technologies typically employ hardware filtering and shielding grounding for electrostatic discharge (ESD) protection. However, these methods have limited effectiveness in complex ESD environments and suffer from slow response times and long recovery times. They cannot guarantee that static electricity will be discharged to ground in a short period of time, and if the instantaneous voltage of static electricity is high, it may still trigger electrical equipment, affecting user experience and equipment stability. Summary of the Invention
[0004] This invention provides a touch circuit and electrical device to solve the problem of static electricity not being completely discharged to the ground in a short time, which may cause accidental triggering of electrical devices.
[0005] In a first aspect, the present invention provides a touch circuit, which includes a touch panel, a gas discharge tube, a power supply, a switch control unit, and a touch chip. The ground terminal of the touch panel is connected to the first terminal of the gas discharge tube, the second terminal of the gas discharge tube is connected to the control terminal of the switch control unit, the first terminal of the switch control unit is connected to the power supply, the second terminal of the switch control unit is connected to the power supply terminal of the touch chip, and the input terminal of the touch chip is connected to the output terminal of the touch panel. The power supply is used to power the touch chip; When the electrostatic voltage on the touch panel reaches the electrostatic voltage threshold, the gas discharge tube is turned on, and the switch control unit is turned off when the gas discharge tube is turned on, so that the power supply stops supplying power to the touch chip.
[0006] Beneficial effects: This invention connects a gas discharge tube to the grounding terminal of the touch panel. When the electrostatic voltage applied to the touch panel is normal, the gas discharge tube disconnects, the switch control unit closes, and the touch chip is powered on and operates normally. When the electrostatic voltage on the touch panel reaches the electrostatic voltage threshold, the gas discharge tube conducts, causing the switch control unit to disconnect and the touch chip to lose power. This effectively avoids the impact of electrostatic discharge on the touch chip, prevents accidental device triggering, and thus improves user experience and device stability.
[0007] In one optional embodiment, the touch circuit further includes a comparator and a preset voltage power supply. The second end of the gas discharge tube is connected to the first input terminal of the comparator, the preset voltage power supply is connected to the second input terminal of the comparator, and the output terminal of the comparator is connected to the control terminal of the switch control unit. The comparator is used to output a first-level signal when the gas discharge tube is turned on; the first-level signal is used to control the switch control unit to turn off.
[0008] Beneficial effects: This invention uses a comparator to compare the voltage signal of the gas discharge tube with the voltage signal of a preset voltage power supply. If the gas discharge tube is turned on, its voltage signal will be higher than the voltage signal of the preset voltage power supply. The comparator outputs a first level signal to disconnect the switch control unit and de-energize the touch chip, thus preventing the touch chip from being malfunctioned due to electrostatic interference and ensuring the stability of the device.
[0009] In an alternative embodiment, the comparator is further configured to output a second-level signal when the gas discharge tube is turned off; wherein the second-level signal is used to control the switch control unit to close.
[0010] This invention uses a comparator to compare the voltage signal of the gas discharge tube with the voltage signal of a preset voltage power supply. When the static electricity disappears or the static voltage is low, the gas discharge tube is cut off, and its voltage signal will be lower than the voltage signal of the preset voltage power supply. The comparator outputs a second level signal to close the switch control unit, and the touch chip is powered on and works normally, thus meeting the user's equipment usage needs.
[0011] In one alternative implementation, the touch circuit further includes a first resistor and a second resistor; The first end of the first resistor is connected to a preset voltage power supply, and the second end of the first resistor is connected to the first end of the second resistor and the second input terminal of the comparator. The second terminal of the second resistor is grounded.
[0012] Beneficial effects: The first resistor and the second resistor of the present invention are connected in series to form a voltage divider circuit. The voltage divider circuit is powered by a preset voltage power supply. Through the voltage division of the first resistor and the second resistor, a reference voltage is provided to the second input terminal of the comparator to determine whether the gas discharge tube is conducting. This allows the power supply to the touch chip to be disconnected in time when the gas discharge tube is conducting, preventing the touch chip from being falsely triggered by electrostatic interference.
[0013] In one optional implementation, the touch circuit further includes a main control chip, the detection terminal of the main control chip being connected to the output terminal of the comparator, and the communication terminal of the main control chip being connected to the communication terminal of the touch chip. The main control chip is used to issue an electrostatic interference fault warning when it detects that the communication terminal of the touch chip is in a fault state and receives the first level signal output by the comparator.
[0014] Beneficial effects: The main control chip of this invention detects whether the touch chip is powered off through the communication port between the two chips. Power loss of the touch chip will cause a communication failure. Simultaneously, the chip combines the level signal output by the comparator to comprehensively determine whether it is electrostatic interference. If it is electrostatic interference, the main control chip maintains the current state of the touch chip, does not trigger other actions of the touch chip, and issues an electrostatic interference fault warning to the user.
[0015] In one optional implementation, the main control chip is further configured to reset the touch chip when it detects that the communication terminal of the touch chip has recovered from a fault state to a communication state, and when it receives a second level signal output by the comparator.
[0016] Beneficial effects: After the touch chip is powered on again, the main control chip detects that it has returned to the communication state, and the comparator outputs a second level signal. The main control chip sends a reset command to the touch chip, so that the touch panel and the touch chip return to normal working state, ensuring the normal and stable operation of the device.
[0017] In one alternative implementation, the touch circuit further includes a third resistor; One end of the third resistor is connected to the second end of the gas discharge tube, and the other end of the third resistor is grounded.
[0018] Beneficial effects: This invention connects one end of the gas discharge tube to the metal grounding layer of the touch panel, and the other end to the ground through a third resistor. When static electricity from the human body is applied to the surface of the touch panel through a finger, the gas discharge tube conducts due to the voltage increase. On the one hand, the static electricity is discharged through the discharge path formed by the third resistor and the ground. On the other hand, the power supply to the touch chip is disconnected, which effectively avoids the device from being triggered falsely and improves the user experience.
[0019] In one alternative implementation, the touch circuit further includes a fourth resistor; One end of the fourth resistor is connected to the output of the comparator, and the other end of the fourth resistor is connected to the control terminal of the switch control unit.
[0020] Beneficial effects: The present invention connects a fourth resistor between the comparator and the switch control unit to limit the current flowing into the base of the switch control unit and avoid damage to the switch control unit due to excessive current.
[0021] In a second aspect, the present invention provides an electrical device that includes a touch circuit according to the first aspect or any corresponding embodiment described above.
[0022] In one alternative implementation, the electrical appliance is a range hood.
[0023] The beneficial effects of this invention are as follows: This invention connects a gas discharge tube to the grounding terminal of the touch panel. When the electrostatic voltage applied to the touch panel is normal, the gas discharge tube disconnects, the switch control unit closes, and the touch chip is powered on and operates normally. When the electrostatic voltage on the touch panel reaches the electrostatic voltage threshold, the gas discharge tube conducts, causing the switch control unit to disconnect and the touch chip to lose power. This effectively prevents electrostatic discharge from affecting the touch chip, prevents accidental device triggering, and thus improves user experience and device stability.
[0024] After the static electricity is discharged, the touch chip is re-energized and reset, and the buttons resume normal operation. This invention can achieve rapid response and automatic recovery, thus achieving a stable and reliable anti-static technology effect. Attached Figure Description
[0025] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0026] Figure 1 This is a schematic diagram of an application scenario according to an embodiment of the present invention; Figure 2 This is a schematic diagram of the structure of a touch circuit according to an embodiment of the present invention; Figure 3 This is a schematic flowchart of a touch circuit control method according to an embodiment of the present invention; Figure 4 This is a schematic diagram of the operation of a touch circuit according to an embodiment of the present invention; Figure 5 This is a structural block diagram of an electrical device according to an embodiment of the present invention; Figure 6 This is a schematic diagram of the hardware structure of the main control chip in an embodiment of the present invention. Detailed Implementation
[0027] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0028] It is understood that before using the technical solutions disclosed in the various embodiments of the present invention, users should be informed of the types, scope of use, and usage scenarios of the personal information involved in the present invention and their authorization should be obtained in accordance with relevant laws and regulations through appropriate means.
[0029] The terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this invention, "a plurality of" means two or more, unless otherwise explicitly specified.
[0030] As an optional application scenario of this invention, such as Figure 1 As shown, application 101 is installed in terminal device 110, and user 130 can interact with application 101 through terminal device 110 and / or access device of terminal device 110.
[0031] For example, application 101 can be any application that provides question-and-answer related services. For instance, application 101 could be a question-and-answer interactive application, such as a text-to-text application, an image-to-text application, etc. Figure 1 In the application scenario shown, if application 101 is active, the terminal device 110 can display the interface 102 of application 101. The interface 102 may include various pages that application 101 can provide, such as interactive pages, settings pages, query pages, etc.
[0032] In some embodiments, terminal device 110 is communicatively connected to server 120 to provide services to application 101. Terminal device 110 may be a mobile terminal, fixed terminal, or portable terminal, etc., including but not limited to mobile phones, desktop computers, laptop computers, multimedia tablets, e-book devices, gaming devices, or any combination thereof, including accessories and peripherals of these devices or any combination thereof. In some embodiments, terminal device 110 may also support any type of interface, and server 120 may be various types of computing systems or servers capable of providing computing power, including but not limited to mainframes, edge computing nodes, computing devices in cloud environments, etc.
[0033] It should be noted that, Figure 1 This is merely an example of an application scenario and does not limit the scope of protection of this invention.
[0034] The embodiments of the present invention will now be described with reference to the accompanying drawings. It should be understood that the pages shown in the drawings are merely examples, and various page designs are possible in practice. The various graphic elements on the page may have different arrangements and different visual representations; one or more elements may be omitted or replaced, and one or more other elements may also be present, without any limitation in the embodiments of the present invention. Furthermore, the embodiments described below primarily pertain to terminal device 110. It should be understood that the actions described relative to terminal device 110 can be performed by application 101 on terminal device 110, or can be performed by application 101 in conjunction with its server (e.g., server 120).
[0035] Touch buttons are widely used in various scenarios due to their aesthetic appeal and ease of cleaning. However, because of the fluctuating humidity in kitchen environments and the possibility of static electricity carried by operators, touch buttons are susceptible to electrostatic interference during use, leading to accidental triggering or damage. Related technologies typically employ hardware filtering and shielding grounding for electrostatic protection, but these methods have limited effectiveness in complex electrostatic environments and suffer from slow response times and long recovery periods, impacting user experience and device stability.
[0036] This invention provides a touch circuit that, by placing a gas discharge tube in the touch panel area, turns on the gas discharge tube when the electrostatic voltage applied to the touch panel is too high, causing the switch control unit to disconnect and the touch chip to lose power. This effectively avoids the impact of electrostatic discharge on the touch chip, prevents the device from being triggered erroneously, and thus improves the user experience and device stability.
[0037] According to an embodiment of the present invention, a touch circuit 200 is provided, such as... Figure 2 As shown, the touch circuit 200 mainly includes a touch panel GLASS, a gas discharge tube ESA1, a power supply VCC1, a switch control unit Q2, and a touch chip IC-TOUCH. The ground terminal of the touch panel GLASS is connected to the first terminal of the gas discharge tube ESA1, the second terminal of the gas discharge tube ESA1 is connected to the control terminal of the switch control unit Q2, the first terminal of the switch control unit Q2 is connected to the power supply VCC1, the second terminal of the switch control unit Q2 is connected to the power supply terminal VCC3 of the touch chip IC-TOUCH, and the input terminal of the touch chip IC-TOUCH is connected to the output terminal of the touch panel.
[0038] Specifically, power supply VCC1 is used to power the touch chip IC-TOUCH. The gas discharge tube ESA1 conducts when the electrostatic voltage on the touch panel GLASS reaches the electrostatic voltage threshold, and the switch control unit Q2 disconnects when the gas discharge tube ESA1 conducts, so that power supply VCC1 stops supplying power to the touch chip IC-TOUCH.
[0039] See you again Figure 1 The touch circuit 200 also includes a main control chip IC-MCU. When the touch chip IC-TOUCH is powered on and operating normally, the touch panel GLASS senses the user's touch actions (such as pressing, swiping, etc.) and converts them into raw electrical signals, which are then transmitted to the touch chip IC-TOUCH. The touch chip IC-TOUCH receives the raw electrical signals from the touch panel GLASS, performs noise reduction, signal recognition, and algorithm processing, and finally outputs standard control signals (such as single-point press, swipe direction, etc.) to the main control chip IC-MCU. After receiving the control signals, the main control chip IC-MCU executes the corresponding operations, such as displaying click feedback or switching pages on the touchscreen, completing a touch interaction.
[0040] Specifically, the touch chip IC-TOUCH can transmit signals through its input terminals (e.g., KEY1, KEY2, etc.) and its output terminals (e.g., KEY3, KEY4, etc.). The input terminals of the touch chip IC-TOUCH (e.g., KEY1, KEY2, etc.) are connected to the output terminals of the touch panel GLASS to receive the raw electrical signals from the touch panel GLASS. The touch panel GLASS can be made of ordinary glass, tempered glass, etc., and this invention is not limited thereto.
[0041] It should be noted that the static electricity applied to the touch panel GLASS can be static electricity from the human body or static electricity applied by an electrostatic gun during testing. The static electricity carried by the human body is generally above 10KV. Under normal circumstances, the static electricity carried by the human body is very small, so when a user normally touches the touch panel GLASS, it will not trigger the gas discharge tube ESA1, and the touch chip IC-TOUCH will not be powered on and work normally. When the static electricity carried by the human body is very large, reaching the static voltage threshold, the gas discharge tube ESA1 will be triggered, and the power supply path from the power supply VCC1 to the touch chip IC-TOUCH will be cut off by the switch control unit Q2. The switch control unit Q2 can be a PNP transistor, relay, or other switching device, and the static voltage threshold is the conduction threshold of the gas discharge tube ESA1. This conduction threshold can be set according to the actual needs of the scenario.
[0042] In some embodiments, the gas discharge tube can be replaced with other trigger tubes, such as varistors, TVS (Transient Voltage Suppressor) tubes, etc., as long as electrostatic voltage detection can be achieved.
[0043] In some embodiments, multiple gas discharge tubes with different breakdown voltages can be connected in parallel between the touch panel and ground to cope with electrostatic discharge voltages of different intensities. Through a multi-level gas discharge protection structure, the level and adaptability of electrostatic protection are improved.
[0044] The touch circuit provided in this embodiment of the invention connects the gas discharge tube ESA1 to the ground terminal of the touch panel GLASS. When the electrostatic voltage applied to the touch panel GLASS is normal, the gas discharge tube ESA1 is disconnected, the switch control unit Q2 is closed, and the touch chip IC-TOUCH is powered on and works normally. When the electrostatic voltage on the touch panel GLASS reaches the electrostatic voltage threshold, the gas discharge tube ESA1 is turned on, causing the switch control unit Q2 to disconnect and the touch chip IC-TOUCH to be powered off. This effectively avoids the impact of electrostatic discharge on the touch chip IC-TOUCH, prevents the device from being falsely triggered, and thus improves the user experience and device stability.
[0045] In some alternative implementations, see again Figure 2 The touch circuit 200 also includes a comparator U1-B and a preset voltage power supply VCC2. The second end of the gas discharge tube ESA1 is connected to the first input end of the comparator U1-B, the preset voltage power supply VCC2 is connected to the second input end of the comparator U1-B, and the output end of the comparator U1-B is connected to the control end of the switch control unit.
[0046] Specifically, comparator U1-B is used to output a first level signal when the gas discharge tube ESA1 is turned on; wherein, the first level signal is used to control the switch control unit Q2 to turn off.
[0047] In this embodiment, see again Figure 2 The positive input of comparator U1-B is connected to the second terminal of the gas discharge tube ESA1 to detect the voltage signal when the gas discharge tube ESA1 is turned on. When the electrostatic voltage reaches the electrostatic voltage threshold, the gas discharge tube ESA1 is turned on, and the output of comparator U1-B is a high-level signal. This high-level signal triggers the switch control unit Q2 to turn off, thus de-energizing the touch chip IC-TOUCH.
[0048] In this embodiment, comparator U1-B compares the voltage signal of gas discharge tube ESA1 with the voltage signal of preset voltage power supply VCC2. If gas discharge tube ESA1 is turned on, its voltage signal will be higher than the voltage signal of preset voltage power supply VCC2. Comparator U1-B outputs a first level signal to disconnect the switch control unit Q2 and de-energize the touch chip IC-TOUCH, thus preventing the touch chip IC-TOUCH from being malfunctioned due to electrostatic interference and ensuring the stability of the device.
[0049] In some alternative implementations, comparator U1-B is also used to output a second level signal when the gas discharge tube ESA1 is turned off, wherein the second level signal is used to control the switch control unit Q2 to close.
[0050] Specifically, when the static electricity on the touch panel GLASS disappears or the static voltage does not reach the static voltage threshold, the gas discharge tube ESA1 stops conducting, the comparator U1-B outputs a low-level signal, and this low-level signal triggers the switch control unit Q2 to close, so that the touch chip IC-TOUCH is powered again.
[0051] In this embodiment, comparator U1-B compares the voltage signal of gas discharge tube ESA1 with the voltage signal of preset voltage power supply VCC2. When static electricity disappears or the static voltage is low, gas discharge tube ESA1 is cut off, and its voltage signal will be lower than the voltage signal of preset voltage power supply VCC2. Comparator U1-B outputs a second level signal, which causes the switch control unit Q2 to close, and the touch chip IC-TOUCH is powered on and works normally, meeting the user's normal usage needs.
[0052] In some alternative implementations, see again Figure 2 The touch circuit 200 also includes a first resistor R7 and a second resistor R6. The first end of the first resistor R7 is connected to a preset voltage power supply VCC2, the second end of the first resistor R7 is connected to the first end of the second resistor R6 and the second input end of the comparator U1-B, and the second end of the second resistor R6 is grounded.
[0053] In this embodiment, the first resistor R7 and the second resistor R6 are connected in series to form a voltage divider circuit. This voltage divider circuit is powered by a preset voltage power supply VCC2. Through the voltage division of the first resistor R7 and the second resistor R6, a reference voltage is provided to the second input terminal (such as the negative input terminal) of the comparator U1-B. This reference voltage is used to determine whether the gas discharge tube ESA1 is conducting. When the gas discharge tube ESA1 is conducting, the power supply to the touch chip IC-TOUCH is disconnected in time to prevent the touch chip IC-TOUCH from being falsely triggered by electrostatic interference.
[0054] In some alternative implementations, see again Figure 2 The main control chip IC-MCU's detection terminal INT is connected to the comparator UI-B's output terminal ESD-CHECK, and the main control chip IC-MCU's communication terminal is connected to the touch chip IC-TOUCH's communication terminal. Specifically, the main control chip IC-MCU issues an electrostatic interference fault warning when it detects a fault in the touch chip IC-TOUCH's communication terminal and receives the first-level signal output from the comparator UI-B.
[0055] Specifically, see again Figure 2The SDA communication port of the touch chip IC-TOUCH is connected to the SDA communication port of the main control chip IC-MCU through the fifth resistor R2, and the SCL communication port of the touch chip IC-TOUCH is connected to the SCL communication port of the main control chip IC-MCU through the sixth resistor R4.
[0056] It should be noted that the Serial Data (SDA) and Serial Clock (SCL) lines are the core communication lines of the Inter-Integrated Circuit (I2C) bus. SDA is used to transmit communication data and control signals (such as touch commands from the touch chip), while SCL is used to transmit clock signals. The fifth resistor R2 and the sixth resistor R4 are pull-up resistors, which maintain the idle level of the SDA and SCL buses through their pull-up action, ensuring stable and reliable communication between the touch chip IC-TOUCH and the main control chip IC-MCU. Detailed operating principles can be found in the descriptions of relevant technologies and will not be elaborated upon here.
[0057] In this embodiment, the main control chip IC-MCU detects whether the touch chip IC-TOUCH is powered off through the communication port between the two chips. Power loss of the touch chip IC-TOUCH will cause a communication failure. Simultaneously, the main control chip IC-MCU combines the level signal output by comparator U1-B to comprehensively determine whether it is electrostatic interference. If it is electrostatic interference, the main control chip IC-MCU maintains the current state of the touch chip IC-TOUCH, does not trigger other actions of the touch chip IC-TOUCH, and issues an electrostatic interference fault warning to the user.
[0058] In some optional implementations, the main control chip IC-MCU is also used to reset the touch chip IC-TOUCH when it detects that the communication terminal of the touch chip IC-TOUCH has recovered from a fault state to a communication state and receives the second level signal output by the comparator U1-B.
[0059] Specifically, after the touch chip IC-TOUCH is powered on again, the main control chip IC-MCU detects that it has returned to the communication state, and the comparator U1-B outputs a second level signal (e.g., a low level signal). The main control chip IC-MCU sends a reset command to the touch chip IC-TOUCH, so that the touch panel and the touch chip return to normal working state, ensuring the normal and stable operation of the device.
[0060] In some alternative implementations, see again Figure 2 The touch circuit 200 also includes a third resistor R3, wherein one end of the third resistor R3 is connected to the second end of the gas discharge tube ESA1, and the other end of the third resistor R3 is grounded.
[0061] Specifically, the third resistor R3 is grounded to stabilize the second terminal level of the gas discharge tube ESA1 at a low level when it is off, so as to avoid random potential when the node is floating, ensure the initial state of the gas discharge tube ESA1 is stable during detection, and prevent the comparator U1-B from being triggered erroneously.
[0062] In this embodiment, one end of the gas discharge tube ESA1 is connected to the metal grounding layer of the touch panel GLASS, and the other end is grounded through the third resistor R3. When static electricity from the human body is applied to the surface of the touch panel through a finger, the gas discharge tube ESA1 conducts due to the voltage increase. On the one hand, the static electricity is discharged through the discharge path formed by the third resistor R3 and ground, and on the other hand, the power supply to the touch chip IC-TOUCH is disconnected, thereby effectively avoiding false triggering of the device and improving the user experience.
[0063] In some alternative implementations, see again Figure 2 The touch circuit 200 also includes a fourth resistor R1, one end of which is connected to the output terminal of comparator U1-B, and the other end of which is connected to the control terminal of switch control unit Q2. The fourth resistor R1 is a current-limiting resistor.
[0064] In this embodiment of the invention, a fourth resistor R1 is connected between the comparator U1-B and the switch control unit Q2 to limit the current flowing into the base of the switch control unit Q2 and prevent excessive current from damaging the switch control unit Q2.
[0065] In some alternative implementations, see again Figure 2 The touch circuit 200 also includes a seventh resistor R5 and an eighth resistor R8. The detection terminal INT of the main control chip IC-MCU is connected to the output terminal of the comparator U1-B through the seventh resistor R5, and the detection terminal INT is also grounded through the eighth resistor R8.
[0066] Specifically, by dividing the voltage between the seventh resistor R5 and the eighth resistor R8, the pin level of the detection terminal INT is kept stable, avoiding level fluctuations caused by pin floating or external noise, and reducing false triggering.
[0067] In some alternative implementations, see again Figure 2 The touch circuit 200 also includes a ninth resistor R10, one end of which is connected to the power supply and the other end is connected to the output of comparator U1-B.
[0068] The touch circuit provided in this invention requires no complex hardware modifications. It can achieve power-down control of the touch chip when the electrostatic voltage is high by using a gas discharge tube and a comparator. It has a simple structure, low cost, and fast response. It is suitable for various touch button systems and solves the problems of touch buttons being easily triggered, having unstable response, and having long recovery time under electrostatic interference.
[0069] According to an embodiment of the present invention, a touch circuit control method embodiment is provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.
[0070] This embodiment provides a touch circuit control method, which can be used for, for example Figure 2 The main control chip shown is such as a microcontroller or MCU. Figure 3 This is a flowchart of a touch circuit control method according to an embodiment of the present invention, such as... Figure 3 As shown, the process includes the following steps: Step S301: Obtain the conduction status of the gas discharge tube.
[0071] Specifically, the main control chip can also directly control the switch control unit. The main control chip detects the voltage signal at the second end of the gas discharge tube and compares this voltage signal with a preset voltage. If the voltage signal at the second end of the gas discharge tube is greater than the preset voltage, it indicates that the gas discharge tube is conducting.
[0072] Step S302: When the conduction state of the gas discharge tube is detected to be on, power supply to the touch chip is stopped.
[0073] Specifically, when the gas discharge tube is on, the main control chip outputs a first-level signal (high-level signal) to the control terminal of the switch control unit, controlling the switch control unit to open and thus powering down the touch chip. When the gas discharge tube is off, the main control chip continuously outputs a second-level signal (low-level signal) to the control terminal of the switch control unit, keeping the switch control unit closed and allowing the touch chip to operate normally.
[0074] The touch circuit control method provided in this embodiment connects a gas discharge tube to the ground terminal of the touch panel. When the electrostatic voltage applied to the touch panel is normal, the gas discharge tube is disconnected, the switch control unit is closed, and the touch chip is powered on and works normally. When the gas discharge tube is on, indicating that the electrostatic voltage on the touch panel has reached the electrostatic voltage threshold, the switch control unit is disconnected, the touch chip is powered off, and electrostatic discharge is prevented from affecting the touch chip, thus preventing the device from being accidentally triggered, thereby improving the user experience and device stability.
[0075] The working process of the touch circuit of the present invention will be explained below with reference to a specific application example.
[0076] Combination Figure 2 and Figure 4 As shown, when static electricity is applied to the touch panel and the static voltage is high, the gas discharge tube is triggered, and current flows through the third resistor R3. The positive input voltage of the comparator U1-B is greater than the negative input voltage of the comparator, and the comparator outputs a high-level signal. Therefore, the switch control unit Q2 is turned off, and the touch chip loses power. After the touch chip loses power, the main control chip detects a communication failure with the touch chip, and the detection terminal INT detects a high-level signal. The main control chip determines that there is static electricity and maintains the current state without performing any other actions.
[0077] When the static electricity disappears, the gas discharge tube is de-conducting, the comparator U1-B outputs a low level, the switch control unit Q2 is turned on, the touch chip is powered on, communication between the main control chip and the touch chip is restored, and the detection terminal INT detects a low-level signal. The main control chip determines that the static electricity has disappeared. If there is no abnormality after a 1-second delay, the main control chip resets the touch chip, and the touch system works normally.
[0078] This invention connects a gas discharge tube to the touch panel. When static electricity is high, the gas discharge tube conducts. A comparator detects the conduction voltage of the gas discharge tube. When the tube conducts, the comparator outputs a high level, the switch control unit disconnects, and the touch chip is powered down, effectively preventing static electricity from affecting the touch chip. The main control chip detects the communication status of the touch chip and the comparator output voltage to further confirm the static electricity status, improving the accuracy of the judgment. After the static electricity dissipates, the comparator outputs a low level, the touch chip is powered back on and reset, and the buttons resume normal operation. This achieves rapid response and automatic recovery, providing a stable and reliable anti-static technology effect.
[0079] This embodiment also provides an electrical device, such as Figure 5 As shown, the electrical device includes the touch circuit 200 of the above embodiment. For example, the electrical device may be a range hood.
[0080] Figure 6 This is a schematic diagram of the structure of a main control chip provided in an embodiment of the present invention.
[0081] The following is a detailed reference. Figure 6The diagram illustrates a suitable structure for implementing a main control chip in an embodiment of the present invention. The main control chip may include a processor (e.g., a central processing unit, a graphics processing unit, etc.) 601, which can perform various appropriate actions and processes based on a program stored in a read-only memory (ROM) 602 or a program loaded from memory 608 into random access memory (RAM) 603. The RAM 603 also stores various programs and data required for the operation of the main control chip. The processor 601, ROM 602, and RAM 603 are interconnected via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.
[0082] Typically, the following devices can be connected to I / O interface 605: input devices 606 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 607 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; memory devices 608 including, for example, magnetic tapes, hard disks, etc.; and communication devices 609. Communication device 609 allows the main control chip to communicate wirelessly or wiredly with other devices to exchange data. Although Figure 6 The master control chip with various devices is shown, but it should be understood that it is not required to implement or have all of the devices shown, and more or fewer devices may be implemented instead.
[0083] In particular, according to embodiments of the present invention, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of the present invention include a computer program product comprising a computer program carried on a non-transitory computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device 609, or installed from a memory 608, or installed from a ROM 602. When the computer program is executed by the processor 601, it performs the functions defined in the touch circuit control method of the embodiments of the present invention.
[0084] Figure 6 The main control chip shown is merely an example and should not impose any limitations on the functionality and scope of use of the embodiments of the present invention.
[0085] This invention also provides a computer-readable storage medium. The methods described above according to embodiments of the invention can be implemented in hardware or firmware, or implemented as computer code that can be recorded on a storage medium, or implemented as computer code downloaded via a network and originally stored on a remote storage medium or a non-transitory machine-readable storage medium and then stored on a local storage medium. Thus, the methods described herein can be processed by software stored on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. The storage medium can be a magnetic disk, optical disk, read-only memory, random access memory, flash memory, hard disk, or solid-state drive, etc.; further, the storage medium can also include combinations of the above types of memory. It is understood that computers, processors, microprocessor controllers, or programmable hardware include storage components capable of storing or receiving software or computer code. When the software or computer code is accessed and executed by the computer, processor, or hardware, the touch circuit control method shown in the above embodiments is implemented.
[0086] A portion of this invention can be applied as a computer program product, such as computer program instructions, which, when executed by a computer, can invoke or provide the methods and / or technical solutions according to the invention through the operation of the computer. Those skilled in the art will understand that the forms in which computer program instructions exist in a computer-readable medium include, but are not limited to, source files, executable files, installation package files, etc. Correspondingly, the ways in which computer program instructions are executed by a computer include, but are not limited to: the computer directly executing the instructions, or the computer compiling the instructions and then executing the corresponding compiled program, or the computer reading and executing the instructions, or the computer reading and installing the instructions and then executing the corresponding installed program. Here, the computer-readable medium can be any available computer-readable storage medium or communication medium accessible to a computer.
[0087] Although embodiments of the invention have been described in conjunction with the accompanying drawings, those skilled in the art can make various modifications and variations without departing from the spirit and scope of the invention, and such modifications and variations all fall within the scope defined by the appended claims.
Claims
1. A touch circuit, characterized in that, The touch circuit includes a touch panel, a gas discharge tube, a power supply, a switch control unit, and a touch chip. The ground terminal of the touch panel is connected to the first terminal of the gas discharge tube, the second terminal of the gas discharge tube is connected to the control terminal of the switch control unit, the first terminal of the switch control unit is connected to the power supply, the second terminal of the switch control unit is connected to the power supply terminal of the touch chip, and the input terminal of the touch chip is connected to the output terminal of the touch panel. The power supply is used to power the touch chip; The gas discharge tube is turned on when the electrostatic voltage on the touch panel reaches the electrostatic voltage threshold, and the switch control unit is turned off when the gas discharge tube is turned on, so that the power supply stops supplying power to the touch chip.
2. The touch circuit according to claim 1, characterized in that, The touch circuit also includes a comparator and a preset voltage power supply. The second end of the gas discharge tube is connected to the first input terminal of the comparator, the preset voltage power supply is connected to the second input terminal of the comparator, and the output terminal of the comparator is connected to the control terminal of the switch control unit. The comparator is used to output a first level signal when the gas discharge tube is turned on; wherein, the first level signal is used to control the switch control unit to turn off.
3. The touch circuit according to claim 2, characterized in that, The comparator is also used to output a second level signal when the gas discharge tube is turned off; wherein the second level signal is used to control the switch control unit to close.
4. The touch circuit according to claim 2, characterized in that, The touch circuit also includes a first resistor and a second resistor; The first end of the first resistor is connected to the preset voltage power supply, and the second end of the first resistor is connected to the first end of the second resistor and the second input terminal of the comparator, respectively. The second terminal of the second resistor is grounded.
5. The touch circuit according to any one of claims 2-4, characterized in that, The touch circuit also includes a main control chip, the detection terminal of which is connected to the output terminal of the comparator, and the communication terminal of which is connected to the communication terminal of the touch chip. The main control chip is used to issue an electrostatic interference fault warning when it detects that the communication terminal of the touch chip is in a fault state and receives the first level signal output by the comparator.
6. The touch circuit according to claim 5, characterized in that, The main control chip is also used to reset the touch chip when it detects that the communication terminal of the touch chip has recovered from a fault state to a communication state, and when it receives the second level signal output by the comparator.
7. The touch circuit according to any one of claims 1-4, characterized in that, The touch circuit also includes a third resistor; One end of the third resistor is connected to the second end of the gas discharge tube, and the other end of the third resistor is grounded.
8. The touch circuit according to any one of claims 2-4, characterized in that, The touch circuit also includes a fourth resistor; One end of the fourth resistor is connected to the output terminal of the comparator, and the other end of the fourth resistor is connected to the control terminal of the switch control unit.
9. An electrical appliance, characterized in that, The electrical device includes the touch circuit according to any one of claims 1-8.
10. The electrical equipment according to claim 9, characterized in that, The electrical appliance is a range hood.