Startup and shutdown circuit and control method thereof

By designing a power switch circuit including button circuit, self-locking circuit and power-on control circuit, the problem of electronic devices not being able to automatically turn on after power is turned on, and automatic power on and continuous power supply is realized, suitable for tasks that require regular execution or remote operation Deployment scenario.

CN119324698APending Publication Date: 2025-01-17GUANGDONG TELEPOWER TELECOM TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411358370.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-27
Publication Date
2025-01-17

AI Technical Summary

Technical Problem

In the prior art, electronic devices cannot automatically turn on after power is turned on, especially when tasks are required to be performed regularly or remotely deployed, there is a lack of a solution to automatic power-on circuit.

Method used

A switch circuit is designed, including a button circuit, a self-locking circuit and a power-on control circuit. The power-on control circuit is triggered through the button circuit to realize the automatic power-on of the electronic device, and the power-on control circuit is maintained through the self-locking circuit. Ensure that the input power supply is continuously powered.

Benefits of technology

It realizes automatic power-on and continuous power supply of electronic devices, which is suitable for scenarios where tasks need to be performed regularly or remotely deployed, and improves the automation control capabilities of the device.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119324698A_ABST
    Figure CN119324698A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of circuits, in particular to a startup and shutdown circuit and a control method thereof, the startup and shutdown circuit is applied to electronic equipment, the electronic equipment is provided with a power module, and the startup and shutdown circuit comprises a key circuit, a self-locking circuit and a power-on control circuit; the key circuit, the power-on control circuit and the power supply module are connected in sequence; two ends of the self-locking circuit are respectively connected with the power supply module and the power-on control circuit; the key circuit is connected with an input power supply end; when the key circuit is in a closed state, the power-on control circuit is triggered to be in a conducting state, and a path between the input power supply end and the power supply module is conducted, so that the electronic equipment is controlled to be started; after the access between the input power supply end and the power supply module is conducted, the self-locking circuit maintains the power-on control circuit to be in a conducting state, so that the input power supply end continuously supplies power to the power supply module; according to the invention, automatic startup of the electronic equipment can be realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of circuit technology, and in particular to a power on / off circuit and a control method thereof. Background Art

[0002] Considering energy saving and user experience, electronic products should not be turned on immediately after being connected to the power supply. Setting a power button to turn the device on and off is a common method. For devices that need to perform tasks at a scheduled time or electronic devices deployed remotely, in addition to turning on the power button, an automatic power-on circuit is also essential. Summary of the invention

[0003] To solve the above problems, the present invention provides a switch circuit and a control method thereof to solve one or more technical problems existing in the prior art and at least provide a beneficial choice or create conditions.

[0004] In order to achieve the above object, the present invention provides the following technical solutions: A switch circuit, the switch circuit is applied to an electronic device, the electronic device is equipped with a power module, the switch circuit comprises a key circuit, a self-locking circuit and a power-on control circuit; the key circuit, the power-on control circuit and the power module are connected in sequence; the two ends of the self-locking circuit are respectively connected to the power module and the power-on control circuit; the key circuit is connected to an input power terminal; The key circuit is used to trigger the power-on control circuit to be in the on state when in the closed state, and to conduct the path between the input power terminal and the power module to control the electronic device to start up; The self-locking circuit is used to maintain the power-on control circuit in a conducting state after the path between the input power supply end and the power module is turned on, so that the input power supply end continuously supplies power to the power module.

[0005] Preferably, the electronic device is further configured with a main control module, and the power module includes a power management unit; the power management unit is respectively connected to the main control module, the key circuit, the self-locking circuit and the power-on control circuit; The power management unit is used to send a first press interrupt signal to the main control module after detecting that the key circuit is in a pressed state when the electronic device is turned on; and to send a second press interrupt signal to the main control module after detecting that the key circuit is in a pressed state when the electronic device is turned off; The main control module is used to set the electronic device to sleep or shut down according to the duration of the first press interrupt signal; and to set the electronic device to start up according to the duration of the second press interrupt signal.

[0006] Preferably, the main control module is connected to the key circuit; The main control module is used to set the electronic device to sleep or shut down according to the duration of the pressed state after detecting that the key circuit is in a pressed state when the electronic device is turned on; and to set the electronic device to turn on according to the duration of the pressed state after detecting that the key circuit is in a pressed state when the electronic device is turned off.

