Detailed description of the invention
Understandable for enabling the above-mentioned purpose of the present invention, feature and advantage to become apparent from, the most right
The detailed description of the invention of the present invention is described in detail.Elaborate in the following description a lot of detail with
It is easy to fully understand the present invention.But the present invention can come real to be a lot different from alternate manner described here
Executing, those skilled in the art can do similar improvement in the case of intension of the present invention, therefore this
Bright do not limited by following public specific embodiment.
It should be noted that when element is referred to as " being fixed on " another element, and it can be directly at another
On individual element or element placed in the middle can also be there is.When an element is considered as " connection " another yuan
Part, it can be directly to another element or may be simultaneously present centering elements.
Unless otherwise defined, all of technology used herein and scientific terminology and the technology belonging to the present invention
The implication that the technical staff in field is generally understood that is identical.The art used the most in the description of the invention
Language is intended merely to describe the purpose of specific embodiment, it is not intended that in limiting the present invention.
A kind of device for managing and controlling electrical source, as it is shown in figure 1, include voltage input interface VBAT, by key control
Circuit 110, voltage comparator circuit the 120, first resistance R10, the second resistance R11 and control switch 130.
Voltage input interface VBAT connects power supply 200, is used for accessing external voltage.First resistance R10 and
Second resistance R11 connects, and common port connects power supply 200 and voltage comparator circuit 120, the first resistance R10
The other end connects voltage input interface VBAT, the second resistance R11 other end ground connection.Key control circuit 110
Connecting voltage comparator circuit 120, voltage comparator circuit 120 connects the control end controlling switch 130, controls out
The input closed connects power supply 200, output head grounding.Power supply 200 can be Switching Power Supply etc..
Voltage input interface VBAT specifically can connect external battery pack, accesses the voltage of external battery pack output.
Power supply 200, when controlling switch 130 conducting, receives the voltage of external battery pack output and opens.Can lead to
Cross the startup voltage of the resistance setting power supply 200 adjusting the first resistance R10 and the second resistance R11, at voltage
When the voltage that input interface VBAT accesses is more than or equal to startup voltage, the voltage at the second resistance R11 two ends
More than or equal to the internal voltage threshold arranged of voltage comparator circuit 120.
When the voltage comparator circuit 120 voltage at the second resistance R11 two ends is more than or equal to voltage threshold, send out
Send driving signal to controlling switch 130.The key control circuit 110 voltage at the second resistance R11 two ends is less than
During voltage threshold, output key controls signal to voltage comparator circuit 120.
Specifically, can be that Non-follow control key control circuit 110 sends button and controls signal to voltage ratio relatively
Circuit 120, if power supply 200 is not turned on, then the voltage of account for voltage input interface VBAT is less than power supply
The startup voltage of 200, the voltage at the second resistance R11 two ends is less than voltage threshold, and operating personnel manually send and press
Key control signal.Can also be that key control circuit 110 is connected external voltage detection device, if external electrical
Pressure detection device detects the voltage startup voltage less than power supply 200 of voltage input interface VBAT, sends
Control instruction, to key control circuit 110, controls key control circuit 110 and sends button control signal, it is not necessary to
Human users.
Voltage comparator circuit 120 is after receiving the button control signal that key control circuit 110 sends, same
Sample sends and drives signal to controlling switch 130.Control switch 130 conducting when receiving driving signal, control
Power supply 200 is opened, and output voltage is to the first resistance R10 and the common port of the second resistance R11.
If the voltage of voltage input interface VBAT is less than the startup voltage of power supply 200, by by key control electricity
Road 110 sends after button control signal makes control switch 130 conducting, due to power supply 200 output voltage to the
One resistance R10 and the common port of the second resistance R11, make the voltage at the second resistance R11 two ends be driven high.?
After key control circuit 110 stops sending button control signal, voltage comparator circuit 120 can send equally and drive
Dynamic signal, to controlling switch 130, makes control switch 130 conducting.
Above-mentioned device for managing and controlling electrical source, is connect voltage input by the first resistance R10 and the second resistance R11
The voltage that mouth VBAT accesses carries out dividing potential drop sampling.Key control circuit 110 is the second resistance two ends R11's
When voltage is less than the voltage threshold preset, output key controls signal to voltage comparator circuit 120.Voltage ratio is relatively
The circuit 120 voltage at the second resistance R11 two ends is more than or equal to voltage threshold, or receives by keying
During signal processed, send and drive signal to controlling switch 130.Control switch 130 to lead when receiving driving signal
Logical, control power supply 200 and open, and output voltage is to the first resistance R10 and the common port of the second resistance R11.
The Starting mode that can use correspondence when the voltage that voltage input interface VBAT accesses is in different amplitude controls
Power supply 200 is opened, and improves operation ease, and versatility is good, low cost.
The mode that above-mentioned device for managing and controlling electrical source makes power supply control is more diversified, and cut-in voltage scope is wider,
Increase the utilization rate of power-supply system power, reduce the power consumption of power-supply system.Increase whole power supply simultaneously
The heat-sinking capability of system, reduces the caloric value of power-supply system.
Wherein in an embodiment, as in figure 2 it is shown, device for managing and controlling electrical source also includes Single-chip Controlling
Circuit 140, single chip machine controlling circuit 140 connects the first resistance R10 and the common port of the second resistance R11,
To voltage comparator circuit 120, voltage ratio is made for transmission Single-chip Controlling signal after receiving MCU Instruction
Relatively circuit 120 stops sending driving signal to controlling switch 130.
Single chip machine controlling circuit 140 specifically can control device with external microcontroller and be connected, and external microcontroller controls
Battery bag to voltage input interface VBAT conveying voltage is detected by device, it is judged that the output of battery bag
Whether voltage is less than the alarm threshold value preset, and alarm threshold value specifically can be adjusted according to the type of battery bag.
If the output voltage of battery bag is less than alarm threshold value, then external microcontroller controls device transmission MCU Instruction extremely
Single chip machine controlling circuit 140, single chip machine controlling circuit 140 sends Single-chip Controlling after receiving MCU Instruction
Signal, to voltage comparator circuit 120, controls voltage comparator circuit 120 and stops sending driving signal, thus close
Power supply 200, it is to avoid damage battery bag.
Wherein in an embodiment, as it is shown on figure 3, key control circuit 110 includes that button and first is opened
Closing pipe Q1, one end KEY-1 of button connects voltage input interface VBAT, other end KEY-2 and connects first
The control end of switching tube Q1, the input of the first switching tube Q1 connects voltage comparator circuit 120, output
Ground connection.First switching tube Q1 turns on when button closes, and sends button and controls signal to voltage comparator circuit
120, in the present embodiment, button control signal is low level signal.
Button can use manual key, by operating personnel be manually pressed by conducting, it is also possible to be use control by
Key, turns on after receiving control instruction.
Further, key control circuit also includes the 3rd resistance R6 and the 4th resistance R7.3rd resistance R6
One end connects the control end of the first switching tube Q1, other end ground connection;Button passes through the 4th resistance R7 and voltage
Input port VBAT connects.When button turns on, by the 3rd resistance R6 and the 4th resistance R7 to voltage
The voltage that input port VBAT accesses carries out dividing potential drop, reduces the voltage being delivered to the first switching tube Q1, it is to avoid
Overtension damages the first switching tube Q1.
Additionally, key control circuit 110 may also include voltage-stabiliser tube D3 and the first electric capacity C3, voltage-stabiliser tube D3
Negative electrode connect the control end of the first switching tube Q1, the plus earth of voltage-stabiliser tube D3.First electric capacity C3 mono-
End connects the control end of the first switching tube Q1, other end ground connection.First switching tube Q1 can be specifically three poles
Pipe or metal-oxide-semiconductor, in the present embodiment, the first switching tube Q1 is N-channel MOS pipe, and its grid connects button,
Drain electrode connects voltage comparator circuit 120, source ground.
Wherein in an embodiment, as it is shown on figure 3, voltage comparator circuit 120 include voltage comparator U1,
Dividing potential drop assembly, the 5th resistance R4, the 6th resistance R3 and the 7th resistance R5.5th resistance R4 and dividing potential drop group
Part is connected, and common port connects inverting input 1IN-and the key control circuit 110 of voltage comparator U1,
Specifically it is connected with the input of the first switching tube Q1 in key control circuit 110.The 5th resistance R4 other end
Connect voltage input end mouth VBAT, dividing potential drop assembly other end ground connection.6th resistance R3 and the 7th resistance R5
Series connection, and the power end VCC of common port connection voltage comparator U1, the 6th resistance R3 other end connects electricity
Pressure input interface VBAT, the 7th resistance R5 other end connects the output 1OUT of voltage comparator U1.
The in-phase input end 1IN+ of voltage comparator U1 connects the first resistance R10 and the common port of the second resistance R11,
The output of voltage comparator U1 connects the control end controlling switch 130, the earth terminal of voltage comparator U1
Ground connection.Voltage comparator U1 is more than or equal to inverting input 1IN-at the voltage of its in-phase input end 1IN+
Voltage time, output drive signal to control switch 130 control end, make control switch 130 conducting.
In the present embodiment, dividing potential drop assembly includes the first diode D1 and the second diode D2, the first diode D1
Connect with the second diode D2, and the anode of the first diode D1 connects the 5th resistance R4, the second diode
The minus earth of D2.It is appreciated that dividing potential drop assembly can also be made up of other sectional pressure elements such as resistance.
By adjusting the first resistance R10 and the resistance of the second resistance R11, can setting voltage comparator U1
The voltage of in-phase input end 1IN+.By the first diode D1 and the second diode D2 of series connection, can set
The voltage of voltage comparator inverting input, the first diode D1 and the forward conduction pressure of the second diode D2
Fall is and carries out, as voltage comparator U1, the voltage threshold that judges.
When the voltage that voltage input interface VBAT accesses is more than or equal to the startup voltage of power supply 200, press
Button in key control circuit 110 is not pressed, and the first switching tube Q1 is not turned on, and voltage comparator U1's is anti-
The voltage of phase input 1IN-is the first diode D1 and the forward conduction voltage drop of the second diode D2.Voltage
The voltage of the in-phase input end 1IN+ of comparator U1 is the first resistance R10 and after the second resistance R11 dividing potential drop
The voltage at two resistance R11 two ends, the voltage of the in-phase input end 1IN+ of voltage comparator U1 is more than or equal to
The voltage of inverting input 1IN-, output 1OUT output drive signal, to controlling switch 130, makes control
Switch 130 conducting, power supply 200 is opened.
When the voltage that voltage input interface VBAT accesses is less than the startup voltage of power supply 200, by key control
Button in circuit 110 is pressed, the first switching tube Q1 conducting, the first diode D1 and the second diode D2
Pressure stabilization function shielded, the voltage of the inverting input 1IN-of voltage comparator U1 is pulled low, and voltage ratio is relatively
Device U1 output drive signal, to controlling switch 130, makes control switch 130 conducting, and power supply 200 is opened.?
After unclamping button, the first diode D1 and the second diode D2 plays pressure stabilization function, voltage comparator U1 again
The level of inverting input 1IN-be driven high.Due to power supply 200 output voltage to the first resistance R10 and
The common port of two resistance R11, by the voltage high at the second resistance R11 two ends, makes voltage comparator U1's
The voltage of in-phase input end 1IN+ remains above the voltage of inverting input 1IN-, and voltage comparator U1 continues defeated
Go out to drive signal to controlling switch 130, make control switch 130 still turn on.
Control switch 130 and specifically can use triode or metal-oxide-semiconductor, the present embodiment controls switch 130 bag
The driving signal including N-channel MOS pipe Q2, voltage comparator U1 output is high level signal.N-channel
The grid of metal-oxide-semiconductor Q2 connects the output 1OUT of voltage comparator U1, and drain electrode connects power supply 200, source
Pole ground connection.When the grid of N-channel MOS pipe Q2 receives the high level signal of voltage comparator U1 output
Conducting, controls power supply 200 and opens.
Wherein in an embodiment, voltage comparator circuit 120 also include three-terminal voltage-stabilizing diode Z1, the 8th
Resistance R1 and the 9th resistance R2, the 8th resistance R1 and the 9th resistance R2 connect, and common port connects three ends
The reference edge of Zener diode Z1, the 8th resistance R1 other end connects the negative electrode of three-terminal voltage-stabilizing diode Z1,
9th resistance R2 other end ground connection.The negative electrode of three-terminal voltage-stabilizing diode Z1 connects the 6th resistance R3 and the 7th
The common port of resistance R5, the plus earth of three-terminal voltage-stabilizing diode Z1.By adjust the 8th resistance R1 and
The resistance of the 9th resistance R2 can control the conducting voltage of three-terminal voltage-stabilizing diode Z1.
The voltage accessed due to voltage input interface VBAT can ceaselessly change, and causes voltage comparator U1
Supply voltage unstable, it is possible to beyond the normal working voltage scope of voltage comparator U1.Utilize three ends
Zener diode Z1 carries out voltage stabilizing, can be limited in normal range (NR) by the supply voltage of voltage comparator U1.
When the supply voltage of voltage comparator U1 is beyond normal working voltage scope, three-terminal voltage-stabilizing diode Z1's
Reference voltage terminal is increased to conducting voltage, makes three-terminal voltage-stabilizing diode Z1 turn on, three-terminal voltage-stabilizing diode Z1
Negative electrode output voltage reduce, thus reach the purpose of voltage stabilizing, it is to avoid overtension damages voltage comparator U1.
Additionally, voltage comparator circuit 120 may also include electric capacity C1 and electric capacity C2, electric capacity C1 one end connects electricity
The power end VCC of pressure comparator U1, other end ground connection, the electric capacity C1 electricity to accessing voltage comparator U1
The voltage of source VCC is filtered.Electric capacity C2 one end connects the inverting input 1IN-of voltage comparator U1,
Other end ground connection, the signal that the inverting input 1IN-accessing voltage comparator U1 is accessed by electric capacity C2 is carried out
Filtering.
Wherein in an embodiment, single chip machine controlling circuit 140 includes second switch pipe Q3, the three or two pole
Pipe D5 and the tenth resistance R12, the input of second switch pipe Q3 connects the first resistance R10 and the second resistance
The common port of R11, the output head grounding of second switch pipe Q3, the control end of second switch pipe Q3 is by the
The negative electrode of ten resistance R12 and the 3rd diode D5 connects, and the anode of the 3rd diode D5 is used for connecting outside
The control end POWER-CON of monolithic processor control device connects, and receives MCU Instruction.Second switch pipe Q3
Can be triode or metal-oxide-semiconductor, in the present embodiment, second switch pipe Q3 uses N-channel MOS pipe equally,
Its grid connects the tenth resistance R12, and drain electrode connects the first resistance R10 and the common port of the second resistance R11,
Source ground.MCU Instruction is high level, and Single-chip Controlling signal is low level.
After the anode of the 3rd diode D5 receives MCU Instruction, second switch pipe Q3 conducting, sends low
The level of in-phase input end 1IN+, to the in-phase input end 1IN+ of voltage comparator U1, is dragged down by level signal,
Control voltage comparator circuit 120 to stop sending driving signal.Due to now by defeated for the homophase of voltage comparator U1
Entering to hold the voltage pull-down of 1IN+, no matter whether the voltage at the second resistance R11 two ends is more than or equal to voltage threshold,
Or whether voltage comparator circuit 120 receives button control signal, voltage comparator circuit 120 all will not export
Drive signal to controlling switch 130.
Utilize single chip machine controlling circuit 140 to close power supply 200, improve power supply equally and control diversity so that
Power-supply system work is more stable, reliable.
Additionally, device for managing and controlling electrical source may also include resistance R9 and electric capacity C4, voltage input end mouth VBAT
Being connected with power supply 200 by resistance R9, electric capacity C4 one end connects the in-phase input end of voltage comparator U1
1IN+, other end ground connection.
Present invention also offers the control method of a kind of above-mentioned device for managing and controlling electrical source, as shown in Figure 4, bag
Include following steps:
Step S110: when the key control circuit voltage at the second resistance two ends is less than the voltage threshold preset,
Output key controls signal to voltage comparator circuit.
First resistance and the second resistant series, and common port connects power supply and voltage comparator circuit, the first resistance
The other end connects voltage input interface, the second resistance other end ground connection, and key control circuit connects voltage ratio relatively
Circuit.Voltage input interface specifically can connect external battery pack, accesses the voltage of external battery pack output.Logical
Cross the startup voltage of the resistance setting power supply adjusting the first resistance and the second resistance, access at voltage input interface
Voltage more than or equal to start voltage time, the voltage at the second resistance two ends be more than or equal to voltage comparator circuit
The internal voltage threshold arranged.
Specifically, can be that Non-follow control key control circuit transmission button controls signal to voltage comparator circuit,
Such as utilize external voltage detection device that the voltage of voltage input interface is detected, if voltage input interface
Voltage less than the startup voltage of power supply, now the voltage at the second resistance two ends is less than voltage threshold.External electrical
The pressure detection exportable prompting message of device, teaching process personnel manually send button control signal.Can also be
Key control circuit is connected external voltage detection device, if external voltage detection device detects that voltage inputs
The voltage of interface, less than the startup voltage of power supply, sends control instruction and presses keying to key control circuit, control
Circuit processed sends button control signal, it is not necessary to human users.
Step S120: the voltage comparator circuit voltage at the second resistance two ends is more than or equal to voltage threshold, or
When receiving button control signal, send and drive signal to controlling switch.
Voltage comparator circuit connects the control end controlling switch, and the input controlling switch connects power supply, output
End ground connection.When the voltage comparator circuit voltage at the second resistance two ends is more than or equal to voltage threshold, transmission is driven
Dynamic signal is to controlling switch.Voltage comparator circuit is receiving the button control signal that key control circuit sends
After, same transmission drives signal to controlling switch.
Step S130: control switch conducting when receiving driving signal, control electric power starting, and export electricity
It is depressed into the first resistance and the common port of the second resistance.
If the voltage of voltage input interface is less than the startup voltage of power supply, send button by key control circuit
After control signal makes control switch conduction, public due to electric power output voltage to the first resistance and the second resistance
End, makes the voltage at the second resistance two ends be driven high.After key control circuit stops sending button control signal,
Voltage comparator circuit can send equally and drive signal to controlling switch, makes control switch conduction.
The concrete structure of key control circuit, voltage comparator circuit and control switch controls at above-mentioned power management
Device is carried out explain in detail explanation, do not repeated them here.
The control method of above-mentioned device for managing and controlling electrical source, is inputted by the first resistance and the second Resistance versus voltage
The voltage that interface accesses carries out dividing potential drop sampling.The key control circuit voltage at the second resistance two ends is less than presetting
Voltage threshold time, output key controls signal to voltage comparator circuit.Voltage comparator circuit is at the second resistance
The voltage at two ends is more than or equal to voltage threshold, or when receiving button control signal, sends and drive signal
To controlling switch.Control switch conducting when receiving driving signal, control electric power starting, and output voltage
To the first resistance and the common port of the second resistance.When the voltage that voltage input interface accesses is in different amplitude
The Starting mode that can use correspondence controls electric power starting, improves operation ease, and versatility is good, cost
Low.
The control method of above-mentioned device for managing and controlling electrical source makes power supply control mode more diversified, cut-in voltage model
Enclose wider, increase the utilization rate of power-supply system power, reduce the power consumption of power-supply system.Increase simultaneously
The heat-sinking capability of whole power-supply system, reduces the caloric value of power-supply system.
Wherein in an embodiment, the control method of device for managing and controlling electrical source is further comprising the steps of:
It is more electric to voltage ratio that single chip machine controlling circuit sends Single-chip Controlling signal after receiving MCU Instruction
Road, makes voltage comparator circuit stop sending driving signal to controlling switch.
Single chip machine controlling circuit specifically can control device with external microcontroller and be connected, and external microcontroller controls device
Battery bag to voltage input interface conveying voltage is detected, it is judged that the output voltage of battery bag is the least
In default alarm threshold value, alarm threshold value specifically can be adjusted according to the type of battery bag.If battery bag
Output voltage is less than alarm threshold value, then external microcontroller controls device transmission MCU Instruction to Single-chip Controlling
Circuit, it is more electric to voltage ratio that single chip machine controlling circuit sends Single-chip Controlling signal after receiving MCU Instruction
Road, controls voltage comparator circuit and stops sending driving signal, thus close power supply, it is to avoid damage battery bag.
Utilize single chip machine controlling circuit to close power supply, improve power supply equally and control diversity so that power supply system
System work is more stable, reliable.
Embodiment described above only have expressed the several embodiments of the present invention, and it describes more concrete and detailed,
But therefore can not be interpreted as the restriction to the scope of the claims of the present invention.It should be pointed out that, for this area
Those of ordinary skill for, without departing from the inventive concept of the premise, it is also possible to make some deformation and
Improving, these broadly fall into protection scope of the present invention.Therefore, the protection domain of patent of the present invention should be with appended
Claim is as the criterion.