Embodiment
Specific embodiments of the present invention is described in detail below in conjunction with accompanying drawing:
The embodiment of the invention provides a kind of method and apparatus that prevents that terminal equipment from restarting repeatedly.This method according to the voltage of terminal equipment and the power requirement carrying load ability of testing power supply in advance, just is supplied to power supply terminal equipment to use on the one hand when having only the operate as normal that satisfies terminal equipment to require; On the other hand, after power supply is to the terminal power supply, still detect and feed back to the carrying load ability of power supply in real time, again the carrying load ability of power supply is not detected in case do not satisfy the bringing onto load demand of terminal then in time disconnect supply line, after the demand that has satisfied the terminal operate as normal, just power supply is offered terminal equipment.The method of the embodiment of the invention has effectively avoided because the problem that Power supply belt loading capability deficiency causes terminal equipment to be restarted repeatedly.
Fig. 1 prevents one of schematic diagram of device that terminal equipment is restarted repeatedly for the embodiment of the invention.As shown in the figure, the embodiment of the invention prevents that the device 50 that terminal equipment is restarted repeatedly from connecting power supply 10 and terminal equipment 40, and the power supply 10 that is used for meeting terminal equipment 40 job requirements offers terminal equipment 40.This device 50 further comprises: load capacity detecting unit 20 and power supply supply control unit 30.Wherein: load capacity detecting unit 20 is used for detecting according to the required magnitude of voltage of described terminal equipment 40 operate as normal and the performance number carrying load ability to described power supply 10; Power supply supply control unit 30 is used to select the power supply object of power supply 10, if described power supply 10 satisfies the requirement of terminal equipment 40 operate as normal, then described power supply 10 is offered described terminal equipment 40 and uses; If described power supply 10 can not satisfy the requirement of terminal equipment 40 operate as normal, then continue to detect the carrying load ability of described power supply 10.
In addition, in a better embodiment, this device 50 also comprises feedback control unit 60, is used for continuing the carrying load ability of described power supply is detected in real time after described power supply being offered described terminal equipment use; In case detect the requirement that described power supply does not satisfy the terminal equipment operate as normal, then cut off of the power supply of described power supply to described terminal, detect the carrying load ability of described power supply again.
Fig. 2 is a kind of refinement functional block diagram of embodiment of the invention load capacity detecting unit 20.As shown in the figure, load capacity detecting unit 20 also comprises load circuit 201 and comparing unit 202.Load circuit 201 is the equivalent electric circuit of described terminal equipment resistance, and described load circuit 201 connects described power supply 10; Comparing unit 202 is used to detect the magnitude of voltage of described load circuit 201, the size of the voltage of more described load circuit 201 and described terminal equipment 40 operate as normal required voltage values; If the voltage of described load circuit 201 greater than described terminal equipment 40 operate as normal required voltage values, judges that then described power supply 10 can drive described terminal equipment 40 operate as normal, otherwise judges that described power supply 10 can not drive described terminal equipment 40 operate as normal.
In a preferred implementation, this comparing unit 202 is a comparator, the magnitude of voltage of an input input of described comparator is described terminal equipment 40 operate as normal required voltage values, another input of described comparator receives the output voltage of described load circuit 201, and described comparator is exported comparative result with high and low level.As the output voltage of representing load circuit 201 with high level greater than as described in terminal equipment 40 operate as normal required voltage values, promptly described power supply 10 can drive described terminal equipment 40 operate as normal; The output voltage of representing load circuit 201 with low level is less than described terminal equipment 40 operate as normal required voltage values, and promptly described power supply 10 can not drive described terminal equipment 40 operate as normal.
Fig. 3 prevents another schematic diagram of the device that terminal equipment is restarted repeatedly for the embodiment of the invention; As shown in the figure, the power supply supply control unit 30 of this device 50 ' comprises that band carries sense switch 301 and terminal power switch 302.Described band carries sense switch 301 and connects described power supply and described load capacity detecting unit 20, and described terminal power switch 302 connects described power supply and described terminal and described load capacity detecting unit 20.When described power supply 10 can not satisfy requiring of terminal equipment 40 operate as normal, the output signal of described load capacity detecting unit 20 is controlled described band and is carried sense switch 301 closures, described terminal power switch 302 and disconnect, and described power supply 10 offers described load capacity detecting unit 20 to continue to detect the carrying load ability of described power supply 10; When described power supply 10 can satisfy requiring of terminal equipment 40 operate as normal, the output signal of described load capacity detecting unit 20 is controlled described band and is carried that sense switch 301 disconnects, described terminal power switch 302 closures, and described power supply 10 offers described terminal equipment 40 and uses.
In addition, described device 50 ' also comprises feedback control unit 60, is used for continuing the carrying load ability of described power supply is detected in real time after described power supply being offered described terminal equipment use; In case detect the requirement that described power supply does not satisfy the terminal equipment operate as normal, then cut off of the power supply of described power supply to described terminal, detect the carrying load ability of described power supply again.
Fig. 4 prevents a kind of method flow diagram that terminal equipment is restarted repeatedly for embodiment of the invention example.Below in conjunction with Fig. 1-Fig. 3 this flow process is elaborated.
Step S401, energized, band carries sense switch 301 closures and terminal power switch 302 disconnects, and power supply is offered load capacity detecting unit 20, detects with the carrying load ability to power supply 10;
Step S402, the work of the load circuit 201 pseudo-terminal equipment of load capacity detecting unit 20, and output voltage values, the comparing unit 202 of load capacity detecting unit 20 compares the voltage of load circuit 201 and the magnitude of voltage of terminal equipment 40 operate as normal, generates comparative result;
Step S403, is the output voltage of judging load circuit 201 greater than described terminal equipment 40 operate as normal required voltage values? if greater than would enter step S404, otherwise, then return step S401;
Step S404, band carry sense switch 301 and disconnect and terminal power switch 302 closures, power supply is offered terminal equipment use;
Step S405 after power supply is to the terminal power supply, continues the carrying load ability of power supply is detected;
Step S406 judges whether described power supply satisfies the job requirement of terminal, returns step S404 if carrying load ability meets the demands and continues to power to terminal; Otherwise get back to step S401, detect the carrying load ability of power supply again;
Step S407, power supply finishes the power supply of terminal.
Fig. 5 prevents a kind of practical circuit diagram of the device that terminal equipment is restarted repeatedly for the embodiment of the invention.This embodiment need be to the end product power supply of a 10V/5W.Need to prove that this circuit diagram only is used for the explanation to embodiment of the present invention, limit concrete execution mode and be not used in, the protection range that also is not used in claim limits.
As shown in Figure 5, by the specification of this end product as can be known its resistance be 20 ohm, therefore the load circuit 201 of this device is and the circuit of 20 Ohmic resistance equivalences, and the load circuit 201 of the device of present embodiment adopts the resistance resistance that forms 20 ohm in parallel in 10 200 Europe.In addition, the comparing unit 202 of this device adopts comparator U2 to come the output voltage of load circuit 201 is detected; The feedback control unit 60 of this device adopts comparator U3 to carry out the detection of feedback voltage; The band of this device carries sense switch 301 and is Q4 for Q2, terminal power switch 302.The concrete operation principle of this circuit is as follows:
(1) Q1 conducting when inserting power supply, the VGS on the Q2 (grid--source voltage) is for negative, and Q2 conducting, the output of power supply directly are added on the resistance in 20 Europe, judge by comparator U2 whether the resistance output voltage is higher than 10V.
(2) if the load circuit output voltage is higher than 10V, comparator U2 output high level makes that Q3 conducting, the VGS on the Q4 are negative, the Q4 conducting; The base stage of Q1 is a high level after the Q4 conducting, not conducting of Q1; VGS on the Q2 is almost nil, and Q2 closes; And the base stage of Q3 is a high level always, the Q3 conducting; Q4 is conducting always also, and power supply is powered to product.
(3) if the load circuit output voltage is lower than 10V, comparator U2 output low level, not conducting of Q3, Q4 can conducting yet, and power supply can not powered to product, and power-sensing circuit is worked enough up to detecting output power of power supply always.
(4) if power supply satisfies condition and can power to product in a period of time power detection, because change of external conditions can not provide enough power to product, then reentered the power detection stage afterwards, do not power to product.In this circuit diagram, when the voltage on the VOUT during less than 5.0V, comparator U3 output low level, then the Q3 base stage is a low level, and Q3 closes, along with Q4 also closes; Comparator U3 output low level, then Q1 and Q2 conducting reenter the power detection stage, product are not powered.
The device of the embodiment of the invention carries out the detection of load capacity to employed power supply (comprising AC/DC power supply and solar charger etc.) in advance according to the power that different product requires, and just allows the power supply that can satisfy the product power requirement that product is powered then; And, in the process of power supply, still detect and feed back to the carrying load ability of power supply in real time to the product power supply, again power supply is not detected in case do not satisfy the bringing onto load demand of terminal then in time disconnect supply line.The embodiment of the invention adopt such scheme can prevent low because of supply voltage, sunlight is not enough, use reasons such as non-original-pack power supply or power supply upgrading to make the not enough problem that causes product constantly to restart of Power supply belt loading capability.
Above-described embodiment; purpose of the present invention, technical scheme and beneficial effect are further described; institute is understood that; the above only is the specific embodiment of the present invention; and be not intended to limit the scope of the invention; within the spirit and principles in the present invention all, any modification of being made, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.