[0007] Preferably, the self-locking circuit includes: a first transistor, a first resistor, a second resistor and a third resistor, the collector of the first transistor is respectively connected to the key circuit and one end of the second resistor, the base is respectively connected to one end of the first resistor and one end of the third resistor, and the emitter and the other end of the third resistor are commonly grounded; the other end of the first resistor is respectively connected to the power supply module and the power-on control circuit, and the other end of the second resistor is connected to the input power supply end.

[0008] Preferably, the button circuit includes a touch switch and a fourth resistor, one end of the touch switch is grounded, and the other end is respectively connected to one end of the fourth resistor, a power management unit and a power-on control circuit, one end of the fourth resistor is also connected to the level detection pin of the main control module, and the other end of the fourth resistor is connected to the input power supply end.

[0009] Preferably, the power-on control circuit includes: a second transistor, a fifth resistor, a sixth resistor, a seventh resistor and an eighth resistor, the emitter of the second transistor and one end of the sixth resistor are commonly connected to the input power supply end, the base and the other end of the sixth resistor are commonly connected to one end of the fifth resistor, the collector is connected to one end of the seventh resistor, the other end of the fifth resistor is respectively connected to the collector of the first transistor and the other end of the touch switch, the other end of the seventh resistor is respectively connected to the power management unit, one end of the eighth resistor and the other end of the first resistor, and the other end of the eighth resistor is grounded.

[0010] Preferably, the power on / off circuit further includes a timed power on circuit, and the timed power on circuit includes a clock chip, one end of the clock chip is connected to the main control module, and the other end is respectively connected to the power management unit and the other end of the touch switch.

[0011] Preferably, the power on / off circuit further comprises an isolation module, and the isolation module is respectively connected to the key circuit, the self-locking circuit, the power-on control circuit and the power management unit.

[0012] Preferably, the isolation module comprises: a first diode, a second diode, a third diode, a fourth diode and a fifth diode; The cathode of the first diode is connected to the clock chip, the anode of the first diode and the anode of the second diode are connected to the power management unit, and the cathodes of the second diode, the third diode and the fourth diode are connected to the other end of the touch switch. The anode of the third diode and the anode of the fifth diode are commonly connected to the other end of the fifth resistor; An anode of the fourth diode is connected to the fourth resistor; The cathode of the fifth diode is connected to the collector of the first transistor and one end of the second resistor respectively.

[0013] A control method for a power on / off circuit is applied to any of the power on / off circuits described above, the method comprising the following steps: S100, when the key circuit is in a closed state, triggering the power-on control circuit to be in a conducting state, connecting the path between the input power terminal and the power module, so as to control the electronic device to start up; S200, after the path between the input power supply terminal and the power module is turned on, the self-locking circuit maintains the power-on control circuit in a turned-on state, so that the input power supply terminal continuously supplies power to the power module.

[0014] The beneficial effects of the present invention are as follows: the present invention provides a power-on / off circuit and a control method thereof, which can realize the automatic power-on of electronic equipment by triggering the power-on control circuit to be in the on state when the key circuit is in the closed state, conducting the path between the input power supply terminal and the power module, and maintaining the power-on control circuit in the on state through a self-locking circuit, so that the input power supply terminal continuously supplies power to the power module. The present invention can realize the automatic power-on of electronic equipment. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0016] Figure 1 is a circuit block diagram of a switch circuit in an embodiment of the present invention; Figure 2 It is a circuit principle diagram of a switch circuit in an embodiment of the present invention. DETAILED DESCRIPTION

[0017] This section will describe in detail the specific embodiments of the present invention. The preferred embodiments of the present invention are shown in the accompanying drawings. The purpose of the accompanying drawings is to supplement the description of the text part of the specification with graphics, so that people can intuitively and vividly understand each technical feature and the overall technical solution of the present invention, but it cannot be understood as a limitation on the scope of protection of the present invention.

[0018] In the description of the present invention, it should be understood that descriptions involving orientations, such as up, down, front, back, left, right, etc., and orientations or positional relationships indicated are based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present invention.

[0019] In the description of the present invention, if there are words such as "several", it means one or more, "more" means more than two, greater than, less than, exceed, etc. are understood as not including the number, and above, below, within, etc. are understood as including the number.

[0020] In the description of the present invention, unless otherwise clearly defined, terms such as setting, installing, connecting, etc. should be understood in a broad sense, and technicians in the relevant technical field can reasonably determine the specific meanings of the above terms in the present invention in combination with the specific content of the technical solution.

