CN112763781A - Current sampling method for new energy automobile - Google Patents

Current sampling method for new energy automobile Download PDF

Info

Publication number
CN112763781A
CN112763781A CN202011503669.4A CN202011503669A CN112763781A CN 112763781 A CN112763781 A CN 112763781A CN 202011503669 A CN202011503669 A CN 202011503669A CN 112763781 A CN112763781 A CN 112763781A
Authority
CN
China
Prior art keywords
hall
shunt
current
current value
collected
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011503669.4A
Other languages
Chinese (zh)
Inventor
王凯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yanfeng Visteon Electronic Technology Nanjing Co Ltd
Original Assignee
Yanfeng Visteon Electronic Technology Nanjing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yanfeng Visteon Electronic Technology Nanjing Co Ltd filed Critical Yanfeng Visteon Electronic Technology Nanjing Co Ltd
Priority to CN202011503669.4A priority Critical patent/CN112763781A/en
Publication of CN112763781A publication Critical patent/CN112763781A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R15/00Details of measuring arrangements of the types provided for in groups G01R17/00 - G01R29/00, G01R33/00 - G01R33/26 or G01R35/00
    • G01R15/14Adaptations providing voltage or current isolation, e.g. for high-voltage or high-current networks
    • G01R15/20Adaptations providing voltage or current isolation, e.g. for high-voltage or high-current networks using galvano-magnetic devices, e.g. Hall-effect devices, i.e. measuring a magnetic field via the interaction between a current and a magnetic field, e.g. magneto resistive or Hall effect devices
    • G01R15/202Adaptations providing voltage or current isolation, e.g. for high-voltage or high-current networks using galvano-magnetic devices, e.g. Hall-effect devices, i.e. measuring a magnetic field via the interaction between a current and a magnetic field, e.g. magneto resistive or Hall effect devices using Hall-effect devices
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R15/00Details of measuring arrangements of the types provided for in groups G01R17/00 - G01R29/00, G01R33/00 - G01R33/26 or G01R35/00
    • G01R15/14Adaptations providing voltage or current isolation, e.g. for high-voltage or high-current networks
    • G01R15/146Measuring arrangements for current not covered by other subgroups of G01R15/14, e.g. using current dividers, shunts, or measuring a voltage drop
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R19/00Arrangements for measuring currents or voltages or for indicating presence or sign thereof
    • G01R19/25Arrangements for measuring currents or voltages or for indicating presence or sign thereof using digital measurement techniques

Abstract

The invention relates to a new energy automobile current sampling method, which comprises the following steps: step 1: placing the Hall at the positive end of the battery, and providing power supply by 5744P, and step 2: the shunt is connected in series at the negative end of the battery, and the step 3: considering that both the hall and the shunt have errors, when comparing the current collected by the hall and the current collected by the shunt, the respective errors need to be included, and step 4: obtaining an initial Kalman coefficient K; and 5: the variance P and the coefficient K are updated.

Description

