A kind of short-circuit protection circuit
Technical field
The present invention relates to electronic technology fields, more specifically, it is related to a kind of short-circuit protection circuit.
Background technique
With the continuous development of battery technology, in intelligent terminal, vehicle mounted guidance and other use battery-driven electronics
The ability of device, continuation of the journey is more and more stronger.There are two types of current power supplys, and one is external power supply, user oneself can be dismantled, this
Power supply is more suitable for being remotely controlled, the articles for daily use such as electric toothbrush and pervious function machine;One is built-in powers, common
In intelligent terminals such as present on the market smart phones, user cannot be free to remove and replace battery.The electricity of current non-dismountable formula
Source is more and more, and for intelligent terminal, the design of non-dismountable formula can guarantee product qualified rate, can be whole in limited intelligence
End is internal to squeeze out more more components of space.But once there is short circuit problem in the power supply of this non-dismountable formula,
It frequently can lead to serious problems occur.Short circuit problem solution will lead to circuit board not in time and burn, therefore intelligent terminal can damage.
General short circuit current judges whether short circuit using by comparator on the market, then passes through the conducting of chip controls switching tube
And shutdown, circuit is controlled on software.
But this conventional short-circuit protection circuit structure, can not in adaptive circuit when short circuit voltage and current rapidly change
Dynamic, chip causes ineffective vulnerable to the impact of electric current and the influence of external environment, is not sufficiently stable reliable;Individually compare simultaneously
It is low compared with device response accuracy, it is easy to be interfered, software control can extend the time that protection circuit works;The signal of sample circuit is strong
The signal that low, traditional short-circuit protection circuit receives is spent to be not sufficiently stable.
The present invention proposes a kind of novel short-circuit protection circuit, and by circuit element control switch module, structure is reliable, rings
It answers speed fast, is not easy affected by environment;Setting signal amplification module, circuit signal are relatively sharp accurate;Setting signal keeps mould
The opening and closing precision of block, control switch is higher.
Summary of the invention
The present invention overcomes the deficiencies in the prior art, provide a kind of fast response time, and structure is simple, and reliable short circuit is protected
Protection circuit.
Technical scheme is as follows:
A kind of short-circuit protection circuit, including signal amplification module, comparison module, signal keep module, switch control module, inspection stream
Resistance, battery;Battery provides power supply for short-circuit protection circuit, and inspection leakage resistance is connected with external load with battery;Signal amplification
Module: the circuit signal of monitoring inspection leakage resistance, and the circuit signal is amplified;Comparison module: for signal to be amplified mould
For the signal of block compared with preset value, output judges signal;Signal keeps module: stablizing the electric signal of conveying comparison module, removal
Clutter in signal;Switch control module: with comparison module, signal keeps module to be connected, and control circuit on-off protects external electrical
Road, the automatic restoring circuit when short trouble excludes;
Wherein, the signal amplification module further comprises:
The signal amplification module input terminal is connected with operating voltage input terminal;Including first resistor, second resistance, the first electricity
Hold, the first operational amplifier, the second comparator, first diode, the second diode, the 4th resistance, the 5th resistance, the 6th electricity
Resistance;First resistor one end is connected with operating voltage VCC, the other end and second resistance, and first capacitor is connected;The first capacitor other end
Ground connection, the second resistance other end are connected with the second comparator reverse input end;Second comparator positive input and the two or two pole
Pipe cathode is connected, the second comparator operating voltage termination activities voltage VCC, the second comparator ground terminal ground connection, the second comparator
Output end is connected with comparison module input terminal;4th resistance one end is connected with inspection leakage resistance, the other end and the first operational amplifier
Reverse input end is connected;5th resistance one end is connected with the inspection leakage resistance other end, and the other end and the first operation of the 5th resistance are put
Big device positive input is connected;6th resistance is swept resistance, and one end is connected with the first operational amplifier positive input, another
End ground connection;First operational amplifier ground terminal ground connection, operating voltage end is connected with operating voltage VCC;First operational amplifier is defeated
Outlet is connected with the second diode cathode;First diode anode is connected with the 4th resistance one end, and cathode and the second diode are just
Extremely it is connected;
Wherein, the comparison module further comprises:
3rd resistor, the second capacitor, the 7th resistance, the 8th resistance, thyristor, photo-coupler, the 9th resistance, third capacitor;The
Three resistance one end are connected with comparison module input terminal, and the other end is connected with gate circuit transistor gate;Second capacitor one end ground connection, the other end
It is connected with gate circuit transistor gate;7th resistance one end ground connection, the other end are connected with gate circuit transistor gate;Gate circuit transistor gate mould also compared with
The first output end of block is connected;Thyristor anode is connected with the first pin of photo-coupler, and cathode is connected with the 8th resistance one end;8th
Resistance other end ground connection;The second pin of photo-coupler ground connection, third pin are connected with third capacitor one end, and the 4th pin is compared with
Module second output terminal is connected;9th resistance one end is connected with operating voltage VCC, the other end and the 4th pin phase of photo-coupler
Even;Third capacitor other end ground connection;
Wherein, the signal holding module further comprises:
First phase inverter, the second phase inverter, same or door, the tenth resistance, eleventh resistor, the 4th diode, the 5th diode;The
One inverter input is connected with comparison module second output terminal, and the first inverter output is connected with the tenth resistance;Tenth electricity
The other end is hindered respectively with the 4th diode cathode, and the second inverter input is connected, the second phase inverter and the 4th diodes in parallel;
4th diode cathode is connected with same or door first input end, and the second inverter output is connected with same or two input terminal of the family status;
Same or gate output terminal keeps module output end to be connected with signal;5th diode cathode is connected with comparison module second output terminal,
Cathode is connected with eleventh resistor one end;The eleventh resistor other end is connected with the second inverter output;
Wherein, switch control module further comprises:
Logic circuit, the 6th diode, the 7th diode, the first field-effect tube FET1, the second field-effect tube FET2, the 12nd is electric
Resistance;Logic circuit input terminal keeps module output end to be connected with signal;The first output end of logic circuit and the 6th diode cathode
It is connected, second output terminal is connected with the 7th diode cathode;6th diode cathode is connected with the first fet gate, and the 7th
Diode cathode is connected with the second fet gate;First field-effect tube source electrode, the second field-effect tube source electrode with inspection galvanic electricity
One end is hindered to be connected;First FET drain is connected with twelfth resistor one end, the second FET drain and comparison module the
One output end is connected;The twelfth resistor other end is connected with the first output end of comparison module.
Further, switch control module further includes thirteenth resistor, and thirteenth resistor one end and comparison module first are defeated
Outlet is connected, another terminating load.
Further, the first field-effect tube, the second field-effect tube is in parallel, and is controlled by logic circuit.
The present invention has the advantage that compared to traditional short-circuit protection circuit
1. modularized design is used, it is convenient to carry out replacement repairing when something goes wrong in circuit;
2. without software control, it is not easy affected by environment, anti-interference is stronger, and response speed is faster.
3. amplifier is arranged in signal amplification module, signal amplification module amplifies sampling module signal, and amplifier is same
The combination of other electrical components, effectively improves reaction speed;Setting signal keeps module, and electric signal is avoided to damage in transmission process
It loses, causes to judge by accident.
Detailed description of the invention
Fig. 1 is a kind of schematic diagram of short-circuit protection circuit of the present invention;
Fig. 2 is a kind of embodiment one of short-circuit protection circuit logic circuit of the present invention;
Fig. 3 is a kind of embodiment two of short-circuit protection circuit logic circuit of the present invention;
Mark in figure: signal amplification module 10, comparison module 20, signal keep module 30, and switch control module 40 examines leakage resistance
Rs, first resistor R1, second resistance R2, first capacitor C1, the first operational amplifier A1, the second comparator A2, first diode
D1, the second diode D2, the 4th resistance R4, the 5th resistance R5, the 6th resistance R6,3rd resistor R3, the second capacitor C2, the 7th is electric
R7, the 8th resistance R8, thyristor D3 are hindered, photo-coupler U1, the 9th resistance R9, third capacitor C3, the first phase inverter B1, second is anti-
Phase device B2, same or door U2, the tenth resistance R10, eleventh resistor R11, the 4th diode D4, the 5th diode D5, logic circuit
The field-effect tube FET1 of 401, the 6th diode D6, the 7th diode D7, first, the second field-effect tube FET2, twelfth resistor
R12, thirteenth resistor R13, the 4th capacitor C4, the 5th capacitor C5, the 14th resistance R14, the 8th diode D8, the 8th capacitor
C8, the 15th resistance R15, the 16th resistance R16, the 6th capacitor C6, the 17th resistance R17, third phase inverter B3, the 7th capacitor
C7, the 18th resistance R18, the 11st capacitor C11, the 9th diode D9, the 19th resistance R19, the 4th phase inverter B4, the 20th
Resistance R20, the 9th capacitor C9, the 21st resistance R21, the tenth diode D10, the tenth capacitor C10.
Specific embodiment
The present invention is further described with reference to the accompanying drawings and detailed description.It should be appreciated that tool described herein
Body embodiment only to explain the present invention, is not intended to limit the present invention.
As shown in Figure 1, a kind of short-circuit protection circuit, including signal amplification module 10, comparison module 20, signal keep mould
Block 30, switch control module 40, inspection leakage resistance Rs, battery.Circuit in this programme further includes the first output end PACK+ and second
Output end PACK- is for connecting load (not shown).Anode connects the first output end PACK+, cathode and inspection leakage resistance Rs
One end is connected;The inspection leakage resistance Rs other end is connected with switch control module 40.Battery provides power supply for short-circuit protection circuit, driving
Other modules work normally.Signal amplification module 10: the circuit signal of monitoring inspection leakage resistance Rs, and the circuit signal is put
Greatly, amplified signal improves the accuracy of short-circuit protection convenient for the identification judgement of comparison module 20.Examine leakage resistance Rs resistance value size
Configuration rationally, not only can guarantee entire circuit protection circuit, but also can reflect the situation of circuit-under-test rapidly.Comparison module 20: it is used for
By the signal of signal amplification module 10 compared with preset value, output judges signal, in the present solution, height can be exported according to circumstances
Level or low level signal.Signal keeps module 30: stablizing the electric signal of conveying comparison module 20, removes miscellaneous in signal
Wave prevents the interference by environmental factor.Switch control module 40: with comparison module 20, signal keeps module 30 to be connected, control
Connecting and disconnecting of the circuit protects external circuit, the automatic restoring circuit when short trouble excludes.
10 input terminal of signal amplification module is connected with operating voltage input terminal.The signal amplification module 10 includes the
One resistance R1, second resistance R2, first capacitor C1, the first operational amplifier A1, the second comparator A2, first diode D1, the
Two diode D2, the 4th resistance R4, the 5th resistance R5, the 6th resistance R6.Signal amplification module 10 examines galvanic electricity for detecting battery
It hinders Rs and is formed by whether circuit is short-circuit with load, and the signal detected is amplified.Signal amplification module 10 and inspection are flowed
The both ends resistance Rs are connected, and export different signals according to the electric current for flowing through inspection leakage resistance Rs, load current value, which is used as, judges circuit
The standard of short circuit.By this method, the accuracy that can guarantee signal avoids judging by accident, while reducing the reaction time.
The one end first resistor R1 is connected with operating voltage VCC, and the other end and second resistance R2, first capacitor C1 are connected.The
One capacitor C1 other end ground connection, the second resistance R2 other end are connected with the second comparator A2 reverse input end.Second comparator A2
Positive input is connected with the second diode D2 cathode, and the second comparator A2 operating voltage termination activities voltage VCC, second compares
Device A2 ground terminal ground connection, the second comparator A2 output end are connected with 20 input terminal of comparison module.4th one end resistance R4 and inspection are flowed
Resistance Rs is connected, and the other end is connected with the first operational amplifier A1 reverse input end.5th one end resistance R5 and inspection leakage resistance Rs
The other end is connected, and the other end of the 5th resistance R5 is connected with the first operational amplifier A1 positive input;6th resistance R6 is to slide
Dynamic resistance, one end are connected with the first operational amplifier A1 positive input, other end ground connection.First operational amplifier A1 ground terminal
Ground connection, operating voltage end is connected with operating voltage VCC.First operational amplifier A1 output end and the second diode D2 anode phase
Even;First diode D1 anode is connected with the 4th one end resistance R4, and cathode is connected with the second diode D2 anode.First operation is put
Big device A1 energy amplifying circuit signal, prepares for the judgement of the second comparator A2, after the too low influence of signal strength for avoiding output
The running of continuous component.The setting of first capacitor C1 can be reduced the influence of operating voltage VCC clutter, improve reaction precision.6th
Resistance R6 is swept resistance, and the resistance value of the 6th resistance R6 is arranged, and guarantees first resistor R1, second resistance R2, the 4th resistance R4, the
The resistance value of five resistance R5, the 6th resistance R6 can be more than rated current by the electric current on inspection leakage resistance Rs in short circuit
Value, and the second comparator is enabled to export high level.When circuit system is normal, the output of the second comparator is low level,
Therefore the as short-circuit signal when the second comparator exports high level.
The comparison module 20 further comprises: 3rd resistor R3, the second capacitor C2, the 7th resistance R7, the 8th resistance R8,
Thyristor D3, photo-coupler U1, the 9th resistance R9, third capacitor C3.The one end 3rd resistor R3 and 20 input terminal phase of comparison module
Even, the other end is connected with thyristor D3 gate pole;Second one end capacitor C2 ground connection, the other end are connected with thyristor D3 gate pole.7th
The one end resistance R7 ground connection, the other end are connected with thyristor D3 gate pole;Thyristor D3 gate pole also with 20 first output end of comparison module
It is connected;Thyristor D3 anode is connected with the first pin of photo-coupler U1, and cathode is connected with the 8th one end resistance R8;8th resistance R8
Other end ground connection.The second pin of photo-coupler U1 ground connection, third pin are connected with the one end third capacitor C3, and the 4th pin is compared with
20 second output terminal of module is connected;9th one end resistance R9 is connected with operating voltage VCC, and the other end and photo-coupler U1 the 4th are managed
Foot is connected;Third capacitor C3 other end ground connection.Design in this way further increases the resistivity to noise jamming, mentions
High response speed and precision.When short circuit, signal amplification module 10 exports high level, driving thyristor D3 conducting, work
Voltage VCC, photo-coupler U1, the 9th resistance R9,3rd resistor R3 conducting, photo-coupler U1 third pin, the short circuit of the 4th pin,
It exports low level signal to signal and keeps module 30.In such a way that thyristor is in conjunction with photo-coupler, it can improve to short circuit
Loudness speed, while improving reliability.
The signal keeps the module 30 to further comprise: the first phase inverter B1, the second phase inverter B2, with or door U2, the tenth
Resistance R10, eleventh resistor R11, the 4th diode D4, the 5th diode D5;First phase inverter B1 input terminal and comparison module
20 second output terminals are connected, and the first phase inverter B1 output end is connected with the tenth resistance R10;The tenth resistance R10 other end respectively with
4th diode D4 anode, the second phase inverter B2 input terminal are connected, and the second phase inverter B2 is in parallel with the 4th diode D4;Four or two
Pole pipe D4 cathode is connected with same or door U2 first input end, the second phase inverter B2 output end and same or door U2 the second input terminal phase
Even;Same or door U2 output end keeps 30 output end of module to be connected with signal;5th diode D5 anode and comparison module 20 second
Output end is connected, and cathode is connected with the one end eleventh resistor R11;The eleventh resistor R11 other end and the second phase inverter B2 are exported
End is connected.Same or door U2 first input end is also connected with external signal RESET.Compare when signal holding module 30 receives to come from
When the low level short-circuit signal of module 20, low level becomes high level after the first phase inverter B1, then becomes through the second phase inverter B2
For low level signal, at the same by with or door U2 still maintain low level, switch control module 40 disconnects, short-circuit protection starting;
When signal keeps module 30 to receive high level signal, high level becomes low level after the first phase inverter B1, then anti-through second
Phase device B2 becomes high level signal, while still maintaining low level by same or door U2, has to pass through external signal RESET at this time
Input signal, same or door could finally export high level, and 40 control circuit of switch control module is restored.It is worth noting that, this
Used in the examples is same or door, it is not limited to this scheme, it can also be real using the series connection of an XOR gate NAND gate
Existing identical function.
Switch control module 40 further comprises: logic circuit 401, the 6th diode, the 7th diode D7, first effect
It should pipe FET1, the second field-effect tube FET2, twelfth resistor R12, the 4th capacitor C4, the 5th capacitor C5.Logic circuit 401 inputs
End keeps 30 output end of module to be connected with signal.401 first output end of logic circuit is connected with the 6th diode D6 anode, and second
Output end is connected with the 7th diode D7 anode;6th diode D6 cathode is connected with the first field-effect tube FET1 grid, and the 7th
Diode D7 cathode is connected with the second field-effect tube FET2 grid;First field-effect tube FET1 source electrode, the second field-effect tube FET2
Source electrode is connected with inspection one end leakage resistance Rs;First field-effect tube FET1 drain electrode is connected with the one end twelfth resistor R12, and second
Effect pipe FET2 drain electrode is connected with 20 first output end of comparison module;The twelfth resistor R12 other end and comparison module 20 first
Output end is connected.Switch control module 40 further includes thirteenth resistor R13, the one end thirteenth resistor R13 and comparison module 20 the
One output end is connected, another terminating load.4th one end capacitor C4 is connected with the 6th diode D6 cathode, other end ground connection;The
Five one end capacitor C5 are connected with the 7th diode D7 cathode, other end ground connection;By the 4th capacitor C4, the 5th capacitor C5's is set
It sets, filters clutter, guarantee control effect.In the present solution, the thirteenth resistor R13 other end connection be circuit second output
Hold PACK-.First field-effect tube FET1 and twelfth resistor R12 equivalent resistance are much larger than the second field-effect tube FET2 and the 13rd
Resistance R13 equivalent resistance.In actual use scene, the resistance value of external loading is generally at 10-100 kilo-ohms, in the present embodiment,
The resistance value of twelfth resistor R12 can choose as 60k Ω, and thirteenth resistor R13 resistance value is 1k Ω.First field-effect tube FET1,
Second field-effect tube FET2 is in parallel, and is controlled by logic circuit 401.Logic circuit 401 can be using the side such as level control block
Formula is realized to the first field-effect tube FET1, the control of the second field-effect tube FET2.When external loading, which is in, to be worked normally, logic
Circuit 401 receives high level signal, control the second field-effect tube FET2 conducting, the first field-effect tube FET1 cut-off;Work as outside
When load is in short-circuit condition, logic circuit 401 receives low level signal, and the second field-effect tube FET2 of control ends, and first
Field-effect tube FET1 conducting, since twelfth resistor R12 resistance value is very big, can effectively prevent short-circuit bring transient current mistake
Greatly, circuit is protected.When short-circuit condition disappears, logic circuit 401 restores the second field-effect tube FET2 cut-off, the first field-effect tube
FET1 conducting, to complete entire short-circuit protection process.First field-effect tube FET1, the second field-effect tube FET2 can use P
Channel-type field-effect tube when using P-channel type field-effect tube, can control source electrode when grid receives high potential signal, drain electrode is disconnected
It opens, source electrode is controlled when receiving low-potential signal, drain electrode is connected;It is worth noting that, field-effect tube can also use N-channel
Type can control source electrode when grid receives low-potential signal at this time, drain electrode disconnects, and control source electrode when receiving high potential signal,
Drain electrode is connected.The presence of logic circuit 401 guarantees that electric signal can be transferred in time in corresponding field-effect tube, avoids generating mistake
Sentence, influences to protect circuit efficiency.
As shown in Fig. 2, the embodiment one of logic circuit 401, as the first field-effect tube FET1, the second field-effect tube FET2
When using P-channel type field-effect tube, logic circuit 401 includes the 14th resistance R14, the 8th diode D8, the 8th capacitor C8, the
15 resistance R15, the 16th resistance R16, the 6th capacitor C6, the 17th resistance R17, third phase inverter B3, the 7th capacitor C7.The
Eight diode D8 anodes are connected with 401 input terminal of logic circuit, the 14th one end resistance R14 and 401 input terminal phase of logic circuit
Even.The 14th resistance R14 other end is connected with the 8th one end capacitor C8, the 8th capacitor C8 other end ground connection.8th diode D8
Cathode is connected with the 15th one end resistance R15, the 15th resistance R15 other end respectively with the 16th resistance R16, third phase inverter
B3 input terminal is connected.The 16th resistance R16 other end is connected with 401 first output end of logic circuit, the 6th one end capacitor C6 with
16th resistance R16 is connected, other end ground connection.7th one end capacitor C7 is connected with third phase inverter B3 input terminal, another termination
Ground.17th one end resistance R17 is connected with third phase inverter B3 output end, the other end and 401 second output terminal phase of logic circuit
Even.Setting in this way can guarantee that the level signal of output keeps stablizing, and the 6th capacitor C6, the 7th capacitor C7 can filter miscellaneous
Wave.When logic circuit 401 receives high level signal, the first output end of logic circuit 401 exports high level, the second output
End exports low level by the effect of phase inverter, and the first field-effect tube FET1 is disconnected at this time, and the second field-effect tube FET2 is connected;When
When logic circuit 401 receives low level signal, as generation short-circuit state, the first output end output of logic circuit 401 are low
Level, second output terminal export high level by the effect of phase inverter, and the first field-effect tube FET1 is connected at this time, the second field-effect
Pipe FET2 is disconnected, and completes short-circuit protection work.
As shown in Fig. 3, the embodiment two of logic circuit 401, as the first field-effect tube FET1, the second field-effect tube FET2
When using N-channel type field-effect tube, logic circuit 401 includes the 18th resistance R18, the 11st capacitor C11, the 9th diode
D9, the 19th resistance R19, the 4th phase inverter B4, the 20th resistance R20, the 9th capacitor C9, the 21st resistance R21, the 12nd
Pole pipe D10, the tenth capacitor C10;9th diode D9 anode is connected with 401 input terminal of logic circuit, cathode and the 19th resistance
The one end R19 is connected;18th one end resistance R18 is connected with 401 input terminal of logic circuit, the other end and the 11st capacitor C11 phase
Even;11st capacitor C11 other end ground connection.The 19th resistance R19 other end respectively with the 4th phase inverter B4 input terminal, the 12nd
Pole pipe D10 anode is connected.4th phase inverter B4 output end is connected with the 20th one end resistance R20, the 20th resistance R20 other end
It is connected with 401 first output end of logic circuit.9th one end capacitor C9 is connected with the 20th resistance R20, other end ground connection.Tenth
The one end capacitor C10 is connected with the tenth diode D10 anode, other end ground connection.21st one end resistance R21 and the tenth diode
D10 cathode is connected, and the other end is connected with 401 second output terminal of logic circuit.When logic circuit 401 receives high level signal
When, the first output end of logic circuit 401 exports low level by the effect of phase inverter, and second output terminal exports high level, this
When the first field-effect tube FET1 disconnect, the second field-effect tube FET2 connect;When logic circuit 401 receives low level signal,
Short-circuit state as occurs, the first output end of logic circuit 401 exports high level, second output terminal by the effect of phase inverter
Low level is exported, the first field-effect tube FET1 is connected at this time, and the second field-effect tube FET2 is disconnected, and completes short-circuit protection work.
The above is only a preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art
Member, without departing from the inventive concept of the premise, can also make several improvements and modifications, these improvements and modifications also should be regarded as
In the scope of the present invention.