[0021] Reference Figure 1 , Figure 1 The circuit block diagram of the power on / off circuit of the present invention is applied to an electronic device, wherein the electronic device is provided with a power module 100, and the power on / off circuit comprises a key circuit 200, a self-locking circuit 300 and a power-on control circuit 400; the key circuit 200, the power-on control circuit 400 and the power module 100 are connected in sequence; two ends of the self-locking circuit 300 are respectively connected to the power module 100 and the power-on control circuit 400; the key circuit 200 is connected to an input power supply terminal VCC; The key circuit 200 is used to trigger the power-on control circuit 400 to be in the on state when in the closed state, and to conduct the path between the input power terminal VCC and the power module 100 to control the electronic device to start up; The self-locking circuit 300 is used to maintain the power-on control circuit 400 in a conducting state after the path between the input power terminal VCC and the power module 100 is turned on, so that the input power terminal VCC continuously supplies power to the power module 100 .

[0022] It should be noted that when the key circuit 200 is in a closed state, the power-on control circuit 400 is triggered to be in an on state, and the power-on control circuit 400 is maintained in an on state through the self-locking circuit 300, so that the input power terminal VCC continuously supplies power to the power module 100. The power-on and power-off circuit provided by the present invention can realize automatic power-on of electronic equipment.

[0023] In some embodiments, the electronic device is further configured with a main control module 500, and the power module 100 includes a power management unit 110; the power management unit 110 is respectively connected to the main control module 500, the key circuit 200, the self-locking circuit 300 and the power-on control circuit 400; The power management unit 110 is used to send a first press interrupt signal to the main control module 500 after detecting that the key circuit 200 is in a pressed state when the electronic device is turned on; and to send a second press interrupt signal to the main control module 500 after detecting that the key circuit 200 is in a pressed state when the electronic device is turned off; The main control module 500 is used to set the electronic device to sleep or shut down according to the duration of the first press interrupt signal; and to set the electronic device to start up according to the duration of the second press interrupt signal.

[0024] Specifically, the power management unit 110 is configured with a PWRON pin. When the electronic device is turned on, by setting the key circuit 200 to be in a pressed state, a press interrupt signal will appear to the main control module 500 when the PWRON pin is pulled low for a period of time. The main control module 500 can be set to short-press sleep, long-press shutdown, etc. For example, if the duration of the PWRON pin being a low level (i.e., the first press interrupt signal) is within the first press duration threshold (e.g., 1 to 6 seconds), the main control module 500 determines that the key circuit 200 is in a short-press state and forces the electronic device to shut down; if the duration of the PWRON pin being a low level is within the second press duration threshold (e.g., 6 to 10 seconds), the main control module 500 determines that the key circuit 200 is in a long-press state and forces the electronic device to shut down.

[0025] The pressing state includes a short pressing state and a long pressing state; when the pressing state is a short pressing state, the main control module 500 sets the electronic device to sleep; when the pressing state is a long pressing state, the main control module 500 sets the electronic device to shut down.

[0026] Similarly, when the electronic device is turned off, by setting the key circuit 200 to a pressed state, the PWRON pin is pulled low for a period of time, and a press interrupt signal (i.e., a second press interrupt signal) is sent to the main control module 500, and the main control module 500 can be set to turn on. For example, when the PWRON pin is pulled low for a period of time in the off state, the duration is within the third press duration threshold (e.g., 15 to 25 seconds), and if the voltage of the input power supply terminal VCC meets the power-on requirement, the power module 100 is started; when the power module 100 is started, the electronic device is restarted, In some embodiments, the main control module 500 is connected to the key circuit 200; The main control module 500 is used to set the electronic device to sleep or shut down according to the duration of the pressed state after detecting that the key circuit 200 is in a pressed state when the electronic device is turned on; and to set the electronic device to turn on according to the duration of the pressed state after detecting that the key circuit 200 is in a pressed state when the electronic device is turned off.

[0027] Specifically, the key circuit 200 is also connected to the main control module 500, and the main control module 500 can also directly interact with the key circuit 200 to set the electronic device to sleep or shut down.

