Control device, control method, and program

The control device employs a dual control structure with a main and high-speed complementary control period to address the performance issues of model predictive control, ensuring rapid response and improved control precision in controlled objects with long time constants.

JP2024126120AActive Publication Date: 2024-09-20FUJI ELECTRIC CO LTD

Patent Information

Application Number
JP2023034303
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-07
Publication Date
2024-09-20
Estimated Expiration
2043-03-07

AI Technical Summary

Technical Problem

The control performance of model predictive control deteriorates when the control period is too long or too short, as it fails to adequately respond to changes in the target value and disturbances, especially in controlled objects with long time constants.

Method used

A control device with a dual control structure, incorporating a main control period and a high-speed complementary control period, where the main control period uses model predictive control and the high-speed complementary control period rapidly adjusts to disturbances, ensuring quick response and improved control performance.

Benefits of technology

The dual control structure effectively suppresses control performance deterioration by allowing rapid adjustment to target value changes and disturbances, even with limited computational resources, thereby enhancing control precision and reducing overshoot.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024126120000001
    Figure 2024126120000001
Patent Text Reader

Abstract

To provide a technique that can suppress deterioration in control performance.SOLUTION: A control device according to one aspect of the present disclosure outputs an operation amount with respect to a control target, and makes a controlled variable of the control target follow a target value. The control device includes: a main control unit which outputs a next operation amount ua with respect to the control target by model prediction control based on the operation amount and the controlled variable for every first control cycle Tc; and a high speed complement control unit which outputs next operation amount ub with respect to the control target for every second control cycle Tf which is shorter than the first control cycle Tc. The high speed complement control unit calculates a prediction target deviation ef which is a prediction value of a target deviation after a predetermined lookahead length Tp based on the controlled variable at time t0 immediately after the operation amount ua is output from the main control unit, the lookahead length Tp, and the target value, and calculates, as the operation amount ub, a sum of the operation amount ua, and an average of an instantaneous operation variation amount, which is calculated based on the prediction target deviation ef and a predetermined gain kI.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to a control device, a control method, and a program. [Background technology]

[0002] Model predictive control is known as one of the control methods that aims to make the control amount of a control target follow a target value. For example, a technology has been proposed that realizes model predictive control on edge devices such as a programmable logic controller (PLC) or a distributed control system (DCS), while automatically adjusting the control parameters required for the model predictive control (Patent Document 1). [Prior art documents] [Patent documents]

[0003] [Patent Document 1] Patent No. 7014330 Summary of the Invention [Problem to be solved by the invention]

[0004] However, the control period of the model predictive control needs to be appropriately determined according to the time constant of the controlled object. In order to fully utilize the effect of prediction, it is necessary to determine a relatively long control period according to the time constant, but a control period that is too long may result in a decrease in control performance.

[0005] The present disclosure has been made in consideration of the above-mentioned points, and aims to provide a technique that can suppress deterioration of control performance. [Means for solving the problem]

[0006] A control device according to an embodiment of the present disclosure is a control device that outputs an operation amount for a controlled object and makes the controlled amount of the controlled object follow a target value, the control device having a first control period T cFor each operation, a next operation amount u for the control object is calculated by model predictive control based on the operation amount and the control amount. a a main control unit that outputs the first control period T c A second control period T f For each control, the next manipulated variable u b and a high-speed complementation control unit that outputs the manipulated variable u from the main control unit. a The control amount at time t0 immediately after the output of p Based on the target value, the look-ahead length T p The predicted target deviation e, which is the predicted value of the target deviation in the future f Calculate the predicted target deviation e f and a given gain k I The average instantaneous operation change amount calculated based on the above and the operation amount u a The sum of the above operation amount u b Calculate as follows. Effect of the Invention

[0007] A technique is provided that can suppress deterioration of control performance. [Brief description of the drawings]

[0008] [Figure 1] 1 is a diagram illustrating an example of an overall configuration of a control device according to a first embodiment; [Diagram 2] FIG. 13 is a diagram for explaining an example of the operation of a plant response function. [Diagram 3] 11 is a flowchart for explaining an example of a calculation process of a plant response function. [Figure 4] 11 is a flowchart illustrating an example of a process for estimating model parameters. [Diagram 5] 11 is a diagram for explaining an example of an operation of a look-ahead response correction unit; FIG. [Figure 6] 11 is a diagram for explaining an example of the operation of an operation change amount calculation unit. FIG. [Figure 7] 11 is a flowchart illustrating an example of a calculation process of a control parameter. [Figure 8] FIG. 13 is a diagram for explaining an example of an outline of calculation of a look-ahead length. [Figure 9] 11 is a flowchart illustrating an example of a calculation process of a look-ahead length. [Figure 10] 11 is a diagram for explaining an example of the operation of a high-speed complement control unit; FIG. [Figure 11] 11 is a flowchart illustrating an example of a process for calculating a complementary manipulated variable. [Figure 12] FIG. 1 is a diagram (part 1) for explaining an example of a predicted target deviation. [Figure 13] FIG. 13 is a diagram (part 2) for explaining an example of a predicted target deviation. [Figure 14] 11 is a diagram for explaining an example of a response when a high-speed complementation control unit is used; FIG. [Figure 15] FIG. 2 is a diagram illustrating an example of a hardware configuration of a control device according to the first embodiment. [Figure 16] FIG. 11 is a diagram illustrating an example of an overall configuration of a control device according to a second embodiment. [Figure 17] FIG. 4 is a diagram showing a plant response in an embodiment. [Figure 18] 11A and 11B are diagrams illustrating a controlled variable, a target value, and a manipulated variable when fast complementary control is disabled in the embodiment. [Figure 19] 1 is a diagram (part 1) showing a controlled variable, a target value, and a manipulated variable when fast complementary control is effective in the embodiment. FIG. [Figure 20] FIG. 13 is a diagram (part 2) showing the controlled variable, the target value, and the manipulated variable when the fast complementary control is effective in the embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0009] Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings. In the following, a control device 10 capable of suppressing a decrease in control performance caused by an excessively long control period of model predictive control will be described. Note that the control device 10 described below is assumed to be, for example, an edge device (such as a PLC or DCS) that has fewer computational resources than a PC (personal computer) or the like.

