A kind of voltage detection method of electric machine controller for motor vehicle and system
Technical field
The present invention relates to the voltage detecting technical field of electric machine controller for motor vehicle, particularly relate to a kind of voltage detection method and system of electric machine controller for motor vehicle.
Background technology
Pure electric sedan operationally, if now main relay disconnects suddenly for a certain reason, and now electric machine controller is also working, especially when being in generating state, because the power supply in the external world interrupts suddenly, motor is due to self-induction action, can produce very high peak voltage, and the time is quite short, 10ms just may can rise to 1000V, if now can not close IGBT in time, this voltage directly may will cause the damage of IGBT.
Existing voltage detecting circuit, there is the function of voltage sample, but not there is the function of itself being carried out to self-inspection, when voltage detecting circuit itself goes wrong, when causing detection voltage inaccurate, thus likely cause electric machine controller to turn off IGBT, such motor would not work by mistake, causing in traveling and occur power interruption, is breakneck thing.
In addition, to the software process of the output signal of above-mentioned voltage detecting circuit in prior art, be only simple low-pass filtering algorithm, thus voltage feedback value may be caused inaccurate, or real-time voltage can not be detected in time, do not reach the object of protection.
Summary of the invention
The object of the invention is to overcome deficiency of the prior art, provide a kind of voltage detection method and system of electric machine controller for motor vehicle.
For achieving the above object, technical scheme of the present invention is:
A voltage detection method for electric machine controller for motor vehicle, comprising:
Self-inspection is carried out to voltage detecting circuit, obtains self-detection result;
Judge that whether described voltage detecting circuit is normal according to described self-detection result;
If so, then obtain the described output voltage of voltage detecting circuit current time and the output voltage of previous moment, and calculate the difference that the former deducts the latter;
Judge whether described difference is less than the difference threshold of setting; If so, then continue to judge the size of described difference;
If described difference is greater than zero, then determine that the busbar voltage of described electric machine controller is the first offset that the output voltage of described previous moment adds setting; If described difference is less than zero, then determine that described busbar voltage is the second offset that the output voltage of described previous moment deducts setting; If described difference equals zero, then determine that described busbar voltage is the output voltage of described previous moment.
Preferably, described self-inspection is carried out to voltage detecting circuit, obtains self-detection result and comprise:
According to the output signal of described voltage detecting circuit, obtain the first redundancy voltage and the second redundancy voltage;
Determining the absolute value of the difference of described first redundancy voltage and the second redundancy voltage, is described self-detection result.
Preferably, describedly judge whether described voltage detecting circuit normally comprises according to described self-detection result:
Judge whether described self-detection result is less than the self-inspection threshold value of setting;
If so, then determine that described voltage detecting circuit is normal.
Preferably, described self-inspection threshold value is 0.3V.
Preferably, described method also comprises fault judgment method, and described fault judgment method comprises:
When described voltage detecting circuit is abnormal, determine that described electric machine controller breaks down; Or
When described difference is more than or equal to described difference threshold, determine that described electric machine controller breaks down; Or
When described busbar voltage is more than or equal to the busbar voltage threshold value of setting, determine that described electric machine controller breaks down.
Preferably, described difference threshold is 10V, and described first offset is 6V, and described second offset is 1V.
A voltage detecting system for electric machine controller for motor vehicle, comprising:
Voltage detecting circuit;
Self-test unit, for carrying out self-inspection to described voltage detecting circuit, obtains self-detection result;
According to described self-detection result, first judging unit, for judging that whether described voltage detecting circuit is normal;
Difference acquiring unit, during for being normal when described voltage detecting circuit, obtains the described output voltage of voltage detecting circuit current time and the output voltage of previous moment, and calculates the difference that the former deducts the latter;
Second judging unit, for judging whether described difference is less than the difference threshold of setting;
Busbar voltage determining unit, for being less than described difference threshold when described difference, and when described difference is greater than zero, determines that the busbar voltage of described electric machine controller is the first offset that the output voltage of described previous moment adds setting; When described difference is less than described difference threshold, and when described difference is less than zero, determine that described busbar voltage is the second offset that the output voltage of described previous moment deducts setting; When described difference is less than described difference threshold, and when described difference equals zero, determine that described busbar voltage is the output voltage of described previous moment.
Preferably, described self-test unit comprises:
Self-checking circuit, for the output signal according to described voltage detecting circuit, obtains the first redundancy voltage and the second redundancy voltage;
Self-detection result determining unit, for determining the absolute value of the difference of described first redundancy voltage and the second redundancy voltage, is described self-detection result.
Preferably, described self-checking circuit comprises:
First branch road, described first branch road comprises the first filtering circuit and the first voltage clamp circuit; And
Second branch road, described second branch road comprises the second filtering circuit and the second voltage clamp circuit;
Described output signal, sequentially through described first filtering circuit and the first voltage clamp circuit, obtains described first redundancy voltage; Described output signal, sequentially through described second filtering circuit and the second voltage clamp circuit, obtains described second redundancy voltage.
Preferably, described self-detection result determining unit comprises:
3rd judging unit, for judging whether described self-detection result is less than the self-inspection threshold value of setting;
Sub-determining unit, for when described self-detection result is less than described self-inspection threshold value, determines that described voltage detecting circuit is normal.
Beneficial effect of the present invention is, the voltage detection method of electric machine controller for motor vehicle of the present invention and system, be the Redundancy Design utilizing voltage detecting circuit on the one hand, reach the self-inspection effect to voltage detecting circuit, can detect whether voltage detecting circuit goes wrong; Utilize double-smoothing algorithm-slope filtering method and low-pass filtering method on the other hand; monitoring bus voltage value; ensure the real-time of bus voltage value and monitoredly rapidly to arrive, being convenient to diagnosis and the process of overvoltage protection fault, reaching the object of protection power device.
Accompanying drawing explanation
Fig. 1 shows the process flow diagram of the voltage detection method of embodiment of the present invention electric machine controller for motor vehicle;
Fig. 2 shows the structural representation of the voltage detecting system of embodiment of the present invention electric machine controller for motor vehicle;
Fig. 3 shows the structural representation of voltage detecting circuit in the embodiment of the present invention;
Fig. 4 shows the structural representation of self-checking circuit in the embodiment of the present invention.
Embodiment
Be described below in detail embodiments of the invention, the example of described embodiment is shown in the drawings, and wherein same or similar label represents same or similar element or has element that is identical or similar functions from start to finish.Being exemplary below by the embodiment be described with reference to the drawings, only for explaining the present invention, and can not limitation of the present invention being interpreted as.
As shown in Figure 1, be the process flow diagram of the voltage detection method of embodiment of the present invention electric machine controller for motor vehicle, described voltage detection method comprises the following steps:
Step 101: self-inspection is carried out to voltage detecting circuit, obtains self-detection result.
Particularly, described self-inspection is carried out to voltage detecting circuit, obtains self-detection result and comprise:
According to the output signal of described voltage detecting circuit, obtain the first redundancy voltage and the second redundancy voltage; The absolute value determining the difference of described first redundancy voltage and the second redundancy voltage is described self-detection result.
Step 102: judge that whether described voltage detecting circuit is normal according to described self-detection result.
Particularly, judge whether described self-detection result is less than the self-inspection threshold value of setting; If so, then determine that described voltage detecting circuit is normal.Especially, described self-inspection threshold value is preferably 0.3V.
Step 103: if described voltage detecting circuit is normal, then obtain the output voltage U of described voltage detecting circuit current time (current sample time)
1and the output voltage U of previous moment (last sampling instant)
0, and calculate the former (U
1) deduct the latter (U
0) difference DELTA U.
Step 104: judge whether described difference DELTA U is less than the difference threshold Δ U of setting
e.Especially, described difference threshold Δ U
ebe preferably 10V.
Step 105: if then continue to judge the size of described difference DELTA U: if described difference DELTA U is greater than zero, then determine that the busbar voltage of described electric machine controller is the output voltage U of described previous moment
0add the first offset of setting.If described difference DELTA U is less than zero, then determine that described busbar voltage is the output voltage U of described previous moment
0deduct the second offset of setting.If described difference DELTA U equals zero, then determine that described busbar voltage is the output voltage U of described previous moment
0.Especially, described first offset is preferably 6V; Described second offset is preferably 1V.
What deserves to be explained is, the determination methods of above-mentioned steps 104 is slope filtering method, and the determination methods of above-mentioned steps 105 is low-pass filtering method.
Same with reference to Fig. 1, described voltage detection method also comprises fault judgment method, and described fault judgment method comprises the following steps:
When described voltage detecting circuit is abnormal, determine that described electric machine controller breaks down, send and close IGBT order; Or
When described difference is more than or equal to described difference threshold, determine that described electric machine controller breaks down, send and close IGBT order; Or
When described busbar voltage is more than or equal to the busbar voltage threshold value of setting, determine that described electric machine controller breaks down, send and close IGBT order.
The voltage detection method of electric machine controller for motor vehicle of the present invention, is the Redundancy Design utilizing voltage detecting circuit on the one hand, reaches the self-inspection effect to voltage detecting circuit, can detect whether voltage detecting circuit goes wrong; Utilize double-smoothing algorithm-slope filtering method and low-pass filtering method on the other hand; monitoring bus voltage value; ensure the real-time of bus voltage value and monitoredly rapidly to arrive, being convenient to diagnosis and the process of overvoltage protection fault, reaching the object of protection power device.
Accordingly, as shown in Figure 2, be the structural representation of the voltage detecting system of embodiment of the present invention electric machine controller for motor vehicle, described voltage detecting system comprises:
Voltage detecting circuit 201;
Self-test unit 202, for carrying out self-inspection to described voltage detecting circuit, obtains self-detection result;
According to described self-detection result, first judging unit 203, for judging that whether described voltage detecting circuit is normal;
Difference acquiring unit 204, during for being normal when described voltage detecting circuit, obtains the described output voltage of voltage detecting circuit current time and the output voltage of previous moment, and calculates the difference that the former deducts the latter;
Second judging unit 205, for judging whether described difference is less than the difference threshold of setting;
Busbar voltage determining unit 206, for being less than described difference threshold when described difference, and when described difference is greater than zero, determines that the busbar voltage of described electric machine controller is the first offset that the output voltage of described previous moment adds setting; When described difference is less than described difference threshold, and when described difference is less than zero, determine that described busbar voltage is the second offset that the output voltage of described previous moment deducts setting; When described difference is less than described difference threshold, and when described difference equals zero, determine that described busbar voltage is the output voltage of described previous moment.
As shown in Figure 3, be the structural representation of voltage detecting circuit in the embodiment of the present invention, described voltage detecting circuit 201 comprises the first shunt, the second shunt and differential amplifier 2016.
Particularly, described first comprises the first bleeder circuit 2011 in sequential series, tertiary voltage clamping circuit 2012 and the 3rd filtering circuit 2013 along separate routes, and the input end of described first bleeder circuit 2011 connects the first lead-in wire of described bus (input end of the first lead-in wire is WTC).Here, described first bleeder circuit 2011 comprises 6 divider resistances R501, R502, R503, R504, R505, R506 in sequential series; Tertiary voltage clamping circuit 2012 is two-diode clamp circuit, and the 3rd filtering circuit 2013 is a capacitor filter; And the free end of divider resistance R506 is as the first lead-in wire of the bus of the input end connection electric machine controller of the first bleeder circuit 2011.
Described second comprises the second bleeder circuit 2014 in sequential series and the 4th voltage clamp circuit 2015 along separate routes, and the input end of described second bleeder circuit 2014 connects the second lead-in wire of described bus (input signal of the second lead-in wire is expressed as WBE).Described second bleeder circuit 2014 comprises 6 divider resistances R509, R510, R511, R512, R513, R514 in sequential series; 4th voltage clamp circuit 2015 is two-diode clamp circuit; And the free end of described divider resistance R514 is as the second lead-in wire of the bus of the input end connection electric machine controller of the second bleeder circuit 2014.
The output terminal of described 3rd filtering circuit 2013 connects the first input end of described differential amplifier 2016, the output terminal of described 4th voltage clamp circuit 2015 connects the second input end of described differential amplifier 2016, and the output signal of described differential amplifier 2016 is the output signal U DC of described voltage detecting circuit 201.
Self-test unit in the embodiment of the present invention comprises self-checking circuit and self-detection result determining unit, and wherein, described self-checking circuit, for the output signal according to described voltage detecting circuit, obtains the first redundancy voltage and the second redundancy voltage.Described self-detection result determining unit, for determining the absolute value of the difference of described first redundancy voltage and the second redundancy voltage, is described self-detection result.Particularly, self-detection result determining unit comprises:
3rd judging unit, for judging whether described self-detection result is less than the self-inspection threshold value of setting;
Sub-determining unit, for when described self-detection result is less than described self-inspection threshold value, determines that described voltage detecting circuit is normal.
As shown in Figure 4, be the structural representation of self-checking circuit in the embodiment of the present invention, described self-checking circuit 202 comprises the first branch road and the second branch road.
Particularly, described first branch road comprises the first filtering circuit 2021 and the first voltage clamp circuit 2022, the output signal U DC of described voltage detecting circuit 201, sequentially through described first filtering circuit 2021 and the first voltage clamp circuit 2022, obtains the first redundancy voltage DSP1.Here, described first filtering circuit 2021 is a RC filtering circuit, and the first voltage clamp circuit 2022 is two-diode clamp circuit.
Described second branch road comprises the second filtering circuit 2023 and the second voltage clamp circuit 2024, the output signal U DC of described voltage detecting circuit 201, sequentially through described second filtering circuit 2023 and the second voltage clamp circuit 2024, obtains the second redundancy voltage DSP2.Here, described second filtering circuit 2023 is a RC filtering circuit, and the second voltage clamp circuit 2024 is two-diode clamp circuit.
The voltage detecting system of electric machine controller for motor vehicle of the present invention, is the Redundancy Design utilizing voltage detecting circuit on the one hand, reaches the self-inspection effect to voltage detecting circuit, can detect whether voltage detecting circuit goes wrong; Utilize double-smoothing algorithm-slope filtering method and low-pass filtering method on the other hand; monitoring bus voltage value; ensure the real-time of bus voltage value and monitoredly rapidly to arrive, being convenient to diagnosis and the process of overvoltage protection fault, reaching the object of protection power device.
Structure of the present invention, feature and action effect is described in detail above according to graphic shown embodiment; the foregoing is only preferred embodiment of the present invention; but the present invention does not limit practical range with shown in drawing; every change done according to conception of the present invention; or be revised as the Equivalent embodiments of equivalent variations; do not exceed yet instructions with diagram contain spiritual time, all should in protection scope of the present invention.