Current sampling method for new energy automobile
Technical Field
The invention relates to a sampling method, in particular to a new energy automobile current sampling method, and belongs to the technical field of function safety detection of new energy automobiles.
Background
Current new energy automobile all has the function of current sampling. Current is typically collected using a hall current sensor or shunt. The Hall current sensor scheme is as follows: a high-voltage wire of the battery penetrates through the middle of a hole of the Hall current sensor, a voltage value is output through the Hall principle, a formula of the voltage value and a passing current value is obtained by inquiring a Hall sensor manual, and the passing current value is obtained through calculation. The scheme of the flow divider is as follows: and connecting the shunt in series to a high-voltage loop of the battery, collecting voltage values passing through two ends of the shunt, and removing the resistance value of the shunt by using the obtained voltage difference value to obtain a passing current value. In any way, the precision of the collected current is limited; in addition, due to the popularization of functional safety, clear requirements are provided for overcurrent faults in the charging and discharging processes of the new energy automobile at the present stage, and the traditional current sampling function cannot meet the functional safety requirements; in order to solve the problems, a novel current sampling method is provided, and the method not only meets the international safety standard: ISO 26262, and obtaining the optimal current through data processing.
Disclosure of Invention
The invention provides a new energy automobile current sampling method aiming at the problems in the prior art, and the technical scheme meets the requirement of functional safety on current sampling and provides the optimal current for calculating the SOC and the SOP.
In order to achieve the purpose, the technical scheme of the invention is that the current sampling method of the new energy automobile comprises the following steps:
step 1: placing a Hall at the positive electrode end of a battery, supplying power by 5744P, when current passes through the Hall, the Hall can generate a voltage value which is acquired by an AD port of 5744P, and obtaining a calculation formula of a current value by inquiring a product manual of the Hall, so that a passing current value is obtained, wherein the sampling error of the Hall is u 1;
step 2: the shunt is connected in series at the negative electrode end of the battery, when current passes through the shunt, a voltage value is generated at the front end and the rear end of the shunt respectively, the two voltage values are acquired by the AD port of 5744P, a calculation formula of the current value is obtained by inquiring a product manual of the shunt, and therefore the passing current value is obtained, and the sampling error of the shunt is u 2;
and step 3: considering that both the Hall and the shunt have errors, the respective errors need to be included when the current collected by the Hall and the current collected by the shunt are compared, and when the error values of the two currents have intersection, the current values collected by the Hall and the shunt are considered to be effective values;
and 4, step 4: obtaining an initial Kalman coefficient K;
the variance of the Hall sampling error is P ═ u1^2, the variance of the shunt sampling error is R ═ u2^2, the initial Kalman coefficient is obtained and is K ═ P/(P + R) ═ u2^2/(u1^2+ u2^2), and the non-0 current value collected for the first time is assumed to be: detecting a current value Ia by the Hall and detecting a current value Ib by the shunt; thus, the current value I after the primary processing is obtained as Ib + K (u1-u 2); storing K1 ═ R/(P + R) ═ u1^2/(u1^2+ u2^2), and performing step 5 by using a Hall after the shunt fails;
and 5: p1 at the next time point obtains updated P1 ═ P (1-K) ×, and K1 at the next time point also obtains updated K1 ═ P1/(P1+ R), and assuming that the diverter detection current value I2b at this time point obtains a processed current value I2 ═ I2b + K1 ═ u1-u 2;
step 6: recursion is achieved by the above.
Compared with the prior art, the invention has the following advantages: 1) due to the existence of the Hall and the shunt, the combined sampling scheme can meet the functional safety requirement; 2) in the scheme, a Kalman filtering algorithm is used, and the obtained current is also an optimal value; 3) the algorithm only needs to acquire data currently, the requirement on storage is not large, the algorithm can recur, and the implementation is simple; 4) the circuit and the tool which need to be built in the implementation scheme are very simple and easy to operate.
Drawings
FIG. 1 is a block diagram of the system of the present invention;
FIG. 2 is a flow chart of the present invention.
The specific implementation mode is as follows:
for the purpose of enhancing an understanding of the present invention, the present embodiment will be described in detail below with reference to the accompanying drawings.
Example 1: referring to fig. 1, a new energy automobile current sampling method includes the following steps:
step 1: placing a Hall at the positive electrode end of a battery, supplying power by 5744P, when current passes through the Hall, the Hall can generate a voltage value which is acquired by an AD port of 5744P, and obtaining a calculation formula of a current value by inquiring a product manual of the Hall, so that a passing current value is obtained, wherein the sampling error of the Hall is u 1;
step 2: the shunt is connected in series at the negative electrode end of the battery, when current passes through the shunt, a voltage value is generated at the front end and the rear end of the shunt respectively, the two voltage values are acquired by the AD port of 5744P, a calculation formula of the current value is obtained by inquiring a product manual of the shunt, and therefore the passing current value is obtained, and the sampling error of the shunt is u 2;
and step 3: considering that both the Hall and the shunt have errors, the respective errors need to be included when the current collected by the Hall and the current collected by the shunt are compared, and when the error values of the two currents have intersection, the current values collected by the Hall and the shunt are considered to be effective values;
and 4, step 4: obtaining an initial Kalman coefficient K;
the variance of the Hall sampling error is P ═ u1^2, the variance of the shunt sampling error is R ═ u2^2, the initial Kalman coefficient is obtained and is K ═ P/(P + R) ═ u2^2/(u1^2+ u2^2), and the non-0 current value collected for the first time is assumed to be: detecting a current value Ia by the Hall and detecting a current value Ib by the shunt; thus, the current value I after the primary processing is obtained as Ib + K (u1-u 2); storing K1 ═ R/(P + R) ═ u1^2/(u1^2+ u2^2), and performing step 5 by using a Hall after the shunt fails;
and 5: p1 at the next time point obtains updated P1 ═ P (1-K) ×, and K1 at the next time point also obtains updated K1 ═ P1/(P1+ R), and assuming that the diverter detection current value I2b at this time point obtains a processed current value I2 ═ I2b + K1 ═ u1-u 2;
step 6: recursion is achieved by the above.
It should be noted that the above-mentioned embodiments are not intended to limit the scope of the present invention, and all equivalent modifications and substitutions based on the above-mentioned technical solutions are within the scope of the present invention as defined in the claims.

