A kind of electric machine controller overcurrent is judged and protective circuit
Technical field
The present invention relates to circuit field, relate in particular to a kind of electric machine controller overcurrent and judge and protective circuit.
Background technology
New-energy automobile is MOSFET or IGBT constant power device with the core devices of electric machine controller, and its development trend is big electric current, high-power.The modal damage type of power device is that overcurrent damages, and therefore the output current of electric machine controller is measured accurately and is carried out reliable overcurrent protection for guaranteeing that the electric machine controller trouble free service is particularly important in accurate based measurement.
Rely on the current with high accuracy transducer can measure accurately the electric current of controller at present, but present overcurrent protection form commonly used is carried out overcurrent protection or is relied on the supersaturation detection of integrated drive chips to carry out simple overcurrent protection for relying on software detection.
The reaction speed of carrying out overcurrent protection after the software detection is slower; can not in time measure the generation of power device overcurrent; turn-off output signal after detecting again and also need the long period; and power device is very short from spending the time that flows to damage, so software protection can not provide overcurrent protection for power device well.The supersaturation of integrated drive chips detects and can fast detecting turn-off fast, but can't set the overcurrent protection value, and can not provide overcurrent protection to power device well when lasting big electric current does not produce supersaturation.
Summary of the invention
The technical problem to be solved in the present invention just is: at the problems referred to above of prior art existence; the invention provides the electric machine controller current foldback circuit that a kind of response time is short, cost is low, versatility is good; the present invention can be the electric machine controller power device hardware over-current detection and protection fast is provided; can freely set electric machine controller overcurrent protection current value, guarantee the electric machine controller safe and highly efficient operation.
For achieving the above object, a kind of electric machine controller overcurrent judgement of the present invention and protective circuit comprise overcurrent decision circuitry and current foldback circuit.Above-mentioned overcurrent decision circuitry comprises first filter circuit, second filter circuit, forward current overcurrent protection value reference voltage modulate circuit, reverse current overcurrent protection value reference voltage modulate circuit, comparator U1; Above-mentioned first filter circuit links to each other with the signal output part of current sensor one, second filter circuit links to each other with the signal output part of current sensor two; The output of above-mentioned first filter circuit, second filter circuit, forward current overcurrent protection value reference voltage modulate circuit, reverse current overcurrent protection value reference voltage modulate circuit all is connected to the input of comparator U1, and the output of comparator U1 is the output of this overcurrent decision circuitry; Above-mentioned current foldback circuit comprises the triggering holding circuit that links to each other with the output of overcurrent decision circuitry, the reset circuit that links to each other with the triggering holding circuit; the input of above-mentioned reset circuit also links to each other with the reset signal output of motor main control chip, and the output of above-mentioned triggering holding circuit also drives chip with power device and links to each other.
As a further improvement on the present invention, above-mentioned forward current overcurrent protection value reference voltage modulate circuit comprises resistance R 1, resistance R 2 and capacitor C 1, and resistance R 1 links to each other with power supply VCC, resistance R 2 ground connection, resistance R 1 is connected with resistance R 2, and capacitor C 1 is connected in parallel on resistance R 2 two ends; Above-mentioned reverse current overcurrent protection value reference voltage modulate circuit comprises resistance R 3, resistance R 4 and capacitor C 2, and resistance R 3 links to each other with power supply VCC, resistance R 4 ground connection, and resistance R 3 is connected with resistance R 4, and capacitor C 2 is connected in parallel on resistance R 4 two ends.
Further, above-mentioned overcurrent decision circuitry also comprises the first input signal converting unit and the second input signal converting unit that is converted to voltage signal for the current signal with input, wherein, the first input signal converting unit comprises resistance R 5, resistance R 5 one end ground connection, the other end links to each other with the signal output part of current sensor one; The second input signal converting unit comprises resistance R 6, resistance R 6 one end ground connection, and the other end links to each other with the signal output part of current sensor two.
Further, above-mentioned comparator U1 comprises operational amplifier U1A, operational amplifier U1B, operational amplifier U1C, the operational amplifier U1D that is connected in parallel, and wherein: the output of above-mentioned forward current overcurrent protection value reference voltage modulate circuit is connected to the in-phase input end of operational amplifier U1B and operational amplifier U1D simultaneously; The output of above-mentioned reverse current overcurrent protection value reference voltage modulate circuit is connected to the inverting input of operational amplifier U1A and operational amplifier U1C simultaneously; The output of above-mentioned first filter circuit is connected to the in-phase input end of operational amplifier U1A and the inverting input of operational amplifier U1B simultaneously; The output of above-mentioned second filter circuit is connected to the in-phase input end of operational amplifier U1C and the inverting input of operational amplifier U1D simultaneously.The power supply termination power VCC of operational amplifier U1A, operational amplifier U1B, operational amplifier U1C, operational amplifier U1D, earth terminal ground connection.
Further, above-mentioned first filter circuit comprises resistance R 7 and capacitor C 3, and resistance R 7 links to each other with the signal output part of current sensor one, capacitor C 3 ground connection, resistance R 7 and capacitor C 3 series connection; Above-mentioned second filter circuit comprises resistance R 8 and capacitor C 4, and resistance R 8 links to each other with the signal output part of current sensor two, capacitor C 4 ground connection, resistance R 8 and capacitor C 4 series connection.
Further, above-mentioned reset circuit comprises resistance R 9, resistance R 10, capacitor C 5, capacitor C 6, diode D1, diode D2, resistance R 11, resistance R 12, and wherein: resistance R 9 is connected to the reset signal output of motor main control chip; After resistance R 9 and capacitor C 5 series connection, capacitor C 5 is connected to the positive pole of diode D2, and the negative pole of diode D2 is connected to the positive pole of diode D1, an end of resistance R 11, an end of resistance R 12, an end of capacitor C 3 and an input that triggers holding circuit simultaneously; The negative pole of the other end of resistance R 11 and diode D1 all is connected on the power supply VCC; The other end of resistance R 12 links to each other with an output that triggers holding circuit; The other end ground connection of capacitor C 6; Resistance R 10 1 ends are connected between capacitor C 5 and the diode D2, other end ground connection.
Further, above-mentioned triggering holding circuit comprises comparator U2B, comparator U2C, comparator U2D and a bleeder circuit, and wherein: the inverting input of the normal phase input end of comparator U2B, comparator U2C, the reverse input end of comparator U2D all link to each other with bleeder circuit; The normal phase input end of comparator U2D links to each other with the negative pole of above-mentioned diode D2; The normal phase input end of the inverting input of comparator U2B and comparator U2C all links to each other with the output of comparator U2D; The output of comparator U2C links to each other with resistance R 12; The output of comparator U2B drives chip with power device and links to each other; The output of comparator U2D is also by capacitor C 7 ground connection; Comparator U2B power end connects 12V power supply, earth terminal ground connection; The output of above-mentioned overcurrent decision circuitry is connected to the inverting input of comparator U2B and the normal phase input end of comparator U2C simultaneously.
Further, above-mentioned bleeder circuit is made of capacitor C 8, resistance R 13, resistance R 14, and resistance R 13 connects power supply VCC, resistance R 14 ground connection, and resistance R 13 is connected with resistance R 14, and capacitor C 8 is connected in parallel on resistance R 14 two ends.
Further, above-mentioned triggering holding circuit also comprises capacitor C 9 and resistance R 15; The power end of above-mentioned comparator U2B is also by capacitor C 9 ground connection; The output of above-mentioned comparator U2B also connects power supply VCC by resistance R 15.
Operation principle of the present invention is: before the circuit working, the current sensor output voltage values X of the upper current limit correspondence that calculating will be protected adjusts precision resistance R1 and R2 and makes that to get voltage on the R2 be X; The current sensor output voltage values Y of the electric current negative direction upper current limit correspondence that calculating will be protected adjusts precision resistance R3 and R4 and makes that to get voltage on the R4 be Y.During circuit working, if the current signal of current sensor one and current sensor two outputs is converted to voltage signal Current A, Current B(current sensor one and current sensor two direct voltage output signal Current A, Current B through the first input signal converting unit and the second input signal converting unit then needn't changes), voltage signal is sent into comparator U1 after first filter circuit and the above-mentioned second filter circuit filtering; Comparator U1 judges; as Current A and Current B during greater than X or less than Y; comparator U1 output low level signal reports an error; power device drives chip and receives that the signal that reports an error shuts output, and FLTn makes current foldback circuit to driving chip output high level signal and keeping, namely simultaneously; make current foldback circuit remain high level to the signal OE that drives chip output; make to drive signal and shut output, guarantee that power device do not work, until main control chip output RST signal system is resetted.
With respect to prior art, the present invention has following advantage and beneficial effect:
1, the response time of the present invention is low to moderate nanosecond, and response speed is fast, can in time measure the generation of power device overcurrent, and current foldback circuit can in time provide hardware overcurrent protection fast, guarantees the electric machine controller safe and highly efficient operation.
2, of the present inventionly can freely set electric machine controller overcurrent protection current value, highly versatile;
3, the present invention is simple in structure, cost is low.
Description of drawings
Fig. 1 is the circuit diagram of overcurrent decision circuitry;
Fig. 2 is the circuit diagram of current foldback circuit.
Embodiment
Below in conjunction with embodiment and accompanying drawing, the present invention is described in further detail, but embodiments of the present invention are not limited only to this.
[embodiment 1]
A kind of electric machine controller overcurrent of present embodiment is judged and protective circuit, comprises overcurrent decision circuitry and current foldback circuit.
As shown in Figure 1, the overcurrent decision circuitry comprises first filter circuit, second filter circuit, forward current overcurrent protection value reference voltage modulate circuit, reverse current overcurrent protection value reference voltage modulate circuit, comparator U1; Above-mentioned first filter circuit links to each other with the signal output part of current sensor one, second filter circuit links to each other with the signal output part of current sensor two; The output of above-mentioned first filter circuit, second filter circuit, forward current overcurrent protection value reference voltage modulate circuit, reverse current overcurrent protection value reference voltage modulate circuit all is connected to the input of comparator U1, and the output of comparator U1 is the output of this overcurrent decision circuitry.
Above-mentioned forward current overcurrent protection value reference voltage modulate circuit comprises resistance R 1, resistance R 2 and capacitor C 1, and after resistance R 1 and resistance R 2 series connection, resistance R 1 other end also links to each other with power supply VCC, resistance R 2 other end ground connection, and capacitor C 1 is connected in parallel on resistance R 2 two ends; Above-mentioned reverse current overcurrent protection value reference voltage modulate circuit comprises resistance R 3, resistance R 4 and capacitor C 2, and after resistance R 3 and resistance R 4 series connection, resistance R 3 other ends link to each other with power supply VCC, resistance R 4 other end ground connection, and capacitor C 2 is connected in parallel on resistance R 4 two ends.The output of capacitor C 1 and capacitor C 2 respectively is forward and reverse overcurrent protection value reference voltage.Before the circuit working, the current sensor output voltage values X of the upper current limit correspondence that calculating will be protected adjusts precision resistance R1 and R2 and makes that to get voltage on the R2 be X; The current sensor output voltage values Y of the electric current negative direction upper current limit correspondence that calculating will be protected adjusts precision resistance R3 and R4 and makes that to get voltage on the R4 be Y.Voltage X and voltage Y are sent into respectively among the comparator U1 as reference voltage.
Above-mentioned first filter circuit and above-mentioned second filter circuit are the RC filter circuit.During circuit working, current sensor one and current sensor two direct voltage output signal Current A, Current B send into comparator U1 after first filter circuit and the second filter circuit filtering.
Above-mentioned comparator U1 comprises four operational amplifier that is connected in parallel: U1A, U1B, U1C, U1D, and wherein: the output (output voltage X) of forward current overcurrent protection value reference voltage modulate circuit is connected to the in-phase input end of operational amplifier U1B and operational amplifier U1D simultaneously; The output (output voltage X) of reverse current overcurrent protection value reference voltage modulate circuit is connected to the inverting input of operational amplifier U1A and operational amplifier U1C simultaneously; The output of first filter circuit (output voltage Current A) is connected to the in-phase input end of operational amplifier U1A and the inverting input of operational amplifier U1B simultaneously; The output of second filter circuit (output voltage Current B) is connected to the in-phase input end of operational amplifier U1C and the inverting input of operational amplifier U1D simultaneously.
Four operational amplifier U1A, U1B, U1C, U1D judge the signal of input respectively, and as Current A and Current B during greater than X or less than Y, operational amplifier will the output low level signal, thereby comparator U1 output low level signal reports an error.
As shown in Figure 2; current foldback circuit comprises the triggering holding circuit that links to each other with overcurrent decision circuitry triggering signal output, the reset circuit that links to each other with the triggering holding circuit; the input of above-mentioned reset circuit also links to each other with the reset signal output of motor main control chip, and the output of above-mentioned triggering holding circuit also drives chip with power device and links to each other.
Above-mentioned triggering holding circuit comprises comparator U2B, comparator U2C, comparator U2D and a bleeder circuit, and wherein: the inverting input of the normal phase input end of comparator U2B, comparator U2C, the reverse input end of comparator U2D all link to each other with bleeder circuit; The normal phase input end of comparator U2D links to each other with the negative pole of diode D2; The normal phase input end of the inverting input of comparator U2B and comparator U2C all links to each other with the output of comparator U2D; The output of comparator U2C links to each other with resistance R 12; The output of comparator U2B drives chip with power device and links to each other; The output of comparator U2D is also by capacitor C 7 ground connection; Comparator U2B power end connects 12V power supply, earth terminal ground connection; Overcurrent decision circuitry triggering signal output is connected to the inverting input of comparator U2B and the normal phase input end of comparator U2C simultaneously.When overcurrent takes place, overcurrent decision circuitry triggering signal output output low level signal reports an error, power device drives chip and receives that the signal that reports an error shuts output, FLTn makes comparator U2B to driving chip output high level signal and keeping simultaneously, even comparator U2B remains high level to the signal OE that drives chip output, make to drive signal and shut output, guarantee that power device do not work, until main control chip output RST signal system is resetted.
Above-mentioned reset circuit comprises resistance R 9, resistance R 10, capacitor C 5, capacitor C 6, diode D1, diode D2, resistance R 11, resistance R 12, and wherein: resistance R 9 is connected to the reset signal output of motor main control chip; After resistance R 9 and capacitor C 5 series connection, capacitor C 5 is connected to the positive pole of diode D2, and the negative pole of diode D2 is connected to the positive pole of diode D1, an end of resistance R 11, an end of resistance R 12, an end of capacitor C 3 and an input that triggers holding circuit simultaneously; The negative pole of the other end of resistance R 11 and diode D1 all is connected on the power supply VCC; The other end of resistance R 12 links to each other with an output that triggers holding circuit; The other end ground connection of above-mentioned capacitor C 6; Resistance R 10 1 ends are connected between capacitor C 5 and the diode D2, other end ground connection.
Above-mentioned bleeder circuit is made of capacitor C 8, resistance R 13, resistance R 14, and resistance R 13 connects power supply VCC, resistance R 14 ground connection, and resistance R 13 is connected with resistance R 14, and capacitor C 8 is connected in parallel on resistance R 14 two ends.
Above-mentioned triggering holding circuit also comprises capacitor C 9 and resistance R 15; The power end of comparator U2B is also by capacitor C 9 ground connection; The output of comparator U2B also connects power supply VCC by resistance R 15.
[embodiment 2]
On the basis of embodiment 1, the overcurrent decision circuitry of present embodiment also comprises the first input signal converting unit and the second input signal converting unit that is converted to voltage signal for the current signal with input, wherein: the first input signal converting unit comprises resistance R 5, resistance R 5 one end ground connection, the other end links to each other with the signal output part of current sensor one; The second input signal converting unit comprises resistance R 6, resistance R 6 one end ground connection, and the other end links to each other with the signal output part of current sensor two.
In the present embodiment, set up the first input signal converting unit and the second input signal converting unit, this overcurrent decision circuitry can be used for inserting the current sensor of current-output type, highly versatile.Current sensor one and current sensor two output current signals are converted to voltage signal Current A, Current B respectively through the first input signal converting unit and the second input signal converting unit can send into comparator U1 through after the filtering.In concrete the application, if an output voltage signal, an output current signal in current sensor one and the current sensor two, then also can be only in the current sensor of output current signal and filter circuit, set up an input signal converting unit, and another is not established, namely according to the actual demand setting of circuit.
In the present embodiment, above-mentioned first filter circuit comprises resistance R 7 and capacitor C 3, resistance R 7 and capacitor C 3 series connection, and resistance R 7 other ends link to each other with the signal output part of current sensor one, capacitor C 3 other end ground connection; Above-mentioned second filter circuit comprises resistance R 8 and capacitor C 4, resistance R 8 and capacitor C 4 series connection, and resistance R 8 other ends link to each other with the signal output part of current sensor two, capacitor C 4 other end ground connection.Capacitor C 3 and capacitor C 4 respectively are first filter circuit and the filtered output voltage of above-mentioned second filter circuit.
Below only be preferred implementation of the present invention, protection scope of the present invention also not only is confined to above-described embodiment, and all technical schemes that belongs under the thinking of the present invention all belong to protection scope of the present invention.Should be pointed out that for those skilled in the art the some improvements and modifications not breaking away under the principle of the invention prerequisite should be considered as protection scope of the present invention.