[0028] Reference Figure 2 In some embodiments, the self-locking circuit 300 includes: a first transistor Q1, a first resistor R1, a second resistor R2 and a third resistor R3, the collector of the first transistor Q1 is respectively connected to the key circuit 200 and one end of the second resistor R2, the base is respectively connected to one end of the first resistor R1 and one end of the third resistor R3, and the emitter and the other end of the third resistor R3 are grounded together; the other end of the first resistor R1 is respectively connected to the power module 100 and the power-on control circuit 400, and the other end of the second resistor R2 is connected to the input power supply terminal VCC.

[0029] When the key circuit 200 is in the disconnected state, the enable terminal of the power module 100 cannot be maintained at a high level, so the self-locking circuit 300 is added. After the key circuit 200 is turned on, the high level of the enable terminal turns on the first transistor Q1 in the self-locking circuit 300, maintains the conduction of the power-on control circuit 400, and the enable terminal of the power module 100 continues to be at a high level.

[0030] In some embodiments, the button circuit 200 includes a touch switch SW1 and a fourth resistor R4, one end of the touch switch SW1 is grounded, and the other end is respectively connected to one end of the fourth resistor R4, the power management unit 110 and the power-on control circuit 400, one end of the fourth resistor R4 is also connected to the main control module 500, and the other end of the fourth resistor is connected to the input power supply terminal VCC.

[0031] In some embodiments, one end of the fourth resistor R4 is also connected to the level detection pin KEY_DET of the main control module 500; the level detection pin KEY_DET is pulled up by the input power supply terminal VCC, so that the level detection pin KEY_DET has a certain level. When the touch switch SW1 is pressed, the level detection pin KEY_DET is at a low level. If the touch switch SW1 is not pressed, the level detection pin KEY_DET is suspended and is at a high level.

[0032] When the touch switch SW1 is pressed, the power module 100 is powered on and turned on at the same time. After the power is turned on, the system detects the state of the touch switch SW1. Long pressing the touch switch SW1 can turn off the device. After the power is turned off, when the counter of the timing power-on circuit 600 reaches the set value, an interrupt signal is generated. This interrupt signal is transmitted to the power management module of the system. The power management module controls the electronic device to power on and restore the electronic device from the shutdown state to the normal working state.

[0033] In some embodiments, the power-on control circuit 400 includes: a second transistor Q2, a fifth resistor R5, a sixth resistor R6, a seventh resistor R7 and an eighth resistor R8, the emitter of the second transistor Q2 and one end of the sixth resistor R6 are commonly connected to the input power supply terminal VCC, the base and the other end of the sixth resistor R6 are commonly connected to one end of the fifth resistor R5, and the collector is connected to one end of the seventh resistor R7, the other end of the fifth resistor R5 is respectively connected to the collector of the first transistor Q1 and the other end of the touch switch SW1, the other end of the seventh resistor R7 is respectively connected to the power management unit 110, one end of the eighth resistor R8 and the other end of the first resistor R1, and the other end of the eighth resistor R8 is grounded.

[0034] When the first transistor Q1 is turned on, the second transistor Q2 in the power-on control circuit 400 can be kept turned on, and the enable terminal of the power module 100 is continuously at a high level.

[0035] In some embodiments, the power on / off circuit also includes a timed power on circuit 600, which includes a clock chip 610, one end of which is connected to the main control module 500, and the other end is respectively connected to the power management unit 110 and the other end of the touch switch SW1.

[0036] In this embodiment, the clock chip 610 and the main control module 500 are connected by IIC signals, and the operating system can be set to automatically start up through the clock chip 610. Specifically, the clock chip 610 has an interrupt output pin, and a set value is set in the main control module 500. A counter is configured inside the clock chip 610. When the counter accumulates the count to reach the set value, the output pin of the clock chip 610 will output a low level, thereby pulling down the PWRON pin of the power management unit 110 to start up the electronic device.

[0037] In some embodiments, the power on / off circuit further includes an isolation module 700 , and the isolation module 700 is respectively connected to the key circuit 200 , the self-locking circuit 300 , the power-on control circuit 400 and the power management unit 110 .

[0038] In this embodiment, the function of the isolation module 700 is to separate the signals of the button circuit 200, the self-locking circuit 300, the power-on control circuit 400, the main control module 500 and the timed power-on circuit 600 from each other to prevent mutual interference and cause confusion in the operation of the power on / off circuit.

