Method for controlling the current of an inductive load
10270373 · 2019-04-23
Assignee
Inventors
Cpc classification
H02M1/08
ELECTRICITY
International classification
H02M1/08
ELECTRICITY
Abstract
A method for pulse-modulated current control of an inductive load current. A first operating mode is implemented when a change in current setpoint value is effected. An initial duty cycle of the pulse modulation is determined and used to operate the inductive load in a second operating mode. In the first operating mode, a switching state of at least one switching element is set depending on whether a current setpoint value of the load current is higher or lower than a current setpoint value of a directly preceding cycle. The switching state is retained until a current limit value is reached and then switched over. The switching state of the switching element is switched over multiple times to generate a prescribed number of periods, and the duty cycle of the pulse modulation is determined based on at least a portion of the prescribed number of periods.
Claims
1. A method for pulse-modulated (PWM) current control of a load current of an inductive load by at least one switching element for switching the load current, in which a first operating mode for operating the inductive load is implemented when a change in the current setpoint value has been effected, the method comprising: setting, in the first operating mode, during a present cycle, a switching state of the switching element depending on whether a current setpoint value of the load current in the present cycle is higher or lower than a current setpoint value of a directly preceding cycle, wherein when the current setpoint value of the load current in the present cycle is higher than the current setpoint value of the directly preceding cycle: the switching state is closed and retained until the current setpoint value of the load current in the present cycle is reached and is then opened, the opened switching state is retained for a predetermined amount of time, and is then closed, wherein the switching state of the switching element is switched between the opened and closed state multiple times to generate a prescribed number of periods, wherein when the current setpoint value of the load current in the present cycle is lower than the current setpoint value of the directly preceding cycle: the switching state is opened and retained until the current setpoint value of the load current in the present cycle is reached and is then closed, the closed switching state is retained for a predetermined amount of time, and is then opened, wherein the switching state of the switching element is switched between the opened and closed state multiple times to generate a prescribed number of periods, and determining the duty cycle of the pulse modulation based on at least a portion of the prescribed number of periods, said duty cycle being used as the initial duty cycle for the second operating mode.
2. The method as claimed in claim 1, wherein an average duty cycle is determined based on at least the portion of the prescribed number of periods, said average duty cycle being used as the initial duty cycle for the second operating mode.
3. The method as claimed in claim 1, wherein the initial duty cycle for use in the second operating mode is calculated using an average length of time of at least one of the switching states of the switching element over at least a portion of the number of periods.
4. The method as claimed in claim 1, wherein the initial duty cycle is calculated using an average switch-on time of the switching element over at least a portion of the number of periods.
5. The method as claimed in claim 1, wherein a period duration of the periods is prescribed by a timer.
6. The method as claimed in claim 1, wherein proceeding from an initial duty cycle identified in the first operating mode, the duty cycle during the second operating mode is prescribed taking into account the current setpoint value.
7. The method as claimed in claim 1, wherein in the second operating mode, a current actual value is determined, a control deviation from the current actual value and the current setpoint value is detected and the control deviation is used to calculate a duty factor of the pulse-width modulation.
8. An electronic circuit arrangement for the pulse-modulated current control of a load current of an inductive load comprising: at least one switching element for switching the load current; and a control circuit for actuating the switching element, wherein the circuit arrangement is configured to operate the inductive load in a first operating mode when a change in the current setpoint value has been effected, wherein, in the first operating mode, during a present cycle, a switching state of the switching element is set depending on whether a current setpoint value of the load current in the present cycle is higher or lower than a current setpoint value of a directly preceding cycle, wherein when the current setpoint value of the load current in the present cycle is higher than the current setpoint value of the directly preceding cycle: the switching state is closed and retained until the current setpoint value of the load current in the present cycle is reached and is then opened, the opened switching state is retained for a predetermined amount of time, and is then closed, and wherein the switching state of the switching element is switched between the opened and closed state multiple times to generate a prescribed number of periods, wherein when the current setpoint value of the load current in the present cycle is lower than the current setpoint value of the directly preceding cycle: the switching state is opened and retained until the current setpoint value of the load current in the present cycle is reached and is then closed, the closed switching state is retained for a predetermined amount of time, and is then opened, wherein the switching state of the switching element is switched between the opened and closed state multiple times to generate a prescribed number of periods, and the duty cycle of the pulse modulation is determined based on at least a portion of said periods, said duty cycle being used as the initial duty cycle (DC) for the second operating mode.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) Further preferred embodiments emerge from the following description of exemplary embodiments on the basis of figures.
(2) In a basic illustration:
(3)
(4)
(5)
(6)
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
(7) In order to enable a short and simple description of the exemplary embodiments, identical elements are provided with the same reference signs.
(8)
(9) According to this exemplary embodiment, the control circuit 2 has an A/D converter 2.1, which digitizes the amplified measurement signal output by the current measuring amplifier 2.2 for the purpose of processing by the control circuit 2.
(10) The method according to an aspect of the invention for operating a valve coil L is explained in the following text based on the time/current graph according to
(11) In general, the following holds true:
(12)
(13) The duty cycle DC is influenced by the supply voltage U and the overall resistance R of the load circuit, in particular the resistance of the coil L and the measuring resistor R.sub.m. Since these are variable in running operation, for example on account of temperature influences, a clear load current I.sub.L cannot be derived from a prescribed duty cycle (and vice versa).
(14) The valve coil L is therefore energized in at least two phases or operating modes, wherein, upon a change in the current setpoint value I.sub.SETPOINT being determined, the load current I.sub.L is moved closer to the new current setpoint value I.sub.SETPOINT in an operating mode I according to the method steps explained with reference to
(15)
(16) The load current I.sub.L for the operating mode II is adjusted based on the changed current setpoint value I.sub.SETPOINT by using the average duty cycle DC.sub.mean.
(17) After determination of said starting duty cycle DC.sub.mean for the operating mode II, said operating mode follows the operating mode I, which can be implemented according to the method steps according to
(18) The upper current limit value I.sub.SETPOINT,o,I of the first operating mode I is determined to be higher than the upper current limit value I.sub.SETPOINT,o,II of the second operating mode II, in particular in order to achieve a situation in which the average load current I.sub.L in the operating mode II runs approximately in the center between the current limit values, wherein the fact that the switch-on and switch-off behavior of the load current I.sub.L has an exponential profile and an average current is therefore lower than an average value between the upper I.sub.SETPOINT,o,II and the lower I.sub.SETPOINT,u,II current limit value is taken into account. The described procedure can likewise be applied in the case of a reduction in the setpoint current value I.sub.SETPOINT, wherein there is preferably no provision for widening of the tolerance range, by appropriate determination of the lower current limit value I.sub.SETPOINT,u,I, in order to prevent too low a load current I.sub.L in the operating mode I.
(19) A more precise explanation of the calculation of the starting value of the duty cycle of the current control during the operating mode I is given below with reference to
(20) If the current setpoint value I.sub.SETPOINT during the comparison in method step S3 is not less than or greater than the current setpoint value I.sub.Setpoint,t1 of the preceding cycle, that is to say the load current I.sub.L is intended to be increased, the load circuit 1 is closed in method step S4.1 by means of the FET transistor T1, so that there is an increase in the load current I.sub.L when the valve coil L is energized. The current actual value I.sub.ACTUAL is detected in each case at consecutive sampling times t.sub.Si (i=1, 2, . . . ), which differ by a control pause duration t of, for example, 200 s, and a check is then carried out in step S5.1 to determine whether the upper current limit value I.sub.SETPOINT,o,I has been reached or exceeded, wherein the check is cyclically repeated until an exceeding has been identified and subsequently the load current I.sub.L is switched off by means of corresponding actuation of the FET transistor T1 in method step S6.1 at least until the exceeding of a length of time or period duration set by means of the timer started in step S2, wherein, after the set length of time of the timer has been exceeded, the counting starts again, so that it is run through cyclically. After a length of time (S7.1), a check is carried out to determine whether the prescribed number of PWM periods generated in this way has been reached, wherein there is a return to method step S4.1 when further periods are envisaged. The number of periods generated in this way can preferably be adapted.
(21) The average load current I.sub.L for the operating mode II is adjusted based on the current setpoint value I.sub.SETPOINT by means of said PWM periods. If the preset number N of periods is reached, in method step S9, a defined number of switch-on times t.sub.on1, t.sub.on2, . . . of the periods is used and the corresponding average duty cycle DC.sub.mean is calculated therefrom based on equation (1). Said corresponding average duty cycle is transmitted as the starting duty cycle to the current controller for the execution of the operating mode II. In this case, the lengths of time of the last two switch-on phases t.sub.on1, t.sub.on2 can be used, for example, to form an average value:
t.sub.on.sub._.sub.mean=(t.sub.on1+t.sub.on2)/2.
(22) If the load current I.sub.L is intended to be reduced, that is to say the prescribed current setpoint value I.sub.SETPOINT during the comparison in method step S3 is lower than the current setpoint value I.sub.SETPOINT,t1 of the preceding cycle, the load circuit 1 is interrupted in method step S4.2 by means of the FET transistor T1, whereupon the load current is reduced, and in S5.2 a check is then carried out to determine whether the lower current limit value I.sub.SETPOINT,u,I has been undershot, wherein the check is repeated until an undershoot is identified and subsequently the load current I.sub.L is switched on (S7.2) for a prescribed length of time t.sub.on1, . . . by means of appropriate actuation of the FET transistor T1 in method step S6.2. If the length of time t.sub.on1 has been exceeded, a check (S8.2) is carried out to determine whether the prescribed number of periods generated in this way has been reached, wherein there is a return to method step S4.2 when further periods are provided. If the preset number N of periods has been reached, in method step S9, the duty cycle DC.sub.mean to be used for the operating mode II is calculated and transmitted to the current controller for execution of the operating mode II, as has already been described.
(23)
(24) The limit values I.sub.SETPOINT,u and I.sub.SETPOINT,o can also be combined according to a preferred configuration of an aspect of the invention to form a single current setpoint value in order to implement the control of the load current I.sub.L,II during the operating mode II with respect to said single current setpoint value, wherein continuous adjustment is performed by the control.