CN104330984B - Prevent portable terminal and the method thereof of Auto Power On - Google Patents
Prevent portable terminal and the method thereof of Auto Power On Download PDFInfo
- Publication number
- CN104330984B CN104330984B CN201310441633.1A CN201310441633A CN104330984B CN 104330984 B CN104330984 B CN 104330984B CN 201310441633 A CN201310441633 A CN 201310441633A CN 104330984 B CN104330984 B CN 104330984B
- Authority
- CN
- China
- Prior art keywords
- voltage
- unit
- portable terminal
- input voltage
- input
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/042—Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
- G05B19/0423—Input/output
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Telephone Function (AREA)
Abstract
The present invention discloses a kind of portable terminal preventing Auto Power On and method thereof, and described portable terminal includes: interface unit, for being connected with external equipment;Power management module start unit, starts for triggering power management module when described interface unit receives input voltage;Whether first voltage detection unit, after starting at described power management module, detect the input voltage of described interface unit less than charging active voltage;Whether second voltage detection unit, in the case of detecting that input voltage is less than charging active voltage, detect the input voltage of described interface unit less than predetermined voltage;Control unit, when input voltage is less than predetermined voltage, controls portable terminal shutdown, otherwise, controls portable terminal start.
Description
Technical field
The present invention relates to portable terminal, particularly relate to be prevented from portable terminal the completeest
Become when charging because pulling up Charger (portable round) or being connected to the portable terminal that the USB terminal of portable terminal causes
The portable terminal preventing Auto Power On of the phenomenon of end Auto Power On and method thereof.
Background technology
Intelligentized along with electronic product is popularized, and people use the frequency of intelligentized portable terminal suddenly
Sharp increase adds, but the battery capacity of portable terminal of today can not meet the daily need of people, because of
The user of this portable terminal needs to be frequently performed charging operations.
Generally, the start-up mode under the off-mode of portable terminal is divided into two kinds, and one is started shooting for button,
I.e. when user presses the starting key of portable terminal, this is carried out by the power management module of terminal inner
Sensing and normal boot-strap, another kind of being provided with for test connecting line Auto Power On, i.e. terminal inner is opened automatically
Machine logic circuit, when being inserted into terminal by test connecting line, it is possible to triggers power management module and is just carrying out
Normally opened machine.
Distinguishing according to function and be, the connecting line of portable terminal can include that electric power connection line and test connect
Line.Now, the input voltage (V of electric power connection lineBUSVoltage) generally 5V, and portable terminal
Charging active voltage (for example, 3.4V) is less than this input voltage.Further, the input electricity of test connecting line
Pressure (voltage of VBUS) is generally smaller than the charging active voltage of portable terminal.
Thus, when electric power connection line or test connecting line are connected to the portable terminal being in off-mode,
According to the voltage signal from interface unit, power management module is triggered and detects input voltage,
And the result of detection is compared with charging active voltage.If input voltage (for example, 5V) is more than filling
Electricity active voltage (for example, 3.4V), then effective depositor that charges is recorded as effectively, and terminal enters shutdown
Charge mode.If input voltage is less than charging active voltage, then it is invalid that effective depositor that charges is recorded as,
Terminal Auto Power On, enters test pattern.
But, the power management module that current portable terminal is used is that disposable edging trigger is effective
(startup), and maintain starting state, it in view of the impact of pulse, does not causes portable terminal to be deposited
In following problem.
That is, when being charged in portable terminal off-mode, owing to part charger is on socket
After pulling up plug, the output of charger can drop to 0V, if now electric power connection line is with portable terminal still
Link together, then the energy that charger internal stores, after the output of charger is reduced to 0V, produces
A raw pulse voltage (about 2V), causes the disposable edging trigger of power management module effective, and this
Planting pulse voltage the most all can be less than charging active voltage, and therefore the start logic circuit of portable terminal is sentenced
Break for be test start and make portable terminal normal boot-strap.
Or, extract immediately after portable terminal inserts the plug of USB plug or charger user
Time, a momentary pulse can be produced, also result in the disposable edging trigger of power management module effective,
And this pulse voltage is less than charging active voltage, therefore the start logic circuit of portable terminal is judged as
It is that test is started shooting and made portable terminal normal boot-strap.
Summary of the invention
The present invention proposes to solve the problems referred to above, its object is to provide one can prevent shutdown
The portable terminal of Auto Power On and the automatic power-on method under preventing off-mode under state, it is by right
Input voltage from interface unit carries out secondary detection and judges that normal boot-strap or pulse are done exactly
Disturb the start caused.
For the attainment of one's purpose, according to an aspect of the present invention, it is provided that one can prevent under off-mode automatic
The portable terminal of start, including: interface unit, for being connected with external equipment;Power management module
Start unit, starts for triggering power management module when described interface unit receives input voltage;
First voltage detection unit, after starting at described power management module, detects described interface unit
Whether input voltage is less than charging active voltage;Second voltage detection unit, is detecting that input voltage is little
In the case of charging active voltage, whether detect the input voltage of described interface unit less than predetermined voltage;
Control unit, when input voltage is less than predetermined voltage, controls portable terminal shutdown, otherwise, controls
Portable terminal is started shooting.
Preferably, also include tertiary voltage detector unit, this tertiary voltage detector unit be arranged at described in connect
Between mouth unit and described power management module start unit, the input received according to described interface unit
Voltage produces output signal.
Preferably, described tertiary voltage detector unit includes the first switch element for producing switching signal,
Described switching signal is as described output signal.
Preferably, described first switch element includes the first connection end, the second connection end and controls end,
Wherein, described first connection end is also attached to while being connected on the first power supply by the first partial pressure unit
Described power management module start unit, described second connects end ground connection, and described control end is connected to described
Interface unit.
Preferably, described second voltage detection unit is connected to the rear end of described tertiary voltage detector unit,
And it is described to include that second switch unit and the second partial pressure unit, the front end of described second switch unit are connected to
Between first connection end and the described power management module start unit of the first switch element, described second opens
Close while the rear end of unit is connected to universal input/outfan and be connected to the also by the second partial pressure unit
On two power supplys, described control unit, according to the signal received by universal input/outfan, controls portable
Formula starting up of terminal/shutdown.
Preferably, the voltage of described first power supply is more than the voltage of described second source.
Preferably, when described input voltage is less than the cut-in voltage of described first switch element, described the
Two switch element cut-offs, described universal input/outfan receives high level, thus described control unit will just
Take formula terminal closedown;When described input voltage is more than the cut-in voltage of described first switch element, described
Second switch unit turns on, and described universal input/outfan receives low level, thus described control unit will
Portable terminal normal boot-strap.
Preferably, described second voltage detection unit is connected to the rear end of described tertiary voltage detector unit,
And include the 3rd partial pressure unit, channel modulus converter, wherein, the front end of described 3rd partial pressure unit is even
It is connected between the first connection end and the described power management module start unit of described first switch element, institute
Stating channel modulus converter and be connected to the rear end of described 3rd partial pressure unit, described control unit is according to passage
Signal received by analog-digital converter, controls portable terminal on/off.
Preferably, the partial pressure ratio of described 3rd partial pressure unit is more than described first partial pressure unit.
Preferably, when described input voltage is less than the cut-in voltage of described first switch element, described logical
The detected value of road analog-digital converter is high level, thus portable terminal is shut down by described control unit;When
When described input voltage is more than the cut-in voltage of described first switch element, described channel modulus converter
Detected value is low level, thus described control unit is by portable terminal normal boot-strap.
Preferably, described second voltage detection unit is connected to the front end of described tertiary voltage detector unit,
And include the 3rd switch element, wherein, the 3rd switch element include the first connection end, second connect end with
And control end, described first connection end is also connected while being connected on the 3rd power supply by the 4th partial pressure unit
Being connected to universal input/outfan, described second connects end ground connection, and described control end is connected to described interface list
Between the first and control end of described first switch element, described control unit is according to universal input/outfan institute
The signal received, controls portable terminal on/off.
Preferably, when described input voltage is less than the cut-in voltage of described 3rd switch element, described logical
Receive high level by input/output terminal, thus described portable terminal is shut down by described control unit, work as institute
When stating the cut-in voltage that input voltage is more than described 3rd switch element, described universal input/outfan receives
Low level, thus described control unit is by described portable terminal normal boot-strap.
Preferably, when the first voltage detection unit detects described input voltage less than charging active voltage,
Whether input voltage is detected less than predetermined voltage after described second voltage detection unit delay scheduled time.
Preferably, described power management module start unit is receiving described tertiary voltage detector unit
During switching signal, started by disposable edging trigger.
Preferably, when described input voltage is less than charging active voltage, described first voltage detection unit
It is invalid to be set to by effective for charging depositor, and otherwise, charging is effectively posted by described first voltage detection unit
Storage is set to effectively.
Preferably, described first voltage detection unit includes voltage comparison unit, in order to relatively described input
Voltage and the size of charging active voltage.
For the attainment of one's purpose, according to a further aspect in the invention, it is provided that one can prevent portable terminal from closing
The method of Auto Power On under machine state, comprises the steps: to touch when interface unit receives input voltage
Energy source management module starts;After described power management module starts, detect the defeated of described interface unit
Whether enter voltage less than charging active voltage;Detecting that input voltage is less than the situation of charging active voltage
Under, whether detect the input voltage of described interface unit less than predetermined voltage;When input voltage is less than predetermined
During voltage, control portable terminal shutdown, otherwise, control portable terminal start.
Preferably, when interface unit receives input voltage, produce switching signal to trigger power management
Module starts.
Preferably, when described input voltage being detected less than charging active voltage, after delay scheduled time
Whether detection input voltage is less than predetermined voltage.
Preferably, when receiving switching signal, disposable edging trigger power management module starts.
Preferably, when described input voltage is less than charging active voltage, effective depositor that will charge is arranged
For invalid, otherwise, effective for charging depositor is set to effectively.
According to the present invention, under portable terminal off-mode during charging, by detecting interface list in two times
The input voltage of unit, it is possible to judge the start being normal boot-strap or impulse disturbances causes exactly.
Accompanying drawing explanation
Fig. 1 is the block diagram of the portable terminal according to the present invention.
Fig. 2 is the schematic diagram of the first embodiment preventing automatic boot circuit according to the present invention.
Fig. 3 is the schematic diagram of the second embodiment preventing automatic boot circuit according to the present invention.
Fig. 4 is the schematic diagram of the 3rd embodiment preventing automatic boot circuit according to the present invention.
Fig. 5 is the flow chart of the method preventing Auto Power On according to the present invention.
Detailed description of the invention
Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings.
Fig. 1 is the block diagram of the portable terminal preventing Auto Power On according to the present invention.
As shown in Figure 1, interface unit 100, power management module are included according to the portable terminal of the present invention
Start unit the 200, first voltage detection unit the 300, second voltage detection unit 400, control unit 500.
Interface unit 100 provides for portable terminal can connect the electric power connection line of charger, external testing
Line or the interface of external data line, such as it can be USB interface.
Power management module start unit 200 triggers power supply pipe when interface unit 100 receives input voltage
Reason module starts.Preferably, according to input voltage, disposable edging trigger starts this power management module.
Therefore, even by interface unit 100 input pulse interference voltage, this power management module is it is possible to quilt
Trigger and start.
Now, it is preferable that all right between interface unit 100 and power management module start unit 200
Arranging tertiary voltage detector unit 600, this tertiary voltage detector unit 600 receives according to interface unit 100
Input voltage produce output signal and export to power management module start unit 200.
Preferably, described tertiary voltage detector unit 600 includes the first switch element, in order to produce switch letter
Number, this switching signal will be as described output signal.Preferably, this first switch element is transistor.
One end of first voltage detection unit 300 is connected to interface unit 100 and detects interface unit 100
Input voltage, the other end is connected to depositor 700.Now, this depositor 700 is effective depositor that charges.
And, the effective depositor of this charging may be disposed at the inside of power management module.Preferably, the first voltage
Detector unit 300 includes voltage comparison unit, and this voltage comparison unit compares input voltage and portable terminal
Charging active voltage size.
Such as, when portable terminal shuts down, when this input voltage (such as, voltage of VBUS)
During more than charging active voltage (such as, under the platform of high pass, this charging active voltage is 3.4V),
Depositor 700 is set to effectively by the first voltage detection unit 300.Now, fill when portable terminal connects
In the case of appliances power source connecting line, input voltage (such as, voltage of VBUS) is generally 5V.And,
When this described, input voltage is less than charging active voltage, the first voltage detection unit 300 is by depositor 700
It is invalid to be set to.
At the first voltage detection unit 300, second voltage detection unit 400 detects that input voltage is less than charging
In the case of active voltage, whether the input voltage of detection interface unit 100 is less than predetermined voltage.Preferably,
Second voltage detection unit 400 includes voltage comparison unit, compares input voltage by this voltage comparison unit
Size with predetermined voltage.
And, the second voltage detection unit 400 may be disposed at tertiary voltage detector unit 600 front end or after
End, when being connected to the front end of tertiary voltage detector unit 600, the second voltage detection unit 400 can be by
Switch element is constituted, and when being connected to the rear end of tertiary voltage detector unit 600, the second voltage detecting list
Unit 400 can be made up of switch element or partial pressure unit.
Preferably, when the second voltage detection unit 400 includes switch element, described predetermined voltage can be
The cut-in voltage of switch element.
Preferably, when the first voltage detection unit 300 detects that input voltage is less than charging active voltage,
Whether input voltage is detected less than predetermined voltage after second voltage detection unit 400 delay scheduled time.This
Time, can carry out after making the second voltage detection unit 400 delay scheduled time by hardware mode or software mode
Detection.Hardware mode includes arranging delay circuit etc., and software mode includes code delay etc., and these postpone
Mode belongs to known technology field, thus no longer describes this in detail.And, this scheduled time can be by experiment
And set when manufacturing portable terminal, such as, this scheduled time should be greater than common momentary pulse voltage
Persistent period.Such as, the persistent period of common momentary pulse voltage is 100 milliseconds, now pre-timing
Between may be configured as more than 1 second.
Above-mentioned the first voltage detection unit 300, power management module start unit 200 and depositor are equal
Can be integrated on power management module.
Control unit 500 is according to the judged result of the second voltage detection unit 400, when input voltage is less than pre-
When determining voltage (for example, cut-in voltage of switch element), control portable terminal shutdown, otherwise, control
Portable terminal normal boot-strap processed.(such as, this control unit 500 can be integrated in the master chip of portable terminal
CPU etc.) on.
Fig. 2 to Fig. 4 is to prevent each embodiment of the circuit of Auto Power On under off-mode according to the present invention
Schematic diagram.
Hereinafter, with reference to Fig. 2 to Fig. 4, the present invention is prevented to circuit and the side of Auto Power On under off-mode
Method is described in detail.
Fig. 2 is to prevent showing of the first embodiment of the circuit of Auto Power On under off-mode according to the present invention
It is intended to.
Tertiary voltage detector unit 600 can include the first switch element Q1.Preferably, this first switch is single
Unit Q1 is active component, and it controls end and is connected to interface unit 100, and first connects end by the first dividing potential drop
Unit is connected on the first power supply, and second connects end ground connection.Wherein, the first partial pressure unit R1 can be
Resistor R1, the first power supply is battery (V_BATTERY).Preferably, the first switch element Q1 is
The transistor of audion etc.
And, in the present embodiment, the first voltage detection unit 300 and power management module start unit 200
Can be integrated on power management module 20, wherein, interface unit 100 is connected to the first voltage detection unit
The first connection end of 300, the first switch element Q1 is connected to power management module start unit 200.
Here, the first switch element Q1, resistor R1 and power management module 20 can form one portable
The start logic circuit of formula terminal, thus after applying a voltage on VBUS, the first switch element Q1
It is unlocked, causes being connected the power management module start unit that end connects with the first of the first switch element Q1
200 receive switching signal, thus power management module 20 is opened.
Now, input voltage is examined by the first voltage detection unit 300 being integrated in power management module 20
Survey and compare, when input voltage is less than charging active voltage (such as, be 3.4V under high-pass platform),
Automatically the depositor within power management module 20 is set to effectively;Whereas if input voltage is higher than
Threshold value, then it is invalid to be automatically set to by the depositor within power management module 20.
Second voltage detection unit 400 is connected to the rear end of tertiary voltage detector unit 600, i.e. be connected to
Between first connection end and the power management module start unit of the first switch element Q1, and include being connected to
Between first connection end and the power management module start unit of described first switch element Q1 second opens
Close cells D 1 and the second partial pressure unit R2.Specifically, the front end of second switch cells D 1 is connected to first
Between first connection end and the power management module start unit of switch element, after second switch cells D 1
End is connected to universal input/outfan (GPIO), is connected to the also by the second partial pressure unit R2 simultaneously
On two power supplys (VDD).Wherein, the voltage of the first power supply is more than the voltage of this second source.And,
Universal input/outfan may be disposed on power management module or master chip.Further, this second dividing potential drop list
Unit R2 can be resistor.
Control unit 500 according to universal input/outfan received signal, control portable terminal start/
Shutdown.
Preferably, second switch cells D 1 is diode or audion, or has switching function
Various transistors.
Thus, at the first voltage detection unit 300, the second voltage detection unit 400 detects that input voltage is little
In the case of charging active voltage, the input voltage of detection interface unit 100 is the most single less than the first switch
The cut-in voltage of unit Q1.
Preferably, the second voltage detection unit 400 through the scheduled time (such as, more than pulse voltage
Persistent period) detect the input voltage of described interface unit 100 afterwards less than predetermined voltage (the most such as,
The cut-in voltage of switch element).So, the second voltage detection unit 400 can eliminate the shadow of pulse voltage
Ring and input voltage is detected exactly.
The work process of described second voltage detection unit 400 is as follows.
In the case of the first voltage detection unit 300 detects that input voltage is less than charging active voltage, when
When input voltage is less than the cut-in voltage of the first switch element Q1, the first switch element Q1 remains off, root
According to being connected to the first power supply of the first connection end by the first partial pressure unit R1, with the first switch element Q1's
First connects power management module start unit 200 input high level that end connects.And, as it has been described above,
Owing to the voltage of the first power supply is more than the voltage of second source, it is connected to the of the first switch element Q1 accordingly
The one second switch cells D 1 connected between end and power management module start unit 200 is ended, according to the
Two power supplys and the second partial pressure unit R2, universal input/outfan reception high level, thus final control unit
Portable terminal is shut down by 500.
Further, when input voltage is more than the cut-in voltage of the first switch element Q1, the first switch element Q1
It is unlocked, thus is connected the power management module start unit that end connects with the first of the first switch element Q1
200 receive low level, are connected to first connection end and the power management module of the first switch element Q1 accordingly
Second switch cells D 1 between start unit 200 turns on, and universal input/outfan receives low level, from
And control unit 500 makes portable terminal start shooting, and enter test pattern.
Thus, after the input voltage of the first voltage detection unit 300 detection interface unit 100 for the first time,
By making the second voltage detection unit 400 detect interface unit 100 after the scheduled time (delay)
Input voltage, thus when at interface unit 100, the voltage of input is momentary pulse voltage, if through predetermined
Input voltage is detected by time secondary, and the most now the voltage of secondary detection will be 0V, and it is less than the
The cut-in voltage of one switch element Q1, therefore as it has been described above, portable terminal is maintained by control unit 500
Off-mode, it is possible to be effectively prevented under off-mode the start unintentionally caused because of momentary pulse voltage.
Here, the time of usual pulse persistance is about 100 milliseconds, the most described scheduled time only need to be more than
This pulse duration, such as this scheduled time can be 1 second.
Fig. 3 is showing of the second embodiment preventing the circuit of Auto Power On under off-mode according to the present invention
It is intended to.Wherein, about tertiary voltage detector unit 600 and the composition of power management module 20 and work process
Identical with above-mentioned first embodiment, therefore the repetitive description thereof will be omitted.
Second voltage detection unit 400 is connected to the rear end of tertiary voltage detector unit 600, i.e. be connected to
On the first connection end of the first switch element Q1 and between power management module start unit, and include connecting
Connect the 3rd partial pressure unit R3 of end in the first of described first switch element Q1, be connected to the 3rd dividing potential drop
The channel modulus converter ADC of unit R 3.Wherein, the 3rd partial pressure unit R3 can be resistor.
Preferably, channel modulus converter ADC is integrated on power management module 20 or master chip.
This channel modulus converter ADC can directly read concrete magnitude of voltage, it is possible to monitors power supply accurately
The state of management module start unit 200 such that it is able to prevent from opening by mistake machine.
The work process of second voltage detection unit 400 of the present embodiment is as follows.
In the case of the first voltage detection unit 300 detects that input voltage is less than charging active voltage, when
When input voltage is less than the cut-in voltage of the first switch element Q1, the first switch element Q1 remains off, because of
This power management module start unit 200 being connected end connection with the first of the first switch element Q1 receives height
Level, meanwhile, is connected to the first connection end of the first switch element Q1 by the 3rd partial pressure unit R3
And the detected value of the channel modulus converter ADC between power management module start unit 200 is also at height
Level, thus portable terminal is closed by control unit 500 according to the testing result of channel modulus converter ADC
Machine.
Further, when input voltage is more than the first switch element Q1 cut-in voltage, the first switch element Q1
Being unlocked, therefore first with the first switch element Q1 is connected the power management module start unit that end connects
200 receive low level, meanwhile, are connected to the first switch element Q1's by the 3rd partial pressure unit R3
First detection connecting the channel modulus converter ADC between end and power management module start unit 200
Value is low level, thus control unit 500 makes portable according to the testing result of channel modulus converter ADC
Starting up of terminal, and enter test pattern.
Thus, after the input voltage of the first voltage detection unit 300 detection interface unit 100 for the first time,
By making the second voltage detection unit 400 detect the defeated of interface unit 100 the most again
Enter voltage, thus when at interface unit 100, the voltage of input is pulse voltage, if through the scheduled time two
Secondary detection input voltage, the most now the input voltage of secondary detection becomes 0V, and it is less than the first switch element
The cut-in voltage of Q1, therefore as it has been described above, portable terminal is maintained off-mode by control unit 500,
The start unintentionally caused because of momentary pulse voltage can be effectively prevented under off-mode.
Fig. 4 is showing of the 3rd embodiment preventing the circuit of Auto Power On under off-mode according to the present invention
It is intended to.Wherein, about tertiary voltage detector unit 600 and the composition of power management module 20 and work process
Identical with above-mentioned first embodiment, therefore the repetitive description thereof will be omitted.
Second voltage detection unit 400 is connected to the front end of tertiary voltage detector unit 600, i.e. be connected to
Between interface unit 100 and the control end of the first switch element Q1, and it is single to include being connected to this first switch
The 3rd switch element Q2 controlling end of unit Q1.That is, the first switch element Q1 and the 3rd switch element Q2
Formation is connected in parallel.
Preferably, the 3rd switch element Q2 is active component, and it controls end and is connected to interface unit 100
And between the control end of the first switch element Q1, its first connection end is connected to by the 4th partial pressure unit R4
It is also attached to universal input/outfan while on second source, and second connects end ground connection.Now,
Universal input/outfan can be integrated on fulgurite management module or master chip.Wherein, the 4th partial pressure unit
R4 can be resistor R4, and the first power supply is battery (V_BATTERY).Preferably, the 3rd switch
Unit Q1 is the transistor of audion etc.
The work process of second voltage detection unit 400 of the present embodiment is as follows.
In the case of the first voltage detection unit 300 detects that input voltage is less than charging active voltage, when
When the input voltage of interface unit 100 is less than the cut-in voltage of the 3rd switch element Q2, the 3rd switch element
Q2 remains off state, thus according to second source and the 4th partial pressure unit R4, is connected to the 3rd switch single
Universal input/the outfan of the first connection end of unit Q2 receives high level, thus control unit 500 basis
Portable terminal is shut down by the signal of universal input/outfan.
Further, when the input voltage of interface unit 100 is more than the cut-in voltage of the 3rd switch element Q2,
3rd switch element Q2 is unlocked, and be thereby coupled to the 3rd switch element Q2 first connects the general defeated of end
Enter/outfan reception low level, thus control unit 500 makes portable according to the signal of universal input/outfan
Formula terminal normal boot-strap, and enter test pattern.
Thus, after the input voltage of the first voltage detection unit 300 detection interface unit 100 for the first time,
By making the defeated of the second voltage detection unit 400 second time detection interface unit 100 after elapse of a predetermined time
Enter voltage, thus when the voltage of input is pulse voltage at interface unit 100, if through the scheduled time again
Secondary detection input voltage, the voltage the most now detected will become 0V, and it is less than the 3rd switch element Q2's
Cut-in voltage, therefore as it has been described above, portable terminal is maintained off-mode by control unit 500, it is possible to have
Avoid to effect the start unintentionally caused under off-mode because of momentary pulse voltage.
Hereinafter, with reference to Fig. 5, the method preventing Auto Power On of the portable terminal according to the present invention is carried out
Explanation.Fig. 5 is the flow chart of the method preventing Auto Power On according to the present invention.
When portable terminal is in shutdown (step 500), first, in step 501, sentence
Disconnected it is whether the start that causes of key or the start that connecting test connecting line causes.The judgement of step 501
As a result, if the start that key causes, then control unit 400 controls the power management of portable terminal
Module 200 boots up.
If the judged result of step 501, it not the start that causes of key, but interface unit inserts
The start that connecting line (electric power connection line, test connecting line) causes, then receive input when interface unit
Trigger power management module during voltage start and enter step 503, in the first voltage detection unit, at electricity
After source control module starts, whether the input voltage of detection interface unit is less than charging active voltage, when this
When input voltage is more than charging active voltage, the depositor in power management module is set to effectively, control
Unit 500 processed makes portable terminal shutdown charging (step 504), and when this input voltage has less than charging
During effect voltage, it is invalid to be set to by depositor, and enters step 505.
In step 505, in the second voltage detection unit 300, detect the defeated of described interface unit further
Whether enter voltage less than predetermined voltage.When this input voltage is less than predetermined voltage, enters step 507, make
Portable terminal is maintained shutdown by control unit, and when this input voltage is more than predetermined voltage, enters step
Rapid 506, make control unit make portable terminal start shooting, and enter test pattern.Wherein, described predetermined electricity
Pressure can be the cut-in voltage of each switch element.
Preferably, in step 505, the second voltage detection unit 300 detects after elapse of a predetermined time and connects
The input voltage of mouth unit 100.Preferably, this scheduled time is more than 100 milliseconds.
Thus, by using the second voltage detection unit to detect input the most again
Voltage, thus when the voltage that interface unit receives is momentary pulse voltage, if through the scheduled time
Secondary detection input voltage, the voltage the most now detected becomes 0V, and therefore control unit is by portable terminal
End maintains off-mode, can be effectively prevented from the improper start under off-mode accordingly.
Claims (21)
1. one kind can prevent the portable terminal of Auto Power On under off-mode, it is characterised in that including:
Interface unit, for being connected with external equipment;
Power management module start unit, for triggering electricity when described interface unit receives input voltage
Source control module starts;
First voltage detection unit, after starting at described power management module, detects described interface list
Whether the input voltage of unit is less than charging active voltage;
Second voltage detection unit, in the case of detecting that input voltage is less than charging active voltage, inspection
Whether survey the input voltage of described interface unit less than predetermined voltage;
Control unit, when input voltage is less than predetermined voltage, controls portable terminal and shuts down, otherwise,
Control portable terminal start.
Portable terminal the most according to claim 1, it is characterised in that also include that tertiary voltage is examined
Surveying unit, this tertiary voltage detector unit is arranged at described interface unit and described power management module starts
Between unit, produce output signal according to the input voltage that described interface unit receives.
Portable terminal the most according to claim 2, it is characterised in that described tertiary voltage detects
Unit includes the first switch element for producing switching signal, and described switching signal is as described output letter
Number.
Portable terminal the most according to claim 3, it is characterised in that described first switch element
Including the first connection end, the second connection end and control end, wherein, described first connects end by first
Partial pressure unit is also attached to described power management module start unit, institute while being connected on the first power supply
Stating the second connection end ground connection, described control end is connected to described interface unit.
Portable terminal the most according to claim 4, it is characterised in that described second voltage detecting
Unit is connected to the rear end of described tertiary voltage detector unit, and includes second switch unit and the second dividing potential drop
Unit, the front end of described second switch unit is connected to the first connection end and institute of described first switch element
Stating between power management module start unit, the rear end of described second switch unit is connected to universal input/defeated
Being connected on second source also by the second partial pressure unit while going out end, described control unit is according to general
Signal received by input/output terminal, controls portable terminal on/off.
Portable terminal the most according to claim 5, it is characterised in that the electricity of described first power supply
Pressure is more than the voltage of described second source.
Portable terminal the most according to claim 5, it is characterised in that when described input voltage is little
When the cut-in voltage of described first switch element, described second switch unit ends, and described universal input/
Outfan receives high level, thus portable terminal is shut down by described control unit;
When described input voltage is more than the cut-in voltage of described first switch element, described second switch list
Unit's conducting, described universal input/outfan receives low level, thus described control unit is by portable terminal
Normal boot-strap.
Portable terminal the most according to claim 4, it is characterised in that described second voltage detecting
Unit is connected to the rear end of described tertiary voltage detector unit, and includes the 3rd partial pressure unit, passage modulus
Transducer, wherein, the front end of described 3rd partial pressure unit is connected to the first company of described first switch element
Connecing between end and described power management module start unit, described channel modulus converter is connected to described the
The rear end of three partial pressure unit, described control unit is according to the signal received by channel modulus converter, control
Portable terminal on/off processed.
Portable terminal the most according to claim 8, it is characterised in that described 3rd partial pressure unit
Partial pressure ratio more than described first partial pressure unit.
Portable terminal the most according to claim 8, it is characterised in that when described input voltage is little
When the cut-in voltage of described first switch element, the detected value of described channel modulus converter is high level,
Thus portable terminal is shut down by described control unit;
When described input voltage is more than the cut-in voltage of described first switch element, described passage modulus turns
The detected value of parallel operation is low level, thus described control unit is by portable terminal normal boot-strap.
11. portable terminals according to claim 4, it is characterised in that described second voltage detecting
Unit is connected to the front end of described tertiary voltage detector unit, and includes the 3rd switch element, wherein, the
Three switch elements include the first connection end, the second connection end and control end, and described first connects end passes through
4th partial pressure unit is also attached to universal input/outfan while being connected on the 3rd power supply, and described second
Connecting end ground connection, described control end is connected to the control end of described interface unit and described first switch element
Between, described control unit, according to the signal received by universal input/outfan, controls portable terminal
On/off.
12. portable terminals according to claim 11, it is characterised in that when described input voltage
During less than the cut-in voltage of described 3rd switch element, described universal input/outfan receives high level, from
And described portable terminal is shut down by described control unit,
When described input voltage is more than the cut-in voltage of described 3rd switch element, described universal input/
Outfan receives low level, thus described control unit is by described portable terminal normal boot-strap.
13. portable terminals according to claim 1, it is characterised in that when the first voltage detecting list
When unit detects described input voltage less than charging active voltage, described second voltage detection unit postpones pre-
Whether input voltage is detected less than predetermined voltage after fixing time.
14. portable terminals according to claim 2, it is characterised in that described power management module
Start unit is when receiving the switching signal of described tertiary voltage detector unit, by disposable edging trigger
Start.
15. portable terminals according to claim 1, it is characterised in that when described input voltage is little
When charging active voltage, it is invalid that effective for charging depositor is set to by described first voltage detection unit,
Otherwise, effective for charging depositor is set to effectively by described first voltage detection unit.
16. portable terminals according to claim 1, it is characterised in that described first voltage detecting
Unit includes voltage comparison unit, in order to the size of relatively described input voltage with charging active voltage.
17. 1 kinds can prevent the method for Auto Power On under portable terminal off-mode, it is characterised in that
Comprise the steps:
Trigger power management module to start when interface unit receives input voltage;
After described power management module starts, whether detect the input voltage of described interface unit less than filling
Electricity active voltage;
In the case of detecting that input voltage is less than charging active voltage, detect the defeated of described interface unit
Whether enter voltage less than predetermined voltage;
When input voltage is less than predetermined voltage, controls portable terminal shutdown, otherwise, control portable
Starting up of terminal.
18. methods according to claim 17, it is characterised in that when interface unit receives input
During voltage, produce switching signal and start to trigger power management module.
19. methods according to claim 17, it is characterised in that when described input voltage being detected
During less than charging active voltage, whether detect input voltage after delay scheduled time less than predetermined voltage.
20. methods according to claim 18, it is characterised in that when receiving switching signal,
Disposable edging trigger power management module starts.
21. methods according to claim 17, it is characterised in that when described input voltage is less than filling
During electricity active voltage, it is invalid to be set to by effective for charging depositor, otherwise, is set by effective for charging depositor
It is set to effectively.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310441633.1A CN104330984B (en) | 2013-09-25 | 2013-09-25 | Prevent portable terminal and the method thereof of Auto Power On |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310441633.1A CN104330984B (en) | 2013-09-25 | 2013-09-25 | Prevent portable terminal and the method thereof of Auto Power On |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104330984A CN104330984A (en) | 2015-02-04 |
CN104330984B true CN104330984B (en) | 2016-10-05 |
Family
ID=52405731
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310441633.1A Active CN104330984B (en) | 2013-09-25 | 2013-09-25 | Prevent portable terminal and the method thereof of Auto Power On |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104330984B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108650404B (en) * | 2018-04-08 | 2021-01-22 | 努比亚技术有限公司 | Port starting circuit, device and mobile terminal |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101119020A (en) * | 2007-09-12 | 2008-02-06 | 中兴通讯股份有限公司 | Terminal equipment charging overvoltage protective device and method |
CN101304568A (en) * | 2007-05-11 | 2008-11-12 | 中兴通讯股份有限公司 | Apparatus and method for charging mobile terminal |
CN102122202A (en) * | 2011-03-01 | 2011-07-13 | 华为终端有限公司 | Method for automatically starting mobile terminal and mobile terminal |
CN102496903A (en) * | 2011-11-15 | 2012-06-13 | 深圳桑达国际电子器件有限公司 | Over-current protection circuit, power supply circuit and power supply |
CN102931964A (en) * | 2012-11-06 | 2013-02-13 | 上海摩软通讯技术有限公司 | Starting-up control circuit |
-
2013
- 2013-09-25 CN CN201310441633.1A patent/CN104330984B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101304568A (en) * | 2007-05-11 | 2008-11-12 | 中兴通讯股份有限公司 | Apparatus and method for charging mobile terminal |
CN101119020A (en) * | 2007-09-12 | 2008-02-06 | 中兴通讯股份有限公司 | Terminal equipment charging overvoltage protective device and method |
CN102122202A (en) * | 2011-03-01 | 2011-07-13 | 华为终端有限公司 | Method for automatically starting mobile terminal and mobile terminal |
CN102496903A (en) * | 2011-11-15 | 2012-06-13 | 深圳桑达国际电子器件有限公司 | Over-current protection circuit, power supply circuit and power supply |
CN102931964A (en) * | 2012-11-06 | 2013-02-13 | 上海摩软通讯技术有限公司 | Starting-up control circuit |
Also Published As
Publication number | Publication date |
---|---|
CN104330984A (en) | 2015-02-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8525484B2 (en) | Charger and portable device having the same | |
US9483093B2 (en) | Electronic device and method for controlling a setting of a maximum consumption current | |
US20100052620A1 (en) | Battery charger ic including built-in usb detection | |
CN101304568B (en) | Apparatus and method for charging mobile terminal | |
CN109490789B (en) | Battery on-site detection circuit and method and intelligent wearable equipment | |
CN105826963B (en) | A kind of method, charging circuit and terminal for detecting cell voltage | |
US8725910B1 (en) | Cable connection detection for electronic devices | |
CN106532801A (en) | Charging wake-up circuit for battery management system | |
CN109638918B (en) | Charging circuit and electronic equipment | |
CN104360191B (en) | Detection means and detection method that a kind of charger insertion is extracted | |
US11342764B2 (en) | Low voltage charging control and protection circuit for electronic cigarette and method of charging the electronic cigarette using the circuit | |
CN102694400A (en) | Input-output circuit | |
CN108924691A (en) | A kind of bluetooth headset and its charge cabin, charging system | |
CN105375544A (en) | Low-battery battery charging method and power management integrated circuit | |
CN106020176B (en) | A kind of CC logic controls chip low-power consumption connecting detection method and structure | |
CN106712167A (en) | Charging power supply protection device | |
CN106026224B (en) | A kind of power control | |
CN109217425A (en) | A kind of charger circuit and its intelligent charge control method | |
CN205666633U (en) | Mobile terminal | |
CN104330984B (en) | Prevent portable terminal and the method thereof of Auto Power On | |
CN202798035U (en) | Charging mode detection circuit and mobile terminal | |
EP2648068B1 (en) | Method and terminal for starting universal serial bus state machine | |
CN203520298U (en) | Start circuit and portable equipment | |
CN106066438B (en) | A kind of method and system of the mobile terminal based on OTG detection device charged state | |
CN208738892U (en) | A kind of lithium battery charging management circuit |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |