Patent Description:
Switches can be divided into a rebound switch and a non-rebound switch. The rebound switch refers to a switch that can automatically return to an initial mode such as a power-on mode or power-off mode after an external force which is applied to switch the initial mode such as the power-on mode or power off mode is removed. The non-rebound switch refers to a switch that cannot return to an initial mode after an external force which is applied to switch the initial mode such as a power-on mode or power-off mode is removed. The non-rebound switch includes, for example, a boat-shaped switch, a rocker switch, a toggle switch, a self-locking switch and a switch part of a switch potentiometer, etc..

At present, the non-rebound switch can generally be used as a power switch, and it does not have an automatic power-off function, thus subsequent circuits will be in a power-on state.

There are the following problems in the prior art: because the non-rebound switch does not have the power-off function, when a user forgets to turn off the power supply, it can cause power consumption for a long time, leading to a battery to be depleted or damaged.

<CIT> discloses a power on-off button circuit, including a button module, a power supply module, and a detection module, the button module includes a button S1, the power supply module includes a power supply chip U1, a first field effect transistor Q1, a second field effect transistor Q2, a first capacitor C1, a first resistor R1, a second resistor R2, a third resistor R3, a fourth resistor R4, and a fifth resistor R5, and the detection module includes a third field effect transistor Q3, a sixth resistor R6, a seventh resistor R7, and an eighth resistor R8. The turn-on, the turn-off and the self-defining function can be realized through one key by combining the single chip computer.

In view of the above shortcomings and deficiencies of the prior art, the disclosure provides an automatic power off circuit of non-rebound switches, which solves the problem of battery power depletion or battery damage caused by non-rebound switches not having the automatic power off function in the prior art.

In order to achieve the above purpose, a main technical solution adopted by a circuit according to claim <NUM>.

Therefore, compared with the prior art, the automatic power off circuit of the non-rebound switch of claim <NUM> effectively solves the problem that the non-rebound switch cannot be automatically powered off.

Preferred embodiments are mirrored by the dependent claims.

In addition to causing battery depletion or damage, a non-rebound switch in the prior art acts as a power switch, and the non-rebound switch is turned on when a large current directly flow through the non-rebound switch, internal metal contacts of the non-rebound switch are prone to sparking, leading to oxidation and damage to the metal contacts, resulting in a shorter server life of the non-rebound switch.

Based on this, an embodiment of the disclosure provides an automatic power off circuit of a non-rebound switch, which includes a power switch circuit, the non-rebound switch, a trigger circuit, a controller and a power on-off control circuit. The trigger circuit is connected to the power switch circuit and the non-rebound switch, and the trigger circuit is configured to send a turn-on signal to the power switch circuit to turn on (i.e., start) the power switch circuit when the non-rebound switch is turned on. The controller is connected to the power switch circuit, and is configured to detect continuous turn-on time of the non-rebound switch, and output a turn-off signal in response to the continuous turn-on time exceeding preset timing time. The power on-off control circuit is connected to the controller, the power switch circuit, and the non-rebound switch; and the power on-off control circuit is configured to turn off the power switch circuit by using the turn-off signal.

Therefore, the disclosure effectively solves the problem that the non-rebound switch cannot be automatically powered off through the above-mentioned automatic power off circuit.

In order to better understand the above technical solutions, exemplary embodiments of the disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the disclosure are shown in the accompanying drawings, it should be understood that the disclosure can be implemented in various forms and should not be limited by the embodiments described here. On the contrary, these embodiments are provided in order to have a clearer and more thorough understanding of the disclosure, and to fully convey the scope of the disclosure to those skilled in the art.

Please refer to <FIG>, which illustrates a schematic diagram of an automatic power off circuit of a non-rebound switch according to an embodiment of the disclosure. The automatic power off circuit illustrated in <FIG> includes a power supply, an anti-reverse connection circuit configured to prevent a reverse connection of the power supply, a power switch circuit configured to control the power supply to be turned on or off, a voltage-regulator circuit configured to provide a stable voltage, a controller, a trigger circuit, a non-rebound switch and a power on-off control circuit. Specifically, the anti-reverse connection circuit is connected with the power supply and the power switch circuit individually; the power switch circuit is connected with the voltage-regulator circuit, the trigger circuit and the power on-off control circuit individually; the non-rebound switch is connected with the trigger circuit and the power on-off control circuit individually; and the controller is connected with the voltage-regulator circuit and the power on-off control circuit individually.

