The subject of this patent relates to automatic control of single-input-multi-output (SIMO) systems including industrial processes, equipment, facilities, buildings, homes, devices, engines, robots, vehicles, aircraft, space-vehicles, appliances and other systems, and more particularly to a method and apparatus for automatically controlling two or more continuous process variables by manipulating only one actuator.
In control system applications, it is relatively easy to control single-input-single-output (SISO) systems or multi-input-multi-output (MIMO) systems that have the same amount of manipulated variables as system inputs and controlled process variables as system outputs. In practice, we often have to deal with unevenly paired multivariable systems, where the number of manipulated variables is greater or smaller than the controlled process variables. Depending on the number of system inputs and outputs, we categorize them as multi-input-single-output (MISO) systems and single-input-multi-output (SIMO) systems. These systems are much more difficult to control using conventional control methods.
In U.S. patent application No. 60/474,688, we presented a method and apparatus for controlling MISO systems. In this patent, we introduce a method and apparatus for controlling SIMO systems.
Single-input-multi-output (SIMO) systems are found in situations where one manipulated variable affects 2 or more process variables that need to be controlled. In these cases, there are no other manipulated variables that we can use to form several single-input-single-output (SISO) systems or one evenly paired multi-input-multi-output (MIMO) system. For instance,
Theoretically, a 1×M system with 1 input and M outputs, where M=2, 3, . . . is not controllable since manipulating only one input variable in its range cannot force its M output variables to move to any point within their ranges. In practice, a typical approach is to control the most important process variable and leave the other variables uncontrolled. In the distillation column example, the bottom temperature may be controlled but the plate temperatures are only monitored or loosely controlled by manipulating the reflux. In this patent, we introduce the method and apparatus to control single-input-multi-output (SIMO) systems.
In the accompanying drawing:
The term “mechanism” is used herein to represent hardware, software, or any combination thereof. The term “process” is used herein to represent a physical system or process with inputs and outputs that have dynamic relationships.
A. 2-Input-1-Output Model-Free Adaptive (MFA) Controller
The control objective is for the controller to produce output u(t) to manipulate the manipulated variable so that the measured process variables y1(t) and y2(t) track the given trajectory of their setpoints r1(t) and r2(t), respectively, under variations of setpoint, disturbance, and process dynamics. In other words, the task of the MFA controller is to minimize the error e1(t) and e2(t) in an online fashion.
Since there is only one manipulated variable, minimizing errors for both loops may not be possible. The control objective then can be defined as (i) to minimize the error for the more critical loop of the two, or (ii) to minimize the error for both loops with no weighting on the importance so that there may be static errors in both loops.
We select the objective function for the MFA control system as
The minimization of E1s(t) and E2s(t) is achieved by (i) the regulatory control capability of the MFA controller, whose output u(t) manipulates the manipulated variable forcing the process variables y1(t) and y2(t) to track the given trajectory of their setpoints r1(t) and r2(t), respectively; and (ii) the adjustment of the MFA controller weighting factors that allow the controller to deal with the dynamic changes, large disturbances, and other uncertainties of the control system.
Since both neural networks in each controller are identical, we will drop the subscript in the following equations to simplify. The input signal e(t) to the input layer 19, 20 is first converted to a normalized error signal E, with a range of −1 to 1 by using the normalization unit 25, 26, where N(.) denotes a normalization function. The output of the normalization unit 25, 26 is then scaled by a scaling function L(.) 15, 16:
The value of E1 at time t is computed with function L(.) and N(.):
where Kc>0 is defined as controller gain and Tc is the user selected process time constant. Kc is used to compensate for the process steady-state gain and Tc provides information for the dynamic behavior of the process. When the error signal is scaled with these parameters, the controller's behavior can be manipulated by adjusting the parameters.
The E1 signal then goes iteratively through a series of delay units 27, 28, where z−1 denotes the unit delay operator. A set of normalized and scaled error signals E2 to EN is then generated. In this way, a continuous signal e(t) is converted to a series of discrete signals, which are used as the inputs to the neural network. These delayed error signals Ei, i=1,2, . . . N, are then conveyed to the hidden layer through the neural network connections. This is equivalent to adding a feedback structure to the neural network. Then the regular static multilayer neural network becomes a dynamic neural network.
A Model-Free Adaptive controller uses a dynamic block such as a dynamic neural network. A dynamic block is just another name for a dynamic system, whose inputs and outputs have dynamic relationships.
Each input signal can be conveyed separately to each of the neurons in the hidden layer 21, 22 via a path weighted by an individual weighting factor wij, where i=1,2, . . . N, and j=1,2, . . . N. The inputs to each of the neurons in the hidden layer are summed by adder 29, 30 to produce signal pj. Then the signal pj is filtered by an activation function 31, 32 to produce qi, where j denotes the jth neuron in the hidden layer.
A piecewise continuous linear function ƒ(x) mapping real numbers to [0,1] is used as the activation function in the neural network as defined by
where a is an arbitrary constant and b=½.
Each output signal from the hidden layer is conveyed to the single neuron in the output layer 23, 24 via a path weighted by an individual weighting factor hj, where j=1,2, . . . N. These signals are summed in adder 33, 34 to produce signal z(.), and then filtered by activation function 35, 36 to produce the output o(.) of the neural network 17, 18 with a range of 0 to 1.
A de-normalization function 37, 38 defined by
D(x)=100x, (5)
maps the o(.) signal back into the real space to produce the controller signal v(t).
The algorithm governing the input-output of the controller is seen by the following difference equations:
where the variable of function f(.) is in the range specified in Equation (4b), and o(n) is bounded by the limits specified in Equations (4a) and (4c). The controller signal v(t) becomes
where n denotes the nth iteration; o(t) is the continuous function of o(n); D(.) is the de-normalization function; and Kc(.)>0, the controller gain 41, 42, is a parameter used to adjust the magnitude of the controller. This is the same parameter as in the scaling function L(.) 15, 16 and is useful to fine tune the controller performance or keep the system stable.
An online learning algorithm as described in U.S. Pat. No. 6,556,980 B1 is an example of one algorithm that can be used to continuously update the values of the weighting factors of the MFA controller as follows:
Δwij(n)=a2ηe(n)Ei(n)hj(n), (10)
Δhj(n)=aηe(n)qj(n). (11)
The equations (1) through (11) work for both process direct-acting or reverse acting types. Direct-acting means that an increase in the process input will cause its output to increase, and vice versa. Reverse-acting means that an increase in the process input will cause its output to decrease, and vice versa. To keep the above equations working for both direct and reverse acting cases, e(t) is calculated differently based on the acting type of the process as follows:
e(t)=r(t)−y(t), if direct acting (12a)
e(t)=−[r(t)−y(t)]. if reverse acting (12b)
This is a general treatment for the process acting types. It applies to all Model-Free Adaptive controllers to be introduced below.
We can consider that there are two single-input-single-output (SISO) MFA controllers 44 and 46 in this design with input signals e1(t) and e2(t), and output signals v1(t) and v2(t). Then the Combined Output Setter 48 can be used to combine the signals v1(t) and v2(t) to produce the controller output u(t).
The compensation-type Feedforward MFA controller described in the U.S. Pat. No. 6,556,980 B1 is an example of how a Feedforward MFA controller is designed. Due to the adaptive capability of the feedback MFA controller, we can design a Feedforward MFA controller with a first-order dynamic block as follows:
where D(S) and Yf(S) are the Laplace transform of signals d(t) and yf(t), the input and output signals of the Feedforward controller, respectively, Gfs(S) is the Laplace transfer function of the Feedforward controller, Kcf is the feedforward gain, Tcf is the feedforward time constant, and Ksf is the feedforward sign factor. We can select the constants Kcf, Tcf, and Ksf based on the basic understanding of the process. The system can also be fine tuned by adjusting these constants.
The control signals u1(t) and u2(t) are calculated based on the following formulas:
u1(t)=v1(t)+vf1(t), (14a)
u2(t)=v2(t)+vf2(t), (14b)
where v1(t) and V2(t) are the feedback MFA controller outputs and Vf1(t) and vf2(t) are the Feedforward MFA controller outputs. There may be cases where there is only one active feedforward controller. If FFC1 is inactive, vf1(t)=0 and then u1(t)=v1(t). If FFC2 is inactive, vf2(t)=0 and then u2(t)=v2(t).
u(t)=Ru1(t)+(1−R)u2(t), (15)
where 0≦u(t)≦100; 0≦R≦1; and R is a constant.
Here we introduce an alternative mechanism for the Combined Output Setter based on the controller gains. The formula to combine multiple controller outputs into one output using controller gains follows:
where Kc1, and Kc2 are MFA controller gains for SISO MFA 1 and SISO MFA 2, respectively. This allows the 2×1 MFA controller to dynamically tighten the more important loop of the two. We can easily set a higher controller gain for the more important loop to minimize its error as the highest priority and allow the other loop to be relatively in loose control. On the other hand, we can also easily set both controller gains at an equal value so that both loops are treated with equal importance.
Both mechanisms represented in Equations (15) and (16) can be used as the Combined Output Setter 48 and 56 in
To expand the design, we can rescale the control output signal u(t) from its 0% to 100% range to an engineering value range by using a linear function. In addition, control limits and constraints can be applied to these signals for safety or other reasons to limit the control actions. These design concepts can be readily applied to all the controllers presented in this patent.
B. 3-Input-1-Output Model-Free Adaptive Controller
The control objective is for the controller to produce output u(t) to manipulate the manipulated variable so that the measured process variables y1(t), y2(t), and y3(t) track the given trajectory of their setpoints r1(t), r2(t), and r3(t), respectively, under variations of setpoint, disturbance, and process dynamics. In other words, the task of the MFA controller is to minimize the error e1(t), e2(t), and e3(t) in an online fashion.
Since there is only one manipulated variable, minimizing errors for all three loops may not be possible. The control objective then can be defined as (i) to minimize the error for the most critical loop, or (ii) minimize the error for all 3 loops with no weighting on the importance so that there may be static errors in all loops.
The control signals u1(t), u2(t), and u3(t) are calculated based on the following formulas:
u1(t)=v1(t)+vf1(t), (17a)
u2(t)=v2(t)+vf2(t), (17b)
u3(t)=v3(t)+Vf3(t) (17c)
where v1(t), v2(t), and v3(t) are the feedback MFA controller outputs and vf1(t), vf2(t), and vf3(t) are the Feedforward MFA controller outputs. If a Feedforward MFA controller is not active, its vfj(t)=0, then uj(t)=vj(t), j=1, 2, 3.
u(t)=R1u1(t)+R2u2(t)+(1−R1−R2)u3(t), (18)
where 0≦u(t)≦100; 0≦R1<1; 0≦R2<1; 0≦R1+R2≦1; and R1 and R2 are constants.
Similar to the 2×1 case, the controller gain weighted Combined Output Setter algorithm is given in the following formula:
where Kc1, Kc2 and Kc3 are MFA controller gains for SISO MFA 1, 2, and 3, respectively. This allows the 3×1 MFA controller to dynamically tighten the most important loop of the three. We can easily set a higher controller gain for the most important loop to minimize its error and allow the other loops to be relatively in loose control. We can also set these 3 controller gains at an equal value so that all loops are treated with equal importance. Both mechanisms represented in Equations (18) and (19) can be used as the Combined Output Setter 76 and 88 in
C. Single-Input-Multi-Output Model-Free Adaptive Controller
The control objective is for the controller to produce output u(t) to manipulate the manipulated variable so that the measured process variables y1(t), y2(t), . . . , yM(t) track the given trajectory of their setpoints r1(t), r2(t), . . . , rM(t), respectively, under variations of setpoint, disturbance, and process dynamics. In other words, the task of the MFA controller is to minimize the error e1(t), e2(t), . . . , eM(t) in an online fashion.
Since there is only one manipulated variable, minimizing errors for all M loops may not be possible. The control objective then can be defined as (i) to minimize the error for the most critical loop, or (ii) to minimize the error for all M loops with no weighting on the importance so that there may be static errors in all loops.
The control signals u1(t), u2(t), . . . , uM(t) are calculated based on the following formulas:
u1(t)=v1(t)+vf1(t), (20a)
u2(t)=v2(t)+v2(t) (20b)
. . .
uM(t)=vM(t)+vfM(t), (20c)
where v1(t), v2(t), . . . , vM(t) are the feedback MFA controller outputs and vf1(t), vf2(t), . . . , vfM(t) are the feedforward MFA controller outputs. If a Feedforward MFA controller is not active, its vfi(t)=0, then uj(t)=vj(t), j=1, 2, . . . , M.
u(t)=R1u1(t)+R2u2(t)+ . . . +(1−R1− . . . −RM-1)uM(t) (21)
where M=3, 4, 5, . . . ; 0≦u(t)≦100; 0≦R1≦1; 0≦R2≦1; . . . 0≦RM-1≦1; 0≦R1+R2+ . . . +RM-1≦1; and R1, R2, RM-1 are constants.
Similarly, a controller gain weighted Combined Output Setter algorithm is given in the following formula:
where Kc1, Kc2, . . . , KcM are MFA controller gains for SISO MFA 1, 2, and M, respectively. This allows the M×1 MFA controller to dynamically tighten the most important loop. We can easily set a higher controller gain for the most important loop to minimize its error as the highest priority and allow the other loops to be relatively in loose control. We can also set these M controller gains at an equal value so that all loops are treated with equal importance.
Both mechanisms represented in Equations (21) and (22) can be used as the Combined Output Setter 112 and 126 in
To expand the design, we can rescale the control output signal u(t) from its 0% to 100% range to an engineering value range by using a linear function. In addition, control limits and constraints can be applied to these signals for safety or other reasons to limit the control actions.
D. 2-Input-1-Output PID Controller
The control objective is for the controller to produce output u(t) to manipulate the manipulated variable so that the measured process variables y1(t) and y2(t) track the given trajectory of their setpoints r1(t) and r2(t), respectively. In other words, the task of the 2×1 PID controller is to minimize the error e1(t) and e2(t) in an online fashion.
Since there is only one manipulated variable, minimizing errors for both loops may not be possible. The control objective then can be defined as (i) to minimize the error for the more critical loop of the two, or (ii) to minimize the error for both loops with no weighting on the importance so that there may be static errors in both loops.
The standard PID algorithm has the following form:
where Kp is the Proportional Gain, Ti is the Integral Time in second/repeat, Td is the Derivative Time in repeat/second, and uj(t) is the output of the jth PID, j=1, 2.
The Combined Output Setter illustrated in
u(t)=Ru1(t)+(1−R)u2(t), (24)
where 0≦u(t)≦100; 0≦R≦1; and R is a constant.
A controller gain weighted Combined Output Setter algorithm is given in the following formula:
where Kp1 and Kp2 are proportional gains for PID 1 and PID 2, respectively. This allows the 2×1 PID controller to dynamically tighten the more important loop of the two. We can easily set a higher proportional gain for the more important loop to minimize its error as the highest priority and allow the other loop to be relatively in loose control. We can also easily set both controller gains at an equal value so that both loops are treated with equal importance.
Both mechanisms represented in Equations (24) and (25) can be used as the Combined Output Setter 144 in
To expand the design, we can rescale the control output signal u(t) from its 0% to 100% range to an engineering value range by using a linear function. In addition, control limits and constraints can be applied to these signals for safety or other reasons to limit the control actions.
Since PID is not an adaptive controller, proper manual tuning of its parameters Kp, Ti, and Td is required. When process dynamics change, frequent manual tuning of the parameters may be required. Model-Free Adaptive (MFA) controllers will outperform the PIDs because of their adaptive capability.
E. Multi-Input-Single-Output PID Controller
The control objective is for the controller to produce output u(t) to manipulate the manipulated variable so that the measured process variables y1(t), y2(t), . . . , yM(t) track the given trajectory of their setpoints r1(t), r2(t), . . . , rM(t), respectively. In other words, the task of the PID controller is to minimize the error e1(t), e2(t), . . . , eM(t) in an online fashion.
Since there is only one manipulated variable, minimizing errors for all M loops may not be possible. The control objective then can be defined as (i) to minimize the error for the most critical loop, or (ii) to minimize the error for all M loops with no weighting on the importance so that there may be static errors in all loops.
The standard PID algorithm has the following form:
where Kp is the Proportional Gain, Ti is the Integral Time in second/repeat, Td is the Derivative Time in repeat/second, and uj(t) is the output of the jth PID, j=1,2, . . . M.
Similarly, we can expand the 2×1 case to the M×1 case. The Combined Output Setter illustrated in
u(t) R1u1(t)+R2u2(t)++(1−R1− . . . −RM-1)uM(t), (27)
where M=3, 4, 5, . . . , 0≦u(t)≦100; 0≦R1≦1; 0≦R2≦1; . . . ; 0≦RM-1≦1; 0≦R1+R2+ . . . +RM-1≦1; and R1, R2 . . . , RM-1, are constants.
Similarly, a controller gain weighted Combined Output Setter algorithm is given in the following formula:
where Kp1, Kp2, . . . , KpM are proportional gains for PID 1, 2, . . . , M, respectively. This allows the M×1 PID controller to dynamically tighten the most important loop. We can easily set a higher proportional gain for the most important loop to minimize its error as the highest priority and allow the other loops to be relatively in loose control. We can also set these M proportional gains at an equal value so that all loops are treated with equal importance. Both mechanisms represented in Equations (27) and (28) can be used as the Combined Output Setter 158 in
Since PID is a general-purpose controller, the 2×1 and M×1 PID controllers presented in this patent apply to all alternative forms of PID algorithms. They may be P only, PI, PD, or PID controllers, in analog or digital formulas, with various definitions of variables, parameters and units, etc. This Mxl PID controller with the Combined Output Setter will be more powerful than a single-input-single-output PID controller when controlling a 1×M system. However, since it is not an adaptive controller, it may not be able to handle large dynamic changes in the systems. Proper manual tuning of PID parameters is always required. The M×1 Model-Free Adaptive (MFA) controller presented in this patent is a more preferred solution for controlling a 1×M system.
F. Multi-Input-Single-Output Controller
The control objective is for the controller to produce output u(t) to manipulate the manipulated variable so that the measured process variables y1(t), y2(t), . . . , yM(t) track the given trajectory of their setpoints r1(t), r2(t), . . . , rM(t), respectively. In other words, the task of the MISO controller is to minimize errors e1(t), e2(t), . . . , eM(t) in an online fashion.
Since there is only one manipulated variable, minimizing errors for all M loops may not be—possible. The control objective then can be defined as (i) to minimize the error for the most critical loop, or (ii) to minimize the error for all M loops with no weighting on the importance so that there may be static errors in all loops.
The MISO controller comprises M single-input-single-output (SISO) controllers 172, 173, 174. Without losing generality, we assume the control outputs for the SISO controllers C1, C2, . . . , CM are calculated based on the following formulas, respectively:
u1(t)=f(e1(t), t, P11, P12, . . . P1l) (29a)
u2 (t)=f(e2(t), t, P21, P22, . . . , P2l, (29b)
. . .
uM(t)=f(eM(t), i, PM1, PM2, . . . , PMt), (29c)
where t is time, P11, P12, . . . , P1l are tuning parameters for controller C1, P21, P22, . . . , P2l are tuning parameters for controller C2, . . . , and PM1, PM2, . . . , PMl are tuning parameters for controller CM.
The Combined Output Setter illustrated in
u(t)=R1u1(t)+R2u2(t)+ . . . +(1−R1− . . . RM-1)uM(t) (30)
where M=3, 4, 5 . . . , 0≦u(t)≦100; 0≦R1≦1; 0≦R2≦1; . . . ; 0≦RM-1≦1; 0≦R1+R2+ . . . +RM-1<1; and R1., R2 . . . , RM-1 are constants.
Similarly, a controller gain weighted Combined Output Setter algorithm is given in the following formula, assuming the controller gain is the first parameter P1:
where P11, P21, . . . , PMl are gains for controller C1, C2, . . . , CM, respectively. This allows the MISO controller to dynamically tighten the most important loop. We can easily set a higher controller gain for the most important loop to minimize its error as the highest priority and allow the other loops to be relatively in loose control. We can also set these M controller gains at an equal value so that all loops are treated with equal importance. Both mechanisms represented in Equations (30) and (31) can be used as the Combined Output Setter 176 in
This is a general case example of converting M single-input-single-output (SISO) controllers including but not limited to Model-Free Adaptive (MFA) controllers, or proportional-integral-derivative (PID) controllers, or any other form of SISO controllers to a multi-input-single-output (MISO) controller to control a single-input-multi-output (SIMO) system.
| Number | Date | Country | |
|---|---|---|---|
| 60494488 | Aug 2003 | US |