[0039] In some embodiments, the isolation module 700 includes: a first diode D1, a second diode D2, a third diode D3, a fourth diode D4 and a fifth diode D5; The cathode of the first diode D1 is connected to the main control module 500 through the clock chip 610, the anode of the first diode D1 and the anode of the second diode D2 are connected to the power management unit 110, and the cathode of the second diode D2, the cathode of the third diode D3 and the cathode of the fourth diode D4 are connected to the other end of the touch switch SW1. The anode of the third diode D3 and the anode of the fifth diode D5 are commonly connected to the other end of the fifth resistor R5; The anode of the fourth diode D4 is connected to the fourth resistor R4; The cathode of the fifth diode D5 is connected to the collector of the first transistor Q1 and one end of the second resistor R2 respectively.

[0040] Signal isolation of components at the corresponding two ends can be achieved through the first diode D1 , the second diode D2 , the third diode D3 , the fourth diode D4 and the fifth diode D5 .

[0041] Specifically, the interrupt output signal of the clock chip 610 is transmitted to the PWRON pin through the first diode D1; the low level generated by pressing the touch switch SW1 is transmitted to the PWRON pin through the second diode D2; the low level generated by pressing the touch switch SW1 is transmitted to the power-on control circuit 400 through the third diode D3; the low level generated by pressing the touch switch SW1 is transmitted to the main control module 500 through the fourth diode D4; the enable signal of the self-locking circuit 300 is transmitted to the power-on control circuit 400 through the fifth diode D5.

[0042] The working principle of the present invention is as follows: When the touch switch SW1 is not pressed, the base and emitter of the second transistor Q2 are both at high level, the second transistor Q2 is in the cut-off state, the second enable terminal is at low level, and the power module 100 cannot be started.

[0043] When the input power supply terminal VCC supplies power, the touch switch SW1 in the key circuit 200 is pressed, the power-on control circuit 400 outputs an enable signal, the base of the second transistor Q2 is at a low level, the second transistor Q2 is turned on, the eighth resistor R8 is divided, the enable end of the power module 100 yuan obtains a high level, the power module 100 is started, and the voltage division of the eighth resistor R8 turns on the first transistor Q1 and keeps the second transistor Q2 turned on. In this way, the second transistor Q2 can always remain in the on state after the touch switch SW1 is pressed.

[0044] After the touch switch SW1 is pressed and released, the enable terminal of the power module 100 cannot be maintained at a high level, so a self-locking circuit 300 is added. After the touch switch SW1 is pressed, the high level of the enable terminal turns on the first transistor Q1 in the self-locking circuit 300, maintains the conduction of the second transistor Q2 in the power-on control circuit 400, and the enable terminal of the power module 100 continues to be at a high level.

[0045] When the key circuit 200 starts the power module 100, it pulls down the level of the PWRON pin of the power management unit 110, and the electronic device is turned on. After the electronic device is turned on, the main control module 500 can indirectly detect the state of the touch switch SW1 through the power management unit 110, or directly detect the state of the touch switch SW1.

[0046] For the PWRON pin of the power management unit 110, when the electronic device is turned off, the PWRON pin is pulled low for 20ms, and if the voltage of the input power supply terminal VCC meets the power-on requirement of the electronic device, the electronic device will be turned on. Therefore, after the power module 100 is started, if the electronic device has been turned off, pressing the touch switch SW1 can restart it, and the clock chip 610 of the timed power-on circuit 600 can also be used to set the operating system to automatically start up.

[0047] After the electronic device is turned on, if the touch switch SW1 is pressed and held, the PWRON pin of the power management unit 110 will be continuously pulled low, and the second diode D2 will pass this continuous low level to the PWRON pin. The power management unit 110 detects the continuous low level of the PWRON pin and issues a short press state / long press state interrupt to the main control module 500, and the main control module 500 performs corresponding operations.

[0048] When the power module 100 is started, even if the electronic device is turned off, the anode of the first diode D1 and the anode of the second diode D2 are connected to the PWRON pin, that is, not only can the device be restarted by pressing the touch switch SW1, but the device can also be restarted by the continuous low level output by the clock chip 610. When the counter accumulates to the set value, the interrupt output pin of the clock chip 610 outputs a low level.

[0049] The level detection pin KEY_DET connected to the fourth diode D4 is output to the main control module 500. After pressing the button, the cathode of the fourth diode D4 is equivalent to being directly grounded, which will also pull the level detection pin KEY_DET low. The main control module 500 can detect the state of the touch switch SW1. This signal is pulled up to the voltage of the input power supply terminal VCC through the fourth resistor R4 to ensure that the level detection pin KEY_DET is a certain level. When the level of the level detection pin KEY_DET is 0, it means that the touch switch SW1 is pressed, and when it is 1, it means that the touch switch SW1 is not pressed.