It should be noted that although <FIG> illustrates the connection between the power switch circuit and the controller through the voltage-regulator circuit, those skilled in the art should understand that the controller can also be directly connected to the power switch circuit, and the embodiment of the disclosure is not limited to this.

On the basis of the above circuit, an output voltage of the power supply passes through the anti-reverse connection circuit, the power switch circuit, and the voltage-regulator circuit, and finally to the controller for providing supply power. The power switch circuit can control the power supply to turn on or off, the power switch circuit can be controlled by the trigger circuit and the power on-off control circuit, the trigger circuit can be controlled by the non-rebound switch, and the power on-off control circuit can be jointly controlled by the non-rebound switch and the controller.

That is to say, when the non-rebound switch is turned on, the trigger circuit can send a turn-on signal to the power switch circuit to turn on the power switch circuit, thus turning on the power supply. The controller can detect the continuous turn-on time of the non-rebound switch, and output a turn-off signal to the power on-off control circuit after the continuous turn-on time exceeds the preset timing time. The power on-off control circuit can turn off the power switch circuit by using the turn-off signal, so as to turn off the power supply.

It should be understood that a specific signal of the turn-on signal, specific time of the preset timing time and a specific signal of the turn-off signal can be set according to actual needs, and the embodiment of the disclosure is not limited to this.

For example, the turn-on signal can be a low-level signal, etc..

For example, the preset timing time can be <NUM> hours or <NUM> hours, etc..

In order to facilitate the understanding of an operation process of the automatic power off circuit, the following will be described through a specific embodiment.

Specifically, when the non-rebound switch is turned on, the trigger circuit can send a low-level signal to the power switch circuit. After the power switch circuit receives the low-level signal, the power switch circuit can be turned on, and after the power switch circuit is turned on, the voltage-regulator circuit can output a stable voltage to make the controller work normally. After the controller works normally, the power on-off control circuit can output a low-level signal. And after the power on-off control circuit outputs the low-level signal, an output of the trigger circuit becomes open. The controller can detect the continuous turn-on time of the non-rebound switch, and output a turn-off signal after the continuous turn-on time exceeds the preset timing time. And after the power on-off control circuit receives the turn-off signal, an output of the power on-off control circuit becomes open, and after the output of the power on-off control circuit becomes open, the power switch circuit becomes open, thus realizing the power-off.

The output of the power on-off control circuit becomes open when the non-rebound switch is turned off, and after the output of the power on-off control circuit becomes open, the power switch circuit becomes open, so that the power-off can also be realized.

It should be understood that the specific structure of the power supply can be set according to the actual needs, and the embodiment of the disclosure is not limited to this.

For example, as shown in <FIG> illustrates a specific schematic diagram of an automatic power off circuit of a non-rebound switch according to an embodiment of the disclosure, and the power supply can be a battery (BAT1). For another example, the power supply can be a direct current power supply (DC power supply).

It should also be understood that the specific structure of the controller can also be set according to actual needs, and the embodiment of the disclosure is not limited to this.

For example, with continued reference to <FIG>, the controller can be a single chip microcomputer (U2).

For another example, the controller can be another timing device.

It should also be understood that the specific structure of the non-rebound switch can also be set according to the actual needs, and the embodiment of the disclosure is not limited to this.

For example, with continued reference to <FIG>, the non-rebound switch may be a switch SW1.

It should also be understood that the specific structure of the anti-reverse connection circuit can also be set according to actual needs, and the embodiment of the disclosure is not limited to this.

Optionally, referring to <FIG>, the anti-reverse connection circuit includes a PMOS transistor Q1 and a resistor R1. Specifically, a D electrode of the PMOS transistor Q1 is connected with the battery BAT1, a G electrode of the PMOS transistor Q1 is connected with an end of the resistor R1, the other end of the resistor R1 is grounded, and a S electrode of the PMOS transistor Q1 is connected with the power switch circuit (for example, in a case that the power switch circuit includes a PMOS transistor Q2 and a resistor R2, the S electrode of the PMOS transistor Q1 is individually connected with an end of the resistor R2 and a S electrode of the PMOS transistor Q2).

