Summary of the invention
The embodiment of the invention provides a kind of method, circuit and portable terminal thereof that prevents that the portable terminal water inlet from damaging is used for solving the cost height that adopts sealing means to carry out the portable terminal water-proofing treatment to bring, waterproof test complexity, problem that fraction defective is high.
For achieving the above object, the embodiment of the invention adopts following technical scheme:
A kind of method that prevents that portable terminal from damaging may further comprise the steps:
The short-circuit detecting device of position of opening is according to the variation of described short-circuit detecting device equivalent resistance in the mobile terminal case, and the judgement portable terminal is intake,
Described short-circuit detecting device triggers interrupt event; notice portable terminal power-off protecting circuit disconnects battery of mobile terminal the portable terminal power management chip is powered; described power-off protecting circuit comprises that central processing unit CPU, hardware turn-off module and voltage keeps electric capacity
Wherein, power-off protecting circuit disconnects battery of mobile terminal the portable terminal power management chip is powered; comprise: after CPU receives interrupt event; output is opened circuit control signal to the hardware turn-off module; the hardware turn-off module is kept electric capacity to voltage and is charged; after capacitance voltage reaches threshold level, trigger the processing of hardware turn-off module, disconnect battery to the power supply of power management chip.
A kind of into portable terminal of water damage that prevents comprises that shell, circuit board, battery and power management chip wherein, also comprise:
The short-circuit detecting device is positioned at the mobile terminal case position of opening, is used for changing according to the equivalent resistance of described short-circuit detecting device, and judge that described portable terminal intakes, and trigger interrupt event,
Power-off protecting circuit is used for receiving described interrupt event, and disconnects battery of mobile terminal to the power supply of portable terminal power management chip,
Described power-off protecting circuit comprises that central processing unit CPU, hardware turn-off module and voltage keeps electric capacity,
Wherein, power-off protecting circuit disconnects battery of mobile terminal the portable terminal power management chip is powered; comprise: after CPU receives interrupt event; output is opened circuit control signal to the hardware turn-off module; the hardware turn-off module is kept electric capacity to voltage and is charged; after capacitance voltage reaches threshold level, trigger the processing of hardware turn-off module, disconnect battery to the power supply of power management chip.
A kind of power-off protecting circuit comprises battery, power management chip, CPU, wherein, also comprises: hardware turn-off module and voltage are kept electric capacity,
Described hardware turn-off module respectively with battery, power management chip, CPU, and voltage keep electric capacity and be connected, be used for receiving the control signal that opens circuit from CPU, and when the described control signal that opens circuit is output as high level, described voltage is kept electric capacity charge
Described voltage is kept electric capacity one end and is connected with described hardware turn-off module and CPU respectively, other end ground connection, when described hardware turn-off module is kept capacitance voltage that electric capacity charges and reached threshold level to described voltage after, trigger the hardware turn-off module and disconnect battery to the power supply of power management chip.
A kind of start hardware safety circuit, comprise battery, power management chip, CMOS pipe, be connected by the CMOS pipe between power management chip and the battery, wherein, also comprise control switch K1, control switch K2 and hardware decision circuitry, described control switch K1 and control switch K2 parallel connection, and be connected with the hardware decision circuitry with battery respectively, described hardware decision circuitry is connected with control switch K1 and control switch K2, described power management chip respectively
Described control switch K1 is used for closure when portable terminal water inlet short circuit, to hardware decision circuitry output high level, when intaking short circuit, portable terminal disconnects, and to hardware decision circuitry output low level,
Described control switch K1 is used for closure when the mobile terminal-opening button is pressed, to hardware decision circuitry output high level,
Described hardware decision circuitry is used for when described control switch K1 and control switch K2 output high level, output low level, disconnect described battery to the power supply of described power management chip, when described control switch K1 output low level and described control switch K2 output high level, the output high level is controlled described battery described power management chip is powered.
The embodiment of the invention is intake by the short-circuit detecting device judgement portable terminal of portable terminal position of opening; and under the water inlet state, disconnect battery to the power supply of power management chip; make the Primary Component on the circuit board quit work; prevented effectively when portable terminal is intake; device on the circuit board is because of the in running order damage that causes; simultaneously; utilizing power-off protecting circuit and start hardware safety circuit to control portable terminal effectively quits work when water inlet; reduced portable terminal in the prior art and be and prevented that water into from adopting the cost of encapsulant; and; avoided the production cost height because using the sealing material to cause in the prior art; the waterproof test complexity, the problem that fraction defective is high.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
Portable terminal, such as, if mobile phone is intake under the start situation, because the veneer device is in operating state, being easy to cause damage because of short circuit, the veneer spoilage is higher.If but mobile phone is to intake under the situation of shutdown, then the veneer spoilage is low-down, because have only battery to keep voltage, but cell voltage is by hardware isolated, and the main devices on the cell phone mainboard all is in off-position, therefore generally can not cause damage.As long as early as possible mobile phone is pulled out from water, long-time air-dry after, power on again, basic mobile phone still can normally use.Unless because water inlet causes the false triggering mobile phone power-on, just can cause mobile phone to damage, the embodiment of the invention adopted in the moment at mobile phone contact water source, carried out power down process rapidly.Guarantee simultaneously the false triggering start not occur, thereby reach the purpose of protection mobile phone.
As shown in Figure 1, the method that prevents portable terminal water inlet damage that the embodiment of the invention provides comprises:
Step 101, the short-circuit detecting device of position of opening is according to the variation of described short-circuit detecting device equivalent resistance in the mobile terminal case, and the judgement portable terminal is intake.
Alternatively, in an embodiment of the present invention, position of opening is microphone and/or speaker aperture position in the described mobile terminal case, and described microphone and/or loud speaker are arranged in the individual cavity isolated with the portable terminal internal circuit board, and described short-circuit detecting device is arranged in described individual cavity.
Alternatively, in an embodiment of the present invention, described microphone and/or loud speaker and described short-circuit detecting device are connected with the portable terminal internal circuit board by circuit lead, and the described circuit lead position of passing described individual cavity is carried out the glue envelope and handled.
Portable terminal in the embodiment of the invention can comprise small mobile terminals electronic equipments such as mobile phone, PDA, portable music player.
With the mobile phone example, the embodiment of the invention is specifically described below:
Mobile phone is an airtight relatively housing, because the cause that inner atmosphere is pressed, even mobile phone is put into water fully, water can not irritated at once yet and be gone in the mobile phone, but after the mobile phone internal gas is discharged in the mode of bubble, water just can enter mobile phone inside, therefore, fall into the water from mobile phone, touch circuit board to water, a time course is arranged, and present embodiment utilizes this time course to judge rapidly whether mobile phone intakes exactly.
Behind the mobile phone contact water, it is the fastest that shell has the place of obvious hole to advance water, for example MIC hole, SPEAKER hole etc., therefore, at this position that directly external hole is arranged, inner MIC or SPEAKER are in one independently in the cavity, keep relative isolated with internal circuit board, namely pass the position of cavity by corresponding circuit lead, and carry out the glue envelope and handle, can play waterproof action relatively like this, make that water can be very not fast after MIC from phone housing or SPEAKER flow into, flow into space, main circuit board place rapidly.Except placing MIC or SPEAKER, also place the short-circuit detecting device in this cavity, when the short-circuit detecting device is found to change owing to reasons such as water inlet cause the equivalent resistance of this device, thereby the judgement mobile phone is intake.
Step 102, described short-circuit detecting device triggers interrupt event, and notice portable terminal power-off protecting circuit disconnects battery of mobile terminal the portable terminal power management chip is powered.
When the equivalent resistance of short-circuit detecting device changes, can be reflected to change in voltage on the circuit by corresponding circuit lead, and trigger the respective interrupt event, the notice power-off protecting circuit is handled.
Alternatively; in embodiments of the present invention; power-off protecting circuit comprises that central processing unit CPU, hardware turn-off module and voltage keeps electric capacity; wherein, after CPU received interrupt event, output was opened circuit control signal to the hardware turn-off module; the hardware turn-off module will be kept electric capacity to voltage at once and charge; after capacitance voltage reaches threshold level, then trigger the processing of hardware turn-off module, disconnect battery to the power supply of power management chip.In embodiments of the present invention, this capacitance voltage threshold level can arrange according to actual needs, so as to guarantee can be when portable terminal be intake the processing of rapid triggering hardware turn-off module.
In order to prevent that start causes powering on triggering start when portable terminal is intake by mistake, in the another embodiment of the present invention, between described battery of mobile terminal and described power management managing chip, increase start hardware safety circuit.This start hardware safety circuit is only pressed the start button and is just exported high level when the water inlet short circuit does not take place, finish the power supply to power management chip, if do not satisfy this condition then be output as lowly, does not power.Do not trigger start thereby can not power on by mistake.
The embodiment of the invention is intake by the short-circuit detecting device judgement portable terminal of portable terminal position of opening; and under the water inlet state, disconnect battery to the power supply of power management chip; make the Primary Component on the circuit board quit work; prevented effectively when portable terminal is intake; device on the circuit board is because of the in running order damage that causes; simultaneously; utilizing power-off protecting circuit and start hardware safety circuit to control portable terminal effectively quits work when water inlet; reduced portable terminal in the prior art and be and prevented that water into from adopting the cost of encapsulant; and; avoided the production cost height because using the sealing material to cause in the prior art; the waterproof test complexity, the problem that fraction defective is high.
As shown in Figure 2, the embodiment of the invention provides prevents the mobile terminal structure schematic diagram that water into damages, and this portable terminal comprises: shell 1, position of opening 2, short-circuit detecting device 3, circuit board 4, breaking protection circuit 5, battery 6, power management chip 7.Wherein, position of opening 2 is positioned at shell 1 surface, short-circuit detecting device 3 is arranged in the individual cavity at position of opening 2 places, and be connected with circuit board 4 by circuit lead, for guaranteeing to be unlikely to influence electric component on the circuit board 4 from the water inlet of position of opening 2, can carry out the glue envelope and handle passing the individual cavity place by circuit lead.Wherein, short-circuit detecting device 3 is used for changing according to the equivalent resistance of described short-circuit detecting device; judge that described portable terminal intakes; and triggering interrupt event; power-off protecting circuit 5; be used for receiving described interrupt event, and disconnect 7 power supplies of 6 pairs of portable terminal power management chips of battery of mobile terminal.
Alternatively, in embodiments of the present invention, described mobile terminal case position of opening 2 is microphone and/or speaker aperture position, described microphone and/or loud speaker are arranged in the individual cavity that completely cuts off with portable terminal internal circuit board 4, described microphone and/or loud speaker and described short-circuit detecting device are connected with portable terminal internal circuit board 4 by circuit lead, and the described circuit lead position of passing described individual cavity is carried out the glue envelope and handled.
Alternatively; in embodiments of the present invention; power-off protecting circuit 5 comprises that central processing unit CPU, hardware turn-off module and voltage keeps electric capacity; wherein, after CPU received interrupt event, output was opened circuit control signal to the hardware turn-off module; the hardware turn-off module will be kept electric capacity to voltage at once and charge; after capacitance voltage reaches threshold level, then trigger the processing of hardware turn-off module, disconnect battery to the power supply of power management chip.In embodiments of the present invention, this capacitance voltage threshold level can arrange according to actual needs, so as to guarantee can be when portable terminal be intake the processing of rapid triggering hardware turn-off module.
Portable terminal in the embodiment of the invention can comprise small mobile terminals electronic equipments such as mobile phone, PDA, portable music player.
The embodiment of the invention is intake by short-circuit detecting device judgement portable terminal; and under the water inlet state, disconnect battery to the power supply of power management chip; make the Primary Component on the circuit board quit work; prevented effectively when portable terminal is intake; device on the circuit board is because of the in running order damage that causes; simultaneously; utilize power-off protecting circuit to control portable terminal effectively and the time quit work in water inlet, reduced portable terminal in the prior art and be preventing that water into from adopting the cost of encapsulant.
As shown in Figure 3, the power-off protecting circuit schematic diagram that the embodiment of the invention provides, this power-off protecting circuit comprises: battery 1, power management chip 3, CPU 4, hardware turn-off module 2 and voltage are kept electric capacity 5.Described hardware turn-off module 2 respectively with battery 1, power management chip 3, CPU 4, and voltage is kept electric capacity 5 connections, be used for receiving the control signal that opens circuit from CPU 4, and when the described control signal that opens circuit is output as high level, described voltage is kept electric capacity 5 to charge, described voltage is kept electric capacity 5 one ends and is connected with described hardware turn-off module 2 and CPU 4 respectively, other end ground connection, after 2 pairs of described voltages of described hardware turn-off module are kept capacitance voltage that electric capacity 5 charges and are reached threshold level, trigger the power supply that hardware turn-off module 2 disconnects 1 pair of power management chip 3 of battery, owing to there is voltage to keep electric capacity, therefore hardware turn-off module 2 can keep the off state of a period of time (being expected to be for tens nanoseconds), thereby makes power management chip 3 thoroughly to cut off the power supply.And the electric charge in electric capacity has been put, and the control line that then opens circuit reverts to the low-voltage state of acquiescence again, thereby makes hardware turn-off module 2 remain UNICOM's state again, does not influence the normal boot-strap operation of next time.
The embodiment of the invention is utilized power-off protecting circuit to control portable terminal effectively and is quit work when water inlet; reduced portable terminal in the prior art and be and prevented that water into from adopting the cost of encapsulant; and; avoided the production cost height because using the sealing material to cause in the prior art; the waterproof test complexity, the problem that fraction defective is high.
As shown in Figure 4, the start hardware safety circuit diagram that the embodiment of the invention provides, this start hardware safety circuit comprises: comprise battery 1, power management chip 3, CMOS pipe 2, be connected by CMOS pipe 2 between power management chip 3 and the battery 1, also comprise control switch K1, control switch K2 and hardware decision circuitry 4, control switch K1 and control switch K2 parallel connection, and be connected with hardware decision circuitry 4 with battery 1 respectively, hardware decision circuitry 4 respectively with control switch K1 and control switch K2, power management chip 3 connects, control switch K1 is used for closure when portable terminal water inlet short circuit, to hardware decision circuitry 4 output high level, when intaking short circuit, portable terminal disconnects, to hardware decision circuitry 4 output low levels, control switch K1 is used for closure when the mobile terminal-opening button is pressed, to hardware decision circuitry 4 output high level, hardware decision circuitry 4 is used for when described control switch K1 and control switch K2 output high level, output low level, disconnect the power supply of 1 pair of described power management chip 3 of described battery, when described control switch K1 output low level and described control switch K2 output high level, the output high level is controlled 1 pair of described power management chip 3 power supply of described battery.
Alternatively, in embodiments of the present invention, after start button PWR key was pressed during at normal operating condition, battery 1 was finished the power supply to power management chip 2, thereby CMOS pipe 2 is opened in control, forms formal power supply circuits.At this moment the user unclamps the PWR key again, because CMOS pipe 2 still keeps conducting, therefore still can keep power supply.
The start hardware safety circuit that the embodiment of the invention provides has prevented effectively when portable terminal is intake, miss the start operation that powers on and trigger false triggering because of the user, avoided the production cost height because using the sealing material to cause in the prior art, waterproof test complexity, the problem that fraction defective is high.
One of ordinary skill in the art will appreciate that all or part of step that realizes in above-described embodiment method is to instruct relevant hardware to finish by program, described program can be stored in the computer-readable recording medium, as ROM/RAM, magnetic disc or CD etc.
The above; only be the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; can expect easily changing or replacing, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of described claim.