[0050] The main control module 500 and the power management unit 110 are connected via IIC communication. The PWRON pin can detect the state of the touch switch SW1 and how long the touch switch SW1 is pressed. The power management unit 110 obtains the state of the touch switch SW1 through the PWRON pin and then sends it to the main control module 500 via IIC communication.

[0051] In addition, an embodiment of the present invention provides a control method for a power-on / off circuit, which is applied to the power-on / off circuit described in any of the above embodiments, and the method comprises the following steps: S100, when the key circuit 200 is in a closed state, triggering the power-on control circuit 400 to be in a conducting state, conducting the path between the input power terminal VCC and the power module 100, so as to control the electronic device to start up; S200 , after the path between the input power terminal VCC and the power module 100 is turned on, the self-locking circuit 300 maintains the power-on control circuit 400 in a turned-on state, so that the input power terminal VCC continuously supplies power to the power module 100 .

[0052] The embodiments described in the embodiments of the present invention are intended to more clearly illustrate the technical solutions of the embodiments of the present invention, and do not constitute a limitation on the technical solutions provided by the embodiments of the present invention. Those skilled in the art can appreciate that with the evolution of technology and the emergence of new application scenarios, the technical solutions provided by the embodiments of the present invention are also applicable to similar technical problems.

[0053] Those skilled in the art will appreciate that the technical solutions shown in the figures do not limit the embodiments of the present invention and may include more or fewer steps than shown in the figures, or a combination of certain steps, or different steps.

[0054] The device embodiments described above are merely illustrative, and the circuits described as separate components may or may not be physically separated, that is, they may be located in one place, or they may be distributed over multiple network circuits. Some or all of the modules may be selected according to actual needs to achieve the purpose of the present embodiment.

[0055] Those skilled in the art will appreciate that all or some of the steps in the methods disclosed above, and the functional modules / circuits in the systems and devices may be implemented as software, firmware, hardware, or a suitable combination thereof.

[0056] The terms "first", "second", "third", "fourth", etc. (if any) in the description of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or circuits is not necessarily limited to those steps or circuits clearly listed, but may include other steps or circuits that are not clearly listed or inherent to these processes, methods, products or devices.

[0057] It should be understood that in the present invention, "at least one (item)" refers to one or more, and "plurality" refers to two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can represent: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following items" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b or c can represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.

[0058] In the several embodiments provided by the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the above circuits is only a logical function division. There may be other division methods in actual implementation, such as multiple circuits or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or circuits, which can be electrical, mechanical or other forms.

[0059] The circuits described above as separate components may or may not be physically separated, and the components shown as circuits may or may not be physical circuits, that is, they may be located in one place or distributed over multiple network circuits. Some or all of the circuits may be selected according to actual needs to achieve the purpose of the present embodiment.

[0060] In addition, each functional circuit in each embodiment of the present invention may be integrated into one processing circuit, or each circuit may exist physically separately, or two or more circuits may be integrated into one circuit. The above integrated circuit may be implemented in the form of hardware or in the form of software functional circuit.

[0061] The preferred embodiments of the embodiments of the present invention are described above with reference to the accompanying drawings, but the scope of rights of the embodiments of the present invention is not limited thereby. Any modifications, equivalent substitutions and improvements made by those skilled in the art without departing from the scope and essence of the embodiments of the present invention should be within the scope of rights of the embodiments of the present invention. Although the description disclosed in the present invention has been quite detailed and several of the embodiments are described in particular, it is not intended to be limited to any of these details or embodiments or any particular embodiment, but should be regarded as providing a broad possible interpretation of these claims by reference to the attached claims, taking into account the prior art, so as to effectively cover the intended scope disclosed by the present invention. In addition, the above describes the present invention with the foreseeable embodiments of the inventor, the purpose of which is to provide a useful description, and those non-substantial changes to the present invention that have not yet been foreseen may still represent equivalent changes to the present disclosure.

Claims

