Circuit structure of power switch button with on-off and reset functions

By designing a circuit structure including a power switch button, a switch tube and a reset circuit, the problem of high cost and complexity of the switch circuit in the existing technology is solved, and the short press switch and long press reset functions are realized and simplified. The circuit structure is improved and the controllability of the hardware is improved.

CN221652575UActive Publication Date: 2024-09-03GUANG ZHOU SHEN KONG ZHI NENG KE JI YOU XIAN GONG SI
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202420036506.7
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-01-05
Publication Date
2024-09-03
Estimated Expiration
2034-01-05

AI Technical Summary

Technical Problem

The existing switch circuit requires microcontroller programming, which results in high cost and complexity. It is impossible to realize malfunction protection and anti-shake functions through a simple hardware structure.

Method used

Design a circuit structure in which a power switch button is used for on/off and reset functions. Through the power switch button, the first switch tube, a reset circuit, a diode, a capacitor and other components, the short press switch on and long press reset functions are realized, and the circuit structure is simplified. .

Benefits of technology

The on/off and reset functions can be realized through a power switch button, which optimizes the circuit structure, reduces costs, simplifies the programming process, and improves the controllability and malfunction protection capabilities of the hardware.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN221652575U
    Figure CN221652575U
Patent Text Reader

Abstract

The utility model relates to a circuit structure with a power switch button for switching on, switching off and resetting functions. The circuit structure comprises the power switch button K1, a first switch tube, a reset circuit, a diode D1, a diode D2, a diode D3 and a VCC power supply voltage for supplying power. The reset circuit comprises a resistor R5, a resistor R6, a resistor R7, a diode D4, a second switch tube and a capacitor C1 for discharging; the whole circuit structure is ingenious and reasonable in design, the functions of switching on and off through short pressing and resetting through long pressing can be achieved through one power switch key, and the circuit structure is optimized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to the technical field of circuit structure of a power switch button, in particular to a circuit structure of a power switch button used for power on / off and reset functions. Background Art

[0002] In the electronic communication application industry, there are high requirements for the power on / off circuit, and for mid-to-high-end products, the power on / off circuit is required to have false operation protection, anti-shake, and software controllable functions. However, the existing power on / off circuit requires a programmable device (such as a single-chip microcomputer), and the circuit needs to be programmed to participate in the power on / off process; in addition, the power on / off time setting is implemented by software, which leads to a relatively high overall circuit price.

[0003] The existing switch circuit includes an NPN transistor BG2, which controls the conduction and disconnection of the collector and the emitter through the high and low levels of the base, and the high level is on and the low level is off; a PNP transistor BG1, which controls the conduction and disconnection of the collector and the emitter through the high and low levels of the base, and the low level is on and the high level is off; a single-chip microcomputer DPJ, as a programmable control device, has two IO port pins IO1 / IO2, and also includes a D1 diode and a SW-PB switch button. Usually, the circuit is not powered on. After pressing the switch button, the current passes through D1 and BG2 is turned on. Then BG1 is turned on. After the circuit is powered on, the single-chip microcomputer detects the io1 pin. If it lasts for a certain period of time (such as 1s), it is considered to be a valid start-up, and then io2=high (to a high level). At this time, even if the button is released, the circuit can still maintain conduction. When you want to shut down, press the normal button. The program detects this normal button and considers it as a shutdown operation, then exits the working program and sets io2=low (to a low level). Wait for the user to release the button, then shut down. During operation, this button can also be treated as a normal button.

[0004] Since the power on / off circuit requires the single chip microcomputer DPJ as a programmable device, and the circuit needs to be programmed to participate in the power on / off process, the power on / off time setting is achieved by software, which greatly increases the cost, so it is necessary to make improvements.

[0005] Therefore, in the patent application for the utility model, the applicant has carefully studied a circuit structure in which a power switch button is used for power on / off and reset functions to solve the above problems. Utility Model Content

