Background of the Invention
The invention relates to a controlling system comprising a comparator unit, which determines a system deviation from a reference variable and a controlled variable, and comprising a correcting device, which is arranged downstream from the comparator unit and which determines a manipulated variable of a controlled system process.
Generally, controlling systems are used to solve automatic feedback control tasks, e.g., to control the speed of a motor. The speed of a variable-speed controlled motor is determined by a measuring device of the controlling system and fed to a comparator unit. From the acquired controlled variable corresponding to the motor speed and from a reference variable corresponding to a setpoint speed, the comparator unit forms a system deviation. From the system deviation, a correcting device produces a manipulated variable, which acts on a controlled system and effects the desired adjustment of the controlled variable.
The described automatic feedback control task can also be solved by a programmable controller using a program for that purpose. First, the controlled variable existing in analog form is sampled and converted into a digital form. From the controlled variable in digital form and the reference variable, the programmable controller subsequently computes the system deviation and, in accordance with a control algorithm from the system deviation, the manipulated variable. The manipulated variable is output after being converted into an analog quantity. This type of conventional programmable controller has the disadvantage that the individual instructions of the control program are gradually read out from a memory device, interpreted, and the corresponding operations are finally carried out. The time span required to process the control program determines when the reference variable and the controlled variable are sampled. Moreover, the accuracy with which the controlled variable is converted from the analog into the digital form must conform to the desired control accuracy. In addition, individual adaptations of the controlling system to the properties of the controlled system are mostly only possible by increasing the sampling time.
These disadvantages may be eliminated in part by fuzzy controllers. With fuzzy controllers, the instantaneous values of the reference variable and of the controlled variable are initially converted into truth values, for which the numerical range of values of the variables being considered is characterized by linguistic values and described by a membership function (fuzzification). Finally, the linguistic rules are processed and the membership function is retranslated into a representative numerical value of the manipulated variable y (defuzzification). The fuzzy controllers, however, also have the disadvantage of long sampling times.
A process for producing control signals in dependence upon input signals by means of a finite automaton is disclosed in DE-OS 37 43 438. The data storage unit of the automaton is partitioned into areas (or sectors) each one of which is allocated to one instantaneous state. Each area is also divided into subareas. These subareas are each allocated to an input vector: the combinations of the input variables relevant to the current instantaneous state. From the totality of the current incoming input variables, those input variables which are relevant to the current instantaneous state are selected as current input. The subarea of the data storage unit corresponding to the selected input vectors is read out from the area allocated to the instantaneous state and allocated to the current input vector. The reaction time to state changes of the input variables is thereby shortened.
Summary of the Invention
The present invention is a controlling system for automatic feedback control tasks which acts quickly on a manipulated variable. The controlling system comprises a comparator unit, a correcting device, and a differential device. The comparator unit determines the system deviation from a reference variable and from a controlled variable. The differential device generates a difference quotient from the controlled variable. The correcting device determines a manipulated variable and is arranged downstream from the comparator unit. The correcting device receives the difference quotient from the differential device and receives the system deviation from the comparator unit. The correcting device, in accordance with a control instruction, starting from an instantaneous state selects a sequential state. Then, the correcting device acts on the manipulated variable in accordance with the sequential state.
In another embodiment, the correcting device allocates a first digital vector to a specifiable range of values of the system deviation and allocates a second digital vector to a specifiable range of values of the difference quotient. The correcting device spans a state plane exhibiting states by the first and second digital vectors and then selects states with multiple digital vector pairs.
The correcting device may also perform the action on the manipulated variable, in accordance with the sequential state, by a function created in advance.
The controlling system according to the invention is provided, in particular, for a programmable state controller.
Brief Description of the Drawings
FIG. 1 illustrates a controlling system.
FIG. 2 illustrates the allocation of digital vectors to relative deviations of analog variables within specifiable ranges of values.
FIG. 3 illustrates the representation of a state plane.
FIG. 4 illustrates the time characteristic of the reference and the controlled variable during one control process in the controlling system according to FIG. 1.
FIG. 5 illustrates the representation of state transitions during the control process.
Detailed Description
As shown in FIG. 1, a controlling system 5 comprises a comparator unit 1 and a measuring device 6. The measuring device 6 derives an acquired controlled variable x from a controlled variable xa. From a reference variable w and an acquired controlled variable x, the comparator unit 1 determines a system deviation d of the form
at an instant t, where kl represents a constant quantity. From the controlled variable x, a differential device 4 generates, at an instant t+.DELTA.t, a difference quotient of the form
The difference quotient is supplied, together with the system deviation d, to the correcting device 2 arranged downstream from the comparator unit 1. The correcting device 2 having a memory device selects a sequential follow-up state, in accordance with a control instruction stored in this memory device, in dependence upon the system deviation d, the difference quotient q, and an instantaneous state. The correcting device 2 then acts in accordance with this sequential state on a manipulated variable y of a controlled system 3. When the transition is made into this sequential state, a function allocated to this state and generated in advance is performed, and calculates a new value of the manipulated variable y.
For clarification of the control instruction, reference is first made to FIG. 2. FIG. 2 shows the allocation of digital vectors xd and xq to the respective relative deviations aw and bw of analog values. In this case, the three-bit wide digital ##EQU1## the relative deviation within specifiable limits ##EQU2## a, b . . . f.
Likewise, the three-bit wide digital vector xq maps the relative deviation within specifiable limits a, b . . . f, where d signifies the system deviation, w signifies the reference variable, x signifies the acquired controlled variable, q signifies the difference quotient, and s is the unit of time seconds. For example, the digital vectors xd and xq with the coordinates (000) are allocated to the relative deviations aw and bw of the analog variables in a range of -100% to -60%, and the digital vectors xd and xq with the coordinates (111) to the range of +60% to +100%.
FIG. 3 illustrates a state plane spanned by the digital vectors xd and xq. Based on knowledge about the performance characteristics of the controlled system 3 (see FIG. 1), states Z0, Z1, Z1', . . . are allocated to the grid areas of the state plane. The same state is able to be allocated to a plurality of grid areas. The states Z1', Z2'. . . Z7' are arranged, for example, in mirror symmetry to the axis A-A'. The state Z7 of the grid area RF7 can signify, e.g., "maximum manipulated variable y for accelerating the speed of a motor to the setpoint speed", and the state Z7' of the grid area RF7', "maximum manipulated variable y for reducing the speed of a motor to the setpoint speed".
The method of functioning and mode of operation of the controlling system according to the invention are illustrated in FIGS. 4 and 5. FIG. 5 shows the quadrant of the state plane designated by I in FIG. 3, in which state transitions are depicted at various instants during a control process, as shown in FIG. 4. It is assumed that during the control process, the controlled variable x runs in accordance with the curve depicted in FIG. 4 and that, at an instant t0, the current instantaneous state is the state Z3 (FIG. 5). At an instant t1, the relative deviation aw of the controlled variable x from the reference variable w lies in the range of between about -60% and about -100%. Thus, in accordance with the control instruction, the correcting device 2 produces a digital vector xd=(000) corresponding to this deviation aw (FIG. 2). The relative deviation bw is determined from the difference quotient, which is computed from the controlled variable x at the time instants t0 and t1 as
and lies within a range of between about +15% and about +30% As a result, the correcting device 2 produces a digital vector xq=(101) and, with the digital vector pair (xd, xq) formed at the instant t1, starting from the instantaneous state Z3 valid at the instant t0, selects the sequential state Z2 (FIG. 3). When the transition is made into this sequential state Z2, a function appropriate to this state is performed and is used to calculate a new value for the manipulated variable y, for example in accordance with the relation:
where k2 signifies a positive real constant. Accordingly, at an instant t2, with the generated digital vector pair (xd,xq)=((001),(101)), the transition is made from the instantaneous state Z2 valid at the instant t1 into the sequential state Z1, and a new value of the manipulated variable y is calculated, in accordance with the relation:
where k3 is a positive, real constant. At an instant t3=t2+.DELTA.t, the correcting device 2 with the digital vector pair (xd.sub.3,xq.sub.3)=((001),(110)) changes from the state Z1 into the sequential state Z0. The function corresponding to this sequential state is executed during the state transition with respect to the calculation of the manipulated variable y.
For every state change, the controlling system of the present invention performs an individually executable function to calculate a new value for the manipulated variable y. As a result, for every state transition, the manipulated variable y can be manipulated as needed, thereby making it possible to realize fast controllers with any desired performance characteristics. There is a need to realize controlling systems, which have the property of being independent to the greatest possible extent of the controlled system, and which require a considerably shorter time to calculate the manipulated variable in comparison to known programmable controllers. Another advantage that is attained over conventional controlling systems is that the present invention eliminates the need to tie the controller to an exact PID (proportional-plus-integral-plus-derivative) action with appropriate parameter adjustment kp, ki, kd.
In summary, when the controlling system is in a state Zi(t) at the instant ti and when it samples a newly ordered digital input vector pair xdk, xqk at an instant tk=ti+.DELTA.t, then the controlling system goes over to a sequential state Zk allocated to the new input vector pair and, by means of a function fk stored in advance in the memory device of the controlling system that can be selected, as needed, produces a new manipulated variable yk. The "knowledge" of the non-linear characteristics of a controlled system can be considered in the controlled system.