Summary of the invention
The object of the embodiment of the present invention is to provide a kind of AC-DC protective circuit of voltage regulation, and in the time that chip power supply is changed, cost is high at present, volume is large to be intended to solution, peripheral circuit complexity, the problem that ripple is large.
The embodiment of the present invention is achieved in that a kind of AC-DC protective circuit of voltage regulation, and described protective circuit comprises:
External unit, the positive and negative input of described external unit is electrically connected with outside city, and the first output of described external unit is by filter capacitor C10 ground connection, and for civil power is carried out to step-down conversion, output has the direct voltage of certain ripple;
Voltage regulation unit, the input of described voltage regulation unit is connected with the first output of described external unit, for described direct voltage is carried out to voltage stabilizing;
Voltage detection unit, the input of described voltage detection unit is connected with the first output of described external unit, for described direct voltage being sampled and carrying out dividing potential drop detection, output detection signal;
Voltage reference unit, the input of described voltage reference unit is connected with the second output of described external unit, for producing a reference voltage according to described direct voltage;
Error amplifying unit, the inverting input of described error amplifying unit is connected with the output of described voltage reference unit, the positive input of described error amplifying unit is connected with the output of described voltage detection unit, the output of described error amplifying unit is connected with the feedback end of described voltage regulation unit, the power end of described error amplifying unit is connected with the second output of described external unit, the earth terminal ground connection of described error amplifying unit is drawn electric current for carry out the described voltage regulation unit of error amplification control by described detection signal and described reference voltage, to realize voltage stabilizing control,
Described voltage regulation unit comprises:
Compensating module and second switch pipe pipe Q2;
The input of described second switch pipe is the input of described voltage regulation unit, the control end of described second switch pipe is that the feedback end of described voltage regulation unit and the input of described compensating module are connected, and the output of described second switch pipe and the output of described compensating module be ground connection simultaneously;
Described voltage reference unit comprises:
Start module, band-gap reference module, the 3rd switching tube, capacitor C 7;
The input of the input of described startup module and described band-gap reference module is the input of described voltage reference unit simultaneously, the output of described startup module is connected with the control end of described band-gap reference module, the output of described band-gap reference module is connected with the output of described the 3rd switching tube, the control end of described the 3rd switching tube is connected with the input of described band-gap reference module, and the input of described the 3rd switching tube is that the output of described voltage reference unit is by described capacitor C 7 ground connection.
Another object of the embodiment of the present invention is to provide a kind of chip power change-over circuit that adopts above-mentioned protective circuit.
In embodiments of the present invention; by voltage detection unit sampled voltage input; the sampled voltage obtaining and voltage reference carry out error amplification; thereby the grid voltage of the output control voltage-stabiliser tube of error amplification module is controlled its On current; On current is realized lowering and stabilizing blood pressure by resistance-capacitance coupling or high-voltage power pipe circuit; control pressure drop by the size of controlling On current, stable voltage and protective circuit can be provided simply and effectively.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
The embodiment of the present invention is by voltage detection unit sampled voltage input, the sampled voltage obtaining and voltage reference carry out error amplification, thereby the grid voltage of the output control voltage-stabiliser tube of error amplification module is controlled its On current, On current is realized lowering and stabilizing blood pressure simply and effectively by resistance-capacitance coupling or high-voltage power pipe circuit, controls pressure drop by the size of controlling On current.
Fig. 1 illustrates the structure of the AC-DC protective circuit of voltage regulation that the embodiment of the present invention provides, and for convenience of explanation, only shows part related to the present invention.
The AC-DC protective circuit of voltage regulation 1 providing as one embodiment of the invention can be applied to various chip power change-over circuits, and this AC-DC protective circuit of voltage regulation 1 comprises:
External unit 11, the positive and negative input of this external unit 11 is electrically connected with outside city, and the first output of external unit 11 is by filter capacitor C10 ground connection, and for civil power is carried out to step-down conversion, output has the direct voltage of certain ripple;
Voltage regulation unit 12, the input of this voltage regulation unit 12 is connected with the first output of external unit 11, for direct voltage is carried out to voltage stabilizing;
Voltage detection unit 13, the input of this voltage detection unit 13 is connected with the first output of external unit 11, for direct voltage being sampled and carrying out dividing potential drop detection, output detection signal;
Voltage reference unit 14, the input of this voltage reference unit 14 is connected with the second output of external unit 11, for producing a reference voltage according to direct voltage;
Error amplifying unit 15, the inverting input of this error amplifying unit 15 is connected with the output of voltage reference unit 14, the positive input of error amplifying unit 15 is connected with the output of voltage detection unit 13, the output of error amplifying unit 15 is connected with the feedback end of voltage regulation unit 12, the power end of error amplifying unit 15 is connected with the second output of external unit 11, the earth terminal ground connection of error amplifying unit 15, draw electric current for carry out the described voltage regulation unit of error amplification control by described detection signal and described reference voltage, to realize voltage stabilizing control.
As one embodiment of the invention; voltage regulation unit 12, voltage detection unit 13, voltage reference unit 14 and error amplifying unit 15 can be integrated in chip; and external unit 11 can be placed in the application circuit outside chip 3; the second output of external unit 11 is connected with the voltage input pin of chip; by this AC-DC protective circuit of voltage regulation 1, line voltage is converted to the operating voltage of chip, for the operating circuit 2 of chip internal is powered.
Voltage detection unit is by sampled voltage input; the sampled voltage obtaining and voltage reference carry out error amplification; thereby the grid voltage of the output control voltage-stabiliser tube of error amplification module is controlled it; On current is realized lowering and stabilizing blood pressure by resistance-capacitance coupling or high-voltage power pipe circuit; control pressure drop by the size of controlling On current, stable voltage and protective circuit can be provided simply and effectively.
In embodiments of the present invention, civil power is converted to direct voltage and generates detection signal and reference voltage, carry out the On current of the output control voltage regulation unit of error amplification according to detection signal and reference voltage, and then control external unit and voltage regulation unit carries out step-down, voltage stabilizing, for chip is powered, this circuit structure is simple, volume is little, cost is low, and in being easy to realization, power supply ripple is little, and stablizing effect is good.
Below in conjunction with specific embodiment, realization of the present invention is elaborated.
Fig. 2 illustrates AC-DC protective circuit of voltage regulation the first exemplary circuit structure of order unit at home and abroad that the embodiment of the present invention provides, and for convenience of explanation, only shows part related to the present invention.
As one embodiment of the invention, external unit 11 can be realized with the buck configuration of resaistance-capacity coupling circuit, specifically comprises:
Resistance R 1, resistance R 2, capacitor C 1, capacitor C 2, capacitor C 3, diode D0, diode D1, diode D2, diode D3;
The anode of diode D0 is that the positive input terminal of external unit 11 is connected with the negative electrode of diode D1, the negative electrode of diode D0 is connected with the negative electrode of diode D2, the anode of diode D2 is connected with the negative electrode of diode D3, the negative electrode of diode D3 is connected with one end of resistance R 1 and capacitor C 1 simultaneously, the other end of resistance R 1 is that the negative input end of external unit 11 is connected with the other end of capacitor C 1, the anode of the anode of diode D1 and diode D3 is ground connection simultaneously, one end of capacitor C 2 is that the first output of external unit 11 is connected with the negative electrode of diode D0, the other end ground connection of capacitor C 2, one end of resistance R 2 is connected with the negative electrode of diode D0, the other end of resistance R 2 is that the second output of external unit 11 is connected with one end of capacitor C 3, the other end ground connection of capacitor C 3.
In embodiments of the present invention, diode D0, D1, D2, D3 form rectifier circuit, and civil power is carried out to rectification, and are undertaken exporting the direct voltage with certain ripple after filtering by capacitor C 2.Resistance R 1 and capacitor C 1 parallel connection, be serially connected in rectifier circuit and AC network.When circuit works on power; there is electric current to flow to capacitor C 2 by rectifier circuit; voltage in capacitor C 2 rises; other operating circuit while rising to certain voltage value in chip is started working; in the time that the voltage in capacitor C 2 exceedes voltage stabilizing value; AC-DC protective circuit of voltage regulation 1 starts to enter overvoltage protection state; start to draw electric current to arrive ground by voltage regulation unit 12; draw total current that electric current forms all to flow through the circuit of R1, C1 parallel connection by chip operation electric current and voltage regulation unit 12; electric current produces pressure drop on the parallel circuits of R1, C1, and the pressure drop of the large generation of current flowing is also large.Draw the size of electric current to control the size of pressure drop on the parallel circuits of R1, C1 by controlling voltage regulation unit 12, thereby realize voltage stabilizing.The capacitance size of reasonable selection capacitor C 1 can reduce voltage regulation unit 12 power consumptions, improves circuit efficiency.Resistance R 2 is connected with the Vdd power end of the common port of capacitor C 3 and the operating circuit of chip, voltage stabilizing circuit in chip operation circuit, can again the direct voltage Vdd (24V) with certain ripple be reduced to again to the chip operation supply voltage of 5V, resistance R 2 is dropping resistors, and capacitor C 3 is filter capacitors.
As one embodiment of the present invention, external unit 11 can also be realized with high-voltage power pipe circuit, referring to Fig. 3, specifically comprises:
Resistance R 3, resistance R 4, capacitor C 4, capacitor C 5, capacitor C 6, diode D4, diode D5, diode D6, diode D7, the first high-voltage power pipe Q1;
The anode of diode D4 is that the positive input terminal of external circuits is connected with the negative electrode of diode D5, the negative electrode of diode D4 is connected with the negative electrode of diode D6, the anode of diode D6 is that the negative input end of external unit 11 is connected with the negative electrode of diode D7, the anode of the anode of diode D7 and diode D5 is ground connection simultaneously, one end of capacitor C 4 is connected with the negative electrode of diode D4, the other end ground connection of capacitor C 4, one end of resistance R 3 is connected with the negative electrode of diode D4 simultaneously, the other end of resistance R 3 is that the first output of external unit 11 is connected with the control end of the first high-voltage power pipe Q1, the input of the first high-voltage power pipe Q1 is connected with one end of resistance R 3, the output of the first high-voltage power pipe Q1 is connected with one end of capacitor C 5, the other end ground connection of capacitor C 5, one end of resistance R 4 is connected with the output of the first high-voltage power pipe Q1 simultaneously, the other end of resistance R 4 is that the second output of external unit 11 is connected with one end of capacitor C 6, the other end ground connection of capacitor C 6.
As one embodiment of the invention, this the first high-voltage power pipe Q1 can be NPN type high-voltage power triode, the control end of the first high-voltage power pipe Q1 is the base stage of NPN type high-voltage power triode, the input of the first high-voltage power pipe Q1 is the collector electrode of NPN type high-voltage power triode, and the output of the first high-voltage power pipe Q1 is the emitter of NPN type high-voltage power triode.
This first high-voltage power pipe Q1 can be also N-type high-voltage power metal-oxide-semiconductor, the control end of the first high-voltage power pipe Q1 is the grid of N-type high-voltage power metal-oxide-semiconductor, the input of the first high-voltage power pipe Q1 is the drain electrode of N-type high-voltage power metal-oxide-semiconductor, and the output of the first high-voltage power pipe Q1 is the source electrode of N-type high-voltage power metal-oxide-semiconductor.
In embodiments of the present invention, diode D4 to diode D7 to commercial power rectification after by capacitor C 4 filtering, in the time that voltage vcc raises, On current in voltage regulation unit 12 increases, and the electric current that flows through resistance R 3 is substantially constant, therefore the electric current that flows to the first high-voltage power pipe Q1 base stage reduces, corresponding the reducing of emitter current of the first high-voltage power pipe Q1, the first also corresponding decline of high-voltage power pipe Q1 emitter voltage, high-voltage power pipe Q1 base voltage also can and then decline, realize the function of lowering and stabilizing blood pressure and overvoltage protection, resistance R 4 is dropping resistors, capacitor C 5, capacitor C 6 is filter capacitors.And what control due to voltage regulation unit 12 is the base current of high-voltage power pipe Q1, so it is less to flow through the electric current of voltage regulation unit 12, the power that voltage regulation unit 12 consumes is also less, and heat radiation is little.
In embodiments of the present invention, adopt with the circuit structure of high-voltage power pipe and replace resaistance-capacity coupling circuit to realize lowering and stabilizing blood pressure, can avoid the average current that flows through at voltage regulation unit 12 larger time, voltage regulation unit 12 power consumptions are excessive, and too high the causing of heat of generation damages.
Fig. 4 illustrates the exemplary circuit structure of voltage regulation unit and voltage detection unit in the AC-DC protective circuit of voltage regulation that the embodiment of the present invention provides, and for convenience of explanation, only shows part related to the present invention.
Voltage regulation unit 12 comprises:
Compensating module 121 and second switch pipe Q2;
Second switch pipe Q2 is as voltage-stabiliser tube, this second switch pipe Q2 input is the input of voltage regulation unit 12, the control end of second switch pipe Q2 is that the feedback end of voltage regulation unit 12 is connected with the input of compensating module 121, and the output of second switch pipe Q2 and the output of compensating module 121 be ground connection simultaneously.
As one embodiment of the invention, second switch pipe Q2 can be N-type metal-oxide-semiconductor, and the control end of second switch pipe Q2 is the grid of N-type metal-oxide-semiconductor, and the input of second switch pipe Q2 is the drain electrode of N-type metal-oxide-semiconductor, and the output of second switch pipe Q2 is the source class of N-type metal-oxide-semiconductor.
Second switch pipe Q2 can be also NPN type triode, and the control end of second switch pipe Q2 is the base stage of NPN type triode, and the input of second switch pipe Q2 is the collector electrode of NPN type triode, and the output of second switch pipe Q2 is the emitter of NPN type triode.
In embodiments of the present invention, the On current of the grid voltage control drain-to-source by second switch pipe Q2, namely voltage vcc is to the size of current on ground.
Voltage detection unit 13 comprises:
Resistance R 5 and resistance R 6;
One end of resistance R 5 is the input of voltage detection unit 13, and the other end of resistance R 5 is that the output of voltage detection unit 13 is connected with one end of resistance R 6, the other end ground connection of resistance R 6.
In embodiments of the present invention, voltage detection unit 13 comprises that two resistance of series connection carry out dividing potential drop detection to input voltage, the height of the size reflection input voltage of pressure-dividing output voltage.In the time that voltage vcc is too high, the output of the dividing potential drop of resistance R 5, resistance R 6 uprises; carry out after error amplification with reference voltage; error amplifying circuit output raises; namely voltage-stabiliser tube Q2 grid voltage increases; On current also increases, and increases, so parallel resistance R1 and capacitor C 1 two ends pressure drop increase through the electric current of parallel resistance R1 and capacitor C 1; input voltage reduces, and realizes the function of lowering and stabilizing blood pressure and overvoltage protection.Compensating circuit plays the effect of phase compensation.
In conjunction with Fig. 1 and Fig. 5, voltage reference unit 14 comprises:
Start module U1, band-gap reference module U2, the 3rd switching tube Q3, capacitor C 7;
Start the input of module U1 and the input of band-gap reference module U2 is the input of voltage reference unit 14 simultaneously, the output that starts module U1 is connected with the control end of band-gap reference module U2, the output of band-gap reference module U2 is connected with the output of the 3rd switching tube Q3, the control end of the 3rd switching tube Q3 is connected with the input of band-gap reference module U2, and the input of the 3rd switching tube Q3 is that the output of voltage reference unit 14 passes through capacitor C 7 ground connection.
As one embodiment of the invention, the 3rd switching tube Q3 can be N-type metal-oxide-semiconductor, and the control end of the 3rd switching tube Q3 is the grid of N-type metal-oxide-semiconductor, and the input of the 3rd switching tube Q3 is the drain electrode of N-type metal-oxide-semiconductor, and the output of the 3rd switching tube Q3 is the source electrode of N-type metal-oxide-semiconductor.
The 3rd switching tube Q3 can be also NPN type triode, and the control end of the 3rd switching tube Q3 is the base stage of N-type metal-oxide-semiconductor, and the input of the 3rd switching tube Q3 is the collector electrode of N-type metal-oxide-semiconductor, and the output of the 3rd switching tube Q3 is the emitter of N-type metal-oxide-semiconductor.
In embodiments of the present invention, voltage reference unit 14 provides a stable temperature and mains voltage variations to affect little reference voltage.Comprise starting circuit U1, band-gap reference circuit U2, the 3rd switching tube Q3 and electric capacity of voltage regulation C7.The grid of the NMOS pipe of breadth length ratio connects supply voltage Vdd, drain electrode connects capacitor C 7 to ground, the output reference voltage that simultaneously drains is delivered to another input of error amplifying unit 15, when Vdd declines like this, benchmark can also remain unchanged, and the sampled voltage of voltage detection module 13 declines with supply voltage, can effectively voltage-stabiliser tube be closed by error amplifying unit 15, make to make voltage-stabiliser tube to stop drawing electric current to supply voltage in the time that supply voltage reduces, because voltage-stabiliser tube On current is reduced to zero, under the effect of resistance-capacitance coupling or high-voltage power pipe circuit, input voltage can improve, chip also can normally be worked in the time of power input voltage decline or power down suddenly.
Error amplifying unit 15 adopts a single stage operational amplifier, by amplifying the difference of reference voltage and detection signal, obtain a Voltage-output grid voltage that removes to control voltage-stabiliser tube, thereby controls the On current of voltage-stabiliser tube drain-to-source.
In embodiments of the present invention; by voltage detection unit 13 sampled voltage inputs; the sampled voltage obtaining and voltage reference carry out error amplification; thereby the grid voltage of the output control voltage-stabiliser tube of error amplifying unit 15 is controlled its On current; On current is realized lowering and stabilizing blood pressure by resistance-capacitance coupling or high-voltage power pipe circuit; control pressure drop by the size of controlling On current, stable voltage and protective circuit can be provided simply and effectively.
In addition, the output of voltage reference unit 14 adopts grid to connect Vdd drain electrode to connect the NMOS of the falling breadth length ratio tubular construction of electric capacity, in the time of power supply decline or power down suddenly, the output of voltage reference keeps not declining with supply voltage in certain hour like this, and the sampled voltage of voltage detection module declines with supply voltage, can effectively voltage-stabiliser tube be closed by error amplification module, make to make voltage-stabiliser tube to stop drawing electric current to supply voltage in the time that supply voltage reduces, because voltage-stabiliser tube On current is reduced to zero, under the effect of resistance-capacitance coupling or high-voltage power pipe circuit, input voltage can improve, chip also can normally be worked in the time of power input voltage decline or power down suddenly.
In embodiments of the present invention, civil power is converted to direct voltage and generates detection signal and reference voltage, carry out the On current of the output control voltage regulation unit of error amplification according to detection signal and reference voltage, and then control external unit and voltage regulation unit carries out step-down, voltage stabilizing, for chip is powered, this circuit structure is simple, volume is little, cost is low, and in being easy to realization, power supply ripple is little, and stablizing effect is good.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any amendments of doing within the spirit and principles in the present invention, be equal to and replace and improvement etc., within all should being included in protection scope of the present invention.