A kind of power transfer device and changing method thereof
Technical field
The present invention relates to the power supply control technology, particularly a kind of power transfer device and changing method thereof.
Background technology
The various device of internal battery generally all has two kinds of supply power modes; Promptly by external power source and battery-powered; When having external power source to insert, cut off battery powered path and open the path of external power source, to save the electric energy of battery; When externally power supply breaks off, cut off path, the battery-powered path of unlatching internal electrical of external power source.The process of above-mentioned cut-out and unlatching just is called power supply to be switched, and this handover operation is accomplished by the power transfer device in the equipment usually.
Fig. 1 is the structural representation of the power transfer device in the prior art portable set, and this power transfer device comprises: testing circuit, enable control logic, first power supply changeover device and second source transducer.Also show the input of two-way power supply among Fig. 1, the one tunnel is battery (BAT), and one the tunnel is external power source (DCIN).
Above-mentioned testing circuit, the access state of detection external power source.
Above-mentioned first power supply changeover device has Enable Pin EN1, and above-mentioned second source transducer has Enable Pin EN2, and they can be dc-dc converter or converter,linear.The output of above-mentioned first power supply changeover device and second source transducer connects together, and is connected to total output of power transfer device, and total output connects the load in the portable set.
The above-mentioned control logic that enables, when externally power supply inserts control EN1 effectively and EN2 invalid, then first power supply changeover device is opened, the second source transducer closes, the output voltage of first power supply changeover device rises to normal value VOUT1 and keeps stable by 0; Control EN1 was invalid and EN2 is effective when externally power supply broke off, and then the second source transducer is opened, first power supply changeover device closes, and the output voltage of second source transducer rises to normal value VOUT2 and keeps stable by 0.Above-mentioned VOUT1 and VOUT2 equate that the normal value of total output voltage of total output is VOUT.
Fig. 2 is that power transfer device as shown in Figure 1 is carried out the sketch map when switching, and power transfer device shown in Figure 1 is according to working as follows:
1) t0 not access of external power source before constantly, the Enable Pin EN2 that enables control logic control second source transducer is that high level is effective, total output voltage is determined by the output voltage of second source transducer;
2) testing circuit detects the external power source access constantly at t0; Enable control logic control the Enable Pin EN1 of first power supply changeover device be high level effectively and the Enable Pin EN2 of second source transducer be that low level is invalid, total output voltage is by the output voltage decision of first power supply changeover device; Since first power supply changeover device from t0 open constantly need to t1 constantly its output voltage just can rise to VOUT1 and keep stable, so total output voltage has the phenomenon that moment falls constantly at t0-t1;
3) testing circuit detects the external power source disconnection constantly at t2; The Enable Pin EN2 that enables control logic control second source transducer be high level effectively and the Enable Pin EN1 of first power supply changeover device be that low level is invalid, total output voltage is by the output voltage decision of second source transducer; Since the second source transducer from t2 open constantly need to t3 constantly its output voltage just can rise to VOUT2 and keep stable, so total output voltage has the phenomenon that moment falls at t2 to t3 constantly.
It is thus clear that, carrying out power supply in the prior art when switching, total output voltage of power transfer device moment can occur and fall phenomenon, and this will cause by the loaded work piece in portable set of this power transfer device power supply unstable.
Summary of the invention
The present invention provides a kind of changing method of power transfer device, and this method can make portable set working stability when power supply switches.
The present invention provides a kind of power transfer device, and this device can make portable set working stability when power supply switches.
Technical scheme is achieved in that here
A kind of changing method of power transfer device, this power transfer device comprises: testing circuit, enable control logic, first power supply changeover device and second source transducer; Key is that this method comprises:
Whether A, testing circuit detect external power source and insert, if execution in step B, otherwise continue execution in step A;
B, enable control logic and control that first power supply changeover device is opened, the second source transducer is closed, said first power supply changeover device output voltage rise to exceed than normal value preset increment and stable after, output is reduced to normal value;
Whether C, testing circuit detect external power source and break off, if execution in step D, otherwise continue execution in step C;
D, enable that control logic control second source transducer is opened, first power supply changeover device is closed, said second source transducer output voltage rise to exceed than normal value preset increment and stable after, output is reduced to normal value.
A kind of power transfer device, key are that this device comprises: testing circuit, enable control logic, first power supply changeover device and second source transducer; Wherein, testing circuit detects the access state of external power source; Enable control logic, when externally power supply inserts, control that first power supply changeover device is opened, the second source transducer is closed, when externally power supply broke off, control second source transducer was opened, first power supply changeover device is closed; It is characterized in that,
Said first power supply changeover device, when output voltage rise to exceed than normal value preset increment and stable after, output voltage is reduced to normal value;
Said second source transducer, when output voltage rise to exceed than normal value preset increment and stable after, output voltage is reduced to normal value.
It is thus clear that; First power supply changeover device in the power transfer device of the present invention and second source transducer; Its output voltage rises to than normal value and exceeds preset increment after switching, in prior art, only rises to normal value, and climbing speed needs faster; Make moment of total output voltage fall that amplitude is littler, the time is shorter like this, guaranteed the working stability of portable set.
Description of drawings
Fig. 1 is the structural representation of power transfer device in the prior art;
Fig. 2 is a power transfer device as shown in Figure 1 sketch map when carrying out power supply and switching;
Fig. 3 is the changing method flow chart of power transfer device among the present invention;
Fig. 4 is that the power transfer device in the embodiment of the invention is carried out first kind of output sketch map in the handoff procedure.
Fig. 5 is that power transfer device is carried out second kind of output sketch map in the handoff procedure in the embodiment of the invention.
Embodiment
The above is merely preferred embodiment of the present invention, and is in order to restriction the present invention, not all within spirit of the present invention and principle, any modification of being made, is equal to replacement, improvement etc., all should be included within the scope that the present invention protects.
Power transfer device in the embodiment of the invention, identical with the structure of the power transfer device shown in Fig. 1, testing circuit wherein detects the access state of external power source; Enable control logic, when externally power supply inserts, control that first power supply changeover device is opened, the second source transducer is closed, when externally power supply broke off, control second source transducer was opened, first power supply changeover device is closed.
Different with power transfer device shown in Figure 1 is that in the power transfer device in the embodiment of the invention, first power supply changeover device and second source transducer have different functions.Specifically, first power supply changeover device, when output voltage rise to exceed than normal value preset increment and stable after, output voltage is reduced to normal value; The second source transducer, when output voltage rise to than normal value and stable after, output is reduced to normal value.
Power transfer device in the embodiment of the invention is according to works shown in Figure 3, and this flow process comprises:
Step 31: whether testing circuit detects external power source and inserts, if execution in step 32, otherwise continue execution in step 31.
In this step,,, can continue to keep to need not executable operations by the battery-powered state of internal electrical so testing circuit detects external power source when not inserting because portable set do not supplied power by internal cell when having external power source to insert.
Step 32: enable control logic and control that first power supply changeover device is opened, the second source transducer is closed, the output voltage of first power supply changeover device rise to than normal value exceed preset increment and stable after, output voltage is reduced to normal value.
Step 33: whether testing circuit detects external power source and breaks off, if execution in step 34, otherwise continue execution in step 33.
Step 34: enable that control logic control second source transducer is opened, first power supply changeover device is closed, the output voltage of second source transducer rise to than normal value exceed preset increment and stable after, output voltage is reduced to normal value.
Above-mentioned steps 31~step 34 constantly repeats, and just can be implemented between external power source and the battery constantly to switch.
Fig. 4 is that the power transfer device in the embodiment of the invention is carried out first kind of output sketch map in the handoff procedure, supposes that preset increment is Δ v.As shown in Figure 4; T0 external power source constantly inserts; First power supply changeover device is opened, the second source transducer is closed, and is carved into t1 during from t0 constantly, and the output voltage of first power supply changeover device rises to normal value VOUT1 and adds Δ v; Be carved into t2 during t1 and export constantly and keep stable, be carved into t3 during t2 and constantly output voltage be reduced to normal value VOUT1.T4 external power source constantly breaks off; The second source transducer is opened, first power supply changeover device is closed; Be carved into t5 during from t4 constantly; The output voltage of second source transducer rises to normal value VOUT2 and adds Δ v, is carved into t6 during t5 and exports constantly and keep stable, is carved into t7 during t6 and constantly output voltage is reduced to normal value VOUT2.Can find out; Be carved into during t0 t1 constantly and be carved into during t4 t5 constantly during this period of time in; First power supply changeover device and second source transducer rise to than the high Δ v of normal value, then in prior art, only rise to normal value, and climbing speed needs faster; Make moment of total output voltage fall that amplitude is littler, the time is shorter like this, guaranteed the working stability of portable set.Be carved into the t2 moment during t1, be carved into t6 when reaching t5 constantly, total output voltage has also exceeded Δ v than normal value VOUT, and it is more stable that portable set can be worked.
Preset increment Delta v in the embodiment of the invention can draw through emulation, and the work that does not influence portable set with the amplitude of falling of supply power voltage and time during emulation is as the criterion.In short, this preset increment Delta v and big or small positive correlation by the load of power transfer device power supply, be typically chosen in power transfer device total output voltage normal value VOUT 5%~10%.
In the embodiment of the invention; After the output of first power supply changeover device and second source transducer is stable during this period of time; Be carved into when being t1 shown in Fig. 4 t2 constantly, and be carved into t6 during t5 and constantly can set its concrete length as required, generally select design not to be increased harsh the requirement and do not get final product.
For further better guaranteeing the working stability of portable set; When externally power supply inserts; Enabling control logic can control the second source transducer again and close after the output of first power supply changeover device is stable; When externally power supply breaks off, enable control logic and can behind the output voltage stabilization of second source transducer, control first power supply changeover device again and close.Thus, after power supply changeover device is opened, before the output voltage stabilization, enable control logic and wouldn't close another power supply changeover device, at this moment total output voltage is formed by stacking the output voltage of first power supply changeover device and second source transducer.Fig. 5 is that power transfer device is carried out second kind of output sketch map in the handoff procedure in the embodiment of the invention; External power source inserts and moment of breaking off, and first power supply changeover device and second source transducer between switching mode identical with Fig. 4; Difference is; T0 among Fig. 5 constantly; Enable control logic and after opening first power supply changeover device, do not close the second source transducer immediately, but close the second source transducer again behind the output voltage stabilization of the t2 moment first power supply changeover device by the time, identical; Enable control logic and after opening the second source transducer, do not close first power supply changeover device immediately, but close first power supply changeover device again behind the output voltage stabilization of t6 moment second source transducer by the time.Can find out; When t0, be carved into the t1 moment, be carved into t5 when reaching t4 constantly; Because the output voltage of two power supply changeover devices is overlapping; Make total output voltage the phenomenon that moment falls not occur, but rise to high Δ v gradually, better guaranteed the working stability of portable set thus than normal value VOUT.Identical with shown in Fig. 4, be carved into during t1 t2 constantly, and be carved into t6 constantly during t5, total output voltage has exceeded Δ v than normal value VOUT, it is more stable that portable set can be worked.
In sum, more than being merely preferred embodiment of the present invention, is not to be used to limit protection scope of the present invention.All within spirit of the present invention and principle, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.