Claims (3)

1. The new energy automobile current sampling method is characterized by comprising the following steps:
step 1: acquiring a sampling error u1 of the Hall;
step 2: acquiring the sampling error of the flow divider as u 2;
and step 3: considering that both the Hall and the shunt have errors, the respective errors need to be included when the current collected by the Hall and the current collected by the shunt are compared, and when the error values of the two currents have intersection, the current values collected by the Hall and the shunt are considered to be effective values;
and 4, step 4: obtaining an initial Kalman coefficient K, specifically:
the variance of the Hall sampling error is P ═ u1^2, the variance of the shunt sampling error is R ═ u2^2, the initial Kalman coefficient is obtained and is K ═ P/(P + R) ═ u2^2/(u1^2+ u2^2), and the non-0 current value collected for the first time is assumed to be: detecting a current value Ia by the Hall and detecting a current value Ib by the shunt; thus, the current value I after the primary processing is obtained as Ib + K (u1-u 2); storing K1 ═ R/(P + R) ═ u1^2/(u1^2+ u2^2), and performing step 5 by using a Hall after the shunt fails;
and 5: p1 at the next time point obtains updated P1 ═ P (1-K) ×, and K1 at the next time point also obtains updated K1 ═ P1/(P1+ R), and assuming that the diverter detection current value I2b at this time point obtains a processed current value I2 ═ I2b + K1 ═ u1-u 2;
step 6: recursion is achieved by the above.
2. The new energy automobile current sampling method according to claim 1, wherein the step 1: acquiring a sampling error u1 of the Hall; specifically, the Hall is placed at the positive electrode end of the battery, a power supply is provided by 5744P, when current passes through the Hall, the Hall can generate a voltage value, the voltage value is collected by an AD port of 5744P, a calculation formula of a current value is obtained by inquiring a product manual of the Hall, so that a passing current value is obtained, and the sampling error of the Hall is u 1.
3. The new energy automobile current sampling method according to claim 1, wherein the step 2: acquiring the sampling error of the flow divider as u 2; specifically, the shunt is connected in series at the negative electrode end of the battery, when current passes through the shunt, the front end and the rear end of the shunt respectively generate a voltage value, the two voltage values are acquired by the AD port of 5744P, a calculation formula of a current value is obtained by inquiring a product manual of the shunt, and therefore the passing current value is obtained, and the sampling error of the shunt is u 2.
CN202011503669.4A 2020-12-17 2020-12-17 Current sampling method for new energy automobile Pending CN112763781A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011503669.4A CN112763781A (en) 2020-12-17 2020-12-17 Current sampling method for new energy automobile

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011503669.4A CN112763781A (en) 2020-12-17 2020-12-17 Current sampling method for new energy automobile

Publications (1)

Publication Number Publication Date
CN112763781A true CN112763781A (en) 2021-05-07

Family

ID=75694931

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011503669.4A Pending CN112763781A (en) 2020-12-17 2020-12-17 Current sampling method for new energy automobile

Country Status (1)

