Hardware self-locking startup and shutdown control system and method
Through the hardware self-locking switch control system, the hardware switch control of the load circuit is realized by using the self-locking circuit, which solves the problems of static losses and software run-off in the prior art, ensuring battery power protection and zero-current shutdown of the load circuit.
Patent Information
- Application Number
- CN202411725383.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-28
- Publication Date
- 2025-03-07
AI Technical Summary
The existing power switch control methods have the risk of static losses and software running, especially when stored in stock for a long time, which may cause battery power to be exhausted or damaged.
A hardware self-locking switch control system is adopted, which includes a battery, a button switch circuit, a self-locking circuit and a load circuit. The hardware switch control of the load circuit is realized through the self-locking circuit to ensure zero current after shutdown.
The hardware switch-on and shutdown control of the load circuit is realized, which avoids static losses and software run-off risks, protects the battery power, and will not lose battery power even if the product is stored in stock for a long time.
Smart Images

Figure CN119582595A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of power on / off control, and in particular to a hardware self-locking power on / off control system and method. Background Art
[0002] As battery technology matures, more and more products are beginning to use batteries as backup power sources. However, many products usually do not consider energy saving and directly connect the load circuit to the battery. In this way, even if the load circuit is not turned on, there will be continuous static loss until the battery itself is protected. Relatively energy-saving products usually use a switch to control the on and off of the load circuit. In this way, when the battery is low to a certain value, the switch can be disconnected to make the load circuit not work, but the DC-DC power supply circuit is still working. Even if the DC-DC power supply circuit uses a low-power DC-DC chip, there is still a certain loss. If the product is placed in inventory for a long time, it may also cause the product battery to run out of power or even damage. The existing power on and off control method generally uses MCU to implement power on and off control through software. In a strong electromagnetic environment, the MCU software may fail to run away, causing the power on and off control to fail, and it is not suitable for many simple control occasions that do not require MCU. Summary of the invention
[0003] In view of this, an object of the present invention is to provide a hardware self-locking power on / off control system and method to alleviate the problems of static loss and software runaway risk in the existing power on / off control method.
[0004] In a first aspect, an embodiment of the present invention provides a hardware self-locking power on / off control system, the hardware self-locking power on / off control system comprising: a battery, a key switch circuit, a self-locking circuit and a load circuit, the key switch circuit being respectively connected to the positive electrode of the battery and the self-locking circuit, and the self-locking circuit being connected to the load circuit; the key switch circuit comprising a power on switch and a power off switch, the positive electrode of the battery being respectively connected to the power on switch input terminal and the power off switch input terminal, and the self-locking circuit being respectively connected to the power on switch output terminal and the power off switch output terminal; the self-locking circuit comprising a first switch tube, a second switch tube, a third switch tube, a fourth switch tube and a sixth switch tube, the first switch tube being a MOS tube, the second switch tube, the third switch tube, the fourth switch tube and the sixth switch tube being triodes; the power on switch input terminal being respectively connected to the positive electrode of the battery, the source of the first switch tube, the emitter of the second switch tube, the collector of the third switch tube and the collector of the fourth switch tube, the power-on switch output end is respectively connected to the base of the third switch tube, the base of the fourth switch tube and the collector of the second switch tube, the gate of the first switch tube is connected to the collector of the third switch tube, the emitter of the third switch tube is grounded, the drain of the first switch tube is connected to the load circuit, the emitter of the fourth switch tube is grounded, the collector of the fourth switch tube is connected to the base of the second switch tube, and the collector of the second switch tube is connected to the base of the third switch tube; the shutdown switch input end is respectively connected to the positive electrode of the battery, the source of the first switch tube, the emitter of the second switch tube, the collector of the third switch tube and the collector of the fourth switch tube, the shutdown switch output end is connected to the base of the sixth switch tube, the emitter of the sixth switch tube is grounded, and the collector of the sixth switch tube is respectively connected to the base of the fourth switch tube and the base of the third switch tube.
[0005] In a second aspect, an embodiment of the present invention further provides a hardware self-locking power-on and power-off control method, which is applied to the hardware self-locking power-on and power-off control system described in the first aspect, and the hardware self-locking power-on and power-off control method comprises: pressing the power switch to control the load circuit to turn on through the self-locking circuit; releasing the power switch to maintain the power-on state of the load circuit through the self-locking circuit; pressing the power-off switch to control the load circuit to shut down through the self-locking circuit.
[0006] An embodiment of the present invention provides a hardware self-locking power on / off control system and method. When the power switch is first pressed and then released, the self-locking circuit is used to control the load circuit to turn on and maintain the power-on state. When the power off switch is pressed, the self-locking circuit is used to control the load circuit to shut down. The hardware power on / off control of the load circuit can be achieved through the key switch circuit and the self-locking circuit, and zero current can be achieved after the load circuit is shut down. Compared with the existing power on / off control method, there is neither static loss nor risk of software running away, and the battery power will not be consumed even if the product is stored in inventory for a long time.
[0007] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention are realized and obtained by the structures particularly pointed out in the description, claims and drawings.
[0008] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0010] Figure 1 This is a schematic diagram of the structure of a hardware self-locking power on / off control system according to an embodiment of the present invention;
[0011] Figure 2 It is a structural schematic diagram of another hardware self-locking switch control system in an embodiment of the present invention;
[0012] Figure 3 A circuit schematic diagram of a hardware self-locking switch control system in an embodiment of the present invention;
[0013] Figure 4 The figure is a flow chart of a hardware self-locking power on / off control method in an embodiment of the present invention. DETAILED DESCRIPTION
[0014] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution of the present invention will be clearly and completely described in combination with the embodiments below. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0015] To facilitate understanding of this embodiment, a hardware self-locking switch control system disclosed in an embodiment of the present invention is first described in detail. Figure 1 As shown, the hardware self-locking switch control system may include: a battery 100, a key switch circuit 200, a self-locking circuit 300 and a load circuit 400, the key switch circuit 200 is respectively connected to the positive electrode of the battery 100 and the self-locking circuit 300, and the self-locking circuit 300 is connected to the load circuit 400.
[0016] See also Figure 1 and Figure 3 As shown, the key switch circuit 200 may include a power switch S2 and a power switch S1, a battery 100 (i.e. Figure 3 The positive electrode of the battery (the component with the word "Battery" next to it) is respectively connected to the input end of the power-on switch S2 and the input end of the power-off switch S1, and the self-locking circuit 300 is respectively connected to the output end of the power-on switch S2 and the output end of the power-off switch S1.
[0017] See also Figure 1 and Figure 3 As shown, the self-locking circuit 300 may include a first switch tube Q1, a second switch tube Q2, a third switch tube Q3, a fourth switch tube Q4 and a sixth switch tube Q6, wherein the first switch tube Q1 is a MOS tube, and the second switch tube Q2, the third switch tube Q3, the fourth switch tube Q4 and the sixth switch tube Q6 are triodes.
[0018] See also Figure 1 and Figure 3 As shown, the input end of the power switch S2 is respectively connected to the positive electrode of the battery 100, the source of the first switch tube Q1, the emitter of the second switch tube Q2, the collector of the third switch tube Q3 and the collector of the fourth switch tube Q4, the output end of the power switch S2 is respectively connected to the base of the third switch tube Q3, the base of the fourth switch tube Q4 and the collector of the second switch tube Q2, the gate of the first switch tube Q1 is connected to the collector of the third switch tube Q3, the emitter of the third switch tube Q3 is grounded, the drain of the first switch tube Q1 is connected to the load circuit 400, the emitter of the fourth switch tube Q4 is grounded, the collector of the fourth switch tube Q4 is connected to the base of the second switch tube Q2, and the collector of the second switch tube Q2 is connected to the base of the third switch tube Q3.
[0019] See also Figure 1 and Figure 3 As shown, the input end of the shutdown switch S1 is respectively connected to the positive electrode of the battery 100, the source of the first switch tube Q1, the emitter of the second switch tube Q2, the collector of the third switch tube Q3 and the collector of the fourth switch tube Q4, and the output end of the shutdown switch S1 is connected to the base of the sixth switch tube Q6, the emitter of the sixth switch tube Q6 is grounded, and the collector of the sixth switch tube Q6 is respectively connected to the base of the fourth switch tube Q4 and the base of the third switch tube Q3.
[0020] An embodiment of the present invention provides a hardware self-locking power on / off control system. When the power switch is first pressed and then released, the self-locking circuit is used to control the load circuit to turn on and maintain the power-on state. When the power off switch is pressed, the self-locking circuit is used to control the load circuit to shut down. The hardware power on / off control of the load circuit can be achieved through the key switch circuit and the self-locking circuit. Zero current can also be achieved after the load circuit is shut down. Compared with the existing power on / off control method, there is neither static loss nor risk of software running away. Even if the product is stored in inventory for a long time, the battery power will not be consumed.
[0021] As a possible implementation, see Figure 1 and Figure 3 As shown, the self-locking circuit 300 may also include a first resistor R1 and a fifth resistor R5; the first end of the first resistor R1 is respectively connected to the positive electrode of the battery 100, the input end of the power-on switch S2, the input end of the power-off switch S1, the emitter of the second switch tube Q2, the source of the first switch tube Q1 and the collector of the third switch tube Q3, the second end of the first resistor R1 is respectively connected to the first end of the fifth resistor R5 and the base of the second switch tube Q2, the first end of the fifth resistor R5 is connected to the base of the second switch tube Q2, and the second end of the fifth resistor R5 is connected to the collector of the fourth switch tube Q4.
[0022] As a possible implementation, see Figure 1 and Figure 3 As shown, the self-locking circuit 300 may also include a second resistor R2 and a sixth resistor R6; the first end of the second resistor R2 is respectively connected to the positive electrode of the battery 100, the input end of the power-on switch S2, the input end of the power-off switch S1, the collector of the second switch tube Q2, the base of the second switch tube Q2, the collector of the fourth switch tube Q4 and the source of the first switch tube Q1, the second end of the second resistor R2 is respectively connected to the first end of the sixth resistor R6 and the gate of the first switch tube Q1, and the second end of the sixth resistor R6 is connected to the collector of the third switch tube Q3.
[0023] As a possible implementation, see Figure 1 and Figure 3As shown, the self-locking circuit 300 may also include an eighth resistor R8 and a twelfth resistor R12; the first end of the eighth resistor R8 is respectively connected to the output end of the power switch S2, the collector of the second switch tube Q2 and the first end of the twelfth resistor R12, the second end of the eighth resistor R8 is connected to the base of the third switch tube Q3, and the second end of the twelfth resistor R12 is connected to the emitter of the fourth switch tube Q4 and grounded.
[0024] As a possible implementation, see Figure 1 and Figure 3 As shown, the key switch circuit 200 may further include a ninth resistor R9; the self-locking circuit 300 may further include a fourteenth resistor R14 and a sixteenth resistor R16; the first end of the ninth resistor R9 is respectively connected to the output end of the shutdown switch S1 and the first end of the fourteenth resistor R14, the second end of the ninth resistor R9 is grounded, the first end of the fourteenth resistor R14 is connected to the output end of the shutdown switch S1, the second end of the fourteenth resistor R14 is connected to the first end of the sixteenth resistor R16 and the base of the sixth switch tube Q6, and the second end of the sixteenth resistor R16 is grounded.
[0025] As a possible implementation, see Figure 1 and Figure 3 As shown, the self-locking circuit 300 may also include an eleventh resistor R11 and a thirteenth resistor R13; the first end of the eleventh resistor R11 is respectively connected to the first end of the thirteenth resistor R13, the output end of the power switch S2, the collector of the second switch tube Q2 and the first end of the eighth resistor R8, the second end of the eighth resistor R8 is connected to the base of the third switch tube Q3, the second end of the eleventh resistor R11 is respectively connected to the base of the fourth switch tube Q4, the collector of the sixth switch tube Q6 and the base of the third switch tube Q3, and the second end of the thirteenth resistor R13 is grounded.
[0026] As a possible implementation, see Figure 1 and Figure 3 As shown, the key switch circuit 200 may also include a tenth resistor R10; the first end of the tenth resistor R10 is respectively connected to the output end of the power switch S2, the first end of the thirteenth resistor R13, the first end of the eleventh resistor R11, the collector of the second switch tube Q2, the first end of the eighth resistor R8, and the first end of the twelfth resistor R12, and the second end of the tenth resistor R10 is grounded.
[0027] As a possible implementation, see Figure 2 As shown, the hardware self-locking switch control system can also include an undervoltage protection circuit 500 connected to the self-locking circuit 300, which is used to: detect the voltage of the battery 100, and control the load circuit 400 to shut down through the self-locking circuit 300 when the voltage of the battery 100 is less than a preset voltage threshold.
[0028] As a possible implementation, see Figure 2 and Figure 3 As shown, the undervoltage protection circuit 500 may include an operational amplifier U1A, a third resistor R3, a seventh resistor R7, a fourth resistor R4, a voltage stabilizing diode DZ1, a fifteenth resistor R15 and a fifth switch tube Q5; a first end of the third resistor R3 is connected to the drain of the first switch tube Q1 and a first end of the fourth resistor R4, and a second end of the third resistor R3 is respectively connected to a first end of the seventh resistor R7 and an inverting input end of the operational amplifier U1A (i.e. Figure 3 The second end of the seventh resistor R7 is grounded, the first end of the fourth resistor R4 is connected to the drain of the first switch tube Q1, and the second end of the fourth resistor R4 is connected to the cathode of the voltage zener diode DZ1 and the in-phase input terminal of the operational amplifier U1A (i.e. Figure 3 The anode of the voltage stabilizing diode DZ1 is grounded, and the output of the operational amplifier U1A (i.e. Figure 3 Port 1 of U1A in FIG1 is connected to the second end of the fifteenth resistor R15, the first end of the fifteenth resistor R15 is connected to the base of the fifth switch tube Q5, the collector of the fifth switch tube Q5 is respectively connected to the collector of the sixth switch tube Q6, the base of the third switch tube Q3 and the base of the fourth switch tube Q4, and the emitter of the fifth switch tube Q5 is grounded.
[0029] See also Figure 2 and Figure 3 As shown, the undervoltage protection circuit 500 may also include a seventeenth resistor R17; the first end of the seventeenth resistor R17 is respectively connected to the base of the sixth switch tube Q6 and the first end of the fifteenth resistor R15, and the second end of the seventeenth resistor R17 is grounded; the operational amplifier U1A can be used to: collect the voltage of the battery 100, and output a high-level signal to the fifth switch tube Q5 when the voltage of the battery 100 is less than a preset voltage threshold, so that the self-locking circuit 300 controls the load circuit 400 to shut down.
[0030] For ease of understanding, the working principle of the above-mentioned hardware self-locking power on / off control system is described as follows by taking a specific application as an example.
[0031] like Figure 3 As shown, the off switch S1 and the on switch S2 are touch switches, that is, S1 and S2 are only turned on when pressed and are immediately disconnected after being released; the battery 100 supplies power to the load circuit 400 by turning on the MOS tube Q1.
[0032] like Figure 3As shown, when it is necessary to control the load circuit 400 to start the load, the power switch S2 is pressed to close and conduct, the base of the transistor Q3 is energized, the collector of Q3 is pulled down to the ground, Q1 is turned on, and the load circuit 400 is powered to work; pressing the power switch S2 also energizes the base of the transistor Q4, the collector of Q4 is pulled down, the base of the transistor Q2 is also pulled down, and at the same time, the collector of Q2 is energized, and the base of Q3 is also high, thereby turning on Q1, that is, the DS (drain to source) of Q1 is turned on, and the load circuit 400 is able to work; after releasing S2, since the positive electrode of the battery 100 is connected to the collector of Q2, and the emitter of Q2 is directly connected to the grounded R13, The collector of Q2 is energized, and the current passes through the EC (emitter to collector) of Q2 and is fed back to R13. R13 is pulled down to ground. Since the emitter of Q2 is also connected to the base of Q4 through R11 and the emitter of Q4 is grounded, the current passes through the EC of Q2 and also passes through R11 to energize the base of Q4. The collector of Q4 is turned on because it is pulled down to the ground, so that current flows through the base of Q2, causing the EC (emitter to collector) of Q2 to be turned on, and the electric energy of the current passing through the EC of Q2 is fed back to R13 and fed back to Q4 through R11. That is: as long as the CE (collector to emitter) of Q4 is turned on, Q2 is also turned on, and the conduction state of Q4 is maintained by the conduction of Q2.
[0033] The process of controlling the load circuit 400 to start up can be simplified as follows: when S2 is pressed, Q1 is turned on through Q3, and the load is powered. At the same time, Q4's CE is turned on, which also turns on Q2's EC. Q2's EC conduction causes Q2's base to remain on through Q4, and further maintains Q3's CE to continue to be on, so that Q1 is always in the on state. In this way, even if S2 is released, Q1's gate is continuously pulled down to maintain Q1 on, achieving the purpose of self-locking start-up of the load circuit 400, that is, only S2 needs to be pressed once and then released immediately, and Q1's DS can also remain on, so that the load circuit 400 can continue to be powered and work.
[0034] like Figure 3As shown, when it is necessary to control the load circuit 400 to shut down, the shutdown switch S1 is pressed to close and conduct, so that the base of the transistor Q6 is energized, so that the collector of Q6 is pulled down, and the base of Q4 is also pulled down, Q4 is cut off, and the collector of Q4 is in an open collector state (i.e., a floating state), no current flows through the resistors R1 and R5, and there is no voltage difference at the EB junction of Q2, so Q2 is turned off, and no current flows to the collector of Q2. At the same time, the collector of Q2 is at a low level due to R12 being pulled down to the ground, and the base of Q3 is also at a low level through the resistor R8, so that Q3 is also turned off and cut off, and the collector of Q3 is in an open collector state (i.e., a floating state), no current flows through the resistors R2 and R6, and there is no voltage difference at the SG junction of Q1 (i.e., between the source and the gate), so Q1 is turned off, and then the connection with the drain of Q1 is cut off. The circuit, i.e., the load circuit and the undervoltage protection circuit 500 (mainly composed of resistors R3, R4, R7, a voltage zener diode DZ1 and an operational amplifier U1A, etc.) does not receive power because Q1 is turned off, so there is no circuit current loss; after the power switch S1 is released, the resistor R9 is pulled down to the ground, and no current flows through R14, R16, and Q6, so there is no circuit current loss; since the power switch S2 is not pressed, R13, R11, Q4, R8, and Q3 do not receive power and there is no circuit current loss. At the same time, since the base of Q4 is not energized, Q4 is in a cut-off state, so that R1 and R5 have no current flowing, Q2 is also in a cut-off state, and R12 has no circuit current loss. In addition, since the base of Q3 is not energized, Q3 is cut off, and R2 and R6 have no circuit current loss. That is, after the load circuit 400 is shut down, all switch components (such as touch switches, transistors, and MOS tubes) are in the off state, the static current of the load circuit 400 is 0, and all control circuits (including the key switch circuit 200, the self-locking circuit 300, and the undervoltage protection circuit 500) and the load circuit 400 have no current consumption, thereby achieving the purpose of zero current when the load circuit 400 is shut down.
[0035] like Figure 3 As shown, when S1 and S2 are in the initial state and are not pressed, Q6, Q4, Q2, Q3, and Q1 are cut off because they are not powered, and the hardware self-locking switch control system has no current consumption. The specific working process is the same as the situation after pressing S1 and then releasing it, and it will not be repeated. When Q1 is cut off, the load circuit 400 and the undervoltage protection circuit 500 connected to the drain of Q1 have no current consumption.
[0036] like Figure 3 As shown, if S2 and S1 are turned on by being pressed at the same time, R9 is energized, the base of Q6 is energized through R14, and the CE of Q6 is turned on to the ground, so that the bases of Q4 and Q3 are pulled down, and Q4 and Q3 are both in the cut-off state, so that Q2 and Q1 are not turned on, and the load circuit 400 does not work due to lack of power. That is, if S2 and S1 are pressed at the same time, the load circuit 400 does not work.
[0037] like Figure 3 As shown, in order to protect the battery 100 from damage due to over-discharge during use, the hardware self-locking switch control system also has a battery under-voltage automatic shutdown function to prevent the load circuit 400 from over-discharging, thereby achieving the purpose of protecting the battery 100. The main implementation method of the battery under-voltage automatic shutdown function is: through an operational amplifier (i.e. Figure 3 U1A in the embodiment collects the voltage of the battery 100 and outputs a shutdown signal when the voltage of the battery 100 is too low (such as lower than a preset voltage threshold) to control the load circuit 400 to shut down through the shutdown signal.
[0038] Figure 3 In the embodiment, the undervoltage protection circuit 500 is mainly composed of R3, R4, R7, DZ1, U1A, etc., wherein R4 and DZ1 constitute a voltage stabilizing circuit so that U1A_3 (i.e. Figure 3 R3 and R7 form a voltage divider circuit to detect the voltage of the battery 100. When the voltage of the battery 100 is detected to be lower than a certain value (such as the voltage maintained by U1A_3), U1A_2 (i.e. Figure 3 When the voltage of U1A_2 port is less than that of U1A_3, U1A_1 (i.e. Figure 3 Port 1 of U1A in the circuit) outputs a high level, and the base of Q5 is energized through R15, and the collector of Q5 is pulled down to the ground. At the same time, the base of Q4 is also pulled down, causing Q4 to be cut off. The collector of Q4 is in an open collector state (i.e., floating state), and no current flows through R1 and R5. Since there is no voltage difference at the EB junction of Q2, Q2 is turned off, and no current flows to the collector of Q2. At the same time, the collector of Q2 is at a low level because R12 is pulled down to the ground, and the base of Q3 is turned off through R8. It is also at a low level, so that Q3 is also turned off and cut off. The collector of Q3 is in an open collector state (i.e., suspended state), no current flows through R2 and R6, and there is no voltage difference between the SG junction of Q1 (i.e., between the source and the gate), so Q1 is turned off, and then the load circuit 400 connected to the drain of Q1 is turned off. After shutdown, all control circuits and the load circuit 400 have no current consumption, that is, the hardware self-locking switch control system achieves the purpose of automatic shutdown of the load circuit 400 with zero current after the battery undervoltage protection.
[0039] Figure 3 In the circuit, since the collector of Q5 is connected in parallel with the collector of Q6, that is, the two transistors are in an OR relationship, as long as the base of any one of Q5 and Q6 is energized, the collectors of Q5 and Q6 will be pulled down to the ground.
[0040] The advantages of the above hardware self-locking switch control system mainly include the following aspects:
[0041] (1) It can realize self-locking startup of the load and zero current of the load shutdown, thus protecting the battery. Even if the product is stored in inventory for a long time, the battery power will not be consumed.
[0042] (2) The automatic shutdown function when the battery is under voltage prevents the device from working due to under voltage, thus further protecting the battery.
[0043] (3) The load switch adopts pure hardware control and uses discrete components to form the circuit structure. There is no risk of software loss of control, and the components are common parts that are easy to purchase, saving costs.
[0044] The embodiment of the present invention also provides a hardware self-locking power on / off control method, which can be applied to the above hardware self-locking power on / off control system. Figures 1 to 4 As shown, the hardware self-locking power on / off control method may include the following steps:
[0045] Step S402 , pressing the power switch S2 to control the load circuit 400 to power on through the self-locking circuit 300 .
[0046] In step S404 , the power switch S2 is released to maintain the power-on state of the load circuit 400 through the self-locking circuit 300 .
[0047] Step S406 , pressing the shutdown switch S1 to control the load circuit 400 to shut down through the self-locking circuit 300 .
[0048] By adopting the above-mentioned hardware self-locking power on / off control method, the hardware power on / off control of the load circuit can be realized through the key switch circuit and the self-locking circuit, and zero current can be realized after the load circuit is shut down, which can alleviate the problems of static loss and software runaway risk in the existing power on / off control method.
[0049] The hardware self-locking power on / off control method provided in the embodiment of the present invention has the same implementation principle and technical effects as those of the aforementioned hardware self-locking power on / off control system embodiment. For the sake of brief description, for matters not mentioned in the embodiment of the hardware self-locking power on / off control method, reference may be made to the corresponding contents in the aforementioned hardware self-locking power on / off control system embodiment.
[0050] Unless otherwise specifically stated, the relative steps, numerical expressions and values of the components and steps set forth in these embodiments do not limit the scope of the present invention.
[0051] In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicating the orientation or positional relationship, are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first", "second", and "third" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance.
[0052] Finally, it should be noted that the above-described embodiments are only specific implementations of the present invention, which are used to illustrate the technical solutions of the present invention, rather than to limit them. The protection scope of the present invention is not limited thereto. Although the present invention is described in detail with reference to the above-described embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-described embodiments within the technical scope disclosed by the present invention, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims
1. A hardware self-locking switch control system, characterized in that: The hardware self-locking switch control system comprises: a battery, a key switch circuit, a self-locking circuit and a load circuit, wherein the key switch circuit is connected to the positive electrode of the battery and the self-locking circuit respectively, and the self-locking circuit is connected to the load circuit; The key switch circuit includes a power switch and a power switch, the positive electrode of the battery is connected to the power switch input terminal and the power switch input terminal respectively, and the self-locking circuit is connected to the power switch output terminal and the power switch output terminal respectively; The self-locking circuit comprises a first switch tube, a second switch tube, a third switch tube, a fourth switch tube and a sixth switch tube, wherein the first switch tube is a MOS tube, and the second switch tube, the third switch tube, the fourth switch tube and the sixth switch tube are triodes; The power switch input end is respectively connected to the positive electrode of the battery, the source of the first switch tube, the emitter of the second switch tube, the collector of the third switch tube and the collector of the fourth switch tube, the power switch output end is respectively connected to the base of the third switch tube, the base of the fourth switch tube and the collector of the second switch tube, the gate of the first switch tube is connected to the collector of the third switch tube, the emitter of the third switch tube is grounded, the drain of the first switch tube is connected to the load circuit, the emitter of the fourth switch tube is grounded, the collector of the fourth switch tube is connected to the base of the second switch tube, and the collector of the second switch tube is connected to the base of the third switch tube; The shutdown switch input end is respectively connected to the positive electrode of the battery, the source of the first switch tube, the emitter of the second switch tube, the collector of the third switch tube and the collector of the fourth switch tube, the shutdown switch output end is connected to the base of the sixth switch tube, the emitter of the sixth switch tube is grounded, and the collector of the sixth switch tube is respectively connected to the base of the fourth switch tube and the base of the third switch tube.
2. The hardware self-locking switch control system according to claim 1 is characterized in that: The self-locking circuit also includes a first resistor and a fifth resistor; the first end of the first resistor is respectively connected to the positive electrode of the battery, the power on switch input end, the power off switch input end, the emitter of the second switch tube, the source of the first switch tube and the collector of the third switch tube, the second end of the first resistor is respectively connected to the first end of the fifth resistor and the base of the second switch tube, the first end of the fifth resistor is connected to the base of the second switch tube, and the second end of the fifth resistor is connected to the collector of the fourth switch tube.
3. The hardware self-locking switch control system according to claim 1, characterized in that: The self-locking circuit also includes a second resistor and a sixth resistor; the first end of the second resistor is respectively connected to the positive electrode of the battery, the power on switch input end, the power off switch input end, the collector of the second switch tube, the base of the second switch tube, the collector of the fourth switch tube and the source of the first switch tube, the second end of the second resistor is respectively connected to the first end of the sixth resistor and the gate of the first switch tube, and the second end of the sixth resistor is connected to the collector of the third switch tube.
4. The hardware self-locking on / off control system according to claim 1, characterized in that: The self-locking circuit also includes an eighth resistor and a twelfth resistor; the first end of the eighth resistor is respectively connected to the power switch output end, the collector of the second switch tube and the first end of the twelfth resistor, the second end of the eighth resistor is connected to the base of the third switch tube, and the second end of the twelfth resistor is connected to the emitter of the fourth switch tube and grounded.
5. The hardware self-locking on / off control system according to claim 4, characterized in that: The self-locking circuit also includes an eleventh resistor and a thirteenth resistor; the first end of the eleventh resistor is respectively connected to the first end of the thirteenth resistor, the power switch output end, the collector of the second switch tube and the first end of the eighth resistor, the second end of the eighth resistor is connected to the base of the third switch tube, the second end of the eleventh resistor is respectively connected to the base of the fourth switch tube, the collector of the sixth switch tube and the base of the third switch tube, and the second end of the thirteenth resistor is grounded.
6. The hardware self-locking on / off control system according to claim 1, characterized in that: The key switch circuit also includes a ninth resistor; the self-locking circuit also includes a fourteenth resistor and a sixteenth resistor; the first end of the ninth resistor is respectively connected to the shutdown switch output end and the first end of the fourteenth resistor, the second end of the ninth resistor is grounded, the first end of the fourteenth resistor is connected to the shutdown switch output end, the second end of the fourteenth resistor is connected to the first end of the sixteenth resistor and the base of the sixth switch tube, and the second end of the sixteenth resistor is grounded.
7. The hardware self-locking on / off control system according to claim 1, characterized in that: The hardware self-locking switch control system also includes an undervoltage protection circuit connected to the self-locking circuit, which is used to: detect the voltage of the battery and control the load circuit to shut down through the self-locking circuit when the voltage of the battery is less than a preset voltage threshold.
8. The hardware self-locking on / off control system according to claim 7, characterized in that: The undervoltage protection circuit includes an operational amplifier, a third resistor, a seventh resistor, a fourth resistor, a voltage stabilizing diode, a fifteenth resistor and a fifth switch tube; the first end of the third resistor is connected to the drain of the first switch tube and the first end of the fourth resistor, the second end of the third resistor is respectively connected to the first end of the seventh resistor and the inverting input end of the operational amplifier, the second end of the seventh resistor is grounded, the first end of the fourth resistor is connected to the drain of the first switch tube, the second end of the fourth resistor is respectively connected to the cathode of the voltage stabilizing diode and the inverting input end of the operational amplifier, the anode of the voltage stabilizing diode is grounded, the output end of the operational amplifier is connected to the second end of the fifteenth resistor, the first end of the fifteenth resistor is connected to the base of the fifth switch tube, the collector of the fifth switch tube is respectively connected to the collector of the sixth switch tube, the base of the third switch tube and the base of the fourth switch tube, and the emitter of the fifth switch tube is grounded.
9. The hardware self-locking on / off control system according to claim 8, characterized in that: The undervoltage protection circuit also includes a seventeenth resistor; a first end of the seventeenth resistor is respectively connected to the base of the sixth switch tube and the first end of the fifteenth resistor, and a second end of the seventeenth resistor is grounded.
10. A hardware self-locking power on / off control method, characterized in that: Applicable to the hardware self-locking power on / off control system according to any one of claims 1 to 9, the hardware self-locking power on / off control method comprises: Pressing the power switch to control the load circuit to power on through the self-locking circuit; Release the power switch to maintain the power-on state of the load circuit through the self-locking circuit; The shutdown switch is pressed to control the load circuit to shut down through the self-locking circuit.