On the basis of the above circuit, a working principle of the anti-reverse connection circuit is as follows: when the power supply is powered in a forward direction, a voltage of the G electrode of the PMOS transistor Q1 is <NUM> V, a voltage of the D electrode of the PMOS transistor Q1 is high, and an internal parasitic diode of the PMOS transistor Q1 is turned on, and a voltage of the S electrode of the PMOS transistor Q1 is higher than the voltage of the G electrode of the PMOS transistor Q1, so that the PMOS transistor Q1 is turned on. When the power supply is powered in a reverse direction, the voltage of the G electrode of the PMOS transistor Q1 is high, and the voltage of the D electrode of the PMOS transistor Q1 is <NUM> V, so the internal parasitic diode of the PMOS transistor Q1 is turned off, and the voltage of the G electrode of the PMOS transistor Q1 is higher than the voltage of the S electrode of the PMOS transistor Q1, and the PMOS transistor Q1 is turned off.

It should be noted here that the PMOS transistor Q1 can also be referred as a first PMOS transistor. Correspondingly, other components are similar and will not be described one by one.

For example, the resistor R1 can also be referred as a first resistor. For another example, the PMOS transistor Q2 can also be referred as a second PMOS transistor. For another example, the resistor R2 can also be referred as a second resistor.

It should also be understood that the specific structure of the power switch circuit can also be set according to actual needs, and the embodiment of the disclosure is not limited to this.

Optionally, referring to <FIG>, the power switch circuit includes a PMOS transistor Q2, a resistor R2 and a resistor R3. The S electrode of the PMOS transistor Q2 is connected with an end of the resistor R2, a G electrode of the PMOS transistor Q2 is connected with the other end of the resistor R2 and an end of the resistor R3 individually, the other end of the resistor R3 is connected with the trigger circuit and the power on-off control circuit individually (for example, in a case that the trigger circuit includes a NPN type triode Q5, the other end of the resistor R3 is connected with a C electrode of the NPN type triode Q5. For another example, in a case that the power on-off control circuit includes a NPN type triode Q6, the other end of the resistor R3 is connected with a C electrode of the NPN type triode Q6), and a D electrode of the PMOS transistor Q2 is connected with the single chip microcomputer U2 through the voltage-regulator circuit.

On the basis of the above circuit, a working principle of the power switch circuit is as follows: the resistor R2 is connected between the G electrode of the PMOS transistor Q2 and the S electrode of the PMOS transistor Q2, and the G electrode of the PMOS transistor Q2 is connected to the trigger circuit and the power on-off control circuit through the resistor R3. In general, a resistance of the resistor R2 is <NUM> to <NUM> times that of the resistor R3. When the trigger circuit or the power on-off control circuit outputs a low level to the resistor R3, the G electrode of the PMOS transistor Q2 is at a low level, and the PMOS transistor Q2 is turned on. When the output of the trigger circuit or the power on-off control circuit becomes open, or is a high level to the resistor R3, the G electrode of the PMOS transistor Q2 is at a high level, and the PMOS transistor Q2 is turned off.

It should also be understood that the specific structure of the voltage-regulator circuit can also be set according to actual needs, and the embodiment of the disclosure is not limited to this.

Optionally, continuing to refer to <FIG>, the voltage-regulator circuit includes a capacitor C1, a capacitor C2, a voltage-regulator chip U1, a capacitor C3, and a capacitor C4. An end of the capacitor C1 is individually connected to the D electrode of the PMOS transistor Q2 of the power switch circuit, an end of the capacitor C2, a pin <NUM> of the voltage-regulator chip U1 and a pin <NUM> of the voltage-regulator chip U1; a pin <NUM> of the voltage-regulator chip U1 is individually connected to an end of the capacitor C3, an end of the capacitor C4, and a second port VDD of the single chip microcontroller U2; and the other end of the capacitor C1, the other end of the capacitor C2, a pin <NUM> of the voltage-regulator chip U1, the other end of the capacitor C3, and the other end of the capacitor C4 are all grounded.

It should also be understood that the specific structure of the trigger circuit can also be set according to actual needs, and the embodiment of the disclosure is not limited to this.

Optionally, continuing to refer to <FIG>, the trigger circuit includes a PMOS transistor Q3, a resistor R4, a resistor R5, a resistor R6, a NMOS transistor Q4, a capacitor C5, a diode D1, a resistor R7, and a NPN type triode Q5.

