A kind of detection method of high voltage battery pack system total voltage and insulation resistance
Technical field
The present invention relates to a kind of voltage and resistor detection methods, particularly, are related to a kind of high voltage battery pack system total voltage
With the detection method of insulation resistance, belong to battery technology field.
Background technique
In electric car and large-scale energy-storage battery group system, voltage is often very high, generally several hectovolts, and high-voltage safety is anti-
Shield is an important project of high voltage battery pack system.Under normal condition, battery system positive and negative busbar and car body (or equipment
Shell) there is good insulation performance, but in use, the problems such as due to vibration, device aging, humidity, corrosion
Insulation breakdown is caused, it is possible that electric leakage, influences the personal safety of passenger or operator.So in such high-tension battery group
In system, the insulation performance of real-time detecting system is necessary.After detecting system insulation failure, phase should be taken
The measure answered prevents passenger or operating personnel's electric shock.According to Domestic Correlative Standard, battery system positive and negative busbar and the earth (car body)
Between insulation resistance should be not less than 100 Europe/volt.
Existing high voltage battery pack system electrical leakage detecting method have signal injection method, current sensor method, accessory power supply method,
Balanced bridge method etc., these methods are often due to cost is excessively high, detection algorithm is single, precision is poor, poor anti jamming capability, nothing
Meeting in the various situations (such as: unilateral electric leakage, bilateral electric leakage, unilateral near short circuit etc.) of method reply electric leakage, the detection process having
System insulation performance etc. is destroyed, can not thoroughly be solved the problems, such as.
High voltage battery pack system (high-pressure side) is often to be isolated with battery management system (low-pressure side), existing total voltage
Detection method generally uses analog isolation and number two kinds of detection modes of isolation.Analog isolation generally use linear optical coupling or every
From amplifier, signal processing, AD sampling are carried out in low-pressure side;Number isolation generally require high-pressure side place a single-chip microcontroller or
Person A-D converter ADC reuses digital isolator part (optocoupler, magnetic coupling etc.) transmission digital signal.In both methods, high pressure
The power supply of lateral circuit element is needed using isolated power supply module due to that cannot use on high-tension side power supply on high-tension side circuit elements
Part power supply.Both methods is due to having used the devices such as signal isolation device, isolated power supply module, so that structure is complicated, cost
Also relatively high, reliability is also unable to get guarantee.
In high voltage battery pack system, especially on-vehicle battery group system, the equipment such as inverter, electric machine controller work
When, high pressure can be detected and cause very big interference.Especially when insulation resistance detects, insulation resistance detection signal is extremely faint,
It is highly susceptible to interfere.In addition in conventional algorithm, the deviation of AD sampling very little will result in tens kilo-ohms of insulation resistance very
To up to a hundred kilo-ohms of error.In some detection systems, high-frequency noise is filtered out using the methods of low-pass filter, digital averaging,
Often it is unable to reach good effect.
Summary of the invention
To solve the above-mentioned problems, the present invention provides the inspections of total voltage and insulation resistance in a kind of high voltage battery pack system
Survey method, circuit of the invention mainly consist of three parts: the detection resistor voltage divider network being made of resistance R1, R2, R3, R4,
Switch Kp, Kn, signal processing circuit OP1, OP2, OP3, OP4, OP5, OP6, C1 ~ C2, R5 ~ R14.In addition, Rp, Rn are to be measured exhausted
Edge resistance, BT1 are high-tension battery group, and Earth is the earth or car body.
Resistance R1 and resistance R2 is the detection divider resistance between positive electrode bus and the earth (car body), resistance R1 and resistance R2
One end of series connection, resistance R1 is connected to positive electrode bus, a termination the earth (car body) of resistance R2 by switch Kp;Likewise, electric
The detection divider resistance that R3 and resistance R4 is negative electrode bus and the earth (car body) is hindered, resistance R3 connects with resistance R4, resistance R4's
One termination the earth (car body), one end of resistance R3 is connected to negative electrode bus by switch Kn.Switch Kp and switch Kn press off for height
It closes, for controlling the connection of positive and negative busbar and the earth (car body), by the control of external microcontroller.
Signal processing circuit OP1, OP2, OP3, OP4, OP5, OP6, C1 ~ C2, R5 ~ R14 constitute two paths of signals processing circuit,
Wherein, signal processing circuit OP1, OP3, OP5 constitutes positive signal processing circuit, and signal processing circuit OP2, OP4, OP6 are constituted
Negative signal processing circuit.The non-inverting input terminal of signal processing circuit OP1 is connect with resistance R1 and resistance R2, reverse input end with
Output connection, constitutes a voltage follower, helps to improve the input impedance of detection circuit, reduces error.Signal processing electricity
Road OP3, capacitor C1, resistance R5 constitute a high-pass filter, extract high frequency section;Signal processing circuit OP5 and resistance R7,
R8, R9, R10 constitute a difference amplifier, subtract High-frequency Interference.Equally, the non-inverting input terminal of signal processing circuit OP2 and electricity
R3, R4 connection are hindered, inverting input terminal connect with output end, constitutes a voltage follower, help to improve the defeated of detection circuit
Enter impedance, reduces error.Signal processing circuit OP4, capacitor C2, resistance R6 constitute a high-pass filter, extract high frequency section;
Signal processing circuit OP6 and resistance R11, R12, R13, R14 constitute a difference amplifier, subtract High-frequency Interference.
Further, the specific detection process and algorithm principle of this programme are as follows:
1.Kp, Kn are closed at, and single-chip microcontroller is to V1And V2It samples, and calculates Vp, Vn, then total voltage are as follows:
V=Vp+Vn(is wherein: the total voltage that V Kp, Kn are closed at, positive electrode bus and the earth when Vp Kp, Kn are closed at
Voltage between (car body), voltage when Vn Kp, Kn are closed between negative electrode bus and the earth (car body));
2.Kp closure, Kn are disconnected, at this time V2Output is 0, and single-chip microcontroller is to V1It is sampled, calculates Vp ', Vp '=V-Vn '
(wherein: voltage when Vp ' is Kp closure, Kn disconnection between positive electrode bus and the earth (car body), when Vn ' disconnects for Kp closure, Kn
Voltage between negative electrode bus and the earth (car body));
3.Kp is disconnected, Kn closure, at this time V1Output is 0, and single-chip microcontroller is to V2It is sampled, calculates Vn ", Vn "=V-Vp "
(wherein: voltage when Vp " is Kp disconnection, Kn closure between positive electrode bus and the earth (car body), when Vn " is that Kp is disconnected, Kn is closed
Voltage between negative electrode bus and the earth (car body));
Further, Vp, Vn under three different conditions are obtained according to above-mentioned three kinds of switch states.According to following algorithm
Principle can calculate Rp, Rn, under normal circumstances, can obtain Rp, Rn according to following algorithm principle.
1, according to formula 1, Rn is obtained:
Formula 1
2, according to formula 2, Rp is obtained:
Formula 2
Still further, if when differing greatly according to the both sides insulation resistance that formula 1 and formula 2 are calculated, then press
The insulation resistance on the smaller one side of resistance is calculated according to following algorithm:
Assuming that Rp > > Rn, then can be obtained according to formula 3 and calculate more accurate Rn value than the first step.
Formula 3
Similarly, if Rn > > Rp, Rp value can be obtained according to formula 4.
Formula 4
In actual use, since the electric current in detection resistance only has microampere order even lower, belong to small-signal, so
It is highly susceptible to external differential mode, common mode interference, it is huge on testing result influence, especially in on-vehicle battery group system, inversion
Device and the interference of electric machine controller bring high frequency common mode, can not often be filtered out clean using general low-pass filter.For this purpose,
In the present invention, signal processing circuit uses a kind of special filtering method.This method is simple, can thoroughly filter out substantially known
The High-frequency Interference of frequency range.
In view of interference signal is typically all relatively high frequency, for example, the interference of electric machine controller bring for 10 ~
20kHz, and the signal of detection of electrical leakage is substantially direct current signal, interference signal and measured signal frequency phase-difference are bigger, so
Following methods can be used to be filtered:
1, voltage follower (OP1, OP2) is used first, obtains raw voltage signals Vori.
2, original signal (Vori) inner high-frequency signal is extracted using high-pass filter (OP3, OP4), removes direct current component,
Obtain AC signal Vac;
, again with difference amplifier (OP5, OP6) with original signal (Vori) subtract high-frequency signal (Vac), it can filter out
High frequency section in original signal, substantially available very flat direct current signal, only a little since phase delay produces
Raw burr signal, this burr signal can be filtered easily using RC filter.
Since the resistor network of insulation measurement and the resistor network of operational amplifier have matching error, so first
First separate calibrations are carried out to the gain on both sides.
Switch Kp, Kn in foregoing circuit should also may be selected two using smaller, the pressure-resistant switch greater than 3000V that leaks electricity
High-voltage MOS pipe series connection.
Resistor network R1, R2, R3, R4 described in foregoing circuit preferentially use Low Drift Temperature, high voltage, high value, high-precision
The resistance of degree.
The operational amplifier of signal processing described in foregoing circuit should preferentially use low input offset voltage, low defeated
Enter the high speed operation amplifier of bias current, and resistor network preferentially selects Low Drift Temperature, high-precision resistance.
Beneficial effect
Present invention employs the framework of simple low cost, advanced algorithm, innovation signal processing method, realize in real time
The total voltage of battery pack system, positive and negative busbar are detected to the insulation resistance of the earth (car body), and strong antijamming capability, in various evils
Under bad electromagnetic environment especially vehicle environment and in the case where various unilateral electric leakages, bilateral electric leakage, unilateral near short circuit,
It has still ensured that good precision, can effectively improve the safety of high voltage battery pack system.
Detailed description of the invention
Attached drawing 1 is circuit structure diagram of the invention.
Specific embodiment
The present invention is as electric car BMS(battery management system) in a standalone module, pass through CAN bus and BMS
Main control module communication, the insulation performance of real-time detecting system, and reported by CAN bus to master control, it is broken once insulation occurs
Bad situation, master control take appropriate measures in time, and relevant movement includes: cutting contactor, sound-light alarm etc..
Insulation monitoring module includes following components: battery pack positive and negative busbar (B+, B-), high-voltage switch gear (Kp, Kn), electricity
Hinder network (R1, R2, R3, R4), signal processing circuit (OP1, OP2, OP3, OP4, OP5, OP6), the earth (car body).Rp and Rn points
It is not the insulation resistance between positive and negative busbar and the earth (car body).By external microcontroller control and AD sampling, and always by scene
Line is transmitted to main control unit.
In the present embodiment, battery pack system nominal voltage is 288V, up to 330V, minimum 180V, is pressed in design
It is designed according to the grade of 400V.
In module Kp be positive it is high compress switch, for control positive electrode bus and the earth (car body) between on-off;Kn is negative
It is high to compress switch, for controlling the on-off between negative electrode bus and the earth (car body);Kp and Kn has selected the panasonic model to be
The PhotoMOS of AQV258, pressure resistance are 1500V.
R1, R2 in resistor network constitute the resistor voltage divider network of anode, consider that system cannot be destroyed in detection process
Insulation performance, while considering that voltage is relatively high in battery pack system, resistance is pressure-resistant and PCB creepage distance requirement, R1 selects four
510K, 1% resistance series connection, R2 using 20K, 1% resistance.
Similarly, R3 and R4 constitutes the resistor voltage divider network of cathode, and R3 selects the resistance series connection of four 510K, 1%, and R4 is adopted
With 20K, 1% resistance.Intrinsic standoff ratio is 205:1 in this way, and the maximum voltage of operational amplifier input is 1.95V.
The operational amplifier of signal processing circuit portion point selects the high-speed computation of low input offset voltage, Low-bias Current to put
Big device, in the present embodiment, high speed operation amplifier select model AD8629;Wherein the resistors match of high-pass filter can
It is combined using the RC of 0.1uF and 1K, cutoff frequency 4K.The differential amplification gain of OP5 and OP6 be 2 times, resistance use 10K, 1%
And 20K, 1% combination.
In the present embodiment, the single-chip microcontroller of control and sampling uses automotive grade high reliability single-chip microcontroller, and ADC is 12, benchmark
Source is 4.096V.
Specific detection process and algorithm are as follows:
, Kp, Kn be closed at, single-chip microcontroller is to V1And V2It samples, and calculates Vp, Vn, then total voltage are as follows:
V=Vp+Vn(is wherein: the total voltage that V Kp, Kn are closed at, positive electrode bus and the earth when Vp Kp, Kn are closed at
Voltage between (car body), voltage when Vn Kp, Kn are closed between negative electrode bus and the earth (car body));
2, Kp is closed, and Kn is disconnected, at this time V2Output is 0, and single-chip microcontroller is to V1It is sampled, calculates Vp ', Vn '=V '-Vp '
(wherein: V ' is Kp closure, and total voltage when Kn is disconnected, Vp ' is Kp closure, positive electrode bus and the earth (car body) when Kn is disconnected
Between voltage, Vn ' is Kp closure, negative electrode bus when Kn is disconnected and the voltage greatly between (car body));
3, Kp is disconnected, Kn closure, at this time V1Output is 0, and single-chip microcontroller is to V2It is sampled, calculates Vn ", Vp "=V "-Vn "
(wherein: V " is Kp disconnection, and total voltage when Kn is closed, Vp " is Kp disconnection, positive electrode bus and the earth (car body) when Kn is closed
Between voltage, Vn " is that Kp is disconnected, negative electrode bus when Kn is closed and the voltage greatly between (car body));
Further, Vp, Vn under three different conditions are obtained according to above-mentioned three kinds of switch states.According to following algorithm
Principle can calculate Rp, Rn.Under normal circumstances, Rp, Rn can be obtained according to following algorithm principle.
1, according to formula 1, Rn is obtained:
Formula 1
2, according to formula 2, Rp is obtained:
Formula 2
Still further, if when differing greatly according to the both sides insulation resistance that formula 1 and formula 2 are calculated, then press
The insulation resistance on the smaller one side of resistance is calculated according to following algorithm:
Assuming that Rp > > Rn, then can be obtained according to formula 3 and calculate more accurate Rn value than the first step.Similarly, if Rn > >
Then Rp value can be obtained according to formula 4 in Rp.
Formula 3
Formula 4
The above description is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all utilizations
Equivalent structure or equivalent flow shift made by description of the invention and accompanying drawing content is applied directly or indirectly in other correlations
Technical field, be included within the scope of the present invention.