BACKGROUND INFORMATION
The present invention is directed to an electronic battery sensor and a method for determining an internal resistance of a battery according to the definition of the species in the independent claims. A method for reconstructing an electrical signal is known from WO 2006/037694. In this method, an analog measuring signal is sampled at a high sampling rate with the aid of an analog-digital converter. The voltage and current intensity of a battery, for example, are used here as measuring signals, from which an internal resistance may be subsequently computed. The internal resistance is computed by dividing a voltage difference by a current intensity difference. In addition, prior to the sampling the measuring signal is generally low-pass filtered in order to adhere to the sampling theorem. The occurrence of aliasing may be avoided in this way. In the described method, the current signals and voltage signals necessary for computing the internal resistance are detected by a current sensor and a voltage sensor, respectively.
The object of the present invention is to allow a high sampling rate, and at the same time, to avoid a long computing time for computing the internal resistance.
ADVANTAGES OF THE INVENTION
The present invention is directed to an electronic battery sensor, including at least one first detection means for detecting measured values, and a battery model for ascertaining the internal resistance of a battery, each measured value including simultaneous information concerning at least two corresponding measured variables, in particular battery current and battery voltage, and every two successive measured values representing a measuring pair. The core of the present invention is that the battery sensor includes at least one selection means which is configured for selecting from a specified number of measuring pairs at least one measuring pair as a selection pair, and for providing the selection pair to the battery model in order to ascertain the internal resistance, the number of measuring pairs being greater than the number of selection pairs. It is advantageous that sampling may thus still be carried out at a high sampling rate, but only a portion of these sampled measured values are relayed to the battery model. The computing time of the battery model is thus kept low, and due to the high sampling rate, high accuracy of the measurement is still ensured. It is thus possible to sample at a high frequency and to relay only a portion of these sampled measuring pairs to the battery model, as the result of which the resistance computation in the battery model may take place at a lower frequency. In addition, due to the high sampling frequency, small current and voltage fluctuations at the battery are recognized, which would not have been recognized at a lower sampling frequency. This has the advantage that it is possible to recognize not only excitations at the battery due to the engine start, which cause large current and voltage fluctuations, but also smaller excitations. This is advantageous in particular for hybrid and electric vehicles, which do not have a classical engine start.
One advantageous embodiment of the present invention provides that the ratio of a working frequency of the detection means and/or of the selection means to a processing frequency of the battery model corresponds to the ratio of the number of measuring pairs to the number of selection pairs. It is advantageous that the ratio of the working frequency to the processing frequency may be set by selecting a specified number of measuring pairs, from which the specified number of selection pairs is then selected.
According to another advantageous embodiment of the present invention, it is provided that the selection means is configured for selecting each nth measuring pair of the selected number of measuring pairs as a selection pair. It is advantageous that this represents a very simple algorithm for selecting the selection pair. The computing time in the selection means may thus be kept very low.
According to another advantageous embodiment of the present invention, it is provided that the selection means is configured for selecting at least one measuring pair, in particular the measuring pair having the current gradient with the largest magnitude, as a selection pair as a function of the gradients of the measuring pairs. It is advantageous that very well suited measuring pairs are thus selected in order to obtain a very good result in the subsequent computation of the internal resistance by the battery model.
In another advantageous embodiment of the present invention, it is provided that the selection means is configured for forming an average value of all measuring pairs of the specified number of measuring pairs, and selecting this average value as a selection pair. It is advantageous that individual measuring errors may be compensated for by forming the average value of the measuring pairs.
According to another advantageous embodiment of the present invention, it is provided that the battery sensor includes a band pass filter, the band pass filter having the measured values as input variables, and being configured for providing the output variables to the selection means. It is advantageous that low-frequency interference signals, which are not to be used for computing the internal resistance, may also be filtered.
Another advantageous embodiment of the present invention provides that the battery sensor includes an adaptation means which is configured for adapting the phases of the corresponding measured variables to one another. It is advantageous that incorrect measured values due to phase shifts may be avoided. The quality of the result of the computation of the internal resistance subsequently carried out may thus be improved.
BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 shows a first exemplary embodiment of a battery sensor according to the present invention, which is connected to a battery;
FIG. 2 shows a flow chart of the method according to the present invention for determining an internal resistance, in particular with the aid of a battery sensor according to FIG. 1; and
FIG. 3 shows a diagram in which the detected battery current is plotted with respect to time.
DETAILED DESCRIPTION OF THE INVENTION
FIG. 1 shows a first exemplary embodiment of a battery sensor according to the present invention. A battery 20 is illustrated. A battery voltage UBatt and a battery current IBatt are tappable at terminals 25. A battery sensor 10 is also illustrated. This battery sensor 10 includes two detection means 40 which detect battery voltage UBatt and battery current IBatt. Detection means 40 are connected to a selection means 70, as the result of which measured values 50 or measuring pairs 60 are transmittable from detection means 40 to selection means 70. A band pass filter 90 is optionally situated between detection means 40 and selection means 70. An adaptation means 100 is likewise optionally situated between detection means 40 and selection means 70. In addition, selection means 70 is connected to a battery model 30. Selection pairs 80 may be provided to battery model 30 in this way. Based on selection pairs 80, battery model 30 may compute internal resistance Ri and output it for further processing.
Battery 20 shown in FIG. 1 may be an automobile battery, for example, but may also be some other energy store. In addition, battery model 30 may be designed as an extended Kalman filter, for example.
FIG. 2 shows a flow chart of an operating method according to the present invention for determining the internal resistance of a battery, in particular with the aid of a battery sensor according to FIG. 1. The method begins at start S. Measured values 50 are subsequently detected in a first step 110. Each measured value 50 includes simultaneous information concerning at least two corresponding measured variables, for example battery current IBatt and battery voltage UBatt. Two successive measured values 50 in each case represent a measuring pair 60. Detected measured values 50 or measuring pairs 60 are subsequently band-pass filtered in an optional step 150. Band pass filter 90 represents a combination of a high pass filter and a low pass filter. The low pass filter is used for filtering high-frequency components in order to adhere to the sampling theorem. In contrast, the high pass filter is used for filtering low-frequency interference signals, for example the pulse width modulation signal for controlling LEDs. The phases of the corresponding measured variables are adapted to one another in a further optional step 160. At least one measuring pair 60 is subsequently selected from a specified number of measuring pairs 60 as selection pair 80 in a step 120. Multiple alternatives are available for selecting selection pair 80. Thus, in a first alternative, each nth measuring pair 60 may be selected from a number of measuring pairs 60 as selection pair 80. In another alternative, measuring pair 60 having the largest current gradient is selected as selection pair 80. In yet another alternative, the average value of specified measuring pairs 60 is formed, and this average value is selected as selection pair 80. Selection pair 80 is then provided to battery model 30 for computing internal resistance Ri in a subsequent step 130. Based on provided selection pair 80, internal resistance Ri is subsequently computed by battery model 30 in a step 140. Lastly, the method ends at end E.
In the normal case, several of these methods according to FIG. 2 run in a time-delayed manner. Thus, for example, a number of specified measuring pairs 60 is detected, and these are further processed as shown; during the processing of these measuring pairs 60, new measuring pairs are already being detected and likewise further processed. In addition, a compression factor may be predefined by the ratio of the specified number of measuring pairs 60 to a number of selection pairs 80 selected therefrom. The detected quantity of measuring pairs 60 may thus be reduced by a targeted selection of measuring pairs 60 as selection pairs 80. Detection 110 of measured values 50 or measuring pairs 60, selection 120 of selection pairs 80, and optionally band-pass filtering 140 and phase adjustment 150 may thus take place at a high working frequency fx. In contrast, the determination of internal resistance Ri by battery model 30 may take place at a lower processing frequency fy due to a data volume reduced by the selection 120.
FIG. 3 shows a diagram in which the detected battery current is plotted with respect to time. Detected measured values 50 which are detected in each case within a time period tm at a continuous interval are illustrated. The reciprocal of time period tm represents working frequency fx of detection means 40 and/or of selection means 70. Optional band pass filter 90 and optional adaptation means 100 likewise have this working frequency fx. A measured value 50 in each case is made up of the value of battery current IBatt and the associated value of battery voltage UBatt at the same point in time; battery voltage UBatt is not graphically illustrated. Two successive measured values 50 in each case represent a measuring pair 60. In addition, the difference between two measured values 50 of a measuring pair 60 is referred to as a gradient. Thus, each measuring pair 60 has a current gradient ΔIBatt and a voltage gradient ΔUBatt. Current gradient ΔIBatt from an existing number of measuring pairs 60 which has the largest magnitude is referred to as maximum current gradient ΔIBatt,max. The same applies for voltage gradient ΔUBatt. For the selection condition for largest current gradient ΔIBatt,max. FIG. 3 illustrates selection pair 80 as selected measuring pair 60. If only one measuring pair 60 is selected as selection pair 80 from a specified number of measuring pairs 60, as shown in FIG. 3, the reciprocal of time period Tn, during which the specified number of measuring pairs 60 is detected, corresponds to processing frequency fy of battery model 30. In contrast, if multiple selection pairs are selected from the specified number of measuring pairs, the reciprocal of time period Tn must still be multiplied by the number of selection pairs in order to determine processing frequency fy.