The power supply changeover device of current detection circuit and this circuit of tool
Technical field
The present invention relates to a kind of testing circuit and power supply changeover device, particularly relate to the power supply changeover device of a kind of current detection circuit and this current detection circuit of tool.
Background technology
Along with the progress of science and technology, computer has become indispensable instrument in the life, yet computer is the same just as electrical appliance, needs power supply could activate running, so can the say so power resources of computer of power supply unit.Wherein, the main function of power supply unit is the alternating current that general socket is provided, and converts the operable direct current of computer to.Therefore, good power supply unit must be reliably, meet all functions specification, protective feature, safety standard, Electromagnetic Compatibility and other particular demands etc.
See also Fig. 1 (a), it is the electrical block diagram of known power supply unit.By among the figure as can be known, power supply unit comprises rectifier 11 and DC-DC converter 12.Rectifier 11 is used for receiving an input ac voltage Vin and input ac voltage Vin is rectified into a high-voltage dc voltage V.DC-DC converter 12 is in order to being converted into this high-voltage dc voltage V one low-voltage direct output voltage V out, and with this low-voltage direct output voltage V out output, to provide load 13 runnings required voltage.
See also Fig. 1 (b), it is the internal circuit configuration schematic diagram of the DC-DC converter shown in Fig. 1 (a).As shown in the figure, DC-DC converter 12 is half bridge converter (half bridge converter), its comprise control chip 121, current sense transformer (Current Transformer, CT) 122, transformer 123, rectifier 124, filter 125, switching transistor Q1, switching transistor Q2 and capacitor C 126.
Because the secondary side winding (secondary winding) of transformer 123 needs the electric current change by first side winding (primary winding), just can sense voltage, and the voltage of sensing needs just can provide the low-voltage direct output voltage V out of the turn ratio of equal proportion in transformer 123 (turn ratio) to give load 13 (shown in Fig. 1 (a)) via after rectifier 124 and filter 125 processing.Therefore need just can reach the purpose that the secondary side winding that makes transformer 123 is sensed voltage by the action of capacitor C 126 discharges of the first side winding of control transformer 123.
General control mode is for to come control switch transistor Q1 or switching transistor Q2 conducting by control chip 121.When switching transistor Q1 conducting and switching transistor Q2 not during conducting, high-voltage dc voltage V will be in regular turn via switching transistor Q1, the first side winding of current sense transformer 122 and transformer 123 is to capacitor C 126 charge (shown in Fig. 1 (c)), until flow through the electric current of capacitor C 126 to peaking (peak value) I1 control chip 121 with off switch transistor Q1 and actuating switch transistor Q2, make capacitor C 126 carry out discharging action via the first side winding and the switching transistor Q2 of transformer 123, until the electric current of capacitor C 126 arrives I2 (shown in Fig. 1 (c)), again again actuating switch transistor Q1 to capacitor C 126 action of charging, therefore the action that discharges and recharges by capacitor C 126 will make the first side winding of transformer 123 have the change of electric current, and then make the secondary side winding of transformer 123 can produce low-voltage direct output voltage V out.
As known from the above, must detection of dynamic the flow through current value of capacitor C 126 of control chip 121, and could be according to comparison result dynamic control switch transistor Q1 and Q2 running after comparing with the preset reference value.Known two kinds of different execution modes below will be described:
(1) please consults Fig. 1 (b) again, as shown in the figure, this DC-DC converter utilizes the flow through current value of capacitor C 126 of current sense transformer 122 detection of dynamic, this current sense transformer 122 electrically connects with the first side winding of switching transistor Q1 and Q2, control chip 121 and transformer 123, offers control chip 121 in order to the current value that will detect gained and compares.
(2) see also Fig. 1 (d), it is the electrical block diagram of another DC-DC converter shown in Fig. 1 (a).As shown in the figure, Fig. 1 (d) and Fig. 1 (b) have control chip 121, transformer 123, rectifier 124, filter 125, switching transistor Q1, switching transistor Q2 and capacitor C 126 equally, in order to this high-voltage dc voltage V is converted into a low-voltage direct output voltage V out.Be that as for both discrepancys Fig. 1 (d) is connected in series a resistance R in the rear end of capacitor C 126, and with resistance R and control chip 121 electric connections, so can detect the pressure drop Vc between resistance R and ground termination points, again by Ic * R=Vc, be Ic=Vc/R, just can detect the current value I c of the capacitor C 126 of flowing through after converting, offer control chip 121 in order to the current value that will detect gained and compare.The running purpose and the mode of the described control chip 121 of Fig. 1 (d), transformer 123, rectifier 124, filter 125, switching transistor Q1, switching transistor Q2 and capacitor C 126 are identical with Fig. 1 (b), do not repeat them here.
Though the circuit structure shown in Fig. 1 (b) and Fig. 1 (d) can detect the current value of capacitor C 126, but as consider with the production cost aspect, the fetch long price of the employed current sense transformer 122 of Fig. 1 (b), reducing production costs for the raising product competitiveness for being devoted to, certainly will be the problem that urgent need overcomes.Fig. 1 (d) is not though the current value that uses the mode of series resistance R to detect capacitor C 126 has the problem of fetch long price, and well known resistance can cause very big loss (loss), and makes the very big power of circuitry consumes, is unfavorable for the raising of usefulness.
Summary of the invention
Main purpose of the present invention is to provide a kind of current detection circuit, solves employed current sense transformer fetch long price of conventional current testing circuit and resistance and can cause very shortcomings such as lossy.
Another object of the present invention is to provide a kind of power supply changeover device with this current detection circuit.
For achieving the above object, the invention provides a kind of current detection circuit, it is applicable to a power supply changeover device, this power supply changeover device comprises a control circuit, a switching circuit and an accumulator, and the default reference current value of this control circuit.This current detection circuit comprises: a filter, and it is electrically connected with this accumulator, carries out filtering in order to the voltage signal that receives this accumulator and to this voltage signal, to obtain an alternating voltage changing value; One rectifier, it is electrically connected with this filter, in order to this alternating voltage changing value is carried out rectification, to obtain a positive half wave voltage change; An and differentiator, be electrically connected on this rectifier and this control circuit, in order to this positive half wave voltage change is carried out differential and then acquisition an electric current changing value about this accumulator, and be sent to this control circuit and this reference current value is compared, to control this switching circuit conducting according to comparison result or to close.
According to conception of the present invention, wherein this power supply changeover device is a DC-DC converter.
According to conception of the present invention, wherein this power supply changeover device is half bridge converter (half bridgeconverter).
According to conception of the present invention, wherein this accumulator is an electric capacity, and it is in response to the conducting of switching circuit or close and produce an electric current and change.
According to conception of the present invention, wherein this filter is that (High Pass Filter HPF), carries out filtering in order to this voltage signal to this accumulator to a high pass filter.
According to conception of the present invention, wherein this high pass filter comprises an electric capacity and a resistor.
According to conception of the present invention, wherein this rectifier is a diode, is rectified into this positive half wave voltage change in order to this alternating voltage changing value that this filter is exported.
According to conception of the present invention, wherein this differentiator is an operational amplifier (OP Amplifier), in order to this positive half wave voltage change is carried out differential.
For achieving the above object, the present invention also provides a kind of power supply changeover device, and it is in order to receive one first voltage signal, and this power supply changeover device comprises: a transformer, in order to produce one second voltage signal; One accumulator is electrically connected on this transformer, makes this transformer produce this second voltage signal in response to the electric current variation of this accumulator; One switching circuit is electrically connected on this transformer; One control circuit is electrically connected on this switching circuit, and a default reference current value; One current detection circuit, it is electrically connected with this transformer, accumulator and control circuit.Wherein, this current detection circuit comprises: a filter, and it is electrically connected with this accumulator, carries out filtering in order to the voltage signal that receives this accumulator and to this voltage signal, to obtain an alternating voltage changing value; One rectifier, it is electrically connected with this filter, in order to this alternating voltage changing value is carried out rectification, to obtain a positive half wave voltage change; An and differentiator, be electrically connected on this rectifier and this control circuit, in order to this positive half wave voltage change is carried out differential and then acquisition an electric current changing value about this accumulator, and be sent to this control circuit and this reference current value is compared, and control this switching circuit conducting or close according to comparison result, make this holder produce this electric current and change, and then make this transformer produce this second voltage signal.
According to conception of the present invention, wherein this transformer comprises a first side winding and a secondary side winding, and this first side winding is electrically connected with this switching circuit, this accumulator and this current detection circuit, and this secondary side winding produces this second voltage signal.
According to conception of the present invention, wherein this power supply changeover device also comprises a rectifier and a filter, this rectifier and this filter are electrically connected on this secondary side winding of this transformer, carry out rectification and filtering in order to this second voltage signal to this transformer after, to produce an output voltage.
According to conception of the present invention, wherein this accumulator is an electric capacity, and it is in response to the conducting of this switching circuit or close and carry out a charging action or a discharging action, and then produces this electric current and change.
According to conception of the present invention, wherein this switching circuit comprises one first switching transistor and a second switch transistor, when this first switching transistor conducting and second switch transistor when closing, this electric capacity carries out this charging action, when this first switching transistor cuts out and during the second switch transistor turns, this electric capacity carries out this discharging action.
According to conception of the present invention, wherein this filter is that (High Pass Filter HPF), carries out filtering in order to this voltage signal to this accumulator to a high pass filter.
According to conception of the present invention, wherein this high pass filter comprises an electric capacity and a resistor.
According to conception of the present invention, wherein this rectifier is a diode, carries out rectification in order to this alternating voltage changing value that this filter is exported.
According to conception of the present invention, wherein this differentiator is an operational amplifier (OP Amplifier), in order to this positive half wave voltage change is carried out differential.
Below, in conjunction with specific embodiments and shown in accompanying drawing, the present invention is described in further detail.
Description of drawings
Fig. 1 (a) is the electrical block diagram of known power supply unit;
Fig. 1 (b) is the electrical block diagram of known DC-DC converter;
Fig. 1 (c) discharges and recharges schematic diagram for the electric current of the capacitor C 126 shown in Fig. 1 (b);
Fig. 1 (d) is the electrical block diagram of another known DC-DC converter;
Fig. 2 (a) is the circuit box schematic diagram of the power supply changeover device of preferred embodiment of the present invention;
Fig. 2 (b) is the voltage signal schematic diagram of the capacitor C 27 shown in Fig. 2 (a);
Fig. 2 (c) is the alternating voltage changing value schematic diagram of voltage signal after filter process of the capacitor C 27 shown in Fig. 2 (a).
Wherein, description of reference numerals is as follows:
The 11-rectifier; The 12-DC-DC converter; The 13-load; The 121-control chip;
The 122-current sense transformer; The 123-transformer; The 124-rectifier; The 125-filter;
126-electric capacity; The 21-control circuit; The 22-switching circuit; The 23-current detection circuit;
The 24-transformer; The 25-rectifier; The 26-filter; 27-electric capacity;
221-first switching transistor; 222-second switch transistor; The 231-filter;
The 232-rectifier; The 233-differentiator.
Embodiment
The present invention is a kind of current detection circuit, is applicable to a power supply changeover device, and DC-DC converter for example is with by detecting the voltage change on the accumulator, to obtain the electric current changing value about this accumulator.
See also Fig. 2 (a), it is the circuit box schematic diagram of the power supply changeover device of preferred embodiment of the present invention.Power supply changeover device of the present invention is a DC-DC converter, and is good with half bridge converter, in order to a high-voltage dc voltage Vin is converted into a low-voltage direct output voltage V out.As shown in the figure, DC-DC converter comprises control circuit 21, switching circuit 22, current detection circuit 23, transformer 24, rectifier 25, filter 26 and accumulator.Wherein, accumulator is a capacitor C 27, and the circuit be made up of first switching transistor 221 and second switch transistor 222 of switching circuit 22.In addition, transformer 24 comprises first side winding and secondary side winding, and first side winding is electrically connected with switching circuit 22, capacitor C 27 and current detection circuit 23, and secondary side winding and rectifier 25 electrically connect.
Current detection circuit 23 electrically connects with first side winding, capacitor C 27 and the control circuit 27 of transformer 24, can be by detecting the voltage change on the capacitor C 27, obtaining electric current changing value, and offer control circuit 21 and compare about the capacitor C 27 of flowing through.Shown in Fig. 2 (a), this current detection circuit 23 is made of filter 231, rectifier 232 and differentiator 233.
In this embodiment, filter 231 is for by capacitor C s and high pass filter (HPF) that resistance R constituted, its reception flow through capacitor C 27 voltage signal Vc (shown in Fig. 2 (b)) and carry out filtering, in order to flip-flop filtering, to obtain alternating voltage changing value Δ V (shown in Fig. 2 (c)) about capacitor C 27 with this voltage signal Vc.
Rectifier 232 is good with diode, in order to receiving this alternating voltage changing value Δ V and to carry out rectification, and then obtains the positive half wave voltage change.Then, utilize the relational expression of electric current and voltage change, ∫ Ic * dt=C Δ V, i.e. Ic=(dv/dt) * C, wherein C is a capacitance.Therefore, carry out differential by 233 pairs of these positive half wave voltage changes of differentiator that operational amplifier constituted, can obtain electric current changing value Ic about capacitor C 27, be resent to control circuit 21 at last and compare, and come control switch circuit 22 according to comparison result with its default reference current value.Certainly, differentiator 233 can be integrated into control circuit 21 inside or be arranged at external circuit according to the circuit design demand.
The control circuit 21 and first switching transistor 221, second switch transistor 222 and current detection circuit 23 electrically connect, and the result after its electric current changing value of being exported by default reference current value and current detection circuit 23 is compared controls first switching transistor 221 and 222 conductings of second switch transistor or closes.
When comparison result is represented the electric current of capacitor C 27 and no show peak current I1, first switching transistor 221 is with conducting and second switch transistor 222 is closed continuing, and high-voltage dc voltage Vin will be charged to capacitor C 27 through the first side winding of overcurrent sensing circuit 23 and transformer 24 by first switching transistor, 221 formed guiding paths.
When control circuit 21 comparison results represent to flow through the electric current of capacitor C 27 when arriving peak I 1 (shown in Fig. 1 (c)), control circuit 21 will cut out first switching transistor 221 and the conducting second switch transistor 222, make capacitor C 27 carry out discharging action through second switch transistor 222 formed guiding paths to earth terminal by the first side winding of transformer 24, electric current up to capacitor C 27 is lower than I2 value (shown in Fig. 1 (c)), again 221 pairs of capacitor C 27 of conducting first switching transistor action of charging again, the electric current that action produced that discharges and recharges by switching circuit 22 control capacitance C27 changes, and will make the secondary side winding of transformer 24 can produce low voltage voltage signal V.
In this embodiment, rectifier 25 and filter 26 are electrically connected at the secondary side winding of transformer 24, after low voltage voltage signal V is carried out rectification and filtering, provide equal proportion in the low-voltage direct output voltage V out of the turn ratio of transformer 24 to load (not shown).
In sum, current detection circuit of the present invention passes through the flip-flop of the voltage signal of filter filtering electric capacity earlier, to obtain the alternating voltage changing value, and then carry out after differential handles via differentiator, just can obtain the electric current transformation value of the electric capacity of flowing through, just can provide thus and give control circuit and compare, be beneficial to the control of switching circuit.Compared to known technology, the employed electronic building brick low price of current detection circuit of the present invention and have advantages such as low-loss can reduce production costs and improve product quality and usefulness.
The present invention can be by knowing this technology personnel's design do various modifications, but all should be included among protection scope of the present invention.