METHOD FOR CALIBRATING A PLURALITY OF CURRENT SENSORS, BATTERY SYSTEM

20230324465 · 2023-10-12

    Inventors

    Cpc classification

    International classification

    Abstract

    A method for calibrating a plurality of current sensors connected in series. The method include determining a temperature difference between the current sensors; sensing temperature values and current values of the respective current sensors at different temperatures and currents; calculating averaged current values of two current sensors based on the current measured values sensed by the respective current sensors; calculating a current regression area for the respective current sensors through measurement points that are dependent on the temperature of the respective current sensors and the deviation of the current values sensed by the respective current sensors relative to one another; and calculating a TCR regression curve or a TCR regression area for the respective current sensors based on a deviation and an intersection curve of the respective current regression areas relative to one another and/or relative to an averaged current regression area and a temperature difference between the current sensors.

    Claims

    1. A method for calibrating a plurality of current sensors (16, 18) connected in series, the method comprising the steps of: determining a temperature difference (217) between the current sensors (16, 18); sensing temperature values and current values of the respective current sensors (16, 18) at different temperatures and currents; calculating averaged current values (I.sub.mean) of two current sensors (16, 18) based on the current measured values sensed by the respective current sensors (16, 18); calculating a current regression area (304, 306) for the respective current sensors (16, 18) through measurement points that are dependent on the temperature of the respective current sensors (16, 18) and the deviation of the current values sensed by the respective current sensors (16, 18) relative to one another; and calculating a TCR regression curve or a TCR regression area for the respective current sensors (16, 18) based on a deviation and an intersection curve (308) of the respective current regression areas (304, 306) relative to one another and/or relative to an averaged current regression area (302) and a temperature difference (217) between the current sensors (16, 18).

    2. The method according to claim 1, wherein timestamps of the temperature and current measurements are captured at different temperatures and currents.

    3. The method according to claim 1, wherein an individual TCR tolerance range (220), in which the TCR regression curve of the respective current sensors (16, 18) lies, is calculated for the respective current sensors (16, 18).

    4. The method according to claim 1, wherein a conversion table (300) for the current measurements is created with the following steps: entering initial values of the respective current sensors (16, 18) into the conversion table (300); determining the sensed temperature values and current values of the respective current sensors (16, 18) as well as, where appropriate, the captured timestamps at different temperatures and currents; updating the conversion table (300) and the TCR regression curves and current regression areas (304, 306); and plausibility checking whether a temperature-dependent error of the respective current sensors (16, 18) is in an overall tolerance range (210).

    5. The method according to claim 4, wherein old data acquired based on measurements and/or calculations are overwritten.

    6. The method according to claim 1, wherein one of the current sensors (16, 18) is selected as a reference sensor, which is used to calibrate all the other current sensors (16, 18).

    7. The method according to claim 1, wherein quality characteristics of the respective current sensors (16, 18) are evaluated by means of cloud-controlled artificial intelligence.

    8. A battery system (100) comprising a plurality of current sensors (16, 18) that are connected in series and a computer configured to: determine a temperature difference (217) between the current sensors (16, 18); determine temperature values and current values of the respective current sensors (16, 18) at different temperatures and currents; calculate averaged current values (I.sub.mean) of two current sensors (16, 18) based on the current measured values sensed by the respective current sensors (16, 18); calculate a current regression area (304, 306) for the respective current sensors (16, 18) through measurement points that are dependent on the temperature of the respective current sensors (16, 18) and the deviation of the current values sensed by the respective current sensors (16, 18) relative to one another; and calculate a TCR regression curve or a TCR regression area for the respective current sensors (16, 18) based on a deviation and an intersection curve (308) of the respective current regression areas (304, 306) relative to one another and/or relative to an averaged current regression area (302) and a temperature difference (217) between the current sensors (16, 18).

    9. The battery system (100) according to claim 8, wherein the current sensors (16, 18) are thermally decoupled from one another.

    10. The battery system (100) according to claim 8, wherein the current sensors (16, 18) have different resistance values.

    11. A vehicle comprising a battery system (100) according to claim 8.

    Description

    BRIEF DESCRIPTION OF THE DRAWINGS

    [0048] Embodiments of the invention are explained in more detail with reference to the drawings and the following description.

    [0049] Shown are:

    [0050] FIG. 1 a schematic representation of a battery system in a first operating mode,

    [0051] FIG. 2 a schematic representation of the battery system in a second operating mode,

    [0052] FIG. 3 a schematic representation of a TCR diagram of a current sensor,

    [0053] FIG. 4 a schematic representation of the use of the TCR diagram to perform the method proposed according to the invention, and

    [0054] FIG. 5 a schematic representation of a conversion table created when performing the method proposed according to the invention.

    DETAILED DESCRIPTION

    [0055] In the following description of the embodiments of the invention, identical or similar elements are denoted by identical reference signs, wherein a repeated description of these elements is dispensed with in individual cases. The figures show the subject matter of the invention only schematically.

    [0056] FIG. 1 shows a schematic representation of a battery system 100 operating in a first operating mode, while FIG. 2 shows a schematic representation of the battery system 100 operating in a second operating mode.

    [0057] The battery system 100 comprises a negative pole 21, a positive pole 22, a first battery module 12 and a second battery module 14. Of course, the battery system 100 may comprise more than two battery modules 12, 14. Usually, all battery modules 12, 14 have an identical structure.

    [0058] For the first battery module 12, a first current sensor 16 for sensing a first current I.sub.M1 flowing through the first battery module 12 is provided, while for the second battery module 14, a second current sensor 18 for sensing a second current I.sub.M2 flowing through the second battery module 14 is provided. For the first and the second current sensor 16, 18, a temperature sensor (not shown here) for measuring the temperature of the respective current sensors 16, 18 is respectively provided. Preferably, the temperature sensors are each designed as an NTC resistor. The two current sensors 16, 18 may each be designed as a current measuring resistor (shunt). However, they may also each be designed as a Hall sensor. It is also conceivable that one of the two current sensors 16, 18 is designed as a current measuring resistor, while the other current sensor is designed as a Hall sensor.

    [0059] The first battery module 12 has a first module voltage U.sub.1, while the second battery module 14 has a second module voltage U.sub.2. Between the negative pole 21 and the positive pole 22, a battery voltage U.sub.B is applied, which can be calculated depending on the interconnection of the battery modules 12, 14.

    [0060] In the first operating mode of the battery system 100 shown in FIG. 1, the first and the second battery module 12, 14 are connected in series between the negative and the positive pole 21, 22. The first and the second current sensor 16, 18 are also connected in series. The module voltages U.sub.1, U.sub.2 add up to the battery voltage U.sub.B in this operating mode. The first and the second current sensor 16, 18 therefore measure the same current.

    [0061] In the second operating mode of the battery system 100 shown in FIG. 2, the two battery modules 12, 14 are interconnected in parallel to one another between the negative and the positive pole 21, 22. The two current sensors 16, 18 are likewise connected in parallel to one another. In this case, the first battery module 12 can be connected by means of a first switch S1, while the second battery module 14 can be connected by means of a second switch S2. The two battery modules 12, 14 can thus be connected simultaneously or separately from one another, depending on the power demand. The module voltages U.sub.1, U.sub.2 do not add to the battery voltage U.sub.B in this operating mode. The first and the second current sensor 16, 18 can measure very different currents depending on the switch position of the first and second switches S1, S2. In addition, only one battery module 12, 14 may be charged if, for example, a voltage difference between the two battery modules 12, 14 is too large and a very high equalizing current would otherwise flow.

    [0062] For example, the first and the second battery module 12, 14 each have a module voltage U.sub.1, U.sub.2 of 400 V. The battery voltage U.sub.B is then equal to 800 V in the first operating mode and equal to 400 V in the second operating mode. For example, when charging the battery system 100, if only 400 V is available at a charger, the second operating mode is required.

    [0063] The battery system 100 also comprises a measurement electronics 30 comprising a first measurement channel 32, a second measurement channel 34, a third measurement channel 36 and a fourth measurement channel 38. The first measurement channel 32 is electrically connected to the first current sensor 16, while the second measurement channel 34 is electrically connected to the second current sensor 18. The third measurement channel 36 is electrically connected to a first temperature sensor for sensing the temperature of the first current sensor 16, while the fourth measurement channel 38 is electrically connected to a second temperature sensor for sensing the temperature of the second current sensor 18. The first and the second measurement channel 32, 34 are configured to measure the voltage at the respective current sensors 16, 18, which is converted into the current values of the current I.sub.M1, I.sub.M2 flowing through the respective current sensors 16, 18. The third and the fourth measurement channel 36, 38 are configured to measure the voltage at the respective current sensors, which is converted into the current values of the respective current sensors 16, 18. The measurement electronics 30 comprises, for example, analog-to-digital converters (ADC) and discrete electronics. Preferably, the measurement electronics 30 is designed as an application-specific integrated circuit (ASIC).

    [0064] For the sake of clarity of the representation of the battery system 100, further switches necessary for switching the battery system 100 between operating modes are not shown.

    [0065] When performing the method proposed according to the invention, the battery system 100 operates in the first operating mode according to FIG. 1. In order to simplify the explanation, the method proposed according to the invention is explained below with reference to the example that the first and second current sensors 16, 18 are each designed as a current measuring resistor.

    [0066] At the beginning, e.g., at the start of the trip, both current sensors 16, 18 have the same temperature and a current flows through them. The deviation of the two current sensors 16, 18 relative to one another at the same temperature is thus known.

    [0067] Subsequently, a mean value I.sub.mean of the current of both current sensors 16, 18 and the deviation therefrom is determined.

    [0068] The two current sensors 16, 18 then heat up differently strongly and many further measurement points are created in a coordinate system (cf. FIG. 5). Due to the temperature difference 217 of the two current sensors 16, 18 connected in series and the knowledge that the same current always flows through the two current sensors 16, 18, the first current sensor 16 may, for example, have a value that deviates more strongly relative to the second current sensor 18, or vice versa, since they have different resistance values due to the different TCR curves and/or the temperature difference. This depends on how strongly the values change over the temperature, which is indicated in the TCR diagram (cf. FIGS. 3 and 4) with typical minimum and maximum values.

    [0069] This deviation of both current sensors 16, 18 is sensed via the measuring device and a relative deviation between the current sensors 16, 18 is created depending on the current flow and indicates how much the current sensors 16, 18 deviate relative to one another at a particular temperature or, in the case of a current regression area, also from one another at a particular current.

    [0070] With these values, the temperature-related error relative to one another, i.e., the relative error, can be determined later, i.e., after storing some values. In the process, a determination of the regression line slope is performed by means of many points in the coordinate system. This calibration works so well because many errors/drifts change slowly over the lifetime. In a calibration, it can therefore be assumed that all long-term errors are constant and the resulting deviation is primarily determined by the temperature difference.

    [0071] FIG. 3 shows a schematic representation of a TCR diagram 200 of a current sensor 16, 18. On an X-axis of the TCR diagram 200, the temperature is plotted in [°C], while on a Y-axis of the TCR diagram 200, a resistance-value change rate dR/R20 is plotted in [%]. The resistance-value change rate corresponds to a change in the resistance value of the current sensor 16, 18 relative to a reference resistance value of the current sensor 16, 18. In the present case, a resistance value of the current sensor 16, 18 at a temperature of 20° C. is selected as the reference resistance value. However, a resistance value of the current sensor 16, 18 at another temperature may also be selected as the reference resistance value.

    [0072] The TCR diagram shows a first TCR curve 202, a second TCR curve 204, and a third TCR curve 206. Here, the first TCR curve 202 corresponds to a typical or ideal resistance-value change/temperature curve of a current sensor 16, 18. The second and the third TCR curve 204, 206 each correspond to a resistance-value change/temperature curve of a worst case. For example, the second TCR curve 204 has a TCR of 100 ppm/°C, while the third TCR curve 206 has a TCR of -100 ppm/°C. The area between the second and the third TCR curve 204, 206 is referred to as the TCR tolerance range 207 of the current sensor 16, 18.

    [0073] For example, while the values of the current sensors 16, 18 at the beginning of the lifetime are still close to the first TCR curve 202, the values deviate over the temperature, lifetime, accumulated temperature load and mechanical stress. As shown in FIG. 3, the resistance-value change rate of the current sensor 16, 18 at 20° C. is 0%.

    [0074] Tolerance ranges of other components, such as the measurement electronics 30 as well as the temperature sensors, may be added to the TCR tolerance range 207 of the current sensor 16, 18. A range over the temperature that results from adding tolerance ranges of all components is referred to as overall tolerance range 210.

    [0075] The measurement electronics 30 has a tolerance of, for example, ±0.1% over the lifetime and temperature. In the TCR diagram 200 shown in FIG. 3, this is referred to as a tolerance range 208 of the measurement electronics 30. At a temperature of 25° C., the tolerances of the measurement electronics 30 could also be well below 0.1%. For simpler clarification of the invention, a constant relative error is assumed since the absolute error of the measuring device is negligible at larger currents. In this example, the absolute error (offset error) is therefore not considered.

    [0076] In the TCR diagram 200, the overall tolerance range 210 results from adding the tolerance 208 of the measurement electronics 30 to the TCR tolerance range 207 of the current sensor 16, 18. The overall tolerance range 210 may comprise the tolerance range of other components, such as the tolerance range of the temperature sensor.

    [0077] FIG. 4 shows a schematic representation of the use of the TCR diagram 200 shown in FIG. 3 to perform the method proposed according to the invention. The method proposed according to the invention may be performed in any battery system 100 in which the current sensors 16, 18 are connectable or connected in series. For illustrating the invention, however, reference is made to the battery system 100 shown in FIG. 1 and FIG. 2.

    [0078] The first and the second current sensor 16, 18 are connected in series when the method proposed according to the invention is performed. As a result, the same current flows through the first and the second current sensor 16, 18.

    [0079] FIG. 4 shows that the first current sensor 16 is at a first temperature T.sub.1 of 20° C. and the second current sensor 18 is at a second temperature T.sub.2 of 80° C. A temperature difference 217 between the first and the second current sensor 16, 18, in the present case 60° C., may be generated by current only flowing through the second current sensor 18 when charging and both current sensors 16, 18 being connected in series after a certain period of time. It is also conceivable that the temperature difference 217 is generated by selecting different resistance values of the respective current sensors 16, 18.

    [0080] The temperature difference 217 may be different. In other words, the method proposed according to the invention may also be performed at other temperatures or temperature differences.

    [0081] FIG. 4 shows that the first current sensor 16 is at 20° C. and may deviate only by ±0.1% from the first TCR curve 202. In the present case, this deviation is illustrated by a first double arrow 214 and corresponds to a first overall tolerance range 211 of the first current sensor 16 at 20° C. or the tolerance range 208 of the measurement electronics 30.

    [0082] FIG. 4 furthermore shows that the second current sensor 18 is at 80° C. and may deviate by ±0.7% from the first TCR curve 202. In the present case, this deviation is illustrated by a second double arrow 216 and corresponds to a second overall tolerance range 212 of the second current sensor 18 at 80° C.

    [0083] The first and the second overall tolerance range 211, 212 of the first and the second current sensor 16, 18, may thus be used to calculate a calibratable tolerance range 213 for the second current sensor 18, which is illustrated by means of a third double arrow 218. In the present case, the calibratable tolerance range 213 results from subtracting the second overall tolerance range 212 from the first overall tolerance range 211 and is 0.6%. This completely eliminates the temperature-related error effect.

    [0084] Since in the first operating mode of the battery system 100, the same current flows through the first and the second current sensor 16, 18, the temperature-related error (due to the individual TCR curve) of the second current sensor 18 can be calibrated and a deviation is calculated, which indicates how much the current sensors 16, 18 are apart relative to one another at particular temperatures. The temperature-related deviation between the current sensors 16, 18 can thus be determined.

    [0085] If the TCR regression curve, which is shown in the present case as a TCR regression line for the sake of clarity of the representation and is also denoted by reference sign 204, is known, an individual TCR tolerance range 220 may be placed around the TCR regression line 204 depending on the accuracy of the measuring device. The same is also possible for the TCR regression curves of the other current sensors.

    [0086] FIG. 5 shows a schematic representation of a conversion table 300, which is created when performing the method proposed according to the invention. This conversion table 300 respectively inter- and extrapolates a current- and temperature-dependent current regression area 304, 306 of all current sensors 16, 18 to be calibrated. Based thereon, the current- and temperature-related error of any current sensor 16, 18 may be calibrated with any other current sensor.

    [0087] For illustrating the invention, reference is also made here to the battery system 100 shown in FIG. 1 and FIG. 2. Accordingly, the assumptions for FIG. 4 also apply thereto.

    [0088] FIG. 5 shows that the conversion table 300 is shown in a three-dimensional coordinate system having an X-axis, a Y-axis, and a Z-axis. The temperature in [°C] is plotted on the X-axis. On the Z-axis, an averaged current value I.sub.mean of both current sensors 16, 18 in [A] is plotted. On the Y-axis, a change rate/deviation from the ideal value in [%] of an intersection line 308 of the current regression areas 304, 306, which in a first approximation is equal to the intersection point 310 (i.e., the resistance-value change rate dR/R20 is zero), is plotted.

    [0089] Additionally, the conversion table 300 shown in FIG. 5 may have a t-axis on which the time or timestamp of the measurements is plotted.

    [0090] During the creation of the conversion table 300, the initial values of the respective current sensors 16, 18, e.g., the default values or predetermined standard values of the current sensors 16, 18, are first entered into the conversion table 300. If the battery system 100 is used in a vehicle, this may occur at 0-km of the vehicle.

    [0091] The sensed temperature values and current values of the respective current sensors 16, 18 are subsequently determined at different temperatures and currents. Timestamps of the acquisitions are preferably also determined at different temperatures and currents.

    [0092] Averaged current values I.sub.mean are calculated. When performing the method proposed according to the invention, the first current sensor 16 measures the first current I.sub.M1 (cf. FIG. 1) at the temperature T.sub.1 (cf. FIG. 4), and the second current sensor 18 measures the second current I.sub.M2 (cf. FIG. 1) at the temperature T.sub.2 (cf. FIG. 4) at the same time.

    [0093] An averaged current value is calculated as follows:

    [00001]Imean=IM1+IM2/2

    [0094] This creates two points: a first point P.sub.1 (I.sub.mean, T.sub.1) and a second point P.sub.2 (I.sub.mean, T.sub.2).

    [0095] These points are stored in the coordinate system. This process is repeated until some points are stored over a temperature range of, for example, at least 30° C. The more data are acquired, the more accurately the temperature-related error can be eliminated.

    [0096] In the coordinate system with many accumulated data, there is an averaged current value of the two current sensors 16, 18 at every temperature value.

    [0097] In this case, measurement points that are dependent on the temperature of the respective current sensors 16, 18 and the deviations of the current values sensed by the respective current sensors 16, 18 relative to one another are used to calculate a first current regression area 304 for the first current sensor 16 and a second current regression area 306 for the second current sensor 18.

    [0098] An averaged current regression area 302 may also be calculated, which is introduced for illustrating the invention and is precisely the mean value of the current regression areas of the current sensors 16, 18. The averaged current regression area 302 is thus the reference, and the deviation relative thereto is determined with the first and the second current regression area 304, 306. For example, at 80° C., the first current sensor 16 deviates by -0.3%, while the second current sensor 18 deviates by +0.3% from the reference value.

    [0099] For each measurement point, e.g., P.sub.1 and P.sub.2, a percent error can be calculated by means of a quotient of actually measured current and the deviation relative to the averaged current value I.sub.mean. As a result, relative temperature-dependent deviations of the respective current sensors 16, 18 relative to one another and/or relative to the averaged current regression area 302, which is an artificially created reference area, are known.

    [0100] Thereafter, a TCR regression curve for the respective current sensors 16, 18 is calculated based on a deviation of the respective current regression area 304, 306 relative to one another and/or relative to the averaged current regression area 302 and a temperature difference 217 between the current sensors 16, 18. In other words, one or more measurement points are recorded and a current regression area 304, 306 is calculated for the respective current sensors 16, 18. By means of the intersection line 308 of the current regression area 304, 306, a statement about the absolute temperature-related deviation can be made, wherein the intersection line 308 can be considered approximately as intersection point 310 since the current sensors 16, 18 are trimmed to this temperature (generally 20° C.) and the resistance-value change rate is zero here. In some circumstances, it may be sufficient to calculate a single correction factor per current sensor by means of different temperature values at the respective current sensors 16, 18. In this case, the TCR regression area or TCR regression curve becomes a TCR regression line. The correction factor corresponds to the slope of the TCR regression line.

    [0101] Since all TCR curves at, for example, 20° C. and 0A have a temperature- and current-dependent change rate of zero, it is necessary if there are no measured values at temperatures around 20° C. and 0A, that the measurement points of both are extrapolated in order to determine the “y-intercept” in this way (measured error at 20° C. and 0A). This intersection point 310 of the current regression area 304, 306 of the first and the second current sensor 16, 18 gives the two current sensors an absolute value, i.e., no longer relative to one another or relative to the reference area.

    [0102] The conversion table 300 and the current regression areas 304, 306 are constantly updated. In the process, older values, e.g., of more than 6 months, can automatically be removed from the conversion table 300 and be replaced by the newer values.

    [0103] A plausibility check is furthermore constantly carried out as to whether the temperature- and current-dependent current regression areas 304, 306 of the respective current sensors 16, 18 is in the overall tolerance range 210 and/or in the individual TCR tolerance range 220. In the event of a permanent deviation, countermeasures may be initiated, such as an inspection in the workshop.

    [0104] The invention is not limited to the exemplary embodiments described herein and the aspects highlighted therein. Rather, a variety of modifications, which are within the scope of activities of the person skilled in the art, is possible within the range specified by the claims.