In the related technology, the measure of troubleshooting: when short trouble occurs, logical signal is issued to MCU
The fault processing module of (Microcontroller Unit, micro-control unit), MCU issue an instruction to adjust according to fault-signal
Power device turns on and off.Since the processing speed of MCU is in Millisecond, there is power device damages for this processing mode
Risk;It is the current class for improving power module that another, which avoids the measure of risk, thus will increase cost.
For electric machine controller, existing short-circuit protection circuit mostly uses greatly divider resistance to carry out electricity to power device
Pressure sampling, to achieve the purpose that short-circuit protection, as shown in Figure 1, signal is acquired when directly opening to MOSFET, it is not any
Filtering processing, this will lead to the signal into chip short-circuit detecting pin there are biggish interference, noise and spike, finally leads
The false triggering of short-circuit protection is caused, and short-circuit protection point can not be accurately determined.
In different operating environments, operating ambient temperature is not identical for controller, while as output power must improve,
The temperature of power device is constantly promoted.Temperature drift is very big on the influence of the conducting resistance of semiconductor devices, and temperature is higher, and conducting resistance is got over
Greatly, in this way under same output electric current, the signal that driving chip short-circuit protection detects pin sampling is not also identical, this will lead to short
Road protection point has large change, not can guarantee the normal work of system.
MCU is unable to satisfy the response time of short-circuit protection, and before MCU makes protection act, semiconductor devices exists because short
Road, which generates a large amount of heat, leads to the risk of damage.
In current entire car controller system, MCU can detecte short circuit and be protected within the time of Millisecond, but
It is that the electric current that power module passes through is very big, MCU has had resulted in the damage of device before trigger protection, and therefore, it is necessary to add
CPLD (Complex Programmable Logic Device, Complex Programmable Logic Devices) chip is to driving short-circuit signal
Latch and protected according to revolving speed, CPLD can be carried out protecting at us grades while be filtered inside can carrying out to signal.
To solve the above problems, present applicant proposes a kind of short-circuit detecting device of power switch in electric machine controller, needle
To noise and interference existing for semiconductor devices (power switch), the curent change present in switching process and diode
Caused by afterflow the problems such as shutdown spike, using TL431 as comparator, so that the mode for opening shutdown of triode is controlled,
To being compared after sampled voltage filtering, so as to reduce the interference of noise and interference to sampled signal.Also, it is directed to MCU
Response time longer reason, the application improve failure handling parts to the response speed of driving short-circuit protection signal, avoid half
Conductor device causes to damage because the MCU response time is relatively slow.
The utility model is intended to solve at least some of the technical problems in related technologies.
For this purpose, first purpose of the utility model is to propose a kind of short-circuit detecting of power switch in electric machine controller
Device, voltage compare control power switch open shutdown by way of, avoid power switch from damaging, while reducing into
This.
Second purpose of the utility model is to propose a kind of electric car.
In order to achieve the above object, the utility model first aspect proposes a kind of short circuit inspection of power switch in electric machine controller
Survey device, comprising: voltage sample module, the voltage sample module are connected with the first end of the power switch, the power
The second end of switch is grounded, and the control terminal of the power switch is connected with signal receiving end, wherein the voltage sample module exists
The power switch according to the signal receiving end receive control signal conduction when, according to the first end of the power switch with
Voltage between second end generates voltage sampling signal;Short-circuit detecting module, the short-circuit detecting module and the voltage sample
Module is connected, and the short-circuit detecting module generates short circuit when the voltage of the voltage sampling signal is greater than short-circuit protection voltage and protects
Protect signal.
The short-circuit detecting device of power switch in electric machine controller according to the present utility model, voltage sample module is in power
When switch receives control signal conduction according to signal receiving end, according to the voltage between the first end and second end of power switch
Voltage sampling signal is generated, short-circuit detecting module generates short circuit when the voltage of voltage sampling signal is greater than short-circuit protection voltage and protects
Protect signal.The device can voltage compare control power switch open shutdown by way of, avoid power switch from damaging, together
When reduce costs.
In addition, the short-circuit detecting device of power switch can also have following skill in the above-mentioned electric machine controller of the utility model
Art feature:
Specifically, the short-circuit detecting module includes short detection unit and signal output unit, the short-circuit detecting list
First to be connected with the voltage sample module, the short detection unit is also connected with the signal output unit, wherein described short
Road detection unit controls the signal output unit conducting when the voltage of the voltage sampling signal is greater than short-circuit protection voltage
To export the short-circuit protection signal.
Specifically, the short detection unit includes: first resistor, one end of the first resistor and default power supply phase
Even;The cathode of controllable voltage-stabilizing device, the controllable voltage-stabilizing device is connected with the other end of the first resistor, the controllable pressure stabilizing
The cathode of device is also connected with the signal output unit, the plus earth of the controllable voltage-stabilizing device, the controllable voltage-stablizer
The control electrode of part is connected with the voltage sample module, the reference voltage of the controllable voltage-stabilizing device and the short-circuit protection voltage
It is consistent.
Specifically, the signal output unit includes: second resistance, one end of the second resistance and the short-circuit detecting
Unit is connected;Triode, the control electrode of the triode are connected with the other end of the second resistance, and the first of the triode
Pole is connected with default power supply;3rd resistor, one end of the 3rd resistor are connected with the default power supply, the 3rd resistor
The other end is connected with the control electrode of the triode;Bleeder circuit, the bleeder circuit have first end, second end and partial pressure
End, the first end of the bleeder circuit are extremely connected with the second of the triode, the second end ground connection of the bleeder circuit,
In, the short-circuit protection signal is exported by partial pressure end.
Specifically, the signal output unit further include: the 4th resistance, one end of the 4th resistance are connected to described
Between one end of two resistance and the short detection unit;And first capacitor, the first capacitor and the 4th resistance are simultaneously
Connection connection.
Specifically, the voltage sample module includes: one-way conduction unit, and the one-way conduction unit is opened with the power
The first end of pass is connected, one-way conduction unit one-way conduction when the power switch is connected;Sampling unit, the sampling
Unit is connected with the one-way conduction unit and the short-circuit detecting module, and the sampling unit is in the one-way conduction unit list
Voltage sampling signal is generated according to the voltage between the first end and second end of the power switch to when conducting.
Specifically, the one-way conduction unit includes first diode, the cathode of the first diode and the power
The first end of switch is connected;The sampling unit includes the 5th resistance, the 6th resistance and the 7th resistance, wherein the 5th electricity
One end of resistance is connected with the anode of the first diode, one end of the 6th resistance and the other end phase of the 5th resistance
Even, the other end of the 6th resistance is connected with the signal receiving end, one end of the 7th resistance and the 6th resistance
One end be connected, the other end of the 7th resistance is connected with the short-circuit detecting module.
Specifically, the voltage sample module further includes filter unit, the first bleed-off circuit, the second bleed-off circuit and absorption
Circuit, wherein the filter unit includes the second capacitor and third capacitor, one end of second capacitor and the 5th resistance
The other end be connected, the other end of second capacitor ground connection, one end of one end of the third capacitor and the 7th resistance
It is connected, the other end ground connection of the third capacitor;First bleed-off circuit includes the second diode, second diode
Cathode is connected with one end of the third capacitor, and the anode of second diode is connected with the other end of the third capacitor;
Second bleed-off circuit includes third diode, and the anode of the third diode is connected with one end of second capacitor,
The cathode of the third diode is connected with the signal receiving end;The absorption circuit include the 4th diode, the described 4th
The anode of diode is connected with the other end of the 7th resistance, cathode and the third diode of the 4th diode
Anode is connected.
Specifically, the electric machine controller includes control circuit, driving circuit and is connected to the control circuit and institute
The logic control device between driving circuit is stated, the driving circuit is for driving the power switch, wherein the short circuit inspection
Module is surveyed to be connected with the logic control device to export the short-circuit protection signal, the logic to the logic control device
Control device carries out short-circuit guarantor to the power switch by the driving circuit after receiving the short-circuit protection signal
Shield.
In order to achieve the above objectives, the utility model second aspect proposes a kind of electric car comprising above-mentioned motor
The short-circuit detecting device of power switch in controller.
The electric car of the utility model passes through the short-circuit detecting device of power switch in above-mentioned electric machine controller, energy
Enough power switch is avoided to damage, reduced costs simultaneously.
The additional aspect of the utility model and advantage will be set forth in part in the description, partially will be from following description
In become obvious, or recognized by the practice of the utility model.
Specific embodiment
The embodiments of the present invention are described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning
Same or similar element or element with the same or similar functions are indicated to same or similar label eventually.Below by ginseng
The embodiment for examining attached drawing description is exemplary, it is intended to for explaining the utility model, and should not be understood as to the utility model
Limitation.
Below with reference to the accompanying drawings describe in the utility model embodiment electric machine controller the short-circuit detecting device of power switch and
Electric car with the device.
Fig. 2 is that the structure of the short-circuit detecting device of power switch in the electric machine controller according to the utility model embodiment is shown
It is intended to.
As shown in Fig. 2, in the electric machine controller of the utility model embodiment power switch short-circuit detecting device can include:
Voltage sample module 100 and short-circuit detecting module 200.
Wherein, voltage sample module 100 is connected with the first end D of power switch Q2, the second end S ground connection of power switch Q2
The control terminal G (control electrode) of GND, power switch Q2 are connected with signal receiving end, wherein voltage sample module 100 is opened in power
When pass Q2 receives control signal conduction according to signal receiving end, according to the first end D (drain electrode) of power switch Q2 and second end S
Voltage between (source electrode) generates voltage sampling signal.Short-circuit detecting module 200 is connected with voltage sample module 100, short circuit inspection
It surveys module 200 and generates short-circuit protection signal when the voltage of voltage sampling signal is greater than short-circuit protection voltage.
That is, short-circuit detecting module 200 is detected when power switch Q2 is opened;It is turned off in power switch Q2
When, short-circuit detecting module 200 is without detection.For example, when control signal (PWM (Pulse Width Modulation, pulse
Width modulated) signal) level when becoming high level from low level, power switch Q2 conducting can generate voltage sample letter at this time
Number, short-circuit detecting module 200 obtains the voltage value of voltage sampling signal, and is compared with short-circuit protection voltage, when voltage is adopted
When the voltage of sample signal is greater than short-circuit protection voltage, short-circuit detecting module 200 generates short-circuit protection signal, to prevent power switch
When opening saturation voltage drop increase, i.e. Vds increase, caused by power switch overcurrent damage, while guarantee be not in false triggering
Failure.Similarly, when the level for controlling signal becomes low level from high level, power switch Q2 shutdown, short-circuit detecting module
200 detect without short-circuit protection.
One embodiment according to the present utility model, as shown in figure 3, short-circuit detecting module 200 includes short detection unit
210 and signal output unit 220, short detection unit 210 be connected with voltage sample module 100, short detection unit 210 also with
Signal output unit 220 is connected, wherein short detection unit 210 is greater than short-circuit protection voltage in the voltage of voltage sampling signal
When, the control conducting of signal output unit 210 is with output short circuit protection signal.
One embodiment according to the present utility model, as shown in figure 4, short detection unit 210 can include: first resistor R1
With controllable voltage-stabilizing device (for example, TL431), wherein one end of first resistor R1 is connected with default power supply (+15V), controllable pressure stabilizing
The cathode of device TL431 is connected with the other end of first resistor R1, and the cathode of controllable voltage-stabilizing device TL431 also exports with signal single
Member 220 is connected, the plus earth of controllable voltage-stabilizing device TL431, the control electrode and voltage sample module of controllable voltage-stabilizing device TL431
100 are connected, and the reference voltage of controllable voltage-stabilizing device TL431 is consistent with short-circuit protection voltage.
One embodiment according to the present utility model, as shown in figure 4, signal output unit 220 can include: second resistance
R2, triode Q1,3rd resistor R3, bleeder circuit 221.Wherein, one end of second resistance R2 and 210 phase of short detection unit
Even.The control electrode of triode Q1 is connected with the other end of second resistance R2, and the first pole of triode Q1 is connected with default power supply.The
One end of three resistance R3 is connected with default power supply, and the other end of 3rd resistor R3 is connected with the control electrode of triode Q1.Partial pressure electricity
There is first end, second end and partial pressure end, the first end of bleeder circuit 221 to be extremely connected with the second of triode Q1 on road 221, divide
The second end of circuit 221 is grounded, wherein by dividing end output short circuit protection signal.Wherein, bleeder circuit may include the 8th electricity
Hinder R8 and the 9th resistance R9.
One embodiment according to the present utility model, as shown in figure 4, signal output unit 220 may also include that the 4th resistance
R4 and first capacitor C1, wherein one end of the 4th resistance R4 be connected to second resistance R2 one end and short detection unit 210 it
Between, first capacitor C1 is connected in parallel with the 4th resistance R4.
One embodiment according to the present utility model, as shown in figure 3, voltage sample module 100 can include: one-way conduction list
Member 110 and sampling unit 120, wherein one-way conduction unit 110 is connected with the first end of power switch Q2, one-way conduction unit
110 power switch Q2 be connected when one-way conduction.Sampling unit 120 and 200 phase of one-way conduction unit 110 and short-circuit detecting module
Even, sampling unit 120 is in one-way conduction 110 one-way conduction of unit, according between the first end and second end of power switch Q2
Voltage generate voltage sampling signal.
One embodiment according to the present utility model, as shown in figure 4, one-way conduction unit 110 includes first diode D1,
The cathode of first diode D1 is connected with the first end of power switch Q2.Sampling unit 120 may include the 5th resistance R5, the 6th electricity
Hindering R6 and the 7th resistance R7, wherein one end of the 5th resistance R5 is connected with the anode of first diode D1, and the one of the 6th resistance R6
End is connected with the other end of the 5th resistance R5, and the other end of the 6th resistance R6 is connected with signal receiving end, and the one of the 7th resistance R7
End is connected with one end of the 6th resistance R6, and the other end of the 7th resistance R7 is connected with short-circuit detecting module 200.
Wherein, the 5th resistance R5 is current-limiting resistance, and first diode D1 is backward dioded, is connected for power switch Q2
When, acquisition Vds voltage provides conducting circuit, prevents higher voltage damage circuit devcie between drain electrode and source electrode, plays simultaneously
Buffer action is not detected in power switch Q2 shutdown.
One embodiment according to the present utility model, as shown in Figure 3 and Figure 4, voltage sample module 100 may also include filtering
Unit 130, the first bleed-off circuit 140, the second bleed-off circuit 150 and absorption circuit 160.Wherein, filter unit 130 may include
Two capacitor C2 and third capacitor C3, one end of the second capacitor C2 are connected with the other end of the 5th resistance R5, and the second capacitor C2's is another
One end ground connection, one end of third capacitor C3 are connected with one end of the 7th resistance R7, the other end ground connection of third capacitor C3, and filtering is single
Member 130 can reduce interference of the noise to voltage sampling signal.
First bleed-off circuit 140 may include the cathode and the one of third capacitor C3 of the second diode D2, the second diode D2
End is connected, and the anode of the second diode D2 is connected with the other end of third capacitor C3.Second bleed-off circuit 150 may include the three or two
The anode of pole pipe D3, third diode D3 are connected with one end of the second capacitor C2, and the cathode and signal of third diode D3 receives
End is connected.Wherein, the second diode D2 provides bleed-off circuit, third diode D3 to prevent the both ends 3rd resistor C3 from generating negative pressure
Voltage for the storage of the second both ends capacitor C2 provides bleed-off circuit.
Absorption circuit 160 may include the 4th diode D4, the other end of the anode and the 7th resistance R7 of the 4th diode D4
It is connected, the cathode of the 4th diode D4 is connected with the anode of third diode D3.Wherein, the 4th diode D4 sampling obtains
Vds peak voltage provides absorption circuit.
The working principle of the circuit is described below in detail:
When power switch Q2 conducting, short-circuit detecting module 200 is detected;When power switch Q2 shutdown, reversed two
Pole pipe D1 plays barrier action, and short-circuit detecting module 200 is without detection.Specially following two process:
Process 1: when the level for controlling signal (pwm signal) becomes high level from low level, the gate pole of power switch Q2
Current potential is got higher by low, and power switch Q2 conducting, drain electrode and source electrode are open-minded.5th resistance R5, the 6th resistance R6, backward dioded D1
Circuit is constituted with Rdson (wherein, Rdson is internal resistance when Q2 is connected between drain electrode and source electrode, is not shown in the figure).At this time in A
The available potential value of point, and this potential value is compared with the reference voltage 2.5V of TL431, when the current potential of A point is greater than
When 2.5V, TL431 output end is low level, so that trigger triode Q1 is connected, presets power supply (+15V) through resistor voltage divider circuit
221 (the 8th resistance R8 and the 9th resistance R9) partial pressure, so that (wherein, first capacitor C1 can for the available voltage value in the end CS
To accelerate the dynamic response of triode Q1), the value for eventually arriving at the short-circuit protection detection pin of gate pole predrive chip will be lower than
Short-circuit protection triggering level, guarantee will not false triggering failures.
Short-circuit protection inspection is finally-transmitted in addition, can change by modifying the resistance value of the 8th resistance R8 and the 9th resistance R9
Survey the signal level of pin.
Process 2: when the level for controlling signal (pwm signal) becomes low level from high level, the gate pole of power switch Q2
Current potential is lower by height, power switch Q2 shutdown, and since backward dioded D1 ends, the current potential for feeding back to predrive chip is 0, electricity
It is detected without short-circuit protection on road.The voltage of second both ends capacitor C2 storage is quickly released by third diode D3, to protect
Demonstrate,prove next process will not because capacitor both ends accumulate voltage due to there is a phenomenon where driving malfunction false triggerings.
One embodiment according to the present utility model, as shown in figure 5, electric machine controller may include control circuit 300, driving
Circuit 400 and the logic control device 500 being connected between control circuit 300 and driving circuit 400, driving circuit 400 are used
In driving power switch Q2, wherein short-circuit detecting module 200 is connected with to logic control device 500 with logic control device 500
Output short circuit protection signal, logic control device 500 is after receiving short-circuit protection signal, by driving circuit 400 to function
Rate switch Q2 carries out short-circuit protection.
Specifically, increase CPLD in MCU and driving chip, by providing the original driving pwm signal of driving power, to connect
The direct correlation device of PWM is received and sent, handles driving malfunction information at the first time.CPLD is programmable logic device, response
Time is ns grades, internal after receiving driving malfunction signal to carry out logical comparison and determine, exports the PWM based on safeguard measure
Level signal, day provided that current drive capability deficiency when, the output current capacity of buffer, short-circuit detecting can be increased
It is as shown in Figure 6 with the signaling path of protection.
To sum up, short-circuit protection point is set near a fixed value by the application, is compared control triode by voltage and is led
Logical/shutdown and divider resistance form detect signal.Voltage comparison is carried out with TL431, reaches control triode
ON/OFF effectively reduces cost.It is latched by the driving signal fed back using CPLD to gate pole, the reaction time
Rapidly, it can be detected fault-signal in several us and protected.
In conclusion in electric machine controller according to the present utility model power switch short-circuit detecting device, voltage sample
Module is when power switch receives control signal conduction according to signal receiving end, according to the first end and second end of power switch
Between voltage generate voltage sampling signal, short-circuit detecting module voltage sampling signal voltage be greater than short-circuit protection voltage when
Generate short-circuit protection signal.The device can be carried out by the way that short-circuit protection point to be fixed near a steady state value using TL431
Voltage compares, and control power switch opens shutdown, avoids power switch from damaging, reduces costs simultaneously.
Fig. 7 is the block diagram according to the electric car of the utility model embodiment.
As shown in fig. 7, the electric car 1000 of the utility model embodiment, it may include power in above-mentioned electric machine controller
The short-circuit detecting device 1100 of switch.
The electric car of the utility model passes through the short-circuit detecting device of power switch in above-mentioned electric machine controller, energy
Enough power switch is avoided to damage, reduced costs simultaneously.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example
Point is contained at least one embodiment or example of the utility model.In the present specification, to the schematic table of above-mentioned term
It states and is necessarily directed to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be with
It can be combined in any suitable manner in any one or more of the embodiments or examples.In addition, without conflicting with each other, this field
Technical staff can by the feature of different embodiments or examples described in this specification and different embodiments or examples into
Row combination and combination.
In addition, term " first ", " second " are used for descriptive purposes only and cannot be understood as indicating or suggesting relative importance
Or implicitly indicate the quantity of indicated technical characteristic.Define " first " as a result, the feature of " second " can be expressed or
Implicitly include at least one this feature.The meaning of " plurality " is at least two, such as two in the description of the present invention,
It is a, three etc., unless otherwise specifically defined.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes
It is one or more for realizing custom logic function or process the step of executable instruction code module, segment or portion
Point, and the range of preferred embodiments of the present invention includes other realization, wherein can not be by shown or discussion
Sequence, including according to related function by it is basic simultaneously in the way of or in the opposite order, Lai Zhihang function, this should be by this
The embodiment person of ordinary skill in the field of utility model is understood.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use
In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for
Instruction execution system, device or equipment (such as computer based system, including the system of processor or other can be held from instruction
The instruction fetch of row system, device or equipment and the system executed instruction) it uses, or combine these instruction execution systems, device or set
It is standby and use.For the purpose of this specification, " computer-readable medium ", which can be, any may include, stores, communicates, propagates or pass
Defeated program is for instruction execution system, device or equipment or the dress used in conjunction with these instruction execution systems, device or equipment
It sets.The more specific example (non-exhaustive list) of computer-readable medium include the following: there is the electricity of one or more wirings
Interconnecting piece (electronic device), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory
(ROM), erasable edit read-only storage (EPROM or flash memory), fiber device and portable optic disk is read-only deposits
Reservoir (CDROM).In addition, computer-readable medium can even is that the paper that can print described program on it or other are suitable
Medium, because can then be edited, be interpreted or when necessary with it for example by carrying out optical scanner to paper or other media
His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each section of the utility model can be realized with hardware, software, firmware or their combination.?
In above embodiment, what multiple steps or method can be executed in memory and by suitable instruction execution system with storage
Software or firmware are realized.Such as, if realized with hardware in another embodiment, can be under well known in the art
Any one of column technology or their combination are realized: having a logic gates for realizing logic function to data-signal
Discrete logic, with suitable combinational logic gate circuit specific integrated circuit, programmable gate array (PGA), scene
Programmable gate array (FPGA) etc..
Those skilled in the art are understood that realize all or part of step that above-described embodiment method carries
It suddenly is that relevant hardware can be instructed to complete by program, the program can store in a kind of computer-readable storage medium
In matter, which when being executed, includes the steps that one or a combination set of embodiment of the method.
In addition, can integrate in a processing module in each functional unit in each embodiment of the utility model,
It can be each unit to physically exist alone, can also be integrated in two or more units in a module.It is above-mentioned integrated
Module both can take the form of hardware realization, can also be realized in the form of software function module.The integrated mould
If block is realized and when sold or used as an independent product in the form of software function module, it also can store and counted at one
In calculation machine read/write memory medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..Although having been shown and retouching above
The embodiments of the present invention are stated, it is to be understood that above-described embodiment is exemplary, and should not be understood as practical new to this
The limitation of type, those skilled in the art can be changed above-described embodiment in the scope of the utility model, repair
Change, replacement and variant.