Pure hardware on-off circuit built by discrete devices
The pure hardware power on/off circuit built with discrete devices and the circuit structure composed of components such as MOS tubes and transistors solve the problem of software identification power on/off circuit being prone to failure, realizes stable and reliable hardware power on/off function, reduces costs and enhances the scalability of the circuit.
Patent Information
- Application Number
- CN202422613050.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-29
- Publication Date
- 2025-10-14
- Estimated Expiration
- 2034-10-29
AI Technical Summary
Existing software recognition power on/off circuits are prone to failure, especially when the MCU program runs wild, causing the system to be unable to shut down, and switch contact jitter affects the reliability of MCU recognition.
The pure hardware switch circuit built with discrete devices includes a switch module, a single-button module, a self-locking module and an indicator module. The switch is turned on and off through the hardware circuit, and the circuit structure composed of components such as MOS tubes and triodes is used to realize the self-locking function and indicator light.
It realizes normal power on and off without MCU IO port identification. It is stable, reliable, low-cost, suitable for voltage control above 2.5V, avoids shutdown problems caused by MCU freeze, and has a simple circuit and strong scalability.
Smart Images

Figure CN223437071U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the field of switches, in particular to a pure hardware switch circuit constructed by discrete components. Background Art
[0002] Commonly used touch switches for flashlights, desk lamps, motor controls, shavers, and other portable products require microcontrollers, occupying MCU I / O resources. Software is often used to identify power on and off. This can lead to system shutdown failures if the MCU program fails. Existing technologies also affect switch contact jitter, which can affect MCU identification.
[0003] Therefore, the existing software recognition power on / off circuit is prone to failure and needs to be improved. Utility Model Content
[0004] The purpose of the present invention is to provide a pure hardware power on / off circuit constructed with discrete components to solve the problems raised in the above background technology.
[0005] To achieve the above objectives, the present invention provides the following technical solutions:
[0006] A pure hardware power on / off circuit built with discrete components, including:
[0007] The switch module is used as a switch and supplies the input voltage to the load after being turned on;
[0008] Single-button module, used to control the switch module to be turned on or off by a single button;
[0009] The self-locking module is used to control the switch module to continue to be turned on after the single button module is opened after the switch module is turned on;
[0010] An indicator module, used to indicate light emission when the switch module is turned on;
[0011] The switch module is connected to the self-locking module and the indication module, the self-locking module is connected to the single-button module, and the single-button module is connected to the switch module.
[0012] As a further solution of the present utility model: the switch module includes a resistor R1, a resistor R4, a MOS transistor Q1, and a MOS transistor Q3. The S terminal of the MOS transistor Q1 is connected to one end of the resistor R1 and the input voltage B+, the D terminal of the MOS transistor Q1 is connected to the self-locking module, the indication module, and the output voltage P+, the G terminal of the MOS transistor Q1 is connected to the other end of the resistor R1 and one end of the resistor R4, the other end of the resistor R4 is connected to the D terminal of the MOS transistor Q3, the S terminal of the MOS transistor Q3 is grounded, and the G terminal of the MOS transistor Q3 is connected to the single-button module.
[0013] As a further solution of the present utility model: the single-button module includes a transistor Q2, a resistor R2, a switch SW1, a resistor R7, and a capacitor C1, one end of the resistor R2 is connected to the input voltage B+, the other end of the resistor R2 is connected to the collector of the transistor Q2 and one end of the switch SW1, the emitter of the transistor Q2 is grounded, the base of the transistor Q2 is connected to the self-locking module, the other end of the switch SW1 is connected to one end of the resistor R7, one end of the capacitor C1, the switch module, and the self-locking module, the other end of the resistor R7 is grounded, and the other end of the capacitor C1 is grounded.
[0014] As a further solution of the present utility model: the self-locking module includes a diode D1, a resistor R5, a resistor R6, a resistor R8, and a capacitor C2. The positive electrode of the diode D1 is connected to the switch module, the negative electrode of the diode D1 is connected to one end of the resistor R5 and one end of the resistor R6, the other end of the resistor R5 is connected to the single-button module, the other end of the resistor R6 is connected to one end of the resistor R8, one end of the capacitor C2, and the single-button module, the other end of the capacitor C2 is grounded, and the other end of the resistor R8 is grounded.
[0015] As a further solution of the present invention: the indicating module includes a resistor R3 and a light-emitting diode LED1, one end of the resistor R3 is connected to the switch module, the other end of the resistor R3 is connected to the positive electrode of the light-emitting diode LED1, and the negative electrode of the light-emitting diode LED1 is grounded.
[0016] Compared with the prior art, the beneficial effects of the present invention are as follows: the present invention is a pure hardware power on / off circuit constructed with discrete components, which can realize normal power on / off without identification by the IO port of the single-chip microcomputer. Only a touch switch and this circuit are needed to realize power on / off, and the control voltage is not limited to voltages above 2.5V; stable and reliable power on / off; simple circuit, no need for a step-down circuit, no need for an MCU; almost zero leakage current when shut down; strong scalability, and the subsequent stage can be connected to other analog circuits to realize other functions; great cost advantage over the power on / off circuits on the market, saving at least 1 / 2 of the cost. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 Circuit diagram of a pure hardware power on / off circuit built with discrete components. DETAILED DESCRIPTION
[0018] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0019] See also Figure 1, a pure hardware power on / off circuit built with discrete components, including:
[0020] The switch module is used as a switch and supplies the input voltage to the load after being turned on;
[0021] Single-button module, used to control the switch module to be turned on or off by a single button;
[0022] The self-locking module is used to control the switch module to continue to be turned on after the single button module is opened after the switch module is turned on;
[0023] An indicator module, used to indicate light emission when the switch module is turned on;
[0024] The switch module is connected to the self-locking module and the indication module, the self-locking module is connected to the single-button module, and the single-button module is connected to the switch module.
[0025] In this example: See Figure 1 The switch module includes a resistor R1, a resistor R4, a MOS transistor Q1, and a MOS transistor Q3. The S terminal of the MOS transistor Q1 is connected to one end of the resistor R1 and the input voltage B+. The D terminal of the MOS transistor Q1 is connected to the self-locking module, the indication module, and the output voltage P+. The G terminal of the MOS transistor Q1 is connected to the other end of the resistor R1 and one end of the resistor R4. The other end of the resistor R4 is connected to the D terminal of the MOS transistor Q3. The S terminal of the MOS transistor Q3 is grounded. The G terminal of the MOS transistor Q3 is connected to the single-button module.
[0026] When the MOS tube Q3 (NMOS) is turned on, the G-pole voltage of the MOS tube Q1 (PMOS) becomes low, the MOS tube Q1 is turned on, and the input voltage B+ forms the output voltage P+ through the MOS tube Q1.
[0027] In this example: See Figure 1 The single-button module includes a transistor Q2, a resistor R2, a switch SW1, a resistor R7, and a capacitor C1. One end of the resistor R2 is connected to the input voltage B+, the other end of the resistor R2 is connected to the collector of the transistor Q2 and one end of the switch SW1, the emitter of the transistor Q2 is grounded, the base of the transistor Q2 is connected to the self-locking module, the other end of the switch SW1 is connected to one end of the resistor R7, one end of the capacitor C1, the switch module, and the self-locking module. The other end of the resistor R7 is grounded, and the other end of the capacitor C1 is grounded.
[0028] The switch SW1 is a push-button switch that pops up when pressed. When the switch SW1 is pressed, the input voltage B+ forms a high level on the resistor R7 through the resistor R2 and the switch SW1, so that the G terminal of the MOS tube Q3 is high, and the MOS tube Q3 is turned on.
[0029] In this example: See Figure 1The self-locking module includes a diode D1, a resistor R5, a resistor R6, a resistor R8, and a capacitor C2. The positive electrode of the diode D1 is connected to the switch module, the negative electrode of the diode D1 is connected to one end of the resistor R5 and one end of the resistor R6, the other end of the resistor R5 is connected to the single-button module, the other end of the resistor R6 is connected to one end of the resistor R8, one end of the capacitor C2, and the single-button module, the other end of the capacitor C2 is grounded, and the other end of the resistor R8 is grounded.
[0030] After MOS transistor Q3 is turned on, the voltage passes through diode D1 and resistor R5 to keep MOS transistor Q5 turned on. After switch SW1 is released, the switch module remains turned on. At the same time, the voltage passes through diode D1, resistor R6, and resistor R8, making the base of transistor Q2 high. Transistor Q2 is turned on, making switch SW1 low. When switch SW1 is pressed again, the G terminal of MOS transistor Q3 is connected to ground through switch SW1 and transistor Q2. MOS transistor Q3 is turned off, and MOS transistor Q1 is turned off. Therefore, the switch module can be turned on or off by the single-button switch SW1.
[0031] In this example: See Figure 1 The indication module includes a resistor R3 and a light-emitting diode LED1. One end of the resistor R3 is connected to the switch module, the other end of the resistor R3 is connected to the positive electrode of the light-emitting diode LED1, and the negative electrode of the light-emitting diode LED1 is grounded.
[0032] After the MOS tube Q1 is turned on, a voltage is stored at the output voltage P+, causing the light-emitting tube LED1 to emit light for indication.
[0033] The working principle of the utility model is as follows: the switch module is used as a switch, and after being turned on, the input voltage is supplied to the load; the single-button module is used to control the switch module to be turned on or off by a single button; the self-locking module is used to control the switch module to be continuously turned on after the switch module is turned on and the single-button module is popped open; the indication module is used to indicate that the switch module is turned on and emits light.
[0034] The utility model is a pure hardware power on / off circuit constructed with discrete components. Normal power on / off can be achieved without identification via the IO port of a single-chip microcomputer. Only a light touch switch and this circuit are required to achieve power on / off. The control voltage is not limited to voltages above 2.5V; power on / off control can be achieved without voltage reduction. The power on / off operation of electronic products using this power on / off circuit is more stable and reliable; there is no situation where the product cannot be shut down due to a MCU freeze.
[0035] It is obvious to those skilled in the art that the present invention is not limited to the details of the exemplary embodiments described above, and that the present invention can be implemented in other specific forms without departing from the spirit or essential features of the present invention. Therefore, the embodiments should be considered in all respects as exemplary and non-restrictive.
[0036] In addition, it should be understood that although this specification is described in terms of implementation methods, not every implementation method contains only one independent technical solution. This narrative method of the specification is only for the sake of clarity. Those skilled in the art should regard the specification as a whole. The technical solutions in each embodiment can also be appropriately combined to form other implementation methods that can be understood by those skilled in the art.
Claims
1. A pure hardware power on / off circuit constructed with discrete components, characterized in that: The pure hardware power on / off circuit built with this discrete device includes: The switch module is used as a switch and supplies the input voltage to the load after being turned on; Single-button module, used to control the switch module to be turned on or off by a single button; The self-locking module is used to control the switch module to continue to be turned on after the single button module is opened after the switch module is turned on; An indicator module, used to indicate light emission when the switch module is turned on; The switch module is connected to the self-locking module and the indication module, the self-locking module is connected to the single-button module, and the single-button module is connected to the switch module.
2. The pure hardware power on / off circuit constructed with discrete components according to claim 1, characterized in that: The switch module includes a resistor R1, a resistor R4, a MOS transistor Q1, and a MOS transistor Q3. The S terminal of the MOS transistor Q1 is connected to one end of the resistor R1 and the input voltage B+. The D terminal of the MOS transistor Q1 is connected to the self-locking module, the indication module, and the output voltage P+. The G terminal of the MOS transistor Q1 is connected to the other end of the resistor R1 and one end of the resistor R4. The other end of the resistor R4 is connected to the D terminal of the MOS transistor Q3. The S terminal of the MOS transistor Q3 is grounded. The G terminal of the MOS transistor Q3 is connected to the single-button module.
3. The pure hardware power on / off circuit constructed with discrete components according to claim 1, characterized in that: The single-button module includes a transistor Q2, a resistor R2, a switch SW1, a resistor R7, and a capacitor C1. One end of the resistor R2 is connected to the input voltage B+, the other end of the resistor R2 is connected to the collector of the transistor Q2 and one end of the switch SW1, the emitter of the transistor Q2 is grounded, the base of the transistor Q2 is connected to the self-locking module, the other end of the switch SW1 is connected to one end of the resistor R7, one end of the capacitor C1, the switch module, and the self-locking module. The other end of the resistor R7 is grounded, and the other end of the capacitor C1 is grounded.
4. The pure hardware power on / off circuit constructed with discrete components according to claim 3, characterized in that: The self-locking module includes a diode D1, a resistor R5, a resistor R6, a resistor R8, and a capacitor C2. The positive electrode of the diode D1 is connected to the switch module, the negative electrode of the diode D1 is connected to one end of the resistor R5 and one end of the resistor R6, the other end of the resistor R5 is connected to the single-button module, the other end of the resistor R6 is connected to one end of the resistor R8, one end of the capacitor C2, and the single-button module, the other end of the capacitor C2 is grounded, and the other end of the resistor R8 is grounded.
5. The pure hardware power on / off circuit constructed with discrete components according to claim 1, characterized in that: The indicator module includes a resistor R3 and a light-emitting diode LED1. One end of the resistor R3 is connected to the switch module, the other end of the resistor R3 is connected to the positive electrode of the light-emitting diode LED1, and the negative electrode of the light-emitting diode LED1 is grounded.