Switching control circuit and electronic device
By designing a power-on/off control circuit that includes switching elements, semiconductor switching circuits, and holding circuits, the problem of electronic devices being unable to quickly lock into the power-on state after being plugged in is solved, achieving low-cost and stable power-on/off control that is suitable for various electronic devices.
Patent Information
- Application Number
- CN202110620177.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-06-03
- Publication Date
- 2025-11-28
- Estimated Expiration
- 2041-11-28
AI Technical Summary
In existing technologies, electronic devices require button control to turn on after being plugged in. Furthermore, due to the increased complexity of the software system, it is impossible to quickly and effectively lock the power-on state, resulting in increased costs or the poor universality and high price of using dedicated power-on control chips.
Design a power-on/off control circuit including a switching element, a first semiconductor switching circuit, a second semiconductor switching circuit, and a holding circuit. The holding circuit maintains the conduction state of the first semiconductor switching element, ensures that the second semiconductor switching element stably outputs a power-on signal, and turns off the first semiconductor switching element in advance through a voltage divider resistor to achieve stable power-off.
It achieves low-cost power-on/off control, ensuring that electronic devices can be quickly and stably powered on after being plugged in, and stably powered off when needed, avoiding additional space and cost increases.
Smart Images

Figure CN113258911B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of electronic circuit, in particular to a power-on / off control circuit and an electronic device comprising the same. BACKGROUND
[0002] For many instruments and electronic devices, after being plugged in, they still need to be controlled by a key to start up. When the key switch is a non-mechanical switch, after the key switch is pressed, it is necessary to ensure that the start-up state of the electronic device is locked. However, with the increase of the complexity of the software system of the electronic device, the control system of the electronic device often cannot send an effective locking signal in a very short time. In view of this problem, the following two solutions are usually proposed:
[0003] (1) Increase a control system. The control system can be a microprocessor system or a programmable processor system. However, whether a microprocessor or a programmable processor is added, additional space is needed, code writing is needed, and additional cost is increased.
[0004] (2) Use a special power-on / off control chip. However, the special power-on / off control chip has poor universality and high price, which also increases the cost of the device. SUMMARY
[0005] The technical problem to be solved by the present application is to provide a power-on / off control circuit with simple design and low cost and an electronic device comprising the same.
[0006] To solve the above technical problem, the present application provides a power-on / off control circuit, characterized in that it comprises a switching element, a first semiconductor switching circuit, a second semiconductor switching circuit and a holding circuit, wherein the first semiconductor switching circuit comprises a first semiconductor switching element, the first semiconductor switching element has three terminals, the switching element is connected to the first terminal of the first semiconductor switching element, the second terminal of the first semiconductor switching element is connected to the second semiconductor switching circuit, wherein when the switching element is closed, the first semiconductor switching element is turned on; the second semiconductor switching circuit comprises a second semiconductor switching element, the second semiconductor switching element has three terminals, the second terminal of the first semiconductor switching element is connected to the first terminal of the second semiconductor switching element, wherein when the first semiconductor switching element is turned on, the second semiconductor switching element is turned on, and the second terminal of the second semiconductor switching element outputs a start-up signal; and the holding circuit is connected between the first terminal of the first semiconductor switching element and the second terminal of the second semiconductor switching element, and when the second semiconductor switching element is turned on, the holding circuit is used to maintain the first semiconductor switching element in the turned-on state.
[0007] In an embodiment of the present application, the first semiconductor switching circuit further comprises a first diode and a first resistor, the switching element is connected with the positive pole of the first diode, the negative pole of the first diode is connected with the first end of the first resistor, and the second end of the first resistor is connected with the first end of the first semiconductor switching element.
[0008] In an embodiment of the present application, the first semiconductor switching circuit further comprises a third resistor and a fourth resistor, the first end of the third resistor is connected with the first end of the first resistor, and the second end of the third resistor is grounded; the first end of the fourth resistor is connected with the first end of the third resistor, and the second end of the fourth resistor is connected with the holding circuit.
[0009] The switching machine control circuit according to claim 1, wherein the second semiconductor switching circuit further comprises a fifth resistor and a sixth resistor, the first end of the fifth resistor is connected with the first end of the second semiconductor switching element, the second end of the fifth resistor is connected with the second end of the first semiconductor switching element; the first end of the sixth resistor is connected with the second end of the fifth resistor, and the second end of the sixth resistor is connected with the third end of the second semiconductor switching element.
[0010] In an embodiment of the present application, the holding circuit comprises a second diode and a seventh resistor, the positive pole of the second diode is connected with the first end of the seventh resistor, and the negative pole of the second diode is connected with the second end of the fourth resistor; the second end of the seventh resistor is connected with the second end of the second semiconductor switching element.
[0011] In an embodiment of the present application, a shutdown detection circuit is further included, the switching element is connected with the shutdown detection circuit, and when the closing time of the switching element is greater than or equal to a preset time length, the shutdown detection circuit outputs a shutdown indication signal.
[0012] In an embodiment of the present application, the shutdown detection circuit comprises a third semiconductor switching element, the switching element is connected with the first end of the third semiconductor switching element, when the closing time of the switching element is greater than or equal to a preset time length, the third semiconductor switching element keeps conducting until the switching element is disconnected, and the second end of the third semiconductor switching element outputs the shutdown indication signal.
[0013] In an embodiment of the present application, the power-off detection circuit further comprises an eighth resistor and a ninth resistor, the switch element is connected with a first end of the eighth resistor, a second end of the eighth resistor is connected with a first end of the third semiconductor switch element, a second end of the third semiconductor switch element is connected with a first end of the ninth resistor, and a second end of the ninth resistor outputs the power-off indication signal.
[0014] In an embodiment of the present application, a power-off control circuit is further included, the power-off control circuit comprises a fourth semiconductor switch element, the fourth semiconductor switch element has three terminals, a second end of the fourth semiconductor switch element is connected with a first end of the seventh resistor, when the fourth semiconductor switch element is turned on, the second semiconductor switch element is closed, and a second end of the second semiconductor switch element outputs a power-off signal.
[0015] In an embodiment of the present application, the power-off control circuit further comprises a tenth resistor, a first end of the tenth resistor is connected with a first end of the fourth semiconductor switch element, when the power-off detection circuit stops outputting the power-off indication signal, a second end of the tenth resistor receives a power-off indication signal, and the power-off indication signal makes the fourth semiconductor switch element turned on.
[0016] The present application further provides an electronic device comprising the power-on / off control circuit as described above.
[0017] The power-on / off control circuit of the present application can stably lock the power-on state through the holding circuit, and the first semiconductor switch element can be closed early through the voltage dividing resistor in the first semiconductor switch circuit, so that the electronic device can be stably powered off. The power-on / off control circuit and the electronic device of the present application also have the beneficial effects of simple design and low cost. BRIEF DESCRIPTION OF DRAWINGS
[0018] The accompanying drawings are included to provide a further understanding of the present application, and are incorporated in and constitute a part of this application, illustrate embodiments of the present application, and together with the description serve to explain the principle of the present application. In the drawings:
[0019] Figure 1 FIG. 1 is a circuit structure schematic diagram of a power-on / off control circuit according to an embodiment of the present application;
[0020] Figure 2 FIG. 2 is a structure schematic diagram of a power-on / off control circuit according to another embodiment of the present application;
[0021] Figure 3 FIG. 3 is a structure schematic diagram of a power-on / off control circuit according to another embodiment of the present application;
[0022] Figure 4is a structural schematic diagram of a switch control circuit according to another embodiment of the present application. DETAILED DESCRIPTION
[0023] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the embodiment description will be briefly introduced. Obviously, the drawings in the following description are only some examples or embodiments of the present application, and for those skilled in the art, the present application can be applied to other similar scenarios without creative labor according to the drawings. Unless it is clear from the language context or otherwise indicated, the same reference numbers in the drawings represent the same structure or operation.
[0024] As shown in the present application and claims, unless the context clearly indicates otherwise, the words "one", "an", "a", and / or "the" do not mean to specify a single number, but also can include a plurality. Generally speaking, the terms "comprise" and "include" only indicate that the steps and elements explicitly identified are included, and these steps and elements do not constitute an exclusive list, and the method or device can also include other steps or elements.
[0025] Unless specifically stated otherwise, the relative arrangement of the components and steps illustrated in these embodiments, numerical expressions, and numerical values do not limit the scope of the present application. It should be understood that the sizes of the various parts shown in the drawings are not necessarily drawn to scale. The techniques, methods, and devices known to those of ordinary skill in the relevant art can not be discussed in detail, but should be considered as part of the authorized description when appropriate. In all examples shown and discussed herein, any specific value should be interpreted as merely exemplary, and not as a limitation. Therefore, other examples of the exemplary embodiments can have different values. It should be noted that similar reference numbers and letters represent similar items in the following drawings, and therefore, once an item is defined in one drawing, it does not need to be further discussed in subsequent drawings.
[0026] For purposes of the description hereinafter, spatially relative terms, such as "above", "below", "up", "down", "between", "within", "left", "right", "rear", "front", "upper", "lower", "horizontal", "vertical", "above", "below", "up", "down", "top", "bottom", "under", and the like, can be used herein for ease of description to describe one element or feature's relationship to another element(s) or feature(s) as illustrated in the figures. It will be understood that the spatially relative terms are intended to encompass different orientations of the device in use or operation in addition to the orientations depicted in the figures. For example, if a device in the figures is inverted, elements described as "above" or "up" other elements or features would then be oriented "below" or "down" the other elements or features. Thus, the exemplary term "above" can encompass both an orientation of above and below. The device can be otherwise oriented (rotated 90 degrees or at other orientations) and the spatially relative descriptors used herein interpreted accordingly. It will be understood that the spatially relative terms are intended to encompass different orientations of the device in use or operation in addition to the orientations depicted in the figures. For example, if a device in the figures is inverted, elements described as "above" or "up" other elements or features would then be oriented "below" or "down" the other elements or features. Thus, the exemplary term "above" can encompass both an orientation of above and below. The device can be otherwise oriented (rotated 90 degrees or at other orientations) and the spatially relative descriptors used herein interpreted accordingly.
[0027] In addition, it should be noted that the use of "first", "second", and the like, terminology to describe various components is merely used for convenience and does not limit the applicability to corresponding components. Unless otherwise stated, the above terminology is not intended to imply a special relationship or order among the described components. In addition, although the terms used in the present application are selected from well-known and commonly used terms from the art, some of the terms mentioned in the present application may be selected by the applicant according to his or her judgment, and the detailed meanings thereof are described in the relevant parts of the description. In addition, the present application is required to be understood not only by the actual terms used, but also by the meaning implied by each term.
[0028] Figure 1 is a circuit structure schematic diagram of a switch control circuit according to an embodiment of the present application. Referring to Figure 1As shown, the power-on / off control circuit 100 of this embodiment includes a switching element K, a first semiconductor switching circuit 110, a second semiconductor switching circuit 120, and a holding circuit 130. The first semiconductor switching circuit 110 includes a first semiconductor switching element Q1, which has three terminals Q11, Q12, and Q13. Switching element K is connected to the first terminal Q11 of the first semiconductor switching element Q1, and the second terminal Q12 of the first semiconductor switching element Q1 is connected to the second semiconductor switching circuit 120. When switching element K is closed, the first semiconductor switching element Q1 is turned on. The second semiconductor switching circuit 120 includes a second semiconductor switching element Q2, which has three terminals Q21, Q22, and Q13. 23. The second terminal Q12 of the first semiconductor switching element Q1 is connected to the first terminal Q21 of the second semiconductor switching element Q2. When the first semiconductor switching element Q1 is turned on, the second semiconductor switching element Q2 is turned on, and the second terminal Q22 of the second semiconductor switching element Q2 outputs a power-on signal S1. The holding circuit 130 is connected between the first terminal Q11 of the first semiconductor switching element Q1 and the second terminal Q22 of the second semiconductor switching element Q2. When the second semiconductor switching element Q2 is turned on, the holding circuit 130 is used to keep the first semiconductor switching element Q1 in the on state.
[0029] In some embodiments, Figure 1 The switching element K shown is a push-button switch. According to... Figure 1 In the embodiment shown, when the switching element K is closed, that is, when the push button switch is pressed, both the first semiconductor switching element Q1 and the second semiconductor switching element Q2 in the first semiconductor switching circuit 110 are turned on. The first semiconductor switching element Q1 is kept on by the holding circuit 130, which in turn keeps the second semiconductor switching element Q2 on, thereby locking the power-on state.
[0030] refer to Figure 1 As shown, one end of the switching element K is connected to the input voltage VIN, and the other end of the switching element K is connected to the first end Q11 of the first semiconductor switching element Q1. The second end Q12 of the first semiconductor switching element Q1 is connected to the input voltage VIN, and the first end Q21 of the second semiconductor switching element Q2 is also connected to the input voltage VIN.
[0031] In some embodiments, the input voltage VIN can be the system power supply voltage.
[0032] In some embodiments, the first semiconductor switching element Q1 and the second semiconductor switching element Q2 are both MOSFET elements, wherein the first terminals Q11 and Q21 are control gates, the second terminals Q12 and Q22 are drains, and the third terminals Q13 and Q23 are sources. Since MOSFET elements have a very fast turn-on speed, typically on the order of nanoseconds, the power-on state can be stably and effectively locked at the same time that the switching element K is closed.
[0033] refer to Figure 1 As shown, the power-on signal S1 output from the second terminal Q22 of the second semiconductor switching element Q2 can be connected to other circuits. This power-on signal S1 is used to control the power-on of an electronic device. In some embodiments, the power-on signal S1 is connected to a processor, which controls the power-on of the electronic device according to the power-on signal S1.
[0034] In some embodiments, the power-on signal S1 is connected to the enable terminal of the voltage drive circuit to indicate that the voltage drive circuit is working, and the voltage drive circuit outputs a control signal to control the power-on of the electronic device. In some embodiments, the voltage drive circuit is connected to a processor, and the voltage drive circuit outputs the operating voltage required by the processor, which controls the power-on of the electronic device according to the operating voltage. Specific details will be discussed later. Figure 4 illustrate.
[0035] It is understood that the second terminal Q22 of the second semiconductor switching element Q2 outputs an output signal. When this output signal is used to indicate that the electronic device is powered on, the output signal is the power-on signal S1. When the output signal is not used to indicate that the electronic device is powered on, the output signal is not referred to as the power-on signal S1. In some embodiments, when the output signal of the second terminal Q22 is 1 to indicate that the electronic device is powered on, the output signal is the power-on signal S1; when the output signal of the second terminal Q22 is 0 to indicate that the electronic device is powered off, the output signal is the power-off signal, which can be used to control the electronic device to be powered off.
[0036] Figure 2 This is a schematic diagram of the power-on / off control circuit according to another embodiment of the present invention. Figure 2 The illustrated embodiment is in Figure 1 The embodiments shown are modified accordingly, therefore, Figure 2 China adopts and Figure 1 The same designation is used to represent the same component. (Reference) Figure 2 As shown, in this embodiment, the first semiconductor switching circuit 110 further includes: a first diode D1 and a first resistor R01, the switching element Q1 is connected to the anode of the first diode D1, the cathode of the first diode D1 is connected to the first terminal R011 of the first resistor R01, and the second terminal R012 of the first resistor R01 is connected to the first terminal Q11 of the first semiconductor switching element Q1.Figure 2 As shown, the first resistor R01 is connected between the first diode D1 and the first terminal Q11 of the first semiconductor switching element Q1. As shown, Figure 2 As shown, the upper side of the switching element K is connected with the input voltage VIN. When the switching element K is closed, the input voltage VIN can make the first semiconductor switching element Q1 conduct through the first diode D1 and the first resistor R01.
[0037] Referring to Figure 2 As shown, in some embodiments, the first semiconductor switching circuit 110 further comprises: a third resistor R3 and a fourth resistor R4, the first terminal R31 of the third resistor R3 is connected with the first terminal R011 of the first resistor R01, and the second terminal R32 of the third resistor R3 is grounded GND; the first terminal R41 of the fourth resistor R4 is connected with the first terminal R31 of the third resistor R3, and the second terminal R42 of the fourth resistor R4 is connected with the holding circuit 130.
[0038] In the state of starting up the electronic device system, if the power is not turned off by the key switch control, but directly pulled out to turn off the electronic device, due to the energy storage of the capacitor element in the circuit, the second semiconductor switching element Q2 will still be conductive, so if the power is plugged in again in a short time, the electronic device will appear the phenomenon that the system automatically powers on without the user pressing the power-on key. In the above embodiments, the third resistor R3 and the fourth resistor R4 are arranged in the first semiconductor switching circuit 110, which can play a voltage dividing role, so that the first semiconductor switching element Q1 can be turned off in advance, and then the second semiconductor switching element Q2 is also turned off. When the second semiconductor switching element Q2 is turned off, the power-on signal S1 of the second terminal Q22 of the second semiconductor switching element Q2 is invalid, for example, the output signal of the second terminal Q22 is 0, which indicates that the electronic device is turned off, thereby realizing stable shutdown of the electronic device system.
[0039] Referring to Figure 2 As shown, in some embodiments, the second semiconductor switching circuit 120 further comprises: a fifth resistor R5 and a sixth resistor R6, the first terminal R51 of the fifth resistor R5 is connected with the first terminal Q21 of the second semiconductor switching element Q2, and the second terminal R52 of the fifth resistor R5 is connected with the second terminal Q12 of the first semiconductor switching element Q1; the first terminal R61 of the sixth resistor R6 is connected with the second terminal R52 of the fifth resistor R5, and the second terminal R62 of the sixth resistor R6 is connected with the third terminal Q23 of the second semiconductor switching element Q2. As shown, Figure 2 As shown, according to these embodiments, when the switching element K is closed, the input voltage VIN can make the first semiconductor switching element Q1 conduct through the first diode D1 and the first resistor R01, and then further make the second semiconductor switching element Q2 conduct through the fifth resistor R5 and the sixth resistor R6.
[0040] refer to Figure 2 As shown, the second terminal R62 of the sixth resistor R6 is connected to the input voltage VIN.
[0041] refer to Figure 2 As shown, in some embodiments, the holding circuit 130 includes a second diode D2 and a seventh resistor R7. The anode of the second diode D2 is connected to the first terminal R71 of the seventh resistor R7, and the cathode of the second diode D2 is connected to the second terminal R42 of the fourth resistor R4. The second terminal R72 of the seventh resistor R7 is connected to the second terminal Q22 of the second semiconductor switching element Q2. When the second semiconductor switching element Q2 is turned on, the voltage through the seventh resistor R7 and the second diode D2 keeps the first semiconductor switching element Q1 on, thereby keeping the second semiconductor switching element Q2 on, thus realizing the function of locking the power-on state.
[0042] Figure 3 This is a schematic diagram of the power-on / off control circuit according to another embodiment of the present invention. Figure 3 The illustrated embodiment is in Figure 2 The embodiments shown are modified accordingly, therefore, Figure 3 China adopts and Figure 2 The same designation is used to represent the same component. (Reference) Figure 3 As shown, the power-on / off control circuit of this embodiment further includes a power-off detection circuit 310 based on the one shown in embodiment 2. The switching element K is connected to the power-off detection circuit 310. When the closing time of the switching element K is greater than or equal to the preset time T, the power-off detection circuit 310 outputs a power-off indication signal S2.
[0043] The present invention does not limit the specific implementation of the power-off detection circuit 310.
[0044] Figure 3 The diagram illustrates a specific embodiment. In this embodiment, the power-off detection circuit 310 includes a third semiconductor switching element Q3. The third semiconductor switching element Q3 has three terminals Q31, Q32, and Q33. Switching element K is connected to the first terminal Q31 of the third semiconductor switching element Q3. When the closing duration of switching element K is greater than or equal to a preset duration T, the third semiconductor switching element Q3 remains on until switching element K is turned off, and the second terminal Q32 of the third semiconductor switching element Q3 outputs a power-off indication signal S2. (Reference) Figure 3As shown, the third terminal Q33 of the third semiconductor switching element Q3 is connected to the ground GND. When the switching element K is a key switch, the user long-presses the switching element K, and the duration of the long-press is the closing duration of the switching element K. A preset duration T is set as needed. When the duration of the long-press of the switching element K is greater than or equal to the preset duration T, it indicates that the long-press operation is a shutdown operation. At this time, the shutdown detection circuit 310 outputs a shutdown instruction signal S2 through the second terminal Q32 of the third semiconductor switching element Q3, and the shutdown instruction signal S2 can be output to the corresponding processor, which controls the electronic device to shut down.
[0045] Reference Figure 3 As shown, in some embodiments, the shutdown detection circuit 310 further includes an eighth resistor R8 and a ninth resistor R9. The switching element K is connected to the first terminal R81 of the eighth resistor R8. The second terminal R82 of the eighth resistor R8 is connected to the first terminal Q31 of the third semiconductor switching element Q3. The second terminal Q32 of the third semiconductor switching element Q3 is connected to the first terminal R91 of the ninth resistor R9. The second terminal R92 of the ninth resistor R9 outputs the shutdown instruction signal S2. In this embodiment, when the switching element K is long-pressed, the input voltage VIN makes the third semiconductor switching element Q3 conduct for a long time through the eighth resistor R8, and makes the shutdown instruction signal S2 low through the ninth resistor R9. In this embodiment, the shutdown instruction signal S2 at a low level is used to indicate shutdown. In the embodiment in which the shutdown instruction signal S2 is output to the processor, when the processor detects that the shutdown instruction signal S2 is at a low level for a preset duration T, the electronic device can be controlled to shut down.
[0046] Reference Figure 3 As shown, in some embodiments, the shutdown detection circuit 310 further includes an eleventh resistor R11 and a twelfth resistor R12. The first terminal R111 of the eleventh resistor R11 is connected to the first terminal R81 of the eighth resistor R8. The second terminal R112 of the eleventh resistor R11 is connected to the ground GND. The first terminal R121 of the twelfth resistor R12 is connected to the first terminal R91 of the ninth resistor R9. The second terminal R122 of the twelfth resistor R12 is connected to the system high level. The second terminal R112 of the eleventh resistor R11 is connected to the ground GND, which can pull down the gate control voltage of the third semiconductor switching element Q3, so that the third semiconductor switching element Q3 is in a default off state. The second terminal R122 of the twelfth resistor R12 can be connected to the input voltage VIN, which is in a default high level. Therefore, the shutdown instruction signal S2 can be pulled up to a high level by the twelfth resistor R12 by default, that is, by default, it is not shut down.
[0047] In the above embodiment, the second end R92 of the ninth resistor R9 outputs the shutdown instruction signal S2 as low level, which is used as a signal indicating the shutdown of the electronic device. In other embodiments, the shutdown instruction signal S2 is not limited to high level or low level. When the shutdown instruction signal S2 is high level, the positions and connection relationships of the related elements can be adjusted accordingly, so that the shutdown instruction signal S2 is low level by default.
[0048] Reference Figure 3 As shown in some embodiments, the switch control circuit of the present application further comprises a power-off control circuit 320, the power-off control circuit 320 comprises a fourth semiconductor switching element Q4, the fourth semiconductor switching element Q4 has three terminals Q41, Q42, Q43, the second terminal Q42 of the fourth semiconductor switching element Q4 is connected with the first terminal R71 of the seventh resistor R7, when the fourth semiconductor switching element Q4 is turned on, the second semiconductor switching element Q2 is closed, and the second terminal Q22 of the second semiconductor switching element Q2 outputs a power-off signal S3. The power-off control circuit 320 controls the second semiconductor switching element Q2 through the fourth semiconductor switching element Q4, when the second semiconductor switching element Q2 is closed, the second terminal Q22 outputs the power-off signal S3, which can be used to control the power-off of the electronic device. In some embodiments, the power-off signal S3 is output to the processor, and the power-off of the electronic device is controlled by the processor.
[0049] Reference Figure 3 As shown in some embodiments, the power-off control circuit 320 further comprises a tenth resistor R10, the first terminal R101 of the tenth resistor R10 is connected with the first terminal Q41 of the fourth semiconductor switching element Q4, when the shutdown detection circuit 310 stops outputting the shutdown instruction signal S2, the second terminal R102 of the tenth resistor R10 receives a power-off instruction signal SIN, the power-off instruction signal SIN makes the fourth semiconductor switching element Q4 conduct. Because the fourth semiconductor switching element Q4 is turned on, the second semiconductor switching element Q2 can be closed, so that the second terminal Q22 of the second semiconductor switching element Q2 outputs the power-off signal S3 to control the power-off of the electronic device. In this embodiment, the power-off instruction signal SIN can be sent to the power-off control circuit 320 by the processor.
[0050] Reference Figure 3As shown, the power-off control circuit 320 can further include a thirteenth resistor R13, one end of the thirteenth resistor R13 being connected to the first end R101 of the tenth resistor R10, and the other end of the thirteenth resistor R13 being grounded. In the default state, the fourth semiconductor switching element Q4 is kept in the off state due to the other end of the thirteenth resistor R13 being grounded. When the second end R102 of the tenth resistor R10 receives the power-off indication signal SIN, which is high, the voltage of the first end Q41 of the fourth semiconductor switching element Q4 is pulled high, so that the fourth semiconductor switching element Q4 is turned on, and further, the first semiconductor switching element Q1 is turned off through the second diode D2 and the first resistor R01, and further, the second semiconductor switching element Q2 is turned off, so that the second end Q22 of the second semiconductor switching element Q2 outputs the power-off signal S3 to control the electronic device to power off.
[0051] In the above embodiment, when the closing time of the switching element K is greater than or equal to the preset time T, the shutdown detection circuit outputs the shutdown indication signal S2, for example, the shutdown indication signal S2 is low to indicate shutdown. At this time, the processor can control the electronic device to perform pre-shutdown, for example, to turn off the screen and other states that can be recognized by the human eye. For the key switch, the user holds the key for a preset time T and then releases the key. At this time, the shutdown detection circuit 310 stops outputting the shutdown indication signal S2, for example, the shutdown indication signal S2 is restored to high. When the processor detects that the shutdown indication signal S2 is restored to high, it starts to prepare for shutdown, for example, stores data, etc. Then the processor sends the power-off indication signal SIN to the second end R102 of the tenth resistor R10, so that the fourth semiconductor switching element Q4 is turned on, and finally the second semiconductor switching element Q2 is turned off, so as to control the electronic device to perform power-off shutdown.
[0052] In some embodiments, the third semiconductor switching element Q3 and the fourth semiconductor switching element Q4 are both MOSFET elements, wherein the first end Q31, Q41 is the control gate, the second end Q32, Q42 is the drain, and the third end Q33, Q33 is the source.
[0053] Reference Figure 3As shown, in an embodiment of the present invention, the first semiconductor switching circuit 110 further includes a first capacitor C1 connected between the first terminal Q11 of the first semiconductor switching element Q1 and ground GND; the second semiconductor switching circuit 120 further includes a second capacitor C2 connected between the first terminal Q21 of the second semiconductor switching element Q2 and the input voltage VIN; the power-off detection circuit 310 further includes a third capacitor C3 connected between the second terminal R92 of the ninth resistor R9 and ground GND; the power-off control circuit 320 further includes a fourth capacitor C4 connected between the first terminal Q41 of the fourth semiconductor switching element Q4 and ground GND. C1, C2, C3, and C4 all play the role of noise filtering and preventing signal abrupt changes in their respective circuits.
[0054] Figure 4 This is a schematic diagram of the power-on / off control circuit according to another embodiment of the present invention. Figure 4 The illustrated embodiment is in Figure 3 The embodiments shown are modified accordingly, therefore, Figure 4 China adopts and Figure 3 The same designation is used to represent the same component. (Reference) Figure 4 As shown, this embodiment is similar to Figure 3 The difference in the illustrated embodiment is that the second terminal Q22 of the second semiconductor switching element Q2 is also connected to the voltage driving circuit 410. Specifically, the voltage driving circuit 410 is a voltage driver, mainly including a DC / DC converter 411. The second terminal Q22 of the second semiconductor switching element Q2 is connected to the enable terminal EN of the DC / DC converter 411, and the output signal of the second terminal Q22 of the second semiconductor switching element Q2 serves as the enable signal of the DC / DC converter 411. The input voltage VIN is simultaneously input to the voltage input terminal of the DC / DC converter 411. When the second terminal Q22 of the second semiconductor switching element Q2 outputs a power-on signal S1, the DC / DC converter 411 outputs a voltage VOUT to the processor, and the processor controls the electronic device to power off.
[0055] exist Figure 4 In the illustrated embodiment, the output voltage VOUT is also connected to the second terminal R122 of the twelfth resistor R12. When the electronic device is powered on, the output voltage VOUT is high, and the power-off indicator signal S2 is pulled high by default through the twelfth resistor R12, meaning it is not powered off by default.
[0056] refer to Figure 4As shown, when the switch element K is closed, the on state of the second semiconductor switch element Q2 can be maintained by the holding circuit 130, the second end Q22 of the second semiconductor switch element Q2 continuously outputs the power-on signal S1 to the enable end EN of the DC / DC converter 411, so that the output voltage VOUT of the DC / DC converter 411 is maintained at a high level, and the power-on state can be stably locked.
[0057] When the electronic device is directly powered off in the power-on state, due to the energy storage of the capacitor element, the second semiconductor switch element Q2 is still on, and the enable end EN of the DC / DC converter 411 discharges slowly. The third resistor R3 and the fourth resistor R4 provided in the first semiconductor switch circuit 110 can play a voltage dividing role, so that the first semiconductor switch element Q1 can be closed in advance, and then the second semiconductor switch element Q2 is also closed, the potential of the enable end EN is rapidly lowered, and the electronic device is stably powered off.
[0058] When the switch element K is long pressed and the closing time of the switch element K is greater than or equal to the preset time T, after the shutdown detection circuit 310 outputs the shutdown instruction signal S2, the processor sends the power-off instruction signal SIN to the second end R102 of the tenth resistor R10, the fourth semiconductor switch element Q4 is turned on, and finally the second semiconductor switch element Q2 is closed, the potential of the enable end EN is lowered, and the electronic device is powered off.
[0059] Reference Figure 4 As shown, the voltage driving circuit 410 further includes some resistor elements and capacitor elements, which are not limited by the present application and can be set as needed.
[0060] The voltage driving circuit 410 of the present application is not limited to the DC / DC converter 411 shown in the above embodiment. Figure 4 In other embodiments, other types of functional elements, such as LDO, MOSFET, etc., can be used as voltage conversion elements.
[0061] The switch control circuit of the present application is simple in design and low in cost, can stably lock the power-on state, and can ensure that the electronic device is stably powered off.
[0062] The present application also includes an electronic device including the switch control circuit of the present application, which can be stably locked in the power-on state and stably powered off.
[0063] Having described the basic concepts, it is obvious that the above-described disclosure of the application is merely meant to be exemplary and not restrictive of the application. Various modifications, improvements and changes can be made to the application by those skilled in the art, although not explicitly described herein. Such modifications, improvements and changes are contemplated by the present application and are within the spirit and scope of the exemplary embodiments of the present application.
[0064] Also, the present application uses certain terms to describe embodiments of the application. As used herein, the following terms shall have the following meanings. "An embodiment" or "one embodiment" or "some embodiments" means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment of the application. Therefore, appearances of the phrases "an embodiment" or "one embodiment" or "some embodiments" in various places throughout this specification are not necessarily referring to the same embodiment of the application. Furthermore, the particular features, structures, or characteristics can be combined in any suitable manner in one or more embodiments.
[0065] It is also noted that, as used in the specification and the appended claims, the singular forms "a," "an" and "the" include plural referents unless the context clearly dictates otherwise. Thus, for example, reference to "a component" or "the component" can include several components unless the context clearly dictates otherwise. Similarly, it is to be noted that, as used in the specification and the appended claims, the term "or" is generally intended to mean "and / or" unless the context clearly dictates otherwise. For example, "A / B or C" means "A, B, or C, or any combination thereof."
[0066] Some embodiments use numerical ranges to describe quantities of components, attributes, etc. It should be understood that such numerical ranges recited in the embodiments are used to describe the approximate, about, or nearly, rather than an exact number. Unless otherwise indicated, "about," "approximate," or "substantially" means that the value is within ±20% of the stated value. Accordingly, numerical parameters in the specification and claims are approximations, and thus, vary depending upon the desired properties sought to be obtained by the individual embodiments. In some embodiments, numerical parameters are determined by the use of standard techniques. Although the numerical ranges and parameters setting forth the broadest scope of the application are approximations, the numerical values set forth in the specific examples are reported as precisely as possible. Any numerical value, however, can contain certain errors necessarily resulting from the standard deviation found in their respective testing measurements.
Claims
1. A power-on / off control circuit, characterized by comprising: The application relates to a switch element, a first semiconductor switch circuit, a second semiconductor switch circuit and a holding circuit, wherein, the first semiconductor switch circuit comprises a first semiconductor switch element, a first diode and a first resistor, the first semiconductor switch element has three terminals, the switch element is connected with a first terminal of the first semiconductor switch element, a second terminal of the first semiconductor switch element is connected with the second semiconductor switch circuit, the switch element is connected with a positive electrode of the first diode, a negative electrode of the first diode is connected with a first terminal of the first resistor, a second terminal of the first resistor is connected with the first terminal of the first semiconductor switch element, and when the switch element is closed, the first semiconductor switch element is turned on; the second semiconductor switch circuit comprises a second semiconductor switch element, a third resistor and a fourth resistor, the second semiconductor switch element has three terminals, a second terminal of the first semiconductor switch element is connected with a first terminal of the second semiconductor switch element, the switch element is connected with a positive electrode of the first diode, a negative electrode of the first diode is connected with a first terminal of the first resistor, a second terminal of the first resistor is connected with the first terminal of the first semiconductor switch element, when the first semiconductor switch element is turned on, the second semiconductor switch element is turned on, a second terminal of the second semiconductor switch element outputs a power-on signal, the power-on signal is connected with a processor, and the processor is used for controlling the electronic equipment to start up according to the power-on signal; and the holding circuit is connected between the first terminal of the first semiconductor switch element and the second terminal of the second semiconductor switch element, and when the second semiconductor switch element is turned on, the holding circuit is used for maintaining the first semiconductor switch element in a turned-on state. The second semiconductor switch circuit further comprises a fifth resistor and a sixth resistor, a first terminal of the fifth resistor is connected with the first terminal of the second semiconductor switch element, and a second terminal of the fifth resistor is connected with the second terminal of the first semiconductor switch element; a first terminal of the sixth resistor is connected with a second terminal of the fifth resistor, and a second terminal of the sixth resistor is connected with a third terminal of the second semiconductor switch element.
2. The power-on / off control circuit according to claim 1, wherein The holding circuit comprises a second diode and a seventh resistor, a positive electrode of the second diode is connected with a first terminal of the seventh resistor, and a negative electrode of the second diode is connected with a second terminal of the fourth resistor; a second terminal of the seventh resistor is connected with the second terminal of the second semiconductor switch element.
3. The power-on / off control circuit according to claim 1, wherein The application further comprises a shutdown detection circuit, the switch element is connected with the shutdown detection circuit, and when the closing time of the switch element is greater than or equal to a preset time length, the shutdown detection circuit outputs a shutdown indication signal.
4. The power-on / off control circuit according to claim 3, wherein 5. The power-on / off control circuit according to claim 4, wherein The power-off detection circuit includes a third semiconductor switching element having three terminals, the switching element is connected to the first terminal of the third semiconductor switching element, when the closing time of the switching element is greater than or equal to a preset time, the third semiconductor switching element remains on until the switching element is disconnected, and the second terminal of the third semiconductor switching element outputs the power-off indication signal.
6. The power-on / off control circuit according to claim 5, wherein The power-off detection circuit further includes an eighth resistor and a ninth resistor, the switching element is connected to the first terminal of the eighth resistor, the second terminal of the eighth resistor is connected to the first terminal of the third semiconductor switching element, the second terminal of the third semiconductor switching element is connected to the first terminal of the ninth resistor, and the second terminal of the ninth resistor outputs the power-off indication signal.
7. The power-on / off control circuit according to claim 4, wherein The power-off control circuit further includes a fourth semiconductor switching element having three terminals, the second terminal of the fourth semiconductor switching element is connected to the first terminal of the seventh resistor, when the fourth semiconductor switching element is on, the second semiconductor switching element is off, and the second terminal of the second semiconductor switching element outputs the power-off signal.
8. The power-on / off control circuit according to claim 7, wherein The power-off control circuit further includes a tenth resistor, the first terminal of the tenth resistor is connected to the first terminal of the fourth semiconductor switching element, when the power-off detection circuit stops outputting the power-off indication signal, the second terminal of the tenth resistor receives the power-off indication signal, and the power-off indication signal makes the fourth semiconductor switching element on.
9. An electronic device comprising the power-on / off control circuit according to any one of claims 1-8.
Citation Information
Patent Citations
Washing machine and one-key on and off control circuit for the same
CN106292358A