The present invention relates to a method for reducing deviations between the effective current and the measured current in a pulse-width-modulated current control, in particular for electronic brake control units of motor vehicles, and a circuit arrangement for driving several inductive loads comprising a circuit for the PWM control of the load current.
It is known that significant differences between the regulated nominal current and the effective current occur in the coil in a valve actuation by means of a pulse-width-modulated current (PWM current control), at least when the ratio between PWM frequency and the time constant of the coil is unfavorable. It is further known in the art that there are dependencies on external parameters such as supply voltage and temperature.
For example, the (maximum possible) current
I100%=VREFx/(RL+RDSon-LS). (1)
flows through a permanently activated inductive load (e.g. valve coil).
This current consequently depends on
An object of the invention is to disclose a method and a circuit arrangement for driving loads, reducing deviations from the nominal current and the effective current that flows in the load.
This object is achieved according to the described method and the described circuit arrangement.
A compensation variable according to the invention implies a compensating current ΔI, which can adopt both positive and negative numerical values.
In the method of the invention for reducing deviations between the effective current IRMS and the measured current Imeas in a pulse-width-modulated current control, it is preferred to determine the measured current Imeas in the middle of the switching time ton during an actuation period tPWM.
In a preferred manner, the supply voltage dependency is compensated by the extraction of a valve-related table from defined discrete reference points, wherein the discrete reference points are especially favorably formed of pairs of values produced from the nominal current Inominal and the supply voltage VKL30B. Further, it is preferred that values lying between the discrete reference points are determined by interpolation.
Favorably, the valve-related table is stored in a data memory that is preferably a non-volatile data memory in which data is preserved even after the ignition's switch-off.
It is preferred that the compensation variables are determined separately for each load, in particular for each valve coil, or stored in a table.
The current variation at a valve coil is plotted as a function of time t in
IAVG=DC*I100%=DC*VREFx/(RL+RDSon-LS) (2)
develops, with DC indicating the pulse-duty factor (Duty Cycle) of the PWM actuation. The mode of operation of a PWM control that can be implemented according to the invention has been disclosed in international patent application PC/EP 0 115 040. Strictly speaking, equality applies only with an actuation by means of straight line 1 or with ideal e-functions.
For current control, it is necessary to measure the present coil current at a defined time, illustrated by the symbol @ (“at”), e.g. after half the switching time ton. Consequently, the controller adjusts a measured current Imeas of
Imeas=I(@ton/2)=Inominal (3).
The measured current Imeas corresponds to the average current IAVG only when actuation takes place by way of straight lines. With an actuation with ideal e-functions (corresponds to a coil without an iron core), the current Imeas measured at time ton/2 is higher that the average current IAVG. In current control of a valve, however, the effective current IRMS is of interest that is still somewhat lower than the average current IAVG. Saturation effects (hysteresis) will additionally be encountered in a valve that can be illustrated in a simplified manner as a coil with an iron core, with the result that non-linearities occur, as becomes apparent from the variation of the current curve 2. From this results a further deviation between the effective current IRMS and the measured current Imeas. Thus,
Inominal=IAVG=DC*VREFx/(RL+RDSon-LS) (4)
applies in approximation. This equation is the more precise the higher the PWM frequency is.
A first compensation is still relatively simple in order to eliminate the dependency on the nominal current Inominal. A current difference to be taken from the diagram is added for a defined nominal current Inominal. This is successful only for a defined voltage and a defined temperature. Example: nominal value compensation at VKL30B=12 volt and T=25° C. (curve 3). To reach an effective current IRMS=1 A, a nominal current Inominal=1 A+62.5 mA is predetermined.
A (valve-related) table is produced for a compensation of the voltage dependency in
To compensate variations or abrupt changes in the supply voltage (e.g. at KL30B), an averaging operation by way of the present voltage measurement and previous values is preferred.
For the compensation of the temperature dependency, the temperature is indirectly detected by way of the Duty Cycle adjusted by current control. From equation (4),
RL+RDSon-LS=(DC*VREFx)/Inominal (5)
follows. This formula implies that for the present Duty Cycle only the coil resistor RL (and the on-resistor RDSon-LS) is responsible; the coil temperature appears only indirectly. Therefore, it is initially suitable to convert the data in illustration 3 to a dependency of the coil resistor RL (and the on-resistor RDSon-LS)
RL(T)=RL(@Treference)*(1+αcoil*(Tpresent−Treference)) or RDSon-LS(T)=RDSon-LS(@Treference)*(1+αRon*(Tpresent−Treference)). (6)
In equation (6), the temperature-responsive values of the coil resistor RL(T) and the on-resistor RDSon-LS(T) are determined in consideration of known resistor values RL(@Treference), RDSon-LS(@Treference) at a reference temperature Treference. To this end, the known resistor values RL(@Treference), RDSon-Ls(@Treference) are multiplied with coefficients of correction. These coefficients of correction are basically composed of temperature coefficients (αcoil, αRon) and a temperature difference between the present temperature Tpresent, which is determined from the present Duty Cycle, and the reference temperature Treference. In this respect, αcoil describes the temperature dependency of the coil material used and αRon describes the temperature dependency of the on-resistor RDSon-LS. The on-resistor RDSon-LS represents the parasitic resistance of a switch, with said switch being realized in the shape of a MOSFET-transistor provided on a semiconductor chip. It is also possible to achieve this required switching function in another way, i.e. by means of relay technology, bipolar technology, etc. To relate the dependency to RL+RDSon-LS rather than to the temperature offers the additional advantage that different temperatures in the valve and in the semiconductor chip are detected correctly because these different temperatures are implicitly contained in the present Duty Cycle.
Each one ΔI is in turn stored for pairs of values {Inominal, RL+RDSon-LS} in a table for the purpose of adaptation of nominal values. An additional calibration is suitable in this respect because equation (4) applies only in approximation. It is advisable to measure the Duty Cycle with a specific valve and reference values (e.g. Inominal=1 A, temp.=25° C., VKL30B=12 volt) and to convert the table by means of a corresponding offset.
| Number | Date | Country | Kind |
|---|---|---|---|
| 102 08 832.2 | Mar 2002 | DE | national |
| Filing Document | Filing Date | Country | Kind |
|---|---|---|---|
| PCT/EP03/01944 | 2/26/2003 | WO |