[0006] The utility model aims to overcome the deficiencies in the above-mentioned prior art, and its main purpose is to provide a circuit structure in which a power switch button is used for power on / off and reset functions. The overall circuit structure is cleverly and reasonably designed, and the short-press power on / off and long-press reset functions can be realized through a power switch button, thereby optimizing the circuit structure.

[0007] In order to achieve the above-mentioned purpose, the utility model adopts the following technical solutions:

[0008] A circuit structure of a power switch button used for power on / off and reset functions, comprising a power switch button K1, a first switch tube, a reset circuit, a diode D1, a diode D2, a diode D3 and a VCC power supply voltage for power supply;

[0009] The VCC power supply voltage is respectively connected to one end of the power switch button K1 and the input end of the first switch tube. The VCC power supply voltage is also used to connect the GPIO_IN pin of the main control chip. The output end of the first switch tube is grounded, and the control end of the first switch tube is connected to the other end of the power switch button K1.

[0010] The anode of diode D1 is used to connect to the GPIO_OUT pin of the main control chip, the anode of diode D2 is used to connect to the VCC1 voltage of the peripheral, the other end of the power switch button K1 is connected to the anode of diode D3, and the cathodes of diode D1, diode D2 and diode D3 are all used to connect to the enable end of the power driver chip;

[0011] The reset circuit includes a resistor R5, a resistor R6, a resistor R7, a diode D4, a second switch tube and a capacitor C1 for discharging;

[0012] One end of the resistor R5 and one end of the resistor R6 are both connected to the anode of the diode D3, the cathode of the diode D4 is connected to the other end of the resistor R6, the anode of the diode D4 is grounded through the capacitor C1, the control end of the second switch tube is connected to the anode of the diode D4, the resistor R7 is connected in parallel to the cathode and cathode of the diode D4, the output end of the second switch tube and the other end of the resistor R5 are both grounded, and the input end of the second switch tube is used to connect to the enable end of the power driver chip.

[0013] As a preferred solution, the first switch tube is a transistor Q1, the base of the transistor Q1 is the control end of the first switch tube, the emitter of the transistor Q1 is the output end of the first switch tube, and the collector of the transistor Q1 is the input end of the first switch tube.

[0014] As a preferred solution, the second switch tube is a transistor Q2, the base of the transistor Q2 is the control end of the second switch tube, the emitter of the transistor Q2 is the output end of the second switch tube, and the collector of the transistor Q2 is the input end of the second switch tube.

[0015] As a preferred solution, the VCC power supply voltage is connected to one end of the power switch button K1 through the resistor R1.

[0016] As a preferred solution, the VCC power supply voltage is connected to the input end of the first switch tube through the resistor R3, and the input end of the first switch tube is also used to connect to the GPIO_IN pin of the main control chip.

[0017] As a preferred solution, the anode of the diode D2 is connected to the VCC1 voltage of the peripheral device through the resistor R4.

[0018] As a preferred solution, the cathode of the diode D1 , the cathode of the diode D2 , and the cathode of the diode D3 are all connected to the enable terminal of the power driver chip through the resistor R8 .

[0019] Compared with the prior art, the utility model has obvious advantages and beneficial effects. Specifically, the overall circuit structure design is ingenious and reasonable, and the short-press power on and off and long-press reset functions can be realized through a power switch button, thereby optimizing the circuit structure. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Figure 1 It is a circuit diagram of an embodiment of the utility model. DETAILED DESCRIPTION

[0021] The utility model is further described below in conjunction with the accompanying drawings and specific implementation methods.

[0022] like Figure 1 As shown, a circuit structure of a power switch button used for power on / off and reset functions includes a power switch button K1, a first switch tube, a reset circuit, a diode D1, a diode D2, a diode D3 and a VCC power supply voltage for power supply;

[0023] The VCC power supply voltage is connected to one end of the power switch button K1 and the input end of the first switch tube respectively. Preferably, the VCC power supply voltage is connected to one end of the power switch button K1 through a resistor R1.

[0024] The VCC power supply voltage is also used to connect the GPIO_IN pin of the main control chip 10, the output end of the first switch tube is grounded, and the control end of the first switch tube is connected to the other end of the power switch button K1.