A S electrode of the PMOS transistor Q3 is individually connected with the end of the resistor R2, the S electrode of the PMOS transistor Q2 and an end of the resistor R4; the G electrode of the PMOS transistor Q3 is connected with an end of the resistor R5, a D electrode of the PMOS transistor Q3 is individually connected with an end of the resistor R6 and an end of the capacitor C5; the other end of the resistor R4 is individually connected with the other end of the resistor R5, a G electrode of the NMOS transistor Q4 and an end of the non-rebound switch SW1; the other end of the resistor R6 is connected with a D electrode of the NMOS transistor Q4; a S electrode of the NMOS transistor Q4 is grounded; the other end of the capacitor C5 is individually connected with a negative electrode of the diode D1 and an end of the resistor R7; a positive electrode of the diode D1 is grounded; the other end of the resistor R7 is connected with a B electrode of the NPN type triode Q5; a C electrode of the NPN type triode Q5 is individually connected with the other end of the resistor R3 and the power on-off control circuit (for example, in a case that the power on-off control circuit includes a NPN type triode Q6, the C electrode of the NPN type triode Q5 is connected with a C electrode of the NPN type triode Q6), and a E electrode of the NPN type triode Q5 is grounded.

On the basis of the above circuit, a working principle of the trigger circuit is as follows: when the non-rebound switch SW1 becomes open (i.e., is turned off), the PMOS transistor Q3 is turned off, the NMOS transistor Q4 is turned on, and the capacitor C5, the resistor R6, the NMOS transistor Q4 and the diode D1 form a discharge loop. When the non-rebound switch SW1 is turned on, the PMOS transistor Q3 is turned on, the NMOS transistor Q4 is turned off, and the capacitor C5, the PMOS transistor Q3, the resistor R7 and a BE junction of the NPN type triode Q5 form a charging loop. During the charging process of the capacitor C5, the BE junction of the NPN type triode Q5 in the charging loop has a current flowing, and the NPN type triode Q5 is turned on and outputs a low level. Values of the capacitor C5 and the resistor R7 are adjusted so as to have enough charging time, ensure that the turn-on time of the NPN type triode Q5 is more than <NUM> seconds, and output a low level to drive the power switch circuit to turn on. A value of the resistor R6 is adjusted so that the capacitor C5 can discharge more than <NUM>% within <NUM> second.

In addition, when the non-rebound switch SW1 is turned on, after automatic power off, the main current loop in the trigger circuit is formed by the resistor R4 and the non-rebound switch SW1. When the non-rebound switch SW1 is turned off, the resistor R4 is a pull-up resistor of the G electrode of the PMOS transistor Q3 and the G electrode of the NMOS transistor Q4. The value of the resistor R4 can be in a range of <NUM> MΩ to <NUM> MΩ, so that the power consumption of the circuit is small enough after the automatic power off, and the voltage rise time of the G electrode of the PMOS transistor Q3 and the G electrode of the NMOS transistor Q4 should not be too long at the moment when the non-rebound switch SW1 is turned on to off, so as to avoid affecting the discharge process of the capacitor C5.

Therefore, because the current flowing through the non-rebound switch is very small, the disclosure effectively solves the problem that when the switch is turned on, the metal contacts inside the non-rebound switch are prone to sparking, leading to oxidation and damage of the metal contacts, resulting in a short server life of the non-rebound switch.

It should also be understood that the specific structure of the power on-off control circuit can also be set according to actual needs, and the embodiment of the disclosure is not limited to this.

Optionally, referring to <FIG>, the power on-off control circuit includes a NPN type triode Q6, a resistor R8 and a resistor R9; a C electrode of the NPN type triode Q6 is individually connected with the other end of the resistor R3 and the C electrode of the NPN type triode Q5; an E electrode of the NPN type triode Q6 is individually connected with the other end of the resistor R4, the other end of the resistor R5, the G electrode of the NMOS transistor Q4 and the end of the non-rebound switch SW1; a B electrode of the NPN type triode Q6 is connected with the end of the resistor R8 and the other end of the resistor R8 is connected with an end of the resistor R9 and a first port PORT of the single chip microcomputer; the other end of the non-rebound switch SW1 is grounded, and the other end of the resistor R9 is also grounded.

On the basis of the above circuit, a working principle of the power on-off control circuit is as follows: when the non-rebound switch SW1 is turned on, the PORT of the single chip microcomputer outputs a high level between the resistor R8 and the resistor R9, and the C electrode of the NPN type triode Q6 outputs a low level to drive the power switch circuit to turn on. When the non-rebound switch SW1 is turned off, the PORT of the single chip microcomputer outputs a low level between the resistor R8 and the resistor R9, the output of the C electrode of the NPN type triode Q6 becomes open, the power switch circuit becomes open when the trigger circuit also becomes open. During the open circuit of the non-rebound switch SW1, the E electrode of the NPN type triode Q6 becomes open, so the output of the C electrode of the NPN type triode Q6 becomes open, at this time, the trigger circuit becomes open, and the power switch circuit becomes open.

