Touch on-off key control circuit for POS machine base
By setting the touch switch button control circuit in the base of the POS machine, the hardware circuit design and the principle of slow capacitor discharge are used to control the switch of the POS machine base, which solves the problems of easy damage toggle switches and high MCU control costs, and improves reliability and user experience.
Patent Information
- Application Number
- CN202422552661.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-22
- Publication Date
- 2025-08-26
- Estimated Expiration
- 2034-10-22
AI Technical Summary
The switch-on and shutdown function of the existing POS machine base uses toggle switches that are easy to damage and costly, and the MCU control method is difficult to maintain, and the user experience is poor.
A touch switch button control circuit is designed. By setting up a power supply power supply, power supply main control circuit and touch switch button circuit in the base of the POS machine, the hardware circuit design and the principle of slow capacitor discharge are used to realize the touch button to control the power switch of the POS machine base.
Simplify the circuit structure, improve the reliability and user experience of the switch, reduce production costs, and avoid the problems of easy damage to toggle switches and maintenance difficulties of MCU control.
Smart Images

Figure CN223274102U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of circuits, and in particular to a touch switch button control circuit for a POS machine base. Background Art
[0002] A POS machine is a multifunctional terminal. By installing it in authorized merchants and acceptance outlets of Credit One and connecting it to a computer network, automatic electronic fund transfer can be realized. It supports functions such as consumption, pre-authorization, balance inquiry and transfer, and is safe, fast and reliable to use.
[0003] The POS machine base typically provides charging, USB connectivity, and network connectivity for the POS machine. To conserve energy and maintain safety, the POS machine base is equipped with an on / off function. Currently, the most common method is a toggle switch, but this method is complex and requires considerable effort to operate. Each on / off toggle can also easily cause damage, jamming, or poor contact, resulting in a poor user experience. While there are also methods that use an MCU to automatically power the machine on and off, this MCU-controlled method is relatively expensive to produce and requires software to control the MCU, making it difficult and inconvenient to maintain, resulting in a suboptimal user experience. Utility Model Content
[0004] In order to solve the problems in the prior art, the present invention provides a touch power on / off button control circuit for a POS machine base. By arranging a power supply in the POS machine base, a power supply main control circuit and a touch power on / off button circuit that cooperate with each other in the touch power on / off button control circuit for the POS machine base, the power supply main control circuit can control the on / off of the power supply of the POS machine base to the POS machine according to the state of the touch button switch SW1 fed back by the touch power on / off button circuit, that is, the touch button switch SW1 can be used to control the power on / off of the POS machine base. The circuit structure is simple, which solves the problems in the prior art that the power on / off function of the POS machine base is easily damaged by a toggle switch and that the MCU control is costly and difficult to maintain.
[0005] The utility model provides a touch power on / off button control circuit for a POS machine base, comprising a power supply in the POS machine base, a power supply main control circuit and a touch power on / off button circuit, wherein the output end of the power supply in the POS machine base is connected to the input end of the power supply main control circuit and the input end of the touch power on / off button circuit, the output end of the touch power on / off button circuit is connected to the input end of the power supply main control circuit, the output end of the power supply main control circuit can be connected to the power supply of the POS machine, a touch button switch SW1 is provided in the touch power on / off button circuit, and the power supply main control circuit can control the on / off of the power supply of the POS machine base to the POS machine according to the state of the touch button switch SW1 fed back by the touch power on / off button circuit.
[0006] The present utility model is further improved. The power supply main control circuit is provided with a power supply main control chip U1, an inductor L1, a resistor R2 and a resistor R5, wherein the power supply main control chip U1 is provided with 5 pins, the 1st pin of the power supply main control chip U1 is connected to the output end of the touch switch button circuit, the 3rd pin of the power supply main control chip U1 is connected to one end of the inductor L1, the 4th pin of the power supply main control chip U1 is connected to the output end of the power supply in the POS machine base, the 5th pin of the power supply main control chip U1 is connected to one end of the resistor R2 and one end of the resistor R5, the other end of the inductor L1 is connected to the other end of the resistor R2 and the POS machine power supply, and the 2nd pin of the power supply main control chip U1 and the other end of the resistor R5 are grounded.
[0007] The present utility model is further improved, and the power supply main control circuit is further provided with a capacitor C1, a capacitor C2, a capacitor C3 and a resistor R1, wherein one end of the capacitor C1 is connected to the 4th pin of the power supply main control chip U1 and the output end of the power supply in the POS machine base, one end of the resistor R1 is connected to the 1st pin of the power supply main control chip U1 and the output end of the touch switch button circuit, one end of the capacitor C2 is connected to one end of the capacitor C3, the other end of the resistor R2, the other end of the inductor L1, and the POS machine power supply, and the other end of the capacitor C1, the other end of the capacitor C2, the other end of the capacitor C3, and the other end of the resistor R1 are grounded.
[0008] The present utility model is further improved. The touch switch button circuit is further provided with a transistor Q1, a resistor R7, a resistor R3, a resistor R4, a diode D2 and a diode D1, wherein the base of the transistor Q1 is connected to one end of the resistor R7, the other end of the resistor R7 is connected to one end of the resistor R4, one end of the capacitor C2, one end of the capacitor C3, the other end of the resistor R2, and the other end of the inductor L1, the other end of the resistor R4 is connected to the positive electrode of the diode D1, the negative electrode of the diode D1 is connected to one end of the touch button switch SW1 and the first pin of the power supply main control chip U1, the other end of the touch button switch SW1 is connected to the negative electrode of the diode D2, the positive electrode of the diode D2 is connected to the collector of the transistor Q1 and one end of the resistor R3, the other end of the resistor R3 is connected to the fourth pin of the power supply main control chip U1 and the output end of the power supply in the POS machine base, and the emitter of the transistor Q1 is grounded.
[0009] The present utility model is further improved, the touch switch button circuit is further provided with a capacitor C4, a capacitor C5 and a resistor R6, wherein one end of the capacitor C4 is connected to the cathode of the diode D2, one end of the capacitor C5 is connected to one end of the resistor R6, the base of the transistor Q1, and one end of the resistor R7, and the other end of the capacitor C4, the other end of the capacitor C5, and the other end of the resistor R6 are grounded.
[0010] The present invention is further improved in that the power supply main control chip U1 is an enabling chip for the power supply in the POS machine base.
[0011] The present invention is further improved in that the resistance of the resistor R2 is 680KΩ, the resistance of the resistor R5 is 150KΩ, the resistance of the resistor R1 is 200KΩ, the capacitance of the capacitor C1 is 22uF, the capacitance of the capacitor C2 is 22uF, and the capacitance of the capacitor C3 is 0.1uF.
[0012] The present invention is further improved in that the resistance of the resistor R7 is 200KΩ, the resistance of the resistor R4 is 200KΩ, the resistance of the resistor R3 is 1MΩ, the resistance of the resistor R6 is 100KΩ, the capacitance of the capacitor C4 is 22uF, and the capacitance of the capacitor C5 is 1uF.
[0013] Compared with the prior art, the beneficial effects of the present invention are: providing a touch power on / off button control circuit for a POS machine base, by arranging a power supply in the POS machine base, a power supply main control circuit and a touch power on / off button circuit that cooperate with each other in the touch power on / off button control circuit for the POS machine base, the power supply main control circuit can control the on / off of the power supply of the POS machine to the POS machine by the POS machine base according to the touch button switch SW1 state feedback from the touch power on / off button circuit, that is, it can realize the touch button switch SW1 to control the power on / off of the POS machine base, adopts a pure hardware circuit design, does not require additional MCU control, makes full use of the enable pin of the power supply enable chip in the main power POS machine base, has a simple circuit structure, and adopts the principle of slow discharge of capacitors to improve the reliability of the POS machine base power on / off, greatly improves the user experience, and solves the problems in the prior art that the power on / off function of the POS machine base adopts a toggle switch that is easily damaged and adopts MCU control with high cost and difficult maintenance. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] In order to more clearly illustrate the solutions in the present invention or the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0015] Figure 1 The utility model is a circuit diagram of a touch switch key control circuit for a POS machine base. DETAILED DESCRIPTION
[0016] Unless otherwise defined, all technical and scientific terms used herein have the same meanings as commonly understood by those skilled in the art to which this utility model belongs. The terms used in the specification of the application are only for the purpose of describing specific embodiments and are not intended to limit this utility model. The terms "including" and "having" and any variations thereof in the specification and claims of this utility model and the above-mentioned drawings are intended to cover non-exclusive inclusions. The terms "first", "second", etc. in the specification and claims of this utility model or the above-mentioned drawings are used to distinguish different objects, not to describe a specific order.
[0017] References to "embodiments" herein mean that a particular feature, structure, or characteristic described in connection with the embodiments may be included in at least one embodiment of the present invention. The appearance of this phrase in various places in the specification does not necessarily refer to the same embodiment, nor does it constitute an independent or alternative embodiment that is mutually exclusive of other embodiments. It is understood, both explicitly and implicitly, by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0018] In order to enable those skilled in the art to better understand the solution of the present invention, the technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings.
[0019] like Figure 1 As shown, the present invention provides a touch power on / off key control circuit for a POS machine base, comprising a power supply within the POS machine base, a power supply main control circuit, and a touch power on / off key circuit. The output end of the power supply within the POS machine base is connected to the input end of the power supply main control circuit and the input end of the touch power on / off key circuit. The output end of the touch power on / off key circuit is connected to the input end of the power supply main control circuit. The output end of the power supply main control circuit can be connected to the POS machine power supply. A touch key switch SW1 is provided within the touch power on / off key circuit. In this embodiment, the power supply main control circuit can control the on / off of the POS machine base's power supply to the POS machine based on the state of the touch key switch SW1 fed back by the touch power on / off key circuit. In other words, the touch key switch SW1 can control the POS machine base's power on / off. This utilizes a pure hardware circuit design, eliminating the need for additional MCU control. It fully utilizes the enable pin of the power supply enable chip within the main power supply POS machine base, resulting in a simple circuit structure. Furthermore, the principle of slow capacitor discharge is employed to improve the reliability of the POS machine base's power on / off, significantly enhancing the user experience.
[0020] like Figure 1As shown, the power supply main control circuit is provided with a power supply main control chip U1, an inductor L1, a resistor R2 and a resistor R5. The power supply main control chip U1 is provided with 5 pins. The first pin of the power supply main control chip U1 is connected to the output end of the touch switch button circuit, the third pin of the power supply main control chip U1 is connected to one end of the inductor L1, the fourth pin of the power supply main control chip U1 is connected to the output end of the power supply in the POS machine base, the fifth pin of the power supply main control chip U1 is connected to one end of the resistor R2 and one end of the resistor R5, the other end of the inductor L1 is connected to the other end of the resistor R2 and the power supply of the POS machine, the second pin of the power supply main control chip U1 and the other end of the resistor R5 are grounded; the power supply main control circuit is also provided with capacitors C1, C2, C3 and resistor R1, One end of capacitor C1 is connected to pin 4 of the power supply main control chip U1 and the output end of the power supply in the POS machine base. One end of resistor R1 is connected to pin 1 of the power supply main control chip U1 and the output end of the touch power on / off key circuit. One end of capacitor C2 is connected to one end of capacitor C3, the other end of resistor R2, the other end of inductor L1, and the POS machine power supply. The other ends of capacitor C1, capacitor C2, capacitor C3, and resistor R1 are grounded. The power supply main control chip U1 is the enable chip for the power supply in the POS machine base. The resistance of resistor R2 is 680KΩ, the resistance of resistor R5 is 150KΩ, the resistance of resistor R1 is 200KΩ, the capacitance of capacitor C1 is 22uF, the capacitance of capacitor C2 is 22uF, and the capacitance of capacitor C3 is 0.1uF. In this embodiment, the power supply main control circuit is used to control the on / off of the POS machine base's power supply to the POS machine based on the enable signal provided by the touch power on / off key circuit, that is, to control the on / off state of the POS machine base.
[0021] like Figure 1As shown, the touch switch button circuit is further provided with a transistor Q1, a resistor R7, a resistor R3, a resistor R4, a diode D2 and a diode D1. The base of the transistor Q1 is connected to one end of the resistor R7, the other end of the resistor R7 is connected to one end of the resistor R4, one end of the capacitor C2, one end of the capacitor C3, the other end of the resistor R2, and the other end of the inductor L1. The other end of the resistor R4 is connected to the positive electrode of the diode D1, the negative electrode of the diode D1 is connected to one end of the touch button switch SW1 and the first pin of the power supply main control chip U1, the other end of the touch button switch SW1 is connected to the negative electrode of the diode D2, the positive electrode of the diode D2 is connected to the collector of the transistor Q1 and one end of the resistor R3, and the other end of the resistor R3 is connected. One end is connected to the 4th pin of the power supply main control chip U1 and the output end of the power supply in the POS machine base, and the emitter of the transistor Q1 is grounded; the touch switch button circuit is also provided with a capacitor C4, a capacitor C5 and a resistor R6, one end of the capacitor C4 is connected to the negative electrode of the diode D2, one end of the capacitor C5 is connected to one end of the resistor R6, the base of the transistor Q1, and one end of the resistor R7, the other end of the capacitor C4, the other end of the capacitor C5, and the other end of the resistor R6 are grounded; among them, the resistance of the resistor R7 is 200KΩ, the resistance of the resistor R4 is 200KΩ, the resistance of the resistor R3 is 1MΩ, the resistance of the resistor R6 is 100KΩ, the capacitance of the capacitor C4 is 22uF, and the capacitance of the capacitor C5 is 1uF. In this embodiment, when the power supply in the POS machine base is connected, the capacitor C4 will be charged through the resistor R3. When the touch button switch SW1 is connected, the voltage of pin 1 EN of the power supply main control chip U1 will be pulled up. As long as it is higher than 1.4V, the power supply main control chip U1 can work and output 3.3V, and the POS machine base will start working; and 3.3V will be fed back to pin 1 EN of the power supply main control chip U1 through the three components of resistor R4, diode D1, and resistor R1, and the voltage is about 1.7V. At this time, after releasing the button, the power supply main control chip U1 will also keep working; at the same time, 3.3V will also turn on the transistor Q1 through resistors R6 and R7, and 12V will no longer charge capacitor C4. The voltage on capacitor C4 will slowly drop to 0V, preparing for shutdown. When the touch button switch SW1 is touched again, since the voltages on both sides of the capacitor C4 are 0V and the voltages on both sides of the capacitor cannot change rapidly, the EN pin 1 of the power supply main control chip U1 is equivalent to being grounded, and the power supply main control chip U1 will stop working, and its output voltage will slowly drop from 3.3V to 0V. However, due to the presence of capacitor C5, the transistor Q1 will remain on for about 500ms. During this period, the voltage of capacitor C4 will still be lower than the EN threshold value of the EN pin 1 of the power supply main control chip U1, thus ensuring the normal shutdown of the POS machine base.
[0022] From the above, it can be seen that the present invention provides a touch power on / off button control circuit for a POS machine base. By arranging a power supply in the POS machine base, a power supply main control circuit and a touch power on / off button circuit that cooperate with each other in the touch power on / off button control circuit for the POS machine base, the power supply main control circuit can control the on / off of the power supply of the POS machine to the POS machine by the POS machine base according to the state of the touch button switch SW1 fed back by the touch power on / off button circuit, that is, it can realize the touch button switch SW1 to control the power on / off of the POS machine base. It adopts a pure hardware circuit design and does not require additional MCU control. It makes full use of the enable pin of the power supply enable chip in the main power POS machine base. The circuit structure is simple. At the same time, the principle of slow discharge of the capacitor is adopted to improve the reliability of the POS machine base power on / off, greatly improve the user experience, and solve the problems in the prior art that the power on / off function of the POS machine base adopts a toggle switch that is easy to be damaged and adopts MCU control with high cost and difficult maintenance.
[0023] The specific implementation methods described above are preferred implementation methods of the present invention, and are not intended to limit the specific implementation scope of the present invention. The scope of the present invention includes but is not limited to the specific implementation methods. All equivalent changes made in accordance with the present invention are within the protection scope of the present invention.
Claims
1. A touch switch button control circuit for a POS machine base, characterized by: It includes a power supply in the POS machine base, a power supply main control circuit and a touch power on / off button circuit. The output end of the power supply in the POS machine base is connected to the input end of the power supply main control circuit and the input end of the touch power on / off button circuit. The output end of the touch power on / off button circuit is connected to the input end of the power supply main control circuit. The output end of the power supply main control circuit can be connected to the power supply of the POS machine. A touch button switch SW1 is provided in the touch power on / off button circuit. The power supply main control circuit can control the on / off of the power supply to the POS machine by the POS machine base according to the state of the touch button switch SW1 fed back by the touch power on / off button circuit.
2. The touch switch button control circuit for a POS machine base according to claim 1, characterized in that: The power supply main control circuit is provided with a power supply main control chip U1, an inductor L1, a resistor R2 and a resistor R5, wherein the power supply main control chip U1 is provided with 5 pins, the 1st pin of the power supply main control chip U1 is connected to the output end of the touch switch button circuit, the 3rd pin of the power supply main control chip U1 is connected to one end of the inductor L1, the 4th pin of the power supply main control chip U1 is connected to the output end of the power supply in the POS machine base, the 5th pin of the power supply main control chip U1 is connected to one end of the resistor R2 and one end of the resistor R5, the other end of the inductor L1 is connected to the other end of the resistor R2 and the POS machine power supply, and the 2nd pin of the power supply main control chip U1 and the other end of the resistor R5 are grounded.
3. The touch switch button control circuit for a POS machine base according to claim 2, characterized in that: The power supply main control circuit is also provided with a capacitor C1, a capacitor C2, a capacitor C3 and a resistor R1, wherein one end of the capacitor C1 is connected to the 4th pin of the power supply main control chip U1 and the output end of the power supply in the POS machine base, one end of the resistor R1 is connected to the 1st pin of the power supply main control chip U1 and the output end of the touch switch button circuit, one end of the capacitor C2 is connected to one end of the capacitor C3, the other end of the resistor R2, the other end of the inductor L1, and the POS machine power supply, and the other end of the capacitor C1, the other end of the capacitor C2, the other end of the capacitor C3, and the other end of the resistor R1 are grounded.
4. The touch switch button control circuit for a POS machine base according to claim 3, characterized in that: The touch switch key circuit is also provided with a transistor Q1, a resistor R7, a resistor R3, a resistor R4, a diode D2 and a diode D1, wherein the base of the transistor Q1 is connected to one end of the resistor R7, the other end of the resistor R7 is connected to one end of the resistor R4, one end of the capacitor C2, one end of the capacitor C3, the other end of the resistor R2, and the other end of the inductor L1, the other end of the resistor R4 is connected to the positive electrode of the diode D1, the negative electrode of the diode D1 is connected to one end of the touch key switch SW1 and the first pin of the power supply main control chip U1, the other end of the touch key switch SW1 is connected to the negative electrode of the diode D2, the positive electrode of the diode D2 is connected to the collector of the transistor Q1 and one end of the resistor R3, the other end of the resistor R3 is connected to the fourth pin of the power supply main control chip U1 and the output end of the power supply in the POS machine base, and the emitter of the transistor Q1 is grounded.
5. The touch switch button control circuit for a POS machine base according to claim 4, characterized in that: The touch switch button circuit is further provided with a capacitor C4, a capacitor C5 and a resistor R6, wherein one end of the capacitor C4 is connected to the cathode of the diode D2, one end of the capacitor C5 is connected to one end of the resistor R6, the base of the transistor Q1 and one end of the resistor R7, and the other end of the capacitor C4, the other end of the capacitor C5 and the other end of the resistor R6 are grounded.
6. The touch switch button control circuit for a POS machine base according to claim 5, characterized in that: The power supply main control chip U1 is an enabling chip for the power supply in the POS machine base.
7. The touch switch button control circuit for a POS machine base according to claim 6, characterized in that: The resistance value of the resistor R2 is 680KΩ, the resistance value of the resistor R5 is 150KΩ, the resistance value of the resistor R1 is 200KΩ, the capacitance value of the capacitor C1 is 22uF, the capacitance value of the capacitor C2 is 22uF, and the capacitance value of the capacitor C3 is 0.1uF.
8. The touch switch button control circuit for a POS machine base according to claim 7, characterized in that: The resistance value of the resistor R7 is 200KΩ, the resistance value of the resistor R4 is 200KΩ, the resistance value of the resistor R3 is 1MΩ, the resistance value of the resistor R6 is 100KΩ, the capacitance value of the capacitor C4 is 22uF, and the capacitance value of the capacitor C5 is 1uF.