[0025] In this embodiment, the first switch tube is a transistor Q1, the base of the transistor Q1 is the control end of the first switch tube, the emitter of the transistor Q1 is the output end of the first switch tube, and the collector of the transistor Q1 is the input end of the first switch tube. The VCC power supply voltage is connected to the input end of the first switch tube through the resistor R3, and the input end of the first switch tube is also used to connect to the GPIO_IN pin of the main control chip 10.

[0026] The anode of the diode D1 is used to connect to the GPIO_OUT pin of the main control chip 10, and the anode of the diode D2 is used to connect to the VCC1 voltage of the peripheral device. Preferably, the anode of the diode D2 is connected to the VCC1 voltage of the peripheral device through the resistor R4.

[0027] The other end of the power switch button K1 is connected to the anode of the diode D3, and the cathodes of the diode D1, the diode D2 and the diode D3 are all used to connect to the enable end of the power driver chip 20;

[0028] The reset circuit includes a resistor R5, a resistor R6, a resistor R7, a diode D4, a second switch tube and a capacitor C1 for discharging;

[0029] One end of the resistor R5 and one end of the resistor R6 are both connected to the anode of the diode D3, the cathode of the diode D4 is connected to the other end of the resistor R6, the anode of the diode D4 is grounded through the capacitor C1, the control end of the second switch tube is connected to the anode of the diode D4, the resistor R7 is connected in parallel to the cathode and cathode of the diode D4, the output end of the second switch tube and the other end of the resistor R5 are both grounded, and the input end of the second switch tube is used to connect to the enable end of the power driver chip 20.

[0030] In this embodiment, the second switch tube is a transistor Q2, the base of the transistor Q2 is the control end of the second switch tube, the emitter of the transistor Q2 is the output end of the second switch tube, and the collector of the transistor Q2 is the input end of the second switch tube.

[0031] The cathode of the diode D1 , the cathode of the diode D2 , and the cathode of the diode D3 are all connected to the enable terminal of the power driving chip 20 through the resistor R8 .

[0032] Next, the circuit principle is briefly described:

[0033] 1. Short press the power switch button K1 to start the machine. When the power switch button K1 is pressed, the VCC power supply voltage is at a high level and passes through the resistor R1 and then to the power switch button K1. At the same time, it passes through two branch circuits. Branch 1: The high level passes through the diode D3 to the resistor R8, and the subsequent power supply system is started when the enable end of the power driver chip 20 is at a high level. At this time, the power supply of the main control chip 10 is normal. Branch 2: The high level passes through the resistor R2 to the base of the transistor Q1, which is in a high-level saturation state. The collector of the transistor Q1 changes from a high level to a low level. When the GPIO_IN pin of the main control chip 10 is detected as a low level, the main control chip 10 believes that there is a need to start the machine. The GPIO_OUT pin of the main control chip 10 outputs a high level, passes through the diode D1, and then outputs a high level to the enable end of the power driver chip 20 through the resistor R8, and then maintains a normal power supply state and is always in a working state;

[0034] 2. Short press the power switch button K1 to shut down. When the power switch button K1 is pressed, the VCC power supply voltage passes through the resistor R1 and then to the power switch button K1. After that, the high level passes through the resistor R2 to the base of the transistor Q1 and is in a high-level saturation state. The collector of the transistor Q1 changes from a high level to a low level. When the GPIO_IN pin of the main control chip 10 is detected as a low level, the main control chip 10 receives a shutdown signal. The output of the GPIO_OUT pin of the main control chip 10 is pulled from a high level to a low level, passes through the diode D1, and then to the resistor R8 to output a low level to the enable end of the power driver chip 20, cutting off the subsequent power supply system and being in a shutdown state.

[0035] 3. Long press the power switch button K1 to reset. In the boot mode, long press the power switch button K1. The VCC power supply voltage is high level and passes through the resistor R1 to the power switch button K1. The high level passes through the resistor R6 link and then to the resistor R7 to charge the C1 capacitor. It takes about 8S to go from 0V to 0.7V. The base of the transistor Q2 is connected to the capacitor C1. When it reaches 0.7V, the transistor Q2 is in a saturated conduction state. When the collector of the transistor Q2 is pulled from a high level to the ground GND to a low level, the enable end connected to the power driver chip 20 immediately cuts off the power supply to handle the forced power-off shutdown state;