[0010] Generally, if a control period that is too short is set for a control target with a long time constant, the prediction effect may not be fully achieved. In addition, there is a tendency for a large amount of memory to be consumed and for the model to be unable to be correctly identified. On the other hand, if a control period that is too long is set, the effects of changes in the target value (target value for the controlled variable) that occur during the control timing and disturbances, etc., cannot be reflected in the control, and the control performance may deteriorate. For this reason, although it is necessary to set an appropriately long control period according to the time constant of the control target, there is a dilemma in that a control period that is too long may result in a deterioration in control performance.

[0011] Therefore, in the control device 10 described below, in addition to a controller for model predictive control (main control unit 104 described later), a control period T c (Hereinafter, "main control period T c ) is a control period T f (Hereinafter referred to as “high-speed control period T f "). A controller (high-speed complement control unit 105 described later) is provided to control the controlled object at high speed. This allows the main control period T c Even if the control period T f Since the controlled object is controlled at high speed every main control period T, for example, it is possible to quickly follow the change in the target value for the controlled variable and the influence of fast-changing disturbances, and it is possible to suppress the deterioration of the control performance. c Even if the control device 10 has to lengthen the main control period T, the deterioration of the control performance can be suppressed. In other words, even if the calculation resources of the control device 10 are scarce, the control performance can be suppressed while the deterioration of the control performance is suppressed.c It is possible to perform model predictive control in which the above-mentioned is set. Furthermore, it is expected that control deviations that are insufficiently suppressed by model predictive control (for example, control deviations due to overshooting, etc.) can be improved. An example of the controlled variable is the temperature of the controlled object, and an example of the target value is a set temperature. However, these are both merely examples, and the controlled variable and target value are not limited to the temperature and set temperature, and any controlled variable in the controlled object and a target value that is a target for the controlled variable can be used.

[0012] In the following, a case will be described in which a plant is assumed as a controlled object, and the control device 10 controls a controlled plant 20. However, the controlled object is not limited to a plant, and any device, equipment, facility, etc. can be the controlled object.

[0013] [First embodiment] The first embodiment will be described below.

[0014] <Example of overall configuration of control device 10> First, an example of the overall configuration of the control device 10 according to the first embodiment will be described with reference to Fig. 1. Fig. 1 is a diagram showing an example of the overall configuration of the control device 10 according to the first embodiment.

[0015] 1, the control device 10 according to the first embodiment includes a model parameter estimation unit 101, a measurement unit 102, a subtractor 103, a main control unit 104, a high-speed complementation control unit 105, a first timer 106, a second timer 107, and a switch 108. Each of these units is realized by, for example, processing executed by one or more programs installed in the control device 10 in a processor such as a CPU (Central Processing Unit) or an MPU (Micro-Processing Unit).

[0016] The first timer 106 is a main control period T c The main control period T cThis refers to a period for controlling the controlled plant 20 by model predictive control, and its value is set in advance.

[0017] The second timer 107 is a high-speed control period T f The high-speed control period T f is defined as nT where n is a predetermined arbitrary natural number. f =T c The high-speed control period T f The value of the main control period T c It is set in advance in the same manner as above.

[0018] The measurement unit 102 measures the high-speed control period T f The control unit 10 measures (observes) a control amount y of the controlled plant 20 every 10 seconds, and outputs the measured control amount y. The control amount y of the controlled plant 20 is determined according to an operation amount u and a disturbance v. When the control amount y is temperature, an example of the disturbance v is a decrease or increase in the outside air temperature.

[0019] In addition, the measurement unit 102 measures the high-speed control period T f For each control, the control unit 103 obtains (observes) the manipulated variable u output from the switch 108 and outputs the obtained manipulated variable u. Note that an example of the manipulated variable u is the opening / closing amount of a valve that controls the flow rate of the heat medium when the controlled variable y is temperature.

[0020] Hereinafter, when the time t at which the controlled variable y is measured is to be specified, it will be expressed as y(t). Similarly, when the time t at which the manipulated variable u is acquired is to be specified, it will be expressed as u(t). Similarly, when the time t is to be specified for other variables, "(t)" will be added after the variable.

[0021] The differentiator 103 outputs the difference (deviation) between the target value r and the controlled variable y as the target deviation e0. The target deviation e0(t) at time t is calculated as e0(t)=r(t)-y(t). In the following, as an example, the target value is assumed to be constant, that is, r(t)=constant. However, this is only an example, and the target value r(t) may vary depending on the time t.

[0022] The main control unit 104 has a main control period T c In other words, the main control unit 104 controls the controlled plant 20 by the model predictive control every main control period T c A plant response function {S θ (t)}, the manipulated variable u a In the following, as an example, a counter called a main control unit update counter is stored in the memory, and the manipulated variable u a Each time the plant response function {S θ (t)} includes the model parameter θ to be estimated by the model parameter estimation unit 101.

[0023] Here, the main control unit 104 includes a control parameter calculation unit 111 , a look-ahead response correction unit 112 , an operation change amount calculation unit 113 , and an adder 114 .

[0024] The control parameter calculation unit 111 calculates the plant response function {S θ (t)} and the adjustment coefficients α and β are input, and the control gain k I and lookahead length T p and outputs these to the operation change amount calculation unit 113 and the look-ahead response correction unit 112. However, the control parameter calculation unit 111 does not have to be included in the main control unit 104.

[0025] The look-ahead response correction unit 112 calculates the plant response function {S θ(t)}, the target deviation e0(t), and the past operation amount u a The operation change amount time series {du(t)} is the time series data of the change amount du of the operation, and the look-ahead length T p Based on this, the target deviation e0(t) is corrected to obtain the corrected target deviation e * Calculate (t).

