This application is based on German Patent Application 10 2008 043 869.3 filed Nov. 19, 2008.
1. Field of the Invention
The invention relates to a closed-loop control system for a controlled system, and to a control method for a controlled system.
2. Description of the Prior Art
Closed-loop control systems are often used in the prior art for regulating technical processes. A controller of the closed-loop control system serves to vary one or more physical variables to a predetermined level. In industrial applications, the linear PI controller is often used. The wide distribution of the PI controller is explained by the fact that adjusting it requires no complex mathematical models. However, the PI controller has the disadvantage that only a controlled variable is regulated with a controlling variable. Other variables of the controlled system to be regulated can overshoot or undershoot permissible values. PI controllers until now have been able to employ limitations of the controlling variables only through massive losses of the control quality. For instance, a gradient limitation in the controlled variable in the sense of pilot control is known for making a violation of a controlling variable limitation unlikely. Because of the absence of feedback of the state variable, however, this feature does not offer reliable realization and can significantly worsen the guide behavior, since the limitation of the controlled variable must be designed for the worst case in each situation.
The object of the present invention is to disclose a closed-loop control system for a controlled system which overcomes the aforementioned disadvantages, and in particular to describe a closed-loop control system without losses of control quantity in the non-limited range.
According to the invention, a closed-loop control system for a controlled system for specifying at least one controlling variable to the controlled system is disclosed, having a primary controller, for generating the controlling variable within an interval between a maximum controlling variable barrier and a minimum controlling variable barrier; at least one measuring mechanism for determining a controlled variable of the controlled system; at least one measurement system for ascertaining at least one state variable of the controlled system; and at least one secondary controller, for varying the maximum controlling variable barrier and the minimum controlling variable barrier as a function of the state variable.
The nucleus of the closed-loop control system of the invention as well as of the control method is that the two controlling variable barriers are varied as a function of a state variable of the controlled system to be regulated. Conventional controllers can output arbitrary manipulated variables between a maximum controlling variable barrier and a minimum controlling variable barrier. As described, only by means of elements that worsen the control quality can the manipulated variable be prevented in the prior art from violating the controlling variable barrier. According to the invention, a state variable of the controlled system is now measured and evaluated. As a function of this defined state variable, a variation of the controlling variable barriers takes place. Thus the controlling variable barriers are adapted dynamically to the state of the controlled system to be regulated.
By means of the invention, it is possible to regulate a controlled system using a standard controller and at the same to eliminate violations of state limitations by adapting the controlling variable barriers of the controller. Since the regulation is often optimal along state limitations, it is thus possible to move the controlled variable without sacrificing control quality and without reversing closed-loop control circuits; eliminating the violation of state limitations is given priority over regulating the controlled variable. Thus the closed-loop control system according to the invention has a constructive simplicity that distinguishes it from known methods and closed-loop control systems.
In the context of the invention, it is the part of a closed-loop control circuit whose controlled variable is to be regulated with a controlling variable that is known as a controlled system. The controlled system itself does not contain the controller. In the context of the invention, the controlled system is a closed feedback system which comprises at least one controlled system, a controller, and the feedback. What is definitive for a closed-loop control circuit is the closed operating circuit with negative feedback. In the invention, the closed-loop control circuit is also called a closed-loop control system. The controlled variable of a closed-loop control circuit is the variable to be regulated, which is usually a measured value but can also be some other variable that can be varied. If the variable deviates from the desired value (also called the command variable), then the attempt is made to eliminate this control difference by means of a controller.
The controller automatically, in a usually technical process varies one or more physical variables to a predetermined level, reducing interference factors. To do so, the controller compares the signal of the set-point value on an ongoing basis with the measured and fed-back actual value of the controlled variable and from the difference between the two variables ascertains a controlling variable, which varies the controlled system in such a way that the standard deviation in the steady state, is minimized.
In the context of the invention, the manipulated variable, also called a controlling variable, is the variable calculated by the controller from the control difference between the desired value and the actual value. This variable is located at the output of the controller. With this variable, the factors in the controlled system are triggered in order to compensate for the existing control difference.
An advantageous variant embodiment of the closed-loop control system according to the invention is distinguished in that the primary controller and/or at least one of the secondary controllers has an I, PI, or PID controller core. An I controller is a controller with at least one integral member. A PI controller has at least one integral and at least one proportional member. A PID controller, in comparison to a PI controller, additionally has at least one differential member.
In a further advantageous feature, it is provided that the primary controller generates to controlling variable within a controller interval between a maximum controlling variable limit and a minimum controlling variable limit, and the interval between the controlling variable barriers is located within the controller interval. This feature has the advantage that despite adaptation of the controlling variable barriers, these controlling variable barriers do not overshoot the controlling variable limits predetermined by the primary controller. The primary controller has mechanical and/or electronically predetermined controlling variable limits. They describe the maximum or minimum magnitude of the controlling variable signal to be generated by the primary controller. Within this controller interval predetermined by the controlling variable limits, the controlling variable barriers can be varied freely as a function of the state variable. For easier comprehension, the following nomenclature will be used:
maximum controlling variable barrier u_max or umax
minimum controlling variable barrier u_min or umin
maximum controlling variable limit u_max_real or umax
minimum controlling variable limit u_min_real or umax
Thus for the controlling variable limits and controlling variable barriers, the following relationship pertains:
u_min_real≦u_min<u_max≦u_max_real.
A further advantageous variant embodiment provides that the primary controller and/or at least one of the secondary controllers is embodied such that an integrator windup is avoidable if the controlling variable reaches the maximum controlling variable barrier or the minimum controlling variable barrier or the maximum controlling variable limit or the minimum controlling variable limit. In controllers, if the controlling variable limitation is overshot (the controlling variable output of the controller exceeds the physical limits of the final control element), a windup effect can occur. The controller assumes a value above the possibilities for the final control element and on the return causes unwanted delays. This is counteracted with the limitation to the controlling variable limits (anti-windup). This has the advantage that the controlled variable, even if the associated controlling variable was located in the controlling variable limitation before, reacts rapidly to a change of sign of the particular control difference at the input to the controller. The reason for this is that the change in the controlling variable, immediately after the reversal of the sign of the control difference, reverses its sign, since the so-called integrator windup, that is, a runup of the integrator of a PI or PID controller while the controlling variable is located in its limitation, is avoided.
It has proved advantageous if the closed-loop control system has a model module, and the model module has a model of the controlled system. The model module serves to generate information about the controlled system. In the model module, a mathematical model of the controlled system can for instance be stored in memory. The model is thus a mathematical and in particular functional or statistical copy of the controlled system. This has the advantage that measured state variables which have been ascertained by means of the measurement system can be compared with state variables calculated in the model. This comparison of the measured and calculated state variables allows a precise variation of the maximum and minimum controlling variable barriers. In particular a nonlinear behavior of the controlled system as a function of the state variable and/or of the controlling variable can be stored in memory in the model. Accordingly, an adaptation of the controlling variable barriers is possible after comparison with the model. Additionally or alternatively, it is possible for the information obtained with the model to be combined with the measured state variable in order to attain a variation of the controlling variable barriers. Consequently, the measured controlling variable is only one part of the information that is taken into account in the variation of the controlling variable barriers. On the basis of the at least one ascertained state variable, comparisons are made with the model and/or further, nonmeasured state variables of the controlled system are calculated. By means of a combination of the state variables thus ascertained, a precise variation of the controlling variable barriers can then be done.
It has proved especially advantageous if the closed-loop control system is used for regulating a fuel cell. Consequently, within the scope of the invention, a fuel cell system with at least one fuel cell is also claimed, and the fuel cell system has at least one closed-loop control system in accordance with one of the variant embodiments described above.
The object according to the invention is also attained by a control method for a controlled system, wherein a controlling variable is generated; the controlling variable is generated within an interval between a maximum controlling variable barrier and a minimum controlling variable barrier; on the basis of the controlling variable, at least one state variable of the controlled system is ascertained; at least one of the maximum controlling variable barrier and the minimum controlling variable barrier is changed as a function of the state variable; and the controlling variable is converted by the controlled system into a controlled variable.
Characteristics and details that have been disclosed in conjunction with the closed-loop control system of the invention also apply in conjunction with the control method of the invention, and vice versa. Once again, the special feature is that a state variable of the controlled system is ascertained, and this varies the controlling variable barriers. Thus a dynamic adaptation of the interval in which the controlling variable can be generated is possible.
A further advantageous method step provides that the controlling variable is generated within a controller interval between a maximum controlling variable limit and a minimum controlling variable limit, and the interval between the controlling variable barriers is located within the controller interval. By means of this method step, it is assured that the controlling variable barriers are changed only within the predetermined controller interval. The controller interval itself is predetermined by the intrinsic properties of the primary controller. The controller interval is a limitation predetermined by the mechanical and/or electronic properties of the primary controller and/or of the controlled system. The method step thus assures that despite the dependency of the minimum and maximum controlling variable barriers on the at least one state variable, they are still always located within the controller interval. That means that even a theoretically possible change in the controlling variable barriers beyond the limitations predetermined by the controller interval will not be performed. It is thus assured that no controlling variable barriers are generated that are located outside the controller interval predetermined by the primary controller.
An advantageous variant of the control method is distinguished in that the maximum controlling variable barrier is calculated as follows:
It has also proved advantageous if the minimum controlling variable barrier is calculated as follows:
The abbreviations have the following meanings:
It has also proved advantageous if the controlled system and/or the state variable is modeled. By means of a mathematical and/or statistical representation of the controlled system and/or of the state variable in a model, conclusions can be drawn about the variation of the controlling variable barriers. It is thus possible from the very outset in particular to plan for nonlinear modes of behavior of the controlled system and to make suitable adaptations of the controlling variable barriers possible.
It has also proved advantageous if the closed-loop control system described above is used for performing the control method also described above.
The invention will be better understood and further objects and advantages thereof will become more apparent from the ensuing detailed description of preferred embodiments taken in conjunction with the drawings, in which:
In
A measurement system 50 is integrated with or disposed on the controlled system 20. The measurement system 50 serves to ascertain at least one state variable x of the controlled system 20. It is thus the task of the measurement system 50 to determine the state variable x that characterizes the controlled system 20. The state variable x is correlated directly or indirectly with the controlled variable y. The primary controller 30 has a maximum controlling variable limit u_max_real and a minimum controlling variable limit u_min_real. As a function of the predetermined set-point value w, the controlling variable u can be varied between the maximum controlling variable limit and the minimum controlling variable limit. Both controlling variable limits are determined by intrinsic properties of the primary controller 30. These may be electronic and/or mechanical properties of the primary controller 30 that define these controlling variable limits. The controlling variable can be allowed to fluctuate only between the predetermined controlling variable limits:
u_min_real≦u≦u_max_real.
For attaining the aforementioned object of the invention, it is now provided that the closed-loop control system 10 has a secondary controller 60. The secondary controller 60 is connected to the measurement system 50 on one side and to the primary controller 30 on the other. The special feature according to the invention is that the secondary controller performs a variation of a maximum controlling variable barrier u_max and a minimum controlling variable barrier u_min as a function H(x) of the state variable x. The maximum and minimum controlling variable barriers of the interval 70 are variable limits for the controlling variable u within the controller interval predetermined by the controlling variable limits. Consequently, the controlling variable barriers must be located within the controller interval defined by the controlling variable limits:
u_min_real≦u_min≦u≦u_max≦u_max_real.
Thus a dynamic adaptation of the controlling variable barriers to the state variable is possible.
The measurement system 50 determines a state variable x from the controlled system 20. To attain optimal regulation of the controlled system 20, predetermined limitations may be present. In the context of the example described here, it is assumed that the limitation to be adhered is as follows:
H
i(X)≦0.
Consequently, it is to be assumed that the dependency H(x) on the state variable should always be less than or equal to zero. For each limitation Hi(X), is must be clarified whether a violation of the aforementioned limitation can be eliminated by means of increasing or decreasing the controlling variable u. For an ith limitation Hi
By means of this combination of two controllers, both guide behavior and the elimination of state limitations can be attained in a simple way because the band of the primary controller 30 within which the controlling variable u can be influenced is restricted. By the use of anti-windups, the integrators of the controllers are tracked and guarantee a calm course of the controlling variable.
To illustrate the usefulness of the closed-loop control system 10, a fuel cell system 100 or a fuel cell 110 will serve as the controlled system 20. In
H2=>2H++2e− (anode reaction)
2H++2e−+½O2=>H2O (cathode reaction)
The electric current obtained can be consumed in a load element. The reactand oxygen can be supplied to the fuel cell in the form of ambient air. To attain a uniform distribution of the reactands to the electrode elements, each of the electrode chambers of the fuel cell 110 has a flow field plate 140.
In
The integration of the closed-loop control system 10 according to the invention with the anode path is shown in
In order to better describe the control method and the closed-loop control system 10 according to the invention, a calculation of the controlling variable barriers will be described below taking as an example a lambda regulation for an anode path. However, this example should not be understood as a restriction but instead serves solely to illustrate the method of the invention and the closed-loop control system of the invention. For that purpose,
1. The afterpressure p2 must not drop below a defined minimum pressure p2min.
2. The pressure difference Δp=p1−p2 must not exceed a defined maximum value Δpmax.
3. The pressure difference Δp=p1−p2 must not undershoot a defined minimum value Δpmin.
According to the invention, it is provided that a violation of one of the aforementioned limitations is counteracted by means of increasing or reducing the rpm of the recirculation element. As a result, the pressure at which the reactand in the return line 151 (
1. By rpm reduction, in order to increase the afterpressure p2 again, if the pressure p1 is kept constant.
2. By rpm reduction, in order to lower the pressure difference Δp=p1−p2.
3. By increasing the rpm, in order to raise the pressure difference Δp=p1−p2.
The rpm of the recirculation element 150 is controlled by the controlling variable u, which is generated by the primary controller 30. For this controlling variable u, it is intended that it must be within controlling variable limits:
u_min_real≦u≦u_max_real.
For the three limitations named above, functions H can now be formed, which are dependent on the two pressures p1 and p2, and for which the relationship H(p1, p2)≦0 applies. Thus the following three functions result:
H
1p
=p
2,min
−p
2 1.
H
2p
=Δp−Δp
max 2.
H
1n
=Δp
min
−Δp 3.
These three functions can be supplied to three PI controllers 61, 62 and 63 with anti-windup function. From the outputs, the results are the various variables, added to or subtracted from the maximum controlling variable limit, that produce the maximum or minimum controlling variable barrier. The maximum controlling variable barrier and the minimum controlling variable barrier can be calculated as follows:
The variables ΔUmax1 and ΔUmax2 are added in an adder 190. Next, by means of a comparator element 200, it is ensured that the ascertained controlling variable barriers do not overshoot or undershoot the controlling variable limits. By means of this adjustment, the closed-loop control system 10 according to the invention enables a dynamic adaptation of the controlling variable harriers to the conditions actually present in the controlled system 20.
The foregoing relates to preferred exemplary embodiments of the invention, it being understood that other variants and embodiments thereof are possible within the spirit and scope of the invention, the latter being defined by the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
10 2008 043 869.3 | Nov 2008 | DE | national |