Background technology
At present for mobile phone, when crashing appears in mobile phone, no matter user presses any button, and mobile phone does not all react; Encounter this situation, user often selects to extract battery.But, adopt the mobile phone of internal battery to become industrial trend, extract the processing mode of battery in the past, cannot be applicable to the mobile phone of this type of internal battery.
For the mobile phone of internal battery, in order to realize forcing power down shutdown, a kind of feasible mode is: increase a hardware reset circuit, carry out hardware reset.In the design of routine, usually can increase reset module, to restart system power supply in power port.But, owing to introducing the reset circuit of " large volume ", directly affects the volume of mobile phone.Another thinking is exactly, and initiatively removes the reset pin controlling whole cell phone system, or Power Management Unit PMU, or central processor CPU.Consider the limitation in cell phone system space, preferably by combination button, carry out the module of control realization power down function.But when use combination button, need to avoid obscuring with Independent keys function.When use two or three buttons are combined, in order to isolation signals, often need increase by 2 or 3 isolating devices to form " with a gate " circuit, the most conventional is use diode to realize.
In prior art as above, which kind of no matter adopts force the implementation of mobile phone power down, all causes the complicated of interior of mobile phone circuit, and then waste the cabling space of mobile phone preciousness.
Summary of the invention
The object of the present invention is to provide a kind of mobile terminal and circuit for forced shutdown thereof, not only achieve the pressure power down shutdown of mobile terminal, and saved the cabling space of mobile terminal inside, thus saved production cost, reduce manufacture complexity.
For solving the problems of the technologies described above, embodiments of the present invention provide a kind of circuit for forced shutdown, be applied to mobile terminal, described circuit for forced shutdown comprises: the first voltage input end, the second voltage input end, the first mechanical switch, the second mechanical switch and p type field effect transistor; Described first mechanical switch is connected between described first voltage input end and the earth terminal of described mobile terminal, and described second mechanical switch is connected between described second voltage input end and the earth terminal of described mobile terminal; Described first voltage input end is connected to the grid of described p type field effect transistor, and described second voltage input end is connected to the drain electrode of described p type field effect transistor; The source electrode of described p type field effect transistor is for being connected to the power management chip of described mobile terminal; Wherein, when described first mechanical switch and described second mechanical switch become closure state by open mode, described p type field effect transistor becomes conducting state from cut-off state, the control voltage that the source electrode of described p type field effect transistor exports becomes low level from high level, and described power management chip controls described mobile terminal and enters forced shutdown state after receiving low level control voltage.
Embodiments of the present invention additionally provide a kind of mobile terminal, comprise: housing, circuit board, power management chip and described circuit for forced shutdown; Described circuit board is arranged in described housing; Described circuit for forced shutdown is arranged on described circuit board, and the source electrode of described p type field effect transistor is connected to described power management chip; Described first mechanical switch and described second mechanical switch are arranged at described housing respectively.
Embodiment of the present invention in terms of existing technologies, utilizes the characteristic of p type field effect transistor and combines in conjunction with the first mechanical switch and the second mechanical switch the mode pressed, and produces the control voltage of low-voltage; Described power management chip controls described mobile terminal and enters forced shutdown state after receiving low level control voltage.That is, the pressure power down shutdown of present embodiment mobile terminal with simple circuit realiration, has saved the cabling space of mobile terminal inside, thus has saved production cost, reduces manufacture complexity.
Preferably, described first mechanical switch is the key of described mobile terminal, and described first voltage input end is the start trigger end of described key.That is, utilize the key of mobile terminal itself as the first mechanical switch, thus without the need to increasing extra components and parts.
Preferably, described second mechanical switch is volume adjusting key, and described second voltage input end is the adjustment trigger end of described volume adjusting key.That is, utilize the volume adjusting key of mobile terminal itself as the second mechanical switch, thus without the need to increasing extra components and parts.
Preferably, described circuit for forced shutdown also comprises pull-up resistor, and the source electrode of described p type field effect transistor is connected to described power management chip by described pull-up resistor.Namely, when mobile terminal normally works, the control voltage of the high level utilizing pull-up resistor to be exported by the source electrode of described p type field effect transistor is drawn high further, thus the mobile terminal (requirement of power management chip to the control voltage received based on the mobile terminal of different platform is different) making this circuit for forced shutdown can be applicable to based on kinds of platform.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, the embodiments of the present invention are explained in detail.But, persons of ordinary skill in the art may appreciate that in each execution mode of the present invention, proposing many ins and outs to make reader understand the application better.But, even without these ins and outs with based on the many variations of following execution mode and amendment, each claim of the application technical scheme required for protection also can be realized.
First execution mode of the present invention relates to a kind of circuit for forced shutdown, is applied to the mobile terminal based on MTK or spreadtrum platform.Be illustrated in figure 1 the circuit connection diagram of the first implementation of the circuit for forced shutdown in present embodiment, circuit for forced shutdown 1 comprises the first voltage input end NOTE1, the second voltage input end NOTE2, the first mechanical switch K1, the second mechanical switch K2 and p type field effect transistor (PMOS) Q1.
Wherein, the first mechanical switch K1 is connected between the first voltage input end NOTE1 and the earth terminal GND of mobile terminal; Second mechanical switch K2 is connected between the second voltage input end NOTE2 and the earth terminal GND of mobile terminal; First voltage input end NOTE1 is connected to the grid of PMOS Q1, and the second voltage input end NOTE2 is connected to the drain electrode of PMOS Q1; The source electrode of PMOS Q1 is for being connected to the power management chip PMU of mobile terminal.That is, the voltage that exports of the first voltage input end NOTE1 and the second voltage input end NOTE2 is respectively as the grid voltage of PMOS Q1 and drain voltage; The source voltage of PMOS Q1 exports the power management chip PMU of mobile terminal to.Wherein, the source electrode of PMOS Q1 is in fact for being connected to the backup battery confession electric pin VRTC of power management chip PMU, that is, source voltage is as the control voltage of the backup battery confession electric pin VRTC of power management chip PMU.
Circuit for forced shutdown 1 in present embodiment is applied to mobile terminal, and therefore, the first voltage input end NOTE1 and the second voltage input end NOTE2 is respectively in fact two operating voltages of mobile terminal inside; First mechanical switch K1 and the second mechanical switch K2 is respectively two mechanical switchs be arranged on described mobile terminal.Preferably, in the present embodiment, first mechanical switch K1 and the second mechanical switch K2 is respectively key on mobile terminal and volume adjusting key (" volume+" or " volume-"), corresponding, the first voltage input end NOTE1 and the second voltage input end NOTE2 is respectively the start trigger end of key and the adjustment trigger end of volume adjusting key.In order to circuit for forced shutdown of the present invention be utilized on the basis not changing mobile terminal existing structure to realize forced shutdown, preferentially choose the existing button on mobile terminal as the first mechanical switch K1 of this circuit for forced shutdown and the second mechanical switch K2; But present embodiment does not impose any restrictions this.
Wherein, for in present embodiment based on MTK and spreadtrum platform mobile terminal for, when key (the first mechanical switch K1) is in open mode, the voltage of start trigger end (the first voltage input end NOTE1) keeps high level, and the voltage range of start trigger end is 3.4 ~ 4.2V; When volume adjusting key (the second mechanical switch K2) is in open mode, regulate the voltage of trigger end (the second voltage input end NOTE2) also to keep high level, regulate the voltage of trigger end generally to maintain 1.8V.Further, when mobile terminal normally works, the backup battery of power management chip PMU supplies the voltage of electric pin VRTC to need to maintain high level, and backup battery generally maintains 2.8V for the voltage of electric pin VRTC.It should be noted that, for the mobile terminal of other platforms of application, the voltage of start trigger end, regulate the backup battery of the voltage of trigger end and power management chip PMU may be different for the concrete value of the voltage of electric pin VRTC.
The specific works process of the circuit for forced shutdown in present embodiment is as follows:
When the first mechanical switch K1 and the second mechanical switch K2 is open mode, start trigger end all maintains high level with regulating the voltage of trigger end, and namely the grid voltage of PMOS Q1 and drain voltage all maintain high level; Now, PMOS Q1 is in cut-off state, and the source voltage of PMOS Q1 keeps high level; Therefore, power management chip receives the control voltage of high level, and mobile terminal is in normal operating conditions.When pressing the first mechanical switch K1 and the second mechanical switch K2 simultaneously, when making the first mechanical switch K1 and the second mechanical switch K2 become closure state by open mode, start trigger end all becomes low level from high level with regulating the voltage of trigger end, and namely the grid voltage of PMOS Q1 and drain voltage all become low level from high level; Now, PMOS Q1 becomes conducting state from cut-off state, and the source voltage of PMOS Q1 becomes low level from high level; Therefore, after power management chip receives low level control voltage, control mobile terminal and enter forced shutdown state.
Contrary, when only having the first mechanical switch K1 to be pressed, the voltage of start trigger end becomes low level from high level and regulates the voltage of trigger end to maintain high level, that is, grid voltage becomes low level from high level, and drain voltage maintains high level; Now, PMOS Q1 also can become conducting state from cut-off state, but because the drain voltage of PMOS Q1 still maintains high level, the source voltage of PMOS Q1 still maintains high level; Therefore, after power management chip receives the control voltage of high level, mobile terminal is in normal operating conditions.When only having the second mechanical switch K2 to be pressed, the voltage of start trigger end still maintains high level, and namely grid voltage still maintains high level; Now, PMOS Q1 still maintains cut-off state, and the source voltage of PMOS Q1 still maintains high level; Therefore, after power management chip receives the control voltage of high level, mobile terminal is in normal operating conditions.
From upper analysis, in circuit for forced shutdown provided by the invention, only have when the first mechanical switch K1 and the second mechanical switch K2 is pressed simultaneously, could forced shutdown be realized.
Be illustrated in figure 2 the circuit connection diagram of the second implementation of the circuit for forced shutdown 1 in present embodiment.Wherein, compared with the first implementation, the circuit for forced shutdown 1 of the second implementation also comprises pull-up resistor R, and the source electrode of PMOS Q1 is connected to the power management chip PMU of mobile terminal by pull-up resistor R.That is, source voltage is after pull-up resistor pull-up certain amplitude, and the backup battery as power management chip PMU supplies the control voltage of electric pin VRTC.Wherein, pull-up resistor R can draw high source voltage effectively, and during to guarantee that mobile terminal normally works, the backup battery of power management chip PMU is for the high level voltage needed for electric pin VRTC.In the second implementation, the course of work of circuit for forced shutdown 1 is identical with the course of work in the first implementation, repeats no more herein.
Second execution mode of the present invention relates to a kind of mobile terminal, and mobile terminal is such as the smart mobile phone based on MTK or spreadtrum platform.Please also refer to Fig. 2 and Fig. 3, mobile terminal comprises the circuit for forced shutdown 1 described in the first execution mode, housing 2, circuit board 3 and power management chip PMU.Wherein, circuit board 3 is arranged in housing 2; Circuit for forced shutdown 1 is arranged on circuit board 3; First mechanical switch K1 and the second mechanical switch K2 is arranged on housing 2 respectively; The source electrode of PMOS Q1 is connected to power management chip PMU, actual, and power management chip PMU has backup battery and supplies electric pin VRTC, and the source electrode of PMOS Q1 is connected to backup battery for electric pin VRTC.
In present embodiment, the first mechanical switch K1 is the key of mobile terminal, and the second mechanical switch K2 is volume adjusting key (" volume+" or " volume-").But the concrete form of present embodiment to the first mechanical switch K1 and the second mechanical switch K2 does not impose any restrictions.
Wherein, circuit board 3 can be the mainboard of mobile terminal, and now, circuit for forced shutdown 1 is arranged on mainboard, and is connected by mainboard cabling with the same power management chip PMU be arranged on mainboard, be highly susceptible to realize and circuit stability is reliable.Or circuit board 3 also can be the platelet of mobile terminal, and now, circuit for forced shutdown 1 is arranged on platelet, is connected, thus can not takies motherboard layout space with the power management chip PMU be arranged on mainboard by flexible PCB.
Persons of ordinary skill in the art may appreciate that the respective embodiments described above realize specific embodiments of the invention, and in actual applications, various change can be done to it in the form and details, and without departing from the spirit and scope of the present invention.