To sum up, the automatic power off circuit effectively solves the problem that the non-rebound switch cannot be automatically powered off.

It should be noted here that the application scenario of the automatic power off circuit of the non-rebound switch in the embodiment of the disclosure is suitable for the related scenarios with non-rebound switches. For example, the scene of controlling the power supply on or off through the rocker switch, etc..

It should be understood that the scope of protection of the invention is defined solely by the appended claims.

In the description of the disclosure, it should be understood that the terms "first" and "second" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implying the number of indicated technical features. Therefore, features limited to "first" and "second" can explicitly or implicitly include one or more of these features. In the description of the disclosure, "multiple" means two or more, unless otherwise specifically defined.

In the disclosure, unless otherwise specified and limited, the terms "installation", "connection", "fixation" and other terms should be broadly understood. For example, the term "connection" can be fixed connection, detachable connection, or integrated; It can be a mechanical connection or an electrical connection; It can be directly connected or indirectly connected through an intermediate media; It can be an internal connection between two components or an interaction relationship between two components. For those skilled in the art, the specific meanings of the above terms in the disclosure can be understood based on specific circumstances.

In the disclosure, unless otherwise specified and limited, the first feature is "above" or "below" the second feature, which may be direct contact between the first and second features or indirect contact between the first and second features through an intermediary. Moreover, the first feature is "above" and "on" the second feature, which may mean that the first feature is directly above or obliquely above the second feature, or just means that the horizontal height of the first feature is higher than the second feature. The first feature is "below" the second feature, which can mean that the first feature is directly below or obliquely below the second feature, or just means that the horizontal height of the first feature is lower than the second feature.

Claim 1:
An automatic power off circuit of a non-rebound switch (SW1), comprising:
a power switch circuit (Q2, R2, R3) and the non-rebound switch (SW1);
a trigger circuit (Q3, R4, R5, R6, Q4, C5, D1, R7, Q5), connected with the power switch circuit (Q2, R2, R3) and the non-rebound switch (SW1);
a controller (U2), connected with the power switch circuit (Q2, R2, R3); a power on-off control circuit (Q6, R8, R9), connected with the controller (U2), the power switch circuit (Q2, R2, R3) and the non-rebound switch (SW1);
characterized in that a first end of the power on-off control circuit (Q6, R8, R9) is connected with a first end of the power switch circuit (Q2, R2, R3) and a first end of the trigger circuit (Q3, R4, R5, R6, Q4, C5, D1, R7, Q5), and a second end of the power on-off control circuit (Q6, R8, R9) is connected with the non-rebound switch (SW1); a second end of the trigger circuit (Q3, R4, R5, R6, Q4, C5, D1, R7, Q5) is connected with the non-rebound switch (SW1) and the second end of the power on-off control circuit (Q6, R8, R9), and a third end of the trigger circuit (Q3, R4, R5, R6, Q4, C5, D1, R7, Q5) is connected with a second end of the power switch circuit (Q2, R2, R3); a third end of the power switch circuit (Q2, R2, R3) and a third end of the power on-off control circuit (Q6, R8, R9) are respectively connected with two different ends of the controller (U2); the power switch circuit (Q2, R2, R3) are controlled by the trigger circuit (Q3, R4, R5, R6, Q4, C5, D1, R7, Q5) and the power on-off control circuit (Q6, R8, R9), the trigger circuit (Q3, R4, R5, R6, Q4, C5, D1, R7, Q5) is controlled by the non-rebound switch (SW1), and the power on-off control circuit (Q6, R8, R9) is jointly controlled by the non-rebound switch (SW1) and the controller (U2); and when the non-rebound switch (SW1) is turned on, the trigger circuit (Q3, R4, R5, R6, Q4, C5, D1, R7, Q5) sends a turn-on signal to the power switch circuit (Q2, R2, R3) to turn on the power switch circuit (Q2, R2, R3), the controller (U2) detects continuous turn-on time of the non-rebound switch (SW1) and outputs a turn-off signal in response to the continuous turn-on time exceeding a preset timing time, and the power on-off control circuit (Q6, R8, R9) turns off the power switch circuit (Q2, R2, R3) by using the turn-off signal.