[0026] The operation change amount calculation unit 113 calculates the corrected target deviation e * (t) and control gain k I The operation change amount calculation unit 113 calculates the operation change amount du(t) based on, for example, du(t-3T c ), du(t-2T c ), du(tT c The operation change amount du(t) is calculated and output in the order of the main control period T c Operation amount u a is the amount that has changed.

[0027] The adder 114 adds the operation amount u output from the measurement unit 102 and the operation change amount du acquired from the operation change amount calculation unit 113 to obtain a new operation amount u a That is, the adder 114 calculates t=n1T for any integer n1. c At each time t that satisfies a (t) = u(tT c )+du(t). The adder 114 calculates the new manipulated variable u a is output to the switch 108.

[0028] The model parameter estimation unit 101 estimates the main control period T c For each step, the control variable y and the operation variable u are input, and the plant response function {S θ (t)} model parameter estimates θ est In the following, the plant response function {S θ The model parameter θ set in {(t)} is also called the "model parameter setting value θ". Note that the estimated value θ of the model parameter est When calculating, an initial value θ0 of the model parameter may be input.

[0029] The high-speed complement control unit 105 has a high-speed control period T f That is, the high-speed complementation control unit 105 controls the controlled plant 20 at each high-speed control period T f For each operation, the manipulated variable u b Calculate and output the following, where t=n2T for some integers n2 and n3. f and t = n3T c For time t, u b (t)=u a (t).

[0030] The switch 108 is a control circuit for controlling the operation amount u b Or u a Tou b and outputs the manipulated variable u to the controlled plant 20. That is, the switch 108 inputs both n4 and n5, and outputs the manipulated variable u to the controlled plant 20. c And t=n5T f At each time t that satisfies b Input the control variable u = u b and t=n4T c And t=n5T f At each time t that satisfies a and u b Input the control variable u = u a =u b Output.

[0031] In addition, the control device 10 according to the first embodiment has a main control period T cThe control device 10 may have a display unit that sequentially displays the model parameters and control parameters (control gain, look-ahead length) calculated for each time on a display device such as a display, or a display control unit that sequentially displays these model parameters and control parameters on a display device of a terminal such as a PC connected via a communication network. This allows a user or manager of the control device 10 (hereinafter also referred to as "user, etc.") to know the trends of the model parameters and control parameters, and to check the identification state of the plant response model and the adjustment state of the control parameters. In addition, it is also possible to find signs of a sudden change in the plant response model.

[0032] <Plant response function {S θ (t)} operation> Next, the plant response function {S θ The operation of the plant response function {S θ FIG. 13 is a diagram for explaining an example of the operation of {(t)}.

[0033] As shown in Figure 2, the plant response function {S θ (t)} is a unit step response S at time t after time t has elapsed since the initial time 0 when the model parameter setting value θ and time t are input. θ The unit step response is a response when the manipulated variable is a unit step input (that is, the output of the plant response model of the controlled plant 20).

[0034] <Plant response function {S θ Calculation of (t) Next, the plant response function {S θ (t)} unit step response S θ The process of calculating (t) will be described with reference to FIG. 3. FIG. 3 shows the plant response function {S θ 3 is a flowchart for explaining an example of a calculation process of {(t)}. Note that in FIG. 3, it is assumed that a model parameter setting value θ and a time t are input.

[0035] In this embodiment, the plant response function S θ A case will be described where an ARMA (autoregressive moving average) model using autoregression of past N points for the controlled variable y and a moving average of the current value and past M points for the manipulated variable u is adopted as the calculation model for (t). Note that N and M are set in advance by, for example, a user. However, this is just an example, and other models such as an ARMAX model may be adopted.

[0036] At this time, the model parameter setting value θ is

number

number

[0037] Step S11: The main control unit 104 initializes the time τ and the state vector φ(0), with τ representing a variable indicative of time and φ(k) representing a state vector at index k. The main control unit 104 also initializes the index k to k=0.

[0038] Here, the state vector φ(k) is

number

[0039] For example, when considering a disturbance v at L past points, the state vector φ(k) can be expanded to a state vector having L disturbances v(k) as elements in addition to y(k) and u(k).

[0040] The main control unit 104 initializes τ to 0, for example, and

number

[0041] Step S12: Next, the main control unit 104 calculates a controlled variable prediction value y(k) based on the model parameter setting value θ and the state vector φ(k). For example, the main control unit 104 calculates y(k)=φ(k). Τ The controlled variable prediction value y(k) is calculated based on θ, where T represents the transpose.

[0042] Step S13: Next, the main control unit 104 updates the state vector φ(k+1) at the next index (i.e., k+1) based on the controlled variable predicted value y(k) and the state vector φ(k). The main control unit 104 updates the state vector φ(k+1), for example, as follows.

number

[0043] Step S14: Next, the main control unit 104 updates the time τ to τ+ΔT and updates the index k to k+1. Here, ΔT represents the time width of one step of the ARMA model. The time step ΔT of the plant response function can be set arbitrarily according to the time constant of the controlled plant 20. For example, the time step ΔT of the main control period T c It is preferable to set it equal to

[0044] Step S15: Next, the main control unit 104 judges whether or not τ≧t. If it is not judged that τ≧t is satisfied (NO in step S15), the main control unit 104 returns to step S12. As a result, steps S12 to S14 are repeatedly executed until τ≧t is satisfied.

[0045] On the other hand, if it is determined that τ≧t (YES in step S15), the main control unit 104 ends the process. As a result, the finally calculated y(k) is the unit step response S θ (t) (i.e., S θ (t)=y(k) is the step response function {S θ The unit step response at time t of the equation {(t)} is calculated.

[0046] <Estimation of model parameter θ> Next, the plant response function {S θ (t)} (i.e., the model parameter estimates θ est The process of calculating the model parameter θ (processing for calculating the model parameter θ) will be described with reference to FIG. 4. FIG. 4 is a flowchart for explaining an example of the process for estimating the model parameter θ. In FIG. 4, the control amount y(t) and the operation amount u(t) at the current time t are input, and the model parameter estimated value θ est Here, the index k is a value independent of the index k used in the calculation of the plant response function in FIG. 3, and represents an index at the time of execution of the model parameter estimation process.

[0047] Step S21: The model parameter estimation unit 101 calculates the model parameter estimate θ est It is determined whether to initialize the model parameter estimates θ(k) and the covariance matrix P(k). est When calculating for the first time (i.e., model parameter estimates θ est When the initial calculation is performed, or when an initialization command is given by the user, etc.

[0048] Model parameter estimates θ est If it is determined that the model parameter estimation unit 101 should initialize the model parameter estimates θ(k) and the covariance matrix P(k) (YES in step S21), the model parameter estimation unit 101 proceeds to step S22. est If it is not determined that (k) and the covariance matrix P(k) should be initialized (NO in step S21), the model parameter estimation unit 101 proceeds to step S23.

[0049] Step S22: The model parameter estimate θ est When it is determined that the covariance matrix P(k) and the covariance matrix P(k) are to be initialized, the model parameter estimation unit 101 est (0) = θ0 and P(0) = I, and then the previous control variable y -1 ←y(t) and k←0. Here, θ0 is already set to the plant response function {S θ (t)} may be used, an initial value previously assumed by a user or the like may be used, or a fixed initial value such as a vector whose all elements are 0 may be used. In addition, I may be a unit matrix or any predetermined arbitrary matrix.

[0050] Step S23: The model parameter estimation unit 101 estimates the state vector φ(k−1), the operation amount u(t), and the previous value y -1 That is, the model parameter estimation unit 101 updates the state vector φ(k) as follows:

number

[0051] For example, when considering a disturbance v at L points in the past, as described above, the state vector φ(k) is expanded to a state vector having L disturbances v(k) as elements in addition to y(k) and u(k), and a covariance matrix and model parameters for the disturbances are estimated.

[0052] Step S24: Next, the model parameter estimation unit 101 calculates the model parameter estimate θ est (k-1), the state vector φ(k), and the control variable y(t) are used to calculate the prediction error ε(k). est (k-1) is the estimate of the model parameter θ estimated previously (i.e., at time k-1).

[0053] The model parameter estimation unit 101 calculates the prediction error ε(k), for example, as follows:

[0054] y(k)=y(t) ε(k)=y(k)-φ(k) Τ θ est (k-1)

[0055] Step S25: Next, the model parameter estimation unit 101 updates the covariance matrix P(k). For example, the model parameter estimation unit 101 updates the covariance matrix P(k) in the following manner.

number

[0056] Step S26: Next, the model parameter estimation unit 101 calculates the model parameter estimate θ est Here, we determine whether to update the model parameter estimate θ est In the case where it is determined that the model parameter estimate θ is updated, for example, the model parameter estimate θ is updated until a predetermined period has elapsed from the initialization in step S22. est This may occur when the information has not been updated, or when an update instruction is given by a user or the like.

[0057] Model parameter estimates θ est If it is determined that the model parameter estimation value θ is to be updated (YES in step S26), the model parameter estimation unit 101 proceeds to step S27. est If it is not determined that the parameter estimating unit 101 should update the parameter α (NO in step S26), the model parameter estimating unit 101 ends the process without executing step S27.

[0058] Step S27: The model parameter estimate θ est When it is determined that the model parameter estimation unit 101 should update the model parameter estimate θ est The model parameter estimation unit 101 updates the model parameter estimate θ est Update (k).

number

[0059] <Operation of look-ahead response correction unit 112> Next, the operation of the look-ahead response correction unit 112 will be described with reference to Fig. 5. Fig. 5 is a diagram for explaining an example of the operation of the look-ahead response correction unit 112.

[0060] As shown in FIG. 5, the look-ahead response correction unit 112 calculates the plant response function {S θ (t)}, the target deviation e0(t), the operation change amount time series {du(t)}, and the look-ahead length T p When the input is made, the control amount is changed from the current time t to T p The response correction value y is the predicted change value after a certain period of time. n (t). Note that the look-ahead length T p is calculated by the control parameter calculation unit 111.

[0061] Then, the look-ahead response correction unit 112 calculates the look-ahead response correction value y n Corrected target deviation e0(t) by (t) * (t) is output. Here, the corrected target deviation e * (t) is e * (t) = r(t) - (y(t) + y n (t))=e0(t)-y n (t) is calculated. Note that the look-ahead response correction value y n (t) can be calculated, for example, by the methods described in International Publication No. 2016 / 092872 and JP 2020-21411 A.

[0062] <Operation of the operation change amount calculation unit 113> Next, the operation of the operation change amount calculation unit 113 will be described with reference to Fig. 6. Fig. 6 is a diagram for explaining an example of the operation of the operation change amount calculation unit 113.

[0063] As shown in FIG. 6, the operation change amount calculation unit 113 calculates the corrected target deviation e * (t) and control gain k I When is entered, the correction target deviation e * (t) with control gain k IThat is, the operation change amount du(t) is du(t)=k I ×e * (t) is the formula:

[0064] However, the correction target deviation e * (t) with control gain k I The result of multiplying is the upper limit du max If it exceeds du max is the operation change amount du(t). Similarly, the corrected target deviation e * (t) with control gain k I The result of multiplying by is the lower limit du min If the operation change amount calculation unit 113 is smaller than du min is the operation change amount du(t). This makes it possible to provide a limiter for the upper and lower limit ranges. Note that the operation amount u(t) and the operation change amount du are added by the adder 114, and the operation amount u a so that du does not exceed the upper and lower limits. max and du min may be set each time.

[0065] <Calculation of control parameters> Next, the control gain k I and lookahead length T p The process of calculating the control parameters will be described with reference to FIG. 7. FIG. 7 is a flowchart for explaining an example of the process of calculating the control parameters. In FIG. 7, the plant response function {S θ (t)} and the adjustment coefficients α and β are input.

[0066] Step S31: The control parameter calculation unit 111 calculates the plant response function {S θ (t)} and the adjustment coefficient β, the look-ahead length T p The control parameter calculation unit 111 calculates the plant response function {S θ (t)}, the final time T max The plant response function value S θ (T maxThe time when the plant response function value becomes equal to the value obtained by multiplying the adjustment coefficient β by the look-ahead length T p That is, the control parameter calculation unit 111 calculates the look-ahead length T p Calculate.

[0067] Find T p ,where S θ (T p )=β×S θ (T max ) Here, it is preferable that β satisfies 0<β≦1. If the response of the closed loop is slow, the speed of the response can be adjusted by setting the adjustment coefficient β to a smaller value.

[0068] In addition, the control parameter calculation unit 111 calculates the look-ahead length T p Gain at time g p is calculated as follows:

[0069] g p =S θ (T p ) In this way, the look-ahead length T p Based on the control gain g p This allows for a faster response, for example, even when the dead time and time constant are long.

[0070] In addition, T max may be a value sufficient for the plant response function to converge, or may be a value determined based on memory constraints or the like. Alternatively, the maximum value of the period that can be predicted by the look-ahead response correction unit 112 may be set as T max It is also possible to use the following.

[0071] Step S32: Then, the control parameter calculation unit 111 calculates the look-ahead length T p Gain at time g p Based on the adjustment coefficient α, the control gain k I The control parameter calculation unit 111 calculates the control gain k I Calculate.

number

[0072] <Look-ahead length T p Calculation summary> Next, the look-ahead length T in step S31 p The calculation outline of the look-ahead length T p FIG. 13 is a diagram for explaining an example of a calculation outline of

[0073] As shown in Figure 8, the plant response function S θ The value of (t) is from time 0 to T max It gradually changes to a certain time T p In S θ (T p )=β×S θ (T max ) holds true. So, at such a time T p This makes the look-ahead length T p Since the behavior of the plant at a certain point in time is linked to the final behavior of the plant, it is possible to suppress unnecessary changes in the manipulated variable, and thus to suppress the occurrence of overshoots and undershoots. In addition, it is possible to determine the look-ahead length that avoids the initial period of response where dead time and inverse response occur.

[0074] In the conventional proportional-integral-differential (PID) control, it is necessary to increase the differential gain according to the length of the dead time, and this has the drawback of being vulnerable to noise. For example, in the control law based on the Ziegler-Nichols step response method, k p = 1.2 / (RL), T I =2L,TD =0.5L, R=g p / T p is used, and the differential time T D In contrast, in the present embodiment, since the differential signal of the observed value is not used, it is possible to realize a control that is robust against noise and dead time.

[0075] <Look-ahead length T p Calculation details > Next, the look-ahead length T in step S31 p The calculation details of the look-ahead length T will be described with reference to FIG. p 13 is a flowchart for explaining an example of calculation details of

[0076] Step S41: First, the control parameter calculation unit 111 calculates the look-ahead length T p Let T1 be the variable to search for, and let T1←0.

[0077] Step S42: Next, the control parameter calculation unit 111 determines whether T1 ≧ T max It is determined whether or not

[0078] T1 ≥ T max If it is determined that T1 is equal to or greater than T (YES in step S42), the control parameter calculation unit 111 proceeds to step S46. max If it is not determined that this is the case (NO in step S42), the control parameter calculation unit 111 proceeds to step S43.

[0079] Step S43: The control parameter calculation unit 111 calculates S θ (T1) ≧ β × S θ (T max ) is satisfied.

[0080] S θ (T1) ≧ β × S θ (T max) is satisfied (YES in step S43), the control parameter calculation unit 111 proceeds to step S45. θ (T1) ≧ β × S θ (T max ) is not satisfied (NO in step S43), the control parameter calculation unit 111 proceeds to step S44.

[0081] Step S44: The control parameter calculation unit 111 updates T1 to T1+ΔT, and returns to step S42. max Or S θ (T1) ≧ β × S θ (T max Step S44 is repeatedly executed until any one of the following conditions is satisfied:

[0082] Step S45: θ (T1) ≧ β × S θ (T max ) is satisfied, the control parameter calculation unit 111 p ←T1. That is, the control parameter calculation unit 111 calculates S θ (T1) ≧ β × S θ (T max ) is satisfied by T1 with look-ahead length T p Let us assume that.

[0083] Step S46: T1 ≧ T max If it is not determined that T p ←γ×T max Here, 0<γ<1. That is, S θ (T1) ≧ β × S θ (T max If T1 cannot be found that satisfies T max The look-ahead length T p Let us assume that.

[0084] <Operation of the high-speed complement control unit 105> Next, the operation of the high speed compensation control unit 105 will be described with reference to Fig. 10. Fig. 10 is a diagram for explaining an example of the operation of the high speed compensation control unit 105.

[0085] As shown in FIG. 10, the main control period T c The main control unit 104 outputs the manipulated variable u a is output, whereas the high-speed complementation control unit 105 outputs a high-speed control period T f For each operation amount u b where t=n2T for some integers n2 and n3. f and t = n3T c For time t, u b (t)=u a This is because the main control unit 104 and the high speed complementation control unit 105 are both calculated based on the control amount y(t) at the current time t. In the following, the operation amount u output from the main control unit 104 is a This is called the "main control operation amount u a ", and the manipulated variable u output from the high-speed complementation control unit 105 b The complementary control variable u b "It is also called.

[0086] <Complementary operation amount u b Calculation of > Next, the complementary control variable u b The process of calculating the complementary operation amount u will be described with reference to FIG. b 11 is a flowchart for explaining an example of a calculation process of the complementary manipulated variable u(t) at a certain index k, assuming that a target value r and a controlled variable y(t) at a current time t are input. b Here, the index k is a value independent of the index k used to calculate the plant response function in FIG. 3 and the index k used to estimate the model parameter θ in FIG. 4, and is used to calculate the complementary manipulated variable u b Represents the run-time index of the computation.

[0087] Step S51: The high speed complement control unit 105 judges whether the value of the main control unit update counter has changed (updated). In other words, the high speed complement control unit 105 receives the main control operation amount u from the main control unit 104 due to the change in the value of the main control unit update counter. aThe main control operation amount u is outputted according to the change in the value of the main control unit update counter. a is output, is an example, and the main control operation amount u a For example, the high speed complementation control unit 105 may determine whether the previous main control operation amount u a After the main control period T c Depending on whether the time has elapsed, the main control operation amount u a It may be determined whether or not the command has been output.

[0088] If it is determined that the value of the main control unit update counter has changed (YES in step S51), the high-speed complement control unit 105 proceeds to step S52. On the other hand, if it is determined that the value of the main control unit update counter has not changed (NO in step S51), the high-speed complement control unit 105 proceeds to step S53.

[0089] Step S52: The high-speed complement control unit 105 calculates y0=y(t), m du Initialize (0)=0, k=0. Here, m du (k) is the average operation change amount at index k, as described below.

[0090] Step S53: The high speed complement control unit 105 updates the index k to k←k+1. Note that since the index k has a role as a counter, it may be called, for example, a "complement counter."

[0091] Step S54: The high speed complement control unit 105 calculates the predicted target deviation e f Calculate (k). Predicted target deviation e f (k) is the look-ahead length T predicted at the current time t. p The high speed complement control unit 105 calculates the predicted target deviation e by, for example, the following calculation method 1 or 2. f (k) is calculated. Note that the predicted target deviation e f An example of (k) will be given later.

[0092] · Predicted target deviation ef Calculation method 1 for (k) The high speed complement control unit 105 calculates the predicted target deviation e f Calculate (k).

number

[0093] · Predicted target deviation e f Calculation method 2 for (k) The high speed complement control unit 105 calculates the predicted target deviation e f Calculate (k).

number

[0094] Step S55: The high speed complement control unit 105 calculates the average operation change amount m du Calculate (k). Average operation change m du (k) is calculated as follows:

number

[0095] Step S56: The high-speed complement control unit 105 calculates the complement operation amount u b Calculate the complementary operation value u at index k. b (k) is the main control operation amount u a and the average operation change amount m du Using (k), it is calculated as follows:

number

[0096] From the above, the complementary operation amount u at the current time t is b (t)=u b (k) is obtained.

[0097] <Predicted target deviation using calculation method 1 e f (k)> Next, the predicted target deviation e calculated by calculation method 1 in S54 above f (k) will be described with reference to FIG. 12. FIG. 12 shows the predicted target deviation e f FIG. 13 is a diagram (part 1) for explaining an example of (k).

[0098] As shown in Figure 12, the predicted target deviation e f (k) is the look-ahead length T from the control amount y0=y(t0) at time t=t0 immediately after the main control unit update counter is updated. p The target value r(t0+T p When considering a linear trajectory (control trajectory) that reaches the target value r(t0+T p ) and the control amount y(t) at the current time t (i.e., the control amount y(t) when the high-speed complementation control unit 105 is in operation), p In other words, the predicted target deviation e by calculation method 1 is calculated as the difference between the predicted value of the control variable (predicted control variable) and the predicted target deviation e by calculation method 2. f (k) is the target value r(t0+T p ) and the time t0+T on the trajectory when the trajectory is translated to the control amount y(t) at the current time t p It is calculated as the difference between the control amount (predicted control amount) of

[0099] <Predicted target deviation using calculation method 2 e f (k)> Next, the predicted target deviation e calculated by calculation method 2 in S54 above f (k) will be described with reference to FIG. 13. FIG. 13 shows the predicted target deviation e f FIG. 2 is a diagram (part 2) for explaining an example of (k).

[0100] As shown in Figure 13, the predicted target deviation e f (k) is a linear trajectory from the controlled variable y0=y(t0) at time t=t0 immediately after the main control unit update counter is updated to the controlled variable y(t) at the current time t at time t0+T p The predicted controlled variable and the target value r(t0+T p ) In other words, the predicted target deviation e f (k) is the orbit at time t0+T p The control amount (predicted control amount) when extended to and the target value r(t0+T p ) is calculated as the difference between

[0101] <Response when using high-speed complement control unit 105> Next, a response when the high-speed complement control unit 105 is used will be described with reference to Fig. 14. Fig. 14 is a diagram for explaining an example of a response when the high-speed complement control unit 105 is used.

[0102] As shown in FIG. 14, the main control unit 104 sets the look-ahead length T p When control is performed so that the target deviation becomes 0 at a future point in time, even in the case where the high-speed complementation control unit 105 is used, the look-ahead length T p Control is performed along a trajectory such that the target deviation at a future point becomes 0. However, the response when the high-speed complementation control unit 105 is used does not necessarily match the trajectory when only the main control unit 104 is used, and it is possible that, for example, the trajectory will be one in which overshooting is more suppressed.

[0103] <Hardware configuration of the control device 10> Next, a hardware configuration of the control device 10 according to the present embodiment will be described with reference to Fig. 15. Fig. 15 is a diagram showing an example of a hardware configuration of the control device 10 according to the second embodiment.

[0104] 15, the control device 10 according to the second embodiment includes an input device 201, a display device 202, an external I / F 203, a communication I / F 204, a processor 205, and a memory device 206. Each of these pieces of hardware is communicatively connected to each other via a bus 207.

[0105] The input device 201 is, for example, a touch panel, various buttons, etc. The display device 202 is, for example, a display panel, etc. Note that the control device 10 does not necessarily have to have at least one of the input device 201 and the display device 202.

[0106] The external I / F 203 is an interface with an external device such as a recording medium 203a. Examples of the recording medium 203a include a secure digital memory card (SD memory card) and a universal serial bus (USB) memory card.

[0107] The communication I / F 204 is an interface for connecting the control device 10 to a communication network. The processor 205 is, for example, various arithmetic units such as a CPU, an MPU, etc. The memory device 206 is, for example, various storage devices such as a solid state drive (SSD), a random access memory (RAM), a read only memory (ROM), a flash memory, etc.

[0108] 15 is an example, and the control device 10 may have other hardware configurations. For example, the control device 10 may have various hardware components other than the hardware components shown in the figure.

[0109] [Second embodiment] The second embodiment will be described below. Note that in the second embodiment, differences from the first embodiment will be described, and descriptions of components that may be the same as those in the first embodiment will be omitted.

[0110] <Example of overall configuration of control device 10> An example of the overall configuration of the control device 10 according to the second embodiment will be described with reference to Fig. 16. Fig. 16 is a diagram showing an example of the overall configuration of the control device 10 according to the second embodiment.

[0111] As shown in FIG. 16, the control device 10 according to the second embodiment converts a model parameter θ estimated in advance into a plant response function {S θ (t)}, the model parameter estimation unit 101 is removed from the overall configuration example described in the first embodiment.

[0112] [Example] Next, an example will be described. In this example, as an example, a case will be described in which a control target plant 20 is controlled by a control device 10 according to a second embodiment.

[0113] In this embodiment, the main control period T c =5[sec], high-speed control period T f = 0.2 [sec]. In other words, the high-speed complementation control unit 105 operates 25 times faster than the main control unit 104. In addition, the upper limit of the amount of operation u max =90, lower limit u min = 0, and the adjustment coefficients were α = 1.0 and β = 0.5.

[0114] The step response of the controlled plant 20 in this embodiment is shown in Fig. 17. As shown in Fig. 17, in this embodiment, it takes about 150 [sec] for the step response to converge. For this reason, when the main control period is set to T c = 0.5 [sec], a prediction buffer of about 300 points is required to predict the convergence of the step response. c= 5 [sec], a prediction buffer of 30 points is sufficient for prediction until the step response converges. Therefore, the main control period is T c By setting the length to 5 [sec], the prediction buffer of the control device 10, which is an edge device or the like, can be reduced to about 1 / 10, and the calculation time can be shortened as well as the memory reduction.

[0115] As a comparative example with the control device 10 of this embodiment, FIG. 18 shows the controlled variable, target value, and manipulated variable when the high-speed complementary control unit 105 of the control device 10 according to the second embodiment is disabled. In FIG. 18, the controlled variable (PV) and target value (SP) are shown in the upper part, and the manipulated variable (MV) is shown in the lower part. The right diagram is an enlarged view of a part of the time period cut out from the left diagram. As shown in FIG. 18, when the high-speed complementary control is disabled and control is performed using only the main control unit 104, the main control period T c The amount of operation changes in steps every 5 [sec].

[0116] Predicted target deviation e f FIG. 19 shows the control amount, target value, and manipulated variable by the control device 10 in this embodiment when calculating (k) by calculation method 1 (that is, the control amount, target value, and manipulated variable when high-speed complementary control by the high-speed complementary control unit 105 is active). In FIG. 19, the control amount (PV) and target value (SP) are shown in the upper part, and the manipulated variable (MV) is shown in the lower part. Also, the right diagram is an enlarged view of a part of the time period cut out from the left diagram. As shown in FIG. 19, compared to FIG. 18, the ability of the control amount to follow the target value has been improved, and overshooting has been reduced. Also, looking at the enlarged view of the manipulated variable, it can be seen that the manipulated variable is c In addition to the change in f It can be seen that a change occurs in the frequency response of the high speed compensation control unit 105. Therefore, by enabling the high speed compensation control by the high speed compensation control unit 105, it is possible to improve the control performance compared to the case where only the main control unit 104 is used.

[0117] In addition, the predicted target deviation e fFIG. 20 shows the controlled variable, target value, and manipulated variable by the control device 10 in this embodiment when calculating (k) by calculation method 2. In FIG. 20, the controlled variable (PV) and target value (SP) are shown in the upper part, and the manipulated variable (MV) is shown in the lower part. The right diagram is an enlarged view of a part of time cut out from the left diagram. As shown in FIG. 20, compared to FIG. 18, the trackability of the controlled variable to the target value has been improved, and overshoot has become almost zero. Also, looking at the enlarged view of the manipulated variable, it can be seen that the manipulated variable is 100% in the main control period T c In addition to the change in f It can be seen that a change occurs in the frequency response of the high speed compensation control unit 105. Therefore, by enabling the high speed compensation control by the high speed compensation control unit 105, it is possible to improve the control performance compared to the case where only the main control unit 104 is used.

[0118] In addition, when comparing Fig. 19 and Fig. 20, the fluctuation of the manipulated variable is rapid in Fig. 20. This is due to the predicted target deviation e f This is because the calculation method 2 of (k) is significantly affected by the gradient of the controlled variable in the time direction.

[0119] Predicted target deviation e f The amount of overshoot and the fluctuation range of the manipulated variable are different between calculation method 1 and calculation method 2 in (k). For this reason, calculation method 2 is preferable for applications in which it is desired to suppress the amount of overshoot even if the fluctuation in the manipulated variable is large, and calculation method 1 is preferable for applications in which it is desired to suppress the amount of overshoot in a balanced manner while suppressing the fluctuation in the manipulated variable as much as possible. For example, in electrical control such as PWM (Pulse Width Modulation) control in which the ON time is used as the manipulated variable, there are few cases in which problems arise even if the fluctuation in the manipulated variable is large, so calculation method 2 can be used. On the other hand, in mechanical control in which the opening of a motor-operated valve control of flow rate is used as the manipulated variable, short-term fluctuations in the manipulated variable can become mechanical stress, so calculation method 1 is preferable.

[0120] [summary] As described above, the control device 10 according to the first and second embodiments has a shorter control period T fThe high-speed complementary control unit 105 controls the controlled plant 20 at high speed. c Even if the control period T f Since the controlled plant 20 is controlled at high speed every main control period T, for example, it is possible to quickly follow changes in the target value for the controlled variable and the influence of fast-changing disturbances, and it is possible to suppress deterioration of the control performance. c Even when it is necessary to lengthen the time, it is possible to suppress the deterioration of the control performance. Furthermore, it is expected that the control deviation (e.g., the control deviation due to overshooting, etc.) that is insufficiently suppressed by the model predictive control can be improved.

[0121] In addition, when estimating the model parameter θ by the model parameter estimation unit 101 as in the first embodiment, if the high-speed complementary control unit 105 is enabled, the identification will result in a closed loop including the high-speed complementary control. Therefore, the estimation of the model parameter θ by the model parameter estimation unit 101 may be performed only when the high-speed complementary control unit 105 is disabled.

[0122] In addition, the operation of the main control unit 104 is not limited to that described in the first embodiment, and any operation can be adopted as long as the control method adopts model predictive control. p A trajectory (control trajectory) that reaches the target value r is provisionally set, and the control gain k is adjusted to follow that trajectory. I Therefore, it is preferable that the main control unit 104 also operates in a similar manner.

[0123] The present invention is not limited to the above-described embodiments specifically disclosed, and various modifications, changes, combinations with known technologies, etc. are possible without departing from the scope of the claims. [Explanation of symbols]

[0124] 10 Control device 20 Controlled Plants 101 Model parameter estimation unit 102 Measurement section 103 Differentiator 104 Main control unit 105 High-speed complement control section 106 First Timer 107 Second Timer 108 Switch 111 Control parameter calculation unit 112 Look-ahead response correction unit 113 Operation change amount calculation unit 114 Adder 201 Input Device 202 Display device 203 External I / F 203a Recording media 204 Communication I / F 205 Processor 206 Memory Device 207 Bus

Claims

1. A control device that outputs an operation amount for a control object and causes a control amount of the control object to follow a target value, First control period T c A next operation amount u for the control object is calculated by model predictive control based on the operation amount and the control amount. a A main control unit that outputs The first control period T c A second control period T f The next manipulated variable u b and a high-speed complement control unit that outputs The high speed complement control unit The main control unit transmits the manipulated variable u a At time t immediately after the output 0 and a predetermined look-ahead length T p Based on the target value, the look-ahead length T p A predicted target deviation e f Calculate The predicted target deviation e f and a given gain k I The average of the instantaneous operation change amount calculated based on the above and the operation amount u a The sum of the operation amount u b The control device calculates as follows:

2. The high speed complement control unit The predicted target deviation e f For the gain k I The control device according to claim 1 , wherein the instantaneous operation change amount is calculated by multiplying

3. The look-ahead length T p and the gain k I teeth, The control device according to claim 2 , wherein the calculation is based on a prediction model used for the model predictive control.

4. The high speed complement control unit Said time t 0 The look-ahead length T p Using a linear control trajectory that will reach the target value later, a time t predicted by the control trajectory from the target value and the controlled variable at the current time t is calculated. 0 +T p The difference between the controlled variable and the predicted target deviation e f The control device according to claim 1 , wherein the control device calculates the following:

5. The high speed complement control unit Said time t 0 A time t predicted by a linear control trajectory from the controlled variable at 0 +T p The difference between the controlled variable and the target value is called the predicted target deviation e f The control device according to claim 1 , wherein the control device calculates the following:

6. The high speed complement control unit Said time t 0 The initial value in the second control period T f The predicted target deviation e with respect to the counter k is calculated by using a counter k that is incremented every f 2. The control device according to claim 1, further comprising: a calculation unit that calculates (k) and an average of the instantaneous operation change amount.

7. The high speed complement control unit The manipulated variable u output from the main control unit a Using the upper and lower limit ranges applied to b The control device of claim 1 , further comprising:

8. A control device that outputs an operation amount for a control object and causes a control amount of the control object to follow a target value, First control period T c A next operation amount u for the control object is calculated by model predictive control based on the operation amount and the control amount. a a main control procedure that outputs The first control period T c A second control period T f The next manipulated variable u b a fast completion control procedure that outputs The fast complementation control procedure includes: In the main control procedure, the manipulated variable u a At time t immediately after the output 0 and a predetermined look-ahead length T p Based on the target value, the look-ahead length T p A predicted target deviation e f Calculate The predicted target deviation e f and a given gain k I The average of the instantaneous operation change amount calculated based on the above and the operation amount u a The sum of the operation amount u b The control method is as follows:

9. A control device that outputs an operation amount for a control object and causes a control amount of the control object to follow a target value, First control period T c A next operation amount u for the control object is calculated by model predictive control based on the operation amount and the control amount. a a main control procedure that outputs The first control period T c A second control period T f The next manipulated variable u b a fast complementary control procedure that outputs The fast complementation control procedure includes: In the main control procedure, the manipulated variable u a At time t immediately after the output 0 and a predetermined look-ahead length T p Based on the target value, the look-ahead length T p A predicted target deviation e f Calculate The predicted target deviation e f and a given gain k I The average of the instantaneous operation change amount calculated based on the above and the operation amount u a The sum of the operation amount u b The program calculates as:

Citation Information

Patent Citations

  • Adaptive type model predictive controller

    JP1993173602A

  • Control device, control method and program

    JP2022120501A

  • Controller, method, and program

    JP2023025646A

  • Control device, control method, and program

    JP7014330B1

Cited By

  • Delay compensation systems, methods, and programs

    JP2026166044A

  • Delay compensation systems, methods, and programs

    JP7829898B1

  • Control device, control method, and program

    WO2026100644A1