1. A power on / off circuit, characterized in that: The switch circuit is applied to an electronic device, the electronic device is equipped with a power module, the switch circuit comprises a key circuit, a self-locking circuit and a power-on control circuit; the key circuit, the power-on control circuit and the power module are connected in sequence; the two ends of the self-locking circuit are respectively connected to the power module and the power-on control circuit; the key circuit is connected to an input power supply terminal; The key circuit is used to trigger the power-on control circuit to be in the on state when in the closed state, and to conduct the path between the input power terminal and the power module to control the electronic device to start up; The self-locking circuit is used to maintain the power-on control circuit in a conducting state after the path between the input power supply end and the power module is turned on, so that the input power supply end continuously supplies power to the power module.

2. The switch circuit according to claim 1, characterized in that: The electronic device is further configured with a main control module, and the power module includes a power management unit; the power management unit is respectively connected to the main control module, the key circuit, the self-locking circuit and the power-on control circuit; The power management unit is used to send a first press interrupt signal to the main control module after detecting that the key circuit is in a pressed state when the electronic device is turned on; and to send a second press interrupt signal to the main control module after detecting that the key circuit is in a pressed state when the electronic device is turned off; The main control module is used to set the electronic device to sleep or shut down according to the duration of the first press interrupt signal; and to set the electronic device to start up according to the duration of the second press interrupt signal.

3. The switch circuit according to claim 2, characterized in that: The main control module is connected to the key circuit; The main control module is used to set the electronic device to sleep or shut down according to the duration of the pressed state after detecting that the key circuit is in a pressed state when the electronic device is turned on; and to set the electronic device to turn on according to the duration of the pressed state after detecting that the key circuit is in a pressed state when the electronic device is turned off.

4. The switch circuit according to claim 1, characterized in that: The self-locking circuit includes: a first transistor, a first resistor, a second resistor and a third resistor, the collector of the first transistor is respectively connected to the key circuit and one end of the second resistor, the base is respectively connected to one end of the first resistor and one end of the third resistor, and the emitter and the other end of the third resistor are grounded together; the other end of the first resistor is respectively connected to the power supply module and the power-on control circuit, and the other end of the second resistor is connected to the input power supply end.

5. The switch circuit according to claim 4, characterized in that: The key circuit includes a touch switch and a fourth resistor, one end of the touch switch is grounded, and the other end is respectively connected to one end of the fourth resistor, a power management unit and a power-on control circuit, one end of the fourth resistor is also connected to the level detection pin of the main control module, and the other end of the fourth resistor is connected to the input power supply end.

6. The switch circuit according to claim 5, characterized in that: The power-on control circuit includes: a second transistor, a fifth resistor, a sixth resistor, a seventh resistor and an eighth resistor, the emitter of the second transistor and one end of the sixth resistor are commonly connected to the input power supply end, the base and the other end of the sixth resistor are commonly connected to one end of the fifth resistor, the collector is connected to one end of the seventh resistor, the other end of the fifth resistor is respectively connected to the collector of the first transistor and the other end of the touch switch, the other end of the seventh resistor is respectively connected to the power management unit, one end of the eighth resistor and the other end of the first resistor, and the other end of the eighth resistor is grounded.

7. The switch circuit according to claim 6, characterized in that: The power on / off circuit also includes a timed power on circuit, which includes a clock chip, one end of which is connected to the main control module, and the other end of which is respectively connected to the power management unit and the other end of the touch switch.

8. The switch circuit according to claim 7, characterized in that: The power on / off circuit also includes an isolation module, which is respectively connected to the key circuit, the self-locking circuit, the power-on control circuit and the power management unit.

9. The switch circuit according to claim 8, characterized in that: The isolation module includes: a first diode, a second diode, a third diode, a fourth diode and a fifth diode; The cathode of the first diode is connected to the clock chip, the anode of the first diode and the anode of the second diode are connected to the power management unit, and the cathodes of the second diode, the third diode and the fourth diode are connected to the other end of the touch switch. The anode of the third diode and the anode of the fifth diode are commonly connected to the other end of the fifth resistor; An anode of the fourth diode is connected to the fourth resistor; The cathode of the fifth diode is connected to the collector of the first transistor and one end of the second resistor respectively.

10. A method for controlling a power on / off circuit, characterized in that: The method for the power on / off circuit according to any one of claims 1 to 9, wherein the method comprises the following steps: S100, when the key circuit is in a closed state, triggering the power-on control circuit to be in a conducting state, connecting the path between the input power terminal and the power module, so as to control the electronic device to start up; S200, after the path between the input power supply terminal and the power module is turned on, the self-locking circuit maintains the power-on control circuit in a turned-on state, so that the input power supply terminal continuously supplies power to the power module.