The utility model content
In order to solve the problems of the technologies described above, the purpose of this utility model is to provide a kind of time-delay reset circuit.
the utility model is to realize like this, a kind of time-delay reset circuit, described time-delay reset circuit comprises: the first resistance of termination first power supply, another termination first metal-oxide-semiconductor of described the first resistance, one end of the grid of the 3rd metal-oxide-semiconductor and the first key switch, the drain electrode of described the first metal-oxide-semiconductor connects second source by the second resistance, the source electrode of described the first metal-oxide-semiconductor is connected to an end of delay control circuit/electric capacity, this end of described delay control circuit/electric capacity is also connected to the drain electrode of the 3rd metal-oxide-semiconductor and the grid of the second metal-oxide-semiconductor, the source electrode of described the 3rd metal-oxide-semiconductor is by the 4th grounding through resistance, the drain electrode of described the second metal-oxide-semiconductor connects second source and exports reset signal by the drain electrode of the second metal-oxide-semiconductor by the 3rd resistance, the other end of described the first key switch, the other end of delay control circuit/electric capacity, the source grounding of the second metal-oxide-semiconductor.
Further, also be connected with the second key switch between described the second resistance and second source.
Further, also be connected the 3rd key switch between the other end of described delay control circuit/electric capacity and ground.
Further, also be connected with the second key switch between described the second resistance and second source.
Further, the first metal-oxide-semiconductor is identical with the control mode of the second metal-oxide-semiconductor, and the first metal-oxide-semiconductor is opposite with the control mode of the 3rd metal-oxide-semiconductor.
Further, described the first metal-oxide-semiconductor, the second metal-oxide-semiconductor adopt the PMOS pipe, and described the 3rd metal-oxide-semiconductor adopts the NMOS pipe.
Another purpose of the present utility model is to provide a kind of portable terminal, and described portable terminal adopts the described time-delay reset circuit of any one in claim 1-6.
In the utility model, coordinate by key switch and delay control circuit, by adopting the certain operations key that has had on portable terminal, utilize any or a plurality of key combination in these keys to carry out long-time push, coordinate this circuit, when system in case of system halt, can realize the time-delay reset function.Not only can realize resetting, and user's operation is simpler, better user experience.
Embodiment
In order to make the purpose of this utility model, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the utility model is further elaborated.Should be appreciated that specific embodiment described herein only in order to explaining the utility model, and be not used in restriction the utility model.
Consult Fig. 1,2, show the circuit of the time-delay reset circuit of the single-button switch that first and second embodiment of the utility model provides.
This time-delay reset circuit comprises: first resistance (R1) of termination first power supply (VBAT1 in figure), another termination first metal-oxide-semiconductor (T1) of described the first resistance (R1), the grid of the 3rd metal-oxide-semiconductor (T3) and an end of the first key switch (K).The drain electrode of described the first metal-oxide-semiconductor (T1) connects second source (VBAT2) by the second resistance (R2), and the source electrode of described the first metal-oxide-semiconductor (T1) is connected to an end of delay control circuit/electric capacity (C1).This end of described delay control circuit/electric capacity (C1) is also connected to the drain electrode of the 3rd metal-oxide-semiconductor (T3) and the grid of the second metal-oxide-semiconductor (T2), and the source electrode of described the 3rd metal-oxide-semiconductor (T3) is by the 4th resistance (R4) ground connection.The drain electrode of described the second metal-oxide-semiconductor (T2) connects second source (VBAT2) and exports reset signal by the drain electrode of the second metal-oxide-semiconductor (T2) by the 3rd resistance (R3).The source grounding of the other end of the other end of described the first key switch (K), delay control circuit/electric capacity (C1), the second metal-oxide-semiconductor (T2).
For the first embodiment (Fig. 1), the second embodiment (Fig. 2), it is all controlled by single the first key switch (K) and carries out time-delay reset.The main distinction of these two embodiment is, in the first embodiment, the source electrode of the first metal-oxide-semiconductor (T1) connects delay control circuit, and delay control circuit also is connected with the drain electrode of the 3rd metal-oxide-semiconductor (T3); In a second embodiment, the source electrode of the first metal-oxide-semiconductor (T1) connects the drain electrode of electric capacity (C1) and the 3rd metal-oxide-semiconductor (T3).
In the first embodiment, the second embodiment, the first metal-oxide-semiconductor (T1) is identical with the control mode of the second metal-oxide-semiconductor (T2), and the first metal-oxide-semiconductor (T1) is opposite with the control mode of the 3rd metal-oxide-semiconductor (T3), for example T1, T2 can adopt the PMOS pipe, and T3 adopts NMOS.
When pressing without key, the first metal-oxide-semiconductor (T1) is in closed condition, and the 3rd metal-oxide-semiconductor (T3) is in open mode, and the second metal-oxide-semiconductor (T2) is in closed condition, and at this moment, reset signal RESET is invalid.The first key switch (K) is pressed the time during more than or equal to setting-up time (delay control circuit design time), the first metal-oxide-semiconductor (T1) is in open mode, the 3rd metal-oxide-semiconductor (T3) is closed, delay control circuit starts, when delay time equals the design load of delay control circuit, the output control signal is opened the second metal-oxide-semiconductor (T2), thereby reset signal RESET is effective.If the first key switch (K) is pressed the time less than design time (delay control circuit design time), the first metal-oxide-semiconductor (T1) is opened, and the 3rd metal-oxide-semiconductor (T3) is closed.Delay time can not be exported control signal during less than or equal to the delay control circuit design load, and the second metal-oxide-semiconductor (T2) is closed, and reset signal RESET is invalid, and when the first key switch (K) discharged, T3 opened, and delay circuit is by clear 0.
Consult Fig. 3,5, Fig. 3, the 5th, the circuit diagram of the time-delay reset circuit of two key switches that the utility model the 3rd, five embodiment provide, the main distinction of itself and Fig. 1 is that it has increased a key switch (being respectively the 3rd key switch KT2, the second key switch KT1).For Fig. 3, also be connected the 3rd key switch (KT2) between the other end of described delay control circuit/electric capacity and ground.For Fig. 5, also be connected with the second key switch (KT1) between described the second resistance (R2) and second source (VBAT2).
Like this, just can control by 2 key switches and send effective reset signal, thus the mistake of having avoided single key switch to cause.
Consult Fig. 4,6, Fig. 4, the 6th, the main distinction of the 3rd, five embodiment in the circuit diagram of the time-delay reset circuit of two key switches that the utility model the 4th, six embodiment provide, itself and Fig. 3,5 is to adopt electric capacity to substitute delay control circuit.
Consult Fig. 7-8, Fig. 7, the 8th, the circuit diagram of the time-delay reset circuit of three key switches that the utility model the 7th, eight embodiment provide, the main distinction of itself and Fig. 5,6 the 5th, six embodiment is, it has increased the 3rd key switch (KT2) again on the basis of having used the first key switch (K), the second key switch (KT1).When thereby the user controls, need long three key switches of pressing, just can send effective reset signal.
During for the operation of a plurality of key switches, the first metal-oxide-semiconductor (T1) is identical with the control mode of the second metal-oxide-semiconductor (T2), and the first metal-oxide-semiconductor (T1) is opposite with the control mode of the 3rd metal-oxide-semiconductor (T3), T1 for example, and T2 is PMOS, T3 is NMOS.When pressing without key, T1 closes, and T3 opens, and T2 closes, and at this moment, reset signal RESET is invalid.Press K and press KT1 and/or KT2 (press 2 for Fig. 3-6, press 3 for Fig. 7-8), and the time of pressing more than or equal to design time (delay circuit design time), T1 opens, T3 closes, delay control circuit starts; When delay time equaled the delay control circuit design load, the output control signal was opened T2, and reset signal RESET is effective.Press K and press KT1 and/or KT2 (presses 2 for Fig. 3-6, press 3 for Fig. 7-8), and the time of pressing is less than design time (delay circuit design time), T1 opens, T3 closes, at this moment, delay time can not be exported control signal during less than or equal to the delay control circuit design load, and T2 closes, reset signal RESET is invalid, press K and press KT1 and/or KT2 (press 2 for Fig. 3-6, press 3 for Fig. 7-8), when discharging simultaneously, T3 opens, and delay circuit is by clear 0.
As embodiment of the present utility model, this key switch can adopt has had the certain operations key on portable terminal, as key, and upper line unit, lower line unit, left lateral key, right lateral key etc.; Can utilize any or a plurality of keyboard combination in these keys to carry out long-time push, (normal running of these keys when not crashing is to press the short time), cooperation when system in case of system halt, can realize the time-delay reset function with the circuit in the utility model.
The above is only preferred embodiment of the present utility model; not in order to limit the utility model; all any modifications of doing within spirit of the present utility model and principle, be equal to and replace and improvement etc., within all should being included in protection range of the present utility model.