[0036] 4. Detection (power on) when connecting peripherals, that is, when this device is connected to a computer or other device, the VCC1 power supply voltage is at a high level and passes through resistor R4, then to diode D2 and then through resistor R8 to the enable end of the power driver chip 20 to start the power supply.

[0037] The key points of the design of the utility model are that the overall circuit structure is cleverly and reasonably designed, and the short-press power on / off and long-press reset functions can be realized through a power switch button, thereby optimizing the circuit structure.

[0038] The above description is only a preferred embodiment of the present invention and does not limit the technical scope of the present invention. Therefore, any minor modifications, equivalent changes and modifications made to the above embodiments based on the technical essence of the present invention are still within the scope of the technical solution of the present invention.

Claims

1. A circuit structure in which a power switch button is used for power on / off and reset functions, characterized in that: It includes a power switch button K1, a first switch tube, a reset circuit, a diode D1, a diode D2, a diode D3 and a VCC power supply voltage for power supply; The VCC power supply voltage is respectively connected to one end of the power switch button K1 and the input end of the first switch tube. The VCC power supply voltage is also used to connect the GPIO_IN pin of the main control chip. The output end of the first switch tube is grounded, and the control end of the first switch tube is connected to the other end of the power switch button K1. The anode of diode D1 is used to connect to the GPIO_OUT pin of the main control chip, the anode of diode D2 is used to connect to the VCC1 voltage of the peripheral, the other end of the power switch button K1 is connected to the anode of diode D3, and the cathodes of diode D1, diode D2 and diode D3 are all used to connect to the enable end of the power driver chip; The reset circuit includes a resistor R5, a resistor R6, a resistor R7, a diode D4, a second switch tube and a capacitor C1 for discharging; One end of the resistor R5 and one end of the resistor R6 are both connected to the anode of the diode D3, the cathode of the diode D4 is connected to the other end of the resistor R6, the anode of the diode D4 is grounded through the capacitor C1, the control end of the second switch tube is connected to the anode of the diode D4, the resistor R7 is connected in parallel to the cathode and cathode of the diode D4, the output end of the second switch tube and the other end of the resistor R5 are both grounded, and the input end of the second switch tube is used to connect to the enable end of the power driver chip.

2. The circuit structure of the power switch button used for power on / off and reset functions according to claim 1, characterized in that: The first switch tube is a transistor Q1, the base of the transistor Q1 is the control end of the first switch tube, the emitter of the transistor Q1 is the output end of the first switch tube, and the collector of the transistor Q1 is the input end of the first switch tube.

3. The circuit structure of the power switch button used for power on / off and reset functions according to claim 1, characterized in that: The second switch tube is a transistor Q2, the base of the transistor Q2 is the control end of the second switch tube, the emitter of the transistor Q2 is the output end of the second switch tube, and the collector of the transistor Q2 is the input end of the second switch tube.

4. The circuit structure of the power switch button used for power on / off and reset functions according to claim 1, characterized in that: The VCC supply voltage is connected to one end of the power switch button K1 through the resistor R1.

5. The circuit structure of the power switch button used for power on / off and reset functions according to claim 1, characterized in that: The VCC supply voltage is connected to the input end of the first switch tube through the resistor R3, and the input end of the first switch tube is also used to connect to the GPIO_IN pin of the main control chip.

6. The circuit structure of the power switch button used for power on / off and reset functions according to claim 1, characterized in that: The anode of the diode D2 is connected to the VCC1 voltage of the peripheral device through the resistor R4.

7. The circuit structure of the power switch button used for power on / off and reset functions according to claim 1, characterized in that: The cathode of the diode D1 , the cathode of the diode D2 , and the cathode of the diode D3 are all connected to the enable terminal of the power driving chip through the resistor R8 .