The present invention relates to a method for adapting controller parameters of a drive to different operating states. Such methods are used in the field of drive engineering to constantly obtain as optimal stability and control performance as possible, as independently of the specific operating state of the drive as possible.
In the field of control engineering, PID controllers are familiar as position controllers for the exact positioning with the aid of electrical drives. The parameterization of such PID controllers is sometimes not easy, especially when very different operating states occur. Operating-state-dependent behavior of the system to be controlled due to non-linearities makes it impossible to find a set of parameters which is optimal in every operating state with respect to the control performance and the stability of the complete controller structure.
Thus, saturation effects ensure that the bandwidth of a current controller is worse at high currents than at low currents. In addition, at particularly low velocities, stick-slip effects may occur in a system to be controlled, which play no role at higher velocities in whose range only sliding friction prevails.
It is conventional to adapt gain factors in control loops to different operating states. U.S. Pat. No. 5,006,770 describes a velocity controller having a PI structure, whose I gain factor is set to be inversely proportional to the specific velocity in order to compensate for stick-slip effects. However, such a PI structure is not well-suited as a position controller, and in addition, it is not possible to compensate for saturation effects.
Example embodiments of the present invention provide a method for adapting controller parameters of a drive to different operating states, which permits as optimal control of the drive as possible, regardless of the operating state of the drive.
A method is described for adapting controller parameters of a drive to different operating states. The control loop of the drive includes a PID controller whose I gain factor is adapted to a drive velocity, and whose D gain factor is adapted to a drive current, and consequently to a drive load.
In a parameterization unit which is used to adapt the two gain factors in the PID controller, the drive velocity and the drive current pass through an absolute-value generator and a filter of the second order, before the absolute values thus formed are each assigned suitable gain factors in an assignment unit, and then used in the PID controller.
This method makes it possible to adapt the controller parameters to different operating states in terms of the drive velocity and the drive current.
According to example embodiments of the present invention, a method for adapting controller parameters of a drive to different operating states, a control loop of the drive including a PID controller having an I gain factor adapted to a drive velocity and a D gain factor adapted to a drive current and consequently to a drive load, includes: (a) determining the I gain factor based on the drive velocity, the I gain factor falling with the drive velocity; and (b) determining the D gain factor based on the drive current, the D gain factor rising with the drive current. The determining (b) includes: determining the D gain factor as a first D gain factor below a first limiting drive current; determining the D gain factor as a second D gain factor above a second limiting drive current, the second D gain factor greater than the first D gain factor; and determining a continuous transition between the first D gain factor and the second D gain factor between the first limiting drive current and the second limiting drive current.
Further features and details pertaining to example embodiments of the present invention are described below with reference to the Figures.
Drive current Imess (meant by this is the measured value which indicates the magnitude of the drive current) measured in current control loop 3 and actual position value Xmess are additionally supplied to a parameterization unit 5, whose task is explained in greater detail further below.
As customary, PID controller 1 is made up of a proportional P-branch which switches through the input of PID controller 1, multiplied by a P gain factor Kp, to the output of PID controller 1, an I-branch integrating over time, which switches through the input, multiplied by an gain factor Ki and integrated over time, to the output, as well as a deriving D-branch, which switches through the input, derived over time and multiplied by a D gain factor Kd, to the output. The output of PID controller 1 is therefore formed from the sum of the P-branch, I-branch and D-branch.
Hereinafter, the three gain factors indicated are also denoted as Kp, Ki and Kd for short.
PID(jω)=Iref(jω)/Δ(jω)=Ki*1/jω+Kp+Kd*jω
Consequently, PID(jω) is approximately equal to Ki*1/jω for small frequencies ω, and approximately equal to Kd*jω for large frequencies ω.
Since the mechanical transfer function of control loop 2 shows a velocity dependency precisely in the area in which PID(jω) is approximately equal to Ki*1/jω, and current control loop 3 has a load dependency precisely in the area in which PID(jω) is approximately equal to Kd*jω, it is provided to compensate for these two non-linearities by a velocity-dependent or load-dependent adaptation of Kd and Ki.
Kd and Ki are adapted by parameterization unit 5 already mentioned above. Such a parameterization unit 5 may be provided in hardware or—like the entire controller structure—may be mapped in software. Parameterization unit 5 has the task of deriving suitable gain factors Kd and Ki for PID controller 1 from velocity v of the drive and drive current Imess measured in the drive. To that end, in the present exemplary embodiment, first of all a drive velocity v must be derived from the change in actual position value Xmess over time, since drive velocity v is not measured directly. If the state variables velocity v and measured drive current Imess are present, Ki and Kd are derived according to
According to
The state variables thus prepared, which hereinafter are also denoted as v′ and I′mess, are then each fed to an assignment unit 8, which assigns a gain factor Ki, Kd to respective state variable v′, I′mess. This gain factor Ki, Kd is then used in PID controller 1.
A linear interpolation between value pairs v1, Ki1 and v2, Ki2 may be calculated particularly easily. Alternatively, for the transition it is also possible to use greatly differing mathematical functions which define a continuous transition from Ki1 to Ki2.
Its numerical values are indicated merely by way of example:
v1=2 μm/s, Ki1=300, v2=20 μm/s, Ki2=200
I1=1.8 A, Kd1=1250, I2=2.4 A, Kd2=2000
The practical realization of assignment unit 8 may also be accomplished via look-up tables for Ki and Kd, in which suitable gain factors Ki and Kd, respectively, are entered for a number of velocities v, v′ and drive currents Imess, I′mess. Intermediate values may be interpolated if necessary.
The method described above for adapting controller parameters Kd, Ki is considered to be best in the interaction of linear or rotary direct drives with the controller structure shown in
Number | Date | Country | Kind |
---|---|---|---|
10 2006 056 902 | Dec 2006 | DE | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/EP2007/008979 | 10/17/2007 | WO | 00 | 6/25/2009 |
Publishing Document | Publishing Date | Country | Kind |
---|---|---|---|
WO2008/064740 | 6/5/2008 | WO | A |
Number | Name | Date | Kind |
---|---|---|---|
5006770 | Sakamoto et al. | Apr 1991 | A |
5781875 | Maki et al. | Jul 1998 | A |
20020144163 | Goodfellow et al. | Oct 2002 | A1 |
20090318265 | Ginther | Dec 2009 | A1 |
Number | Date | Country |
---|---|---|
0 728 929 | Aug 1996 | EP |
WO 9214196 | Apr 1991 | WO |
Number | Date | Country | |
---|---|---|---|
20100066296 A1 | Mar 2010 | US |