Country Link
CN (1) CN112763781A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103323646A (en) * 2013-06-04 2013-09-25 安徽安凯汽车股份有限公司 Current sensor for electric vehicle and detecting method by means of same
CN105203826A (en) * 2015-09-11 2015-12-30 同济大学 Current detection method for redundant current sensor power battery system
CN106053916A (en) * 2015-03-18 2016-10-26 大众汽车有限公司 Vechile-mounted power supply and method for measuring current in conductor of vechile-mounted power supply
CN207650266U (en) * 2017-10-16 2018-07-24 维谛技术有限公司 A kind of current monitoring circuit
CN109725188A (en) * 2018-12-29 2019-05-07 蜂巢能源科技有限公司 A kind of current measuring method and device
CN109975590A (en) * 2019-05-13 2019-07-05 江苏原容新能源科技有限公司 Current measurement circuit based on Hall chip and shunt resistance
EP3540448A1 (en) * 2018-03-14 2019-09-18 Fico Triad, S.A. Electronic device with pfc circuit and method for measuring alternating current input to the electronic device
CN209525388U (en) * 2018-12-27 2019-10-22 安波福中央电气(上海)有限公司 A kind of current sensor for new-energy automobile
CN110687347A (en) * 2019-09-26 2020-01-14 西安航天计量测试研究所 Hall current sensor with temperature compensation and temperature compensation method thereof

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103323646A (en) * 2013-06-04 2013-09-25 安徽安凯汽车股份有限公司 Current sensor for electric vehicle and detecting method by means of same
CN106053916A (en) * 2015-03-18 2016-10-26 大众汽车有限公司 Vechile-mounted power supply and method for measuring current in conductor of vechile-mounted power supply
CN105203826A (en) * 2015-09-11 2015-12-30 同济大学 Current detection method for redundant current sensor power battery system
CN207650266U (en) * 2017-10-16 2018-07-24 维谛技术有限公司 A kind of current monitoring circuit
EP3540448A1 (en) * 2018-03-14 2019-09-18 Fico Triad, S.A. Electronic device with pfc circuit and method for measuring alternating current input to the electronic device
CN209525388U (en) * 2018-12-27 2019-10-22 安波福中央电气(上海)有限公司 A kind of current sensor for new-energy automobile
CN109725188A (en) * 2018-12-29 2019-05-07 蜂巢能源科技有限公司 A kind of current measuring method and device
CN109975590A (en) * 2019-05-13 2019-07-05 江苏原容新能源科技有限公司 Current measurement circuit based on Hall chip and shunt resistance
CN110687347A (en) * 2019-09-26 2020-01-14 西安航天计量测试研究所 Hall current sensor with temperature compensation and temperature compensation method thereof

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
冯婧: "电动汽车动力电池状态实时监测及安全防护方法研究", 《汽车与驾驶维修(维修版)》 *

Similar Documents

Publication Publication Date Title
EP3683592B1 (en) Insulation detection circuit and method
US11852671B2 (en) Photovoltaic energy system and method for detecting ground insulation impedance
CN108099609A (en) A kind of insulation detecting circuit
CN210051820U (en) Insulation detection device and battery management system
CN102735915B (en) Battery voltage detector and battery voltage detection method
CN108418176A (en) A kind of overpower-protection circuit of electric machine controller low-tension supply
WO2021208338A1 (en) Adaptive charging system, charging method, and identification method
CN112763781A (en) Current sampling method for new energy automobile
CN207742316U (en) Battery detection circuit and battery management system
CN108152749A (en) A kind of high pressure monitoring system of BMS multifunctional units
CN210608615U (en) Secondary protection circuit for charging and discharging hardware of lithium ion battery
CN104237805A (en) Method for extracting solar cell parameters based on analytic equation
CN213903761U (en) Storage battery pack sampling line breakage detection device
CN113794394B (en) Controller and control circuit
CN111122976B (en) Method for detecting insulation resistance of electric vehicle
CN213813774U (en) Insulation resistance detection device for new energy vehicle
CN209592975U (en) Based on the substation of fault location DC power supply active protective device
CN209709702U (en) A kind of charging control circuit, electronic equipment
CN203688665U (en) High accuracy multipath common-ground DC power supply insulation resistor detection circuit
CN207459108U (en) Current calibration device
CN105044522A (en) Charger data collection method
CN110824377A (en) Detection circuit of switching power supply
CN214176894U (en) Current protection circuit for variable frequency vector control
CN113359003B (en) DC parasitic loop detection system and method
CN217240380U (en) Low-cost power supply circuit

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20210507

RJ01 Rejection of invention patent application after publication