control device
Patent Information
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- KK TOSHIBA
- Filing Date
- 2024-10-17
- Publication Date
- 2026-06-01
AI Technical Summary
Conventional control parameter adjustment methods for control systems in social infrastructure require significant downtime for manual adjustments and pose safety risks due to the lack of stability guarantees in automatic adjustments.
A control device that includes an acquisition unit for measuring control parameters, a detection unit for identifying changes in control characteristics, a determination unit for determining control parameters using machine learning, and a discrimination unit for ensuring stability, allowing adjustments without system shutdown.
Ensures stability during automatic adjustments of control parameters, enabling continuous operation of controlled objects by dynamically adapting to changes in control characteristics.
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
[Technical Field]
[0001] This embodiment relates to a control device. [Background technology]
[0002] In control systems related to social infrastructure, the plants they control are typically operated continuously for long periods. Over time, the control characteristics of a plant change due to factors such as aging and changes in the operating environment. In this case, it is necessary to readjust the control parameters of the control device to accommodate these changes in the plant's control characteristics.
[0003] Several methods have been proposed for adjusting the control parameters of control devices. However, conventional control parameter adjustment methods are performed through process models, requiring significant time and effort for manual work to acquire response performance after the system has been shut down. On the other hand, automatic adjustment of control parameters using machine learning is difficult to guarantee stability. Specifically, changing the control parameters of a control device without prior confirmation of the stability of the control system when applying adjusted control parameters poses a safety problem. Therefore, a method is needed to ensure the stability of automatically adjusted control parameters without shutting down the system. [Prior art documents] [Patent Documents]
[0004] [Patent Document 1] Japanese Patent Publication No. 2015-18388 [Overview of the project] [Problems that the invention aims to solve]
[0005] The objective of this embodiment is to provide a control device that can adjust control parameters while ensuring the stability of the control system without stopping the operation of the controlled object. [Means for solving the problem]
[0006] The control device of the present embodiment includes an acquisition unit that acquires measurement values of the control amount of the control target that operates according to the operation amount provided to the control target at a predetermined time interval, a deviation between the measurement value acquired by the acquisition unit and the target value of the control amount, and based on the first value of the control parameter, calculates the operation amount for the control target and provides the operation amount to the control target; a detection unit that detects a change in the control characteristics of the control target based on the deviation between the measurement value and the target value; a determination unit that determines the second value of the control parameter by performing machine learning based on the measurement value and the target value in response to the detection of the change in the control characteristics; and a discrimination unit that discriminates the stability of the control system including the control unit and the control target based on the second value of the control parameter and the control characteristics of the control target. The control unit calculates the operation amount based on the deviation and the second value of the control parameter according to the discrimination result of the discrimination unit.
Brief Description of the Drawings
[0007] [Figure 1] It is a diagram showing the configuration of a sewage treatment system as a control system according to the present embodiment. [Figure 2] It is a diagram showing the configuration of a control system including a control unit and a control target. [Figure 3] It is a diagram showing the functional configuration of a control parameter determination unit. [Figure 4] It is a flowchart for determining the stability of a control parameter. [Figure 5] It is a block diagram showing the transfer function of a control system. [Figure 6] It is a diagram showing an example of a screen image displayed on a display unit. [Figure 7] It is a flowchart for explaining the operation of the control device according to the present embodiment. [Figure 8] It is a diagram showing the hardware configuration of the control device according to the present embodiment.
Embodiments for Carrying Out the Invention
[0008] Hereinafter, this embodiment will be described with reference to the drawings. In the drawings, the same or corresponding elements are denoted by the same reference numerals, and detailed descriptions thereof are omitted as appropriate. Further, in the following description, an example in which the technology according to this embodiment is applied to a sewage treatment system will be described, but the applicable range of the technology according to this embodiment is not limited to the sewage treatment system, and various other plants or other devices are possible.
[0009] FIG. 1 is a diagram showing the configuration of a sewage treatment system as a control system according to this embodiment. The sewage treatment system includes a sewage treatment device (hereinafter, sewage treatment device 10) as an example of a plant to be a control target 10, and a control device 20 that controls the operation of the sewage treatment device 10. The control target 10 may be any device that is the target of feedback control by the control device 20, and is not limited to plants such as sewage treatment devices, and various other plants or other devices are possible.
[0010] The sewage treatment device 10 includes an aeration tank 11, a blower 12 that sends air into the aeration tank 11, an air volume control valve 13 that adjusts the amount of air sent from the blower 12 into the aeration tank 11, and a DO sensor 14 that detects the dissolved oxygen (DO: Dissolved Oxygen) concentration in the aeration tank 11. When the opening degree of the air volume control valve 13 increases and the amount of air sent into the aeration tank 11 increases, the DO concentration in the aeration tank 11 rises. Conversely, when the opening degree of the air volume control valve 13 decreases and the amount of air sent into the aeration tank 11 decreases, the DO concentration in the aeration tank 11 drops. The DO concentration in the aeration tank 11 corresponds to the control amount of the control target (sewage treatment device) 10.
[0011] The control device 20 uses PID control to adjust the opening of the airflow control valve 13 so that the DO concentration in the aeration tank 11 is maintained at a predetermined target value Ref. Specifically, the control device 20 generates an manipulated variable u(t) that instructs the opening of the airflow control valve 13 using PID control so that the deviation e(t) between the measured value y(t) of the DO concentration in the aeration tank 11 detected by the DO sensor 14 and the target value Ref input from an external device becomes small, for example, zero. The control device 20 provides the generated manipulated variable u(t) to the sewage treatment device 10. The target value Ref is input from an external device by the operator (user) of the sewage treatment system. Hereafter, the target value Ref will be described as a constant value, but the target value Ref may change. Furthermore, the control method of the control device 20 is not limited to PID control, and may also be, for example, derivative-first PID control, proportional-derivative-first PID control, 2-degree-of-freedom PID control, or model-driven PID control.
[0012] When the measured value y(t) of the DO concentration falls below the target value Ref, the control device 20 increases the manipulated variable u(t). This increases the opening degree of the airflow control valve 13, increasing the amount of air supplied to the aeration tank 11. Conversely, when the measured value y(t) of the DO concentration exceeds the target value Ref, the control device 20 decreases the manipulated variable u(t). This decreases the opening degree of the airflow control valve 13, decreasing the amount of air supplied to the aeration tank 11.
[0013] When the control device 20 detects a change in the control characteristics of the sewage treatment device 10 due to aging deterioration or changes in the operating environment, it adjusts the control parameters P, specifically the proportional gain Kp, integral gain Ki, and differential gain Kd of the PID control. However, the control parameters P are not limited to these. For example, the control parameters P may include fine-tuning gains. The control device 20 comprises a control unit 21, a data acquisition unit 22 (acquisition unit), a data storage unit 23 (storage unit), a system deterioration detection unit 24 (detection unit), a control parameter determination unit 25 (determination unit), a system identification unit 26 (estimation unit), a stability determination unit 27 (determination unit), and a monitor unit 28 (display unit).
[0014] Figure 2 shows the configuration of a feedback control system including a control unit 21 and a wastewater treatment device 10. The control unit 21 is set to control parameters P, specifically a proportional gain Kp, an integral gain Ki, and a differential gain Kd. This feedback control system includes the control parameters P and the control characteristics of the controlled object 10. The control unit 21 calculates an manipulated variable u(t) based on the gains Kp, Ki, and Kd from the deviation e(t) between the measured value y(t) of the DO concentration and the target value Ref, and provides or outputs the calculated manipulated variable u(t) to the wastewater treatment device 10. When the manipulated variable u(t) is provided or input, the wastewater treatment device 10 performs an operation according to the manipulated variable u(t) and outputs the measured value y(t). In this way, the control unit 21 controls the wastewater treatment device 10 based on the deviation e(t) and the control parameters P (gains Kp, Ki, Kd).
[0015] The data acquisition unit 22 sequentially acquires measured values y(t) and manipulated quantities u(t) of the DO concentration in the aeration tank 11 from the DO sensor 14 of the sewage treatment device 10 at predetermined time intervals. The data storage unit 23 sequentially stores the measured values y(t) and manipulated quantities u(t) of the DO concentration acquired by the data acquisition unit 22. When the amount of data for measured values y(t) and manipulated quantities u(t) of the DO concentration reaches a predetermined upper limit, older data may be deleted in order. In this case, the data storage unit 23 stores a certain amount of measured values y(t) of the DO concentration in order from the most recent. In addition, information other than measured values y(t) (controlled quantities), such as the airflow rate of the blower of any component in the controlled object 10 and the rate of change of the DO concentration, may be acquired as information indicating the state of the controlled object 10.
[0016] The system degradation detection unit 24 detects changes in the control characteristics of the sewage treatment device 10. Specifically, when the control characteristics of the sewage treatment device 10 change due to aging or changes in the operating environment, the control parameter P (first value of the control parameter) currently set in the control unit 21 deviates from an appropriate value, and as a result, the accuracy of the control that matches the measured value y(t) of DO concentration with the target value Ref may decrease. At predetermined intervals, the system degradation detection unit 24 checks whether the determination formula shown in equation (1) below, based on the absolute value of the deviation e(t) between the measured value y(t) of DO concentration and the target value Ref, continues to hold true for a predetermined period of time. The predetermined period and predetermined time can be arbitrarily determined according to the controlled object. For example, the predetermined period may be 1 day and the predetermined time may be 1 hour. The determination formula shown in equation (1) may also be performed each time data is stored in the data storage unit 23.
[0017]
number
[0018] However, in equation (1), δ is a predetermined threshold, which is set according to the desired control accuracy. For example, δ is set to 0.1. If the above determination formula continues to hold true for a predetermined period of time, the system deterioration detection unit 24 determines that the control characteristics of the sewage treatment device 10 have changed and transmits a characteristic change detection signal to the control parameter determination unit 25 and the system identification unit 26. Here, we assume that the change in control characteristics is a deterioration of the control characteristics, and transmit the system deterioration detection signal.
[0019] The method for detecting changes in control characteristics is not limited to the method described above. For example, changes in control characteristics may be detected based on the average value of the absolute value of the deviation e(t) over a predetermined period. Furthermore, the operator may be able to specify the judgment conditions from an external device. Additionally, the AI may dynamically generate the judgment conditions.
[0020] When a system degradation detection signal is input, the system identification unit 26 uses the data in the data storage unit 23 to estimate the control characteristics (characteristic parameters of the transfer function of the sewage treatment device 10) after the change. The estimated control characteristics are used to determine the stability of the control parameter P determined by the control parameter determination unit 25. The system identification unit 26 does not operate if no system degradation detection signal is input. The data in the data storage unit 23 used for estimation may be limited to data from the oldest time point onward used to determine that the above determination formula is satisfied.
[0021] In this embodiment, the control characteristics of the sewage treatment device 10 are modeled as the transfer function G(s) of a first-order lag system shown in equation (2). The transfer function G(s) corresponds to the first transfer function, which is the transfer function of the controlled object (sewage treatment device) 10.
[0022]
number
[0023] However, in the above equation, K is the process gain and T is the time constant. Note that the method of modeling the control characteristics of the sewage treatment device 10 is not limited to this. For example, the control characteristics of the sewage treatment device 10 may be modeled as a higher-order transfer function or a transfer function with a dead time L.
[0024] A change in the control characteristics of the sewage treatment device 10 means that at least one of the characteristic parameters included in the transfer function G(s), namely the process gain K and the time constant T, changes.
[0025] The system identification unit 26 estimates the values of the transfer function G(s) after the change in its characteristic parameters. This section describes the details of estimating the characteristic parameters of the transfer function G(s) using the least squares method. However, the method for estimating the parameters of the system model is not limited to this.
[0026] As shown in Figure 1, u(t) and y(t) are sample values at discrete time t of the system's input and output signals, respectively. Below, we estimate characteristic parameters, specifically the process gain K and time constant T, using the data u(t) and y(t). The control system modeling the transfer function G(s) of a first-order lag system is expressed by equation (3).
[0027]
number
[0028] JPEG2026071981000005.jpg49166
[0029]
number
[0030] JPEG2026071981000007.jpg30163
[0031]
number
[0032]
number
[0033]
number
[0034] At this point, to find the γ for which J is minimized, we solve ∂J / ∂γ=0. Here, the left side is ∂J / ∂γ=Φ T Φγ-Φ T It can be expanded as shown in Y. Therefore, solving for ∂J / ∂γ=0 yields equation (8).
[0035]
number
[0036] Therefore, the characteristic parameters T and K of the transfer function G(s) are updated as shown in equation (9) below. In this way, the system identification unit 26 estimates the characteristic parameters of the transfer function G(s) after the control characteristics have changed, namely the process gain K and the time constant T. The system identification unit 26 transmits the estimated characteristic parameters K and T to the stability determination unit 27.
[0037]
number
[0038] Figure 3 is a block diagram showing the detailed functional configuration of the control parameter determination unit 25. Automatic adjustment of control parameters will be explained based on Figure 3.
[0039] The control parameter determination unit 25 includes a reward calculation unit 250, an inference unit 251, an online learning unit 252, and a memory unit 253. The control parameter determination unit 25 updates the parameter adjustment policy (stochastic policy function) by reinforcement learning according to the operating conditions, and infers (estimates) the optimized control parameters P based on the updated stochastic policy function, mainly using the DO concentration measurement value y(t) and the control target value Ref. The reinforcement learning model is a model that takes the DO concentration measurement value y(t) and the control target value Ref as input to the stochastic policy function and outputs the control parameters P.
[0040] The operation of the inference unit 251 is determined by the system degradation detection signal from the system degradation detection unit 24. If no system degradation detection signal is input, the inference unit 251 does not operate, and the control parameters are not updated. On the other hand, if a system degradation detection signal is input, the inference unit 251 determines and outputs an action that maximizes value based on the stochastic policy function π of the reinforcement learning model obtained from the storage unit 253, using the operating status of the control system (such as the Do concentration measurement value y(t) and target value Ref stored in the data storage unit 23, and the deviation between these measurement values y(t) and target value Ref). Here, the action output by reinforcement learning is the control parameter. For example, the inference unit 251 uses the latest time data stored in the data storage unit 23 (e.g., Do concentration measurement value y(t) and target value Ref) to determine the state s t This is used as input to the stochastic policy function π, and the output determines the action (control parameter) at t+1 that maximizes the probability. Details of the stochastic policy function π will be described later.
[0041] The reward calculation unit 250 outputs an immediate reward value r(t) (also simply called the reward value) based on the measured value y(t) and the target value Ref. The immediate reward value r is designed, for example, based on the absolute value of the deviation between the measured value y(t) and the target value Ref, as shown in equation (10). Evaluation functions for evaluating control performance, such as ISE (Integral of Squared Error), ITAE (Integral of Time multiplied by Absolute value of Error), IAE (Integral of Absolute value of Error), and ITSE (Integral of Time multiplied by Squared Error), can also be designed. Furthermore, supplementary reward items can be added according to the state of the controlled object based on equation (10).
[0042]
number
[0043] The online learning unit 252 observes the control parameter P, the measured value y(t), and the target value Ref, and updates the probabilistic policy function π of the reinforcement learning model. Here, the processing of the online learning unit 252 will be described. The data in the data storage unit 23 used for online learning may be the data after the oldest time of the data used for the determination that the above determination formula (1) holds.
[0044] For example, the policy search method is a learning method for expressing the action probability of a reinforcement learning agent by a neural network. To search for a policy, three elements of state s∈S, action a∈A, and reward r∈R are required. At discrete time t, the reinforcement learning agent observes the state s t and executes the action a t and, as a result of the state transition, receives the reward r t . Generally, the reward and the state of the transition destination are random variables, and their distributions depend on the state s t and the action a t . The probabilistic policy function π that characterizes the probabilistic policy in action selection represents the probability of selecting the action a t in the state s t . That is, the action a t is executed according to the probability of the policy corresponding to the state s t . As a result, a transition is made from the state s t to the state s t+1 in accordance with the probabilistic policy function π. The state is specified by, for example, the measured value y(t), the target value Ref, and the control parameter P. However, the definition of the state is not limited to this, and information other than the measured value y(t) and the target value Ref may be added. For example, the manipulated variable may be added.
[0045] In the online learning unit 252, the control parameter P (the control parameter P currently used in the control unit) inferred by the inference unit 251 for the state s t is used as the known action a t , and the state s t+1 of the actual operation environment in which the action is executed is observed from the data in the data storage unit 23, and the reward calculated by the reward calculation unit 250 is received as r t . As described above, the reward r tThe destination state s t+1 Next step t+1 The reward calculation unit 250 calculates the result based on the absolute value of the deviation between the control target value Ref and the control measurement value y(t).
[0046] Online learning section 252 is about the stochastic policy function π(a t |s t The online learning unit 252 acquires knowledge (information) related to the above from the memory unit 253 and learns (updates) the stochastic policy function π that maximizes the performance of the online learning unit 252. That is, the online learning unit 252 updates the stochastic policy function π so as to maximize the evaluation value based on the total discounted reward shown in equation (11).
[0047]
number
[0048] Evaluation value V based on state transitions π Define TDerr to indicate the change in (s). That is, TDerr = V after change π (s) - V before change π (s) In the learning of online learning section 252, the stochastic policy function π(a) is used with TDerr as the behavioral evaluation. t |s t ) will be updated to improve it. In other words, when TDerr is positive, the online learning unit 252 is considered to have transitioned to a good state, so state s t Action a in t The stochastic policy function π is updated to increase the probability of selecting state s. Conversely, in the online learning unit 252, when TDDerr is negative, state s t Action a in t The stochastic policy function π is updated to reduce the probability of selection.
[0049] Here, the stochastic policy function π(a t |s tThe stochastic policy function π(a) is expressed using the policy parameter vector θ. t |s t ) is expressed including the policy parameter vector θ.
[0050] The online learning unit 252 changes the action selection probability by adjusting the policy parameter vector θ. For example, the online learning unit 252 updates the policy parameter vector θ as shown in equation (12), where η>0 is the step size (learning rate).
[0051]
number
[0052] The memory unit 253 is implemented by, for example, a semiconductor memory element such as RAM or flash memory, or a hard disk. The memory unit 253 may also be provided with a replay buffer. The replay buffer is implemented by, for example, a semiconductor memory element such as RAM (Random Access Memory) or flash memory, or a hard disk. The replay buffer is one of the methods used to save and update the learning model in deep reinforcement learning. The memory unit 253 may store data in sets of state s, action a (control parameter P), and reward r as action transitions in its replay buffer (note that state s also includes the measured value y and the target value Ref). The data stored in the replay buffer may be repeatedly randomly sampled and used during learning. In addition, the reinforcement learning model (stochastic policy function π) obtained by reinforcement learning is also stored in the memory unit 253.
[0053] The system determines whether the control performance can be achieved with the new control parameter P. For example, it calculates the reward r when the new control parameter P is used. For example, it calculates the reward r when the state transition is performed under the new control parameter P for the measured value (state) shown by the latest time data in the data storage unit 23. In this case, a stochastic policy function π may be used. The reward r output in the process of calculating the new control parameter P using the stochastic policy function π may also be used. If the reward r is greater than the desired control performance r', it is determined that the control performance is achievable; if it is smaller, it is determined that it is not achievable.
[0054] If the control performance cannot be achieved with the new control parameter P, the control parameter determination unit 25 sets the default control parameter P0 (the third value of the control parameter) to the control unit 21. The method for determining the default control parameter P0 is not particularly limited, but various well-known methods can be used, such as the Ziegler and Nicholas tuning method or a method based on the step response waveform. The control unit 21 controls the operation of the sewage treatment device 10 using the default control parameter P0.
[0055] On the other hand, if the control performance can be achieved with the new control parameter P (for example, if the reward r(t) is equal to or greater than the desired control performance r'), the control parameter determination unit 25 transmits the new control parameter P and the characteristic parameters K and T received from the system identification unit 26 to the stability determination unit 27 in order to determine the stability of the new control parameter P, that is, the stability of the control system when the new control parameter P is applied.
[0056] Figure 4 is a flowchart illustrating the detailed processing flow of the system degradation detection unit 24, the control parameter determination unit 25, the system identification unit 26, and the stability determination unit 27. When a system degradation detection signal is generated in the system degradation detection unit 24 (S201), the system identification unit 26 estimates the characteristic parameters of the transfer function G(s) using the least squares method with the data y(t) and u(t) in the data storage unit 23 (S202). Meanwhile, the control parameter determination unit 25 infers new control parameters P using the data y(t), target value Ref, and current control parameters P in the data storage unit 23 (S203). However, the method for estimating characteristic parameters and deriving control parameters is not limited to this. In step S204, the stability determination unit 27 determines the stability of the new control parameters P inferred by the control parameter determination unit 25 based on the input of the system degradation detection signal and the characteristic parameters estimated by the system identification unit 26. Step S204 is described in more detail below.
[0057] The stability determination unit 27 determines the stability of the new control parameter P received from the control parameter determination unit 25. More specifically, the stability determination unit 27 determines the stability of the closed-loop transfer function T(s) using the transfer function C(s) of the control unit 21 and the transfer function G(s) of the sewage treatment device 10, as shown in equation (13) below. The transfer function C(s) of the control unit 21 corresponds to the second transfer function, which is the transfer function of the control unit 21 (a transfer function including the control parameter).
[0058]
number
[0059] The transfer function C(s) of the control unit 21 is expressed as shown in equation (14) below, using the new control parameter P=(Kp,Ki,Kd).
[0060]
number
[0061] The transfer function G(s) of the sewage treatment device 10 is expressed as shown in equation (15) below, using characteristic parameters K and T received from the system identification unit 26.
[0062]
number
[0063] Therefore, the transfer function T(s) of the control system is given by equation (16) below. Figure 5 is a block diagram of the control system.
[0064]
number
[0065] The stability determination unit 27 determines the stability of the transfer function T(s). The method for determining stability is not particularly limited, but for example, the Routh-Hurwitz stability determination method can be used. For this purpose, the characteristic equation D(s) of the transfer function T(s) is obtained as shown in equation (17) below.
[0066]
number
[0067] From the characteristic equation D(s) above, the sequence [T+Kd, Kp·K+1, Ki·K] is extracted from the first column of the Routh array. According to the Routh-Hurwitz stability criterion, the condition for the control system to be stable is given by equation (18) below.
[0068]
number
[0069] If all of the above conditions are met, the stability determination unit 27 obtains "stable" as the stability determination result. Furthermore, {Kpo, Kio, Kdo} are defined, for example, Kpo=-T, Kio=0, and Kdo=-1 / K. The stability margin defined by equation (19) is calculated. The stability determination unit 27 returns the stability determination result and the stability margin to the control parameter determination unit 25.
[0070]
number
[0071] Conversely, if at least one of the conditions shown in equation (18) is not met, the stability determination unit 27 obtains "unstable" as the stability determination result. The stability determination unit 27 returns the determination result of "unstable" and information on which of the conditions shown in equation (18) was not met to the control parameter determination unit 25.
[0072] If the determination result received from the stability determination unit 27 indicates stability, the control parameter determination unit 25 sets a new control parameter P (the second value of the control parameter) in the control unit 21. The control unit 21 controls the operation of the sewage treatment device 10 using the newly set control parameter P. The control parameter determination unit 25 also displays the value of the new control parameter P and the stability margin on the monitor unit 28. Figure 6 is an example of a screen image displayed on the monitor unit 28.
[0073] On the other hand, if the determination result received from the stability determination unit 27 indicates instability, the control parameter determination unit 25 re-determines the control parameter P. If stability cannot be achieved even after repeating the determination of the control parameter P a predetermined number of times, the control parameter determination unit 25 sets the default control parameter P0 (the third value of the control parameter) to the control unit 21. The control unit 21 uses the default control parameter P0 to control the operation of the sewage treatment device 10.
[0074] Figure 7 is a flowchart of the control method according to this embodiment. More specifically, Figure 7 is a flowchart of the operation of the control device 20 according to this embodiment. The operation of the flowchart in Figure 7 may also be realized by having a computer execute a computer program.
[0075] In step S101, the system degradation detection unit 24 detects a change in the control characteristics of the sewage treatment device 10 and transmits a characteristic change detection signal (system degradation detection signal) to the system identification unit 26 and the control parameter determination unit 25. In step S102, the system identification unit 26 estimates the characteristic parameters K and T of the sewage treatment device 10 after the change in control characteristics.
[0076] In step S103, the control parameter determination unit 25 determines (estimates) the new control parameters P, namely the proportional gain Kp, the integral gain Ki, and the differential gain Kd.
[0077] When the control parameter determination unit 25 estimates a new control parameter P, it also calculates a reward r(t), compares r(t) with the desired control performance r', and determines whether the control performance can be achieved. If the control performance cannot be achieved (S=104=NO), the control parameter determination unit 25 sets the default control parameter P0 to the control unit 21 (S110). On the other hand, if the control performance can be achieved (S104=YES), the control parameter determination unit 25 transmits the new control parameter P and the characteristic parameters K and T estimated by the system identification unit 26 to the stability determination unit 27.
[0078] In step S105, the stability determination unit 27 determines the stability of the transfer function T(s) of the control system, including the new control parameters P=(Kp, Ki, Kd) and the characteristic parameters K and T after the change in control characteristics. If the determination result is "stable" (S106=YES), the control parameter determination unit 25 sets the new control parameter P to the control unit 21 (S108). The monitor unit 28 displays the value of the new control parameter P and the stability margin (S109).
[0079] On the other hand, if the determination result is "unstable" (S106=NO) and the number of trials is less than the predetermined number (S107=NO), the control parameter determination unit 25 re-determines the control parameter P (S103~S104). If stability cannot be achieved even after repeating the determination of the control parameter P a predetermined number of times (S107=YES), the control parameter determination unit 25 sets the default control parameter P0 to the control unit 21 (S110).
[0080] As described above, the control device 20 according to this embodiment includes a control parameter determination unit 25 that determines the control parameter P in accordance with changes in the control characteristics of the controlled object, and a stability determination unit 27 that determines the stability of the control system including the control characteristics of the controlled object and the control parameter P. Due to these features, the control device 20 according to this embodiment can guarantee the stability of the control parameter P that has been automatically adjusted during operation.
[0081] (Hardware configuration) Figure 8 shows the hardware configuration of the control device 20 according to this embodiment. The control device 20 is composed of a computer device 600. The computer device 600 includes a CPU 601, an input interface 602, a display device 603, a communication device 604, a main memory 605, and an external memory device 606, which are interconnected by a bus 607.
[0082] The CPU (Central Processing Unit) 601 executes a computer program on the main memory 605. The computer program is a program that implements each of the above-described functional configurations of the control unit 20. The computer program may not be a single program, but rather a combination of multiple programs or scripts. Each functional configuration is realized by the CPU 601 executing the computer program.
[0083] The input interface 602 is a circuit for inputting operation signals from input devices such as keyboards, mice, and touch panels to the control device 20.
[0084] The display device 603 displays data output from the control device 20. The display device 603 is, for example, an LCD (liquid crystal display), an organic electroluminescent display, a CRT (cathode ray tube), or a PDP (plasma display), but is not limited to these. Data output from the computer device 600 can be displayed on the display device 603. The display device 603 corresponds to the monitor 28 (display unit) of the control device 20 according to this embodiment.
[0085] The communication device 604 is a circuit for the control device 20 to communicate with an external device wirelessly or via a wired connection. Data can be input from an external device via the communication device 604. The data input from the external device can be stored in the main memory 605 or the external memory 606. The communication device 604 corresponds to the data acquisition unit 22 of the control device 20 according to this embodiment.
[0086] The main memory 605 stores computer programs, data necessary for the execution of computer programs, and data generated by the execution of computer programs. Computer programs are loaded and executed on the main memory 605. The main memory 605 is, for example, RAM, DRAM, or SRAM, but is not limited to these. The data storage unit 23 of the control device 20 according to this embodiment may be built on the main memory 605.
[0087] The external storage device 606 stores computer programs, data necessary for the execution of computer programs, and data generated by the execution of computer programs. These computer programs and data are read into the main memory 605 when the computer programs are executed. The external storage device 606 is, for example, a hard disk, optical disk, flash memory, and magnetic tape, but is not limited to these. The data storage unit 23 of the control device 20 according to this embodiment may be built on the external storage device 606.
[0088] The computer program may be pre-installed on the computer device 600, or it may be stored on a storage medium such as a CD-ROM. Furthermore, the computer program may be uploaded to the internet.
[0089] Furthermore, the control device 20 according to this embodiment may be configured as a single computer device 600, or as a system consisting of multiple interconnected computer devices 600.
[0090] Although several embodiments have been described, these embodiments are presented as examples and are not intended to limit the scope of the embodiments. These embodiments can be implemented in various other forms, and various omissions, substitutions, modifications, and combinations can be made without departing from the spirit of the embodiments. These embodiments and their variations are included in the scope and spirit of the embodiments, as well as in the claims and their equivalents.
[0091] Furthermore, this embodiment can also be configured as follows. [Item 1] An acquisition unit that acquires a measured value of the control amount of the controlled object, which operates according to the manipulated amount provided to the controlled object, at predetermined time intervals, A control unit calculates the manipulated variable for the controlled object and provides the manipulated variable to the controlled object based on the deviation between the measured value acquired by the acquisition unit and the target value of the controlled variable, and a first value of the control parameter, A detection unit that detects a change in the control characteristics of the controlled object based on the deviation between the measured value and the target value, A determination unit determines a second value of the control parameter by performing machine learning based on the measured value and the target value in response to the detection of a change in the control characteristics. The system includes a determination unit that determines the stability of the control system, including the control unit and the controlled object, based on the second value of the control parameter and the control characteristics of the controlled object. The control unit calculates the manipulated variable based on the deviation and the second value of the control parameter, according to the determination result of the discrimination unit. Control device. [Item 2] The discrimination unit determines the stability of the control system based on a first transfer function, which is the transfer function of the controlled object, and a second transfer function, which is the transfer function of the control unit including the control parameters. The control device described in item 1. [Item 3] The acquisition unit acquires the manipulated amount provided to the controlled object at predetermined time intervals. The system further includes an estimation unit that estimates the characteristic parameters of the controlled object included in the first transfer function based on the measured values and the manipulated variables, The discrimination unit determines the stability of the control system based on the characteristic parameters. The control device described in item 2. [Item 4] The first transfer function is the transfer function of a first-order lag system, and the characteristic parameters include process gain and time constant. The control device described in item 3. [Item 5] The detection unit detects the deterioration of the control characteristics of the controlled object. A control device as described in any one of items 1 to 4. [Item 6] The system further includes a display unit that displays the second value of the control parameter. A control device as described in any one of items 1 to 5. [Item 7] The control unit calculates the stability margin of the control system based on the second value of the control parameter, The display unit further displays the stability margin, The control device described in item 6. [Item 8] The determination unit determines the second value of the control parameter in order to reduce the deviation by performing reinforcement learning as machine learning. A control device as described in any one of items 1 to 7. [Item 9] The determination unit determines, based on the second value of the control parameter, whether the desired control performance based on the deviation can be achieved. If the control unit cannot achieve the desired control performance, it controls the controlled object based on the default values of the control parameters. The control device described in item 8. [Item 10] The control unit controls the target based on the deviation and the default value of the control parameter if the determination result of the determination unit is unstable, and controls the target based on the deviation and the second value of the control parameter if the determination result of the determination unit is stable. A control device as described in any one of items 1 to 9. [Item 11] The measured values of the controlled quantity of the controlled object, which operates according to the manipulated quantity provided to the controlled object, are acquired at predetermined time intervals. Based on the deviation between the acquired measured value and the target value of the controlled variable, and the first value of the control parameter, the control unit calculates the manipulated variable for the controlled object and provides the manipulated variable to the controlled object. Based on the deviation between the measured value and the target value, a change in the control characteristics of the controlled object is detected. In response to the detection of a change in the control characteristics, a second value of the control parameter is determined by performing machine learning based on the measured value and the target value. Based on the second value of the control parameter and the control characteristics of the controlled object, the stability of the control system including the control unit and the controlled object is determined. Based on the stability determination result, the manipulated variable is calculated based on the deviation and the second value of the control parameter. Control method. [Item 12] The measured values of the controlled quantity of the controlled object, which operates according to the manipulated quantity provided to the controlled object, are acquired at predetermined time intervals. Based on the deviation between the acquired measured value and the target value of the controlled variable, and the first value of the control parameter, the control unit calculates the manipulated variable for the controlled object and provides the manipulated variable to the controlled object. Based on the deviation between the measured value and the target value, a change in the control characteristics of the controlled object is detected. In response to the detection of a change in the control characteristics, a second value of the control parameter is determined by performing machine learning based on the measured value and the target value. Based on the second value of the control parameter and the control characteristics of the controlled object, the stability of the control system including the control unit and the controlled object is determined. Based on the stability determination result, the manipulated variable is calculated based on the deviation and the second value of the control parameter. A computer program that is executed by a computer. [Explanation of Symbols]
[0092] 10. Sewage treatment equipment 11 Aeration tank 12 Blower 13. Airflow control valve 14 DO Sensor 20 Control device 21 Control Unit 22 Data Acquisition Unit (Acquisition Unit) 23 Data storage unit (storage unit) 24 System Degradation Detection Unit (Detection Unit) 25 Control parameter determination unit (determination unit) 26 System Identification Unit (Estimation Unit) 27 Stability determination section (discrimination section) 28 Monitor section (display section) 600 Computer devices 601 CPU 602 Input Interface 603 Display device 604 Communication equipment 605 Main storage 606 External storage device 607 Bus e deviation Kd Differential Gain Ki Integral Gain Kp proportional gain K Process Gain P control parameter Target value of Ref DO concentration T time constant u Manipulated amount y DO concentration measurement
Claims
1. An acquisition unit that acquires a measured value of the control amount of the controlled object, which operates according to the manipulated amount provided to the controlled object, at predetermined time intervals, A control unit calculates the manipulated amount for the controlled object and provides the manipulated amount to the controlled object based on the deviation between the measured value acquired by the acquisition unit and the target value of the controlled amount, and a first value of the control parameter, A detection unit that detects a change in the control characteristics of the controlled object based on the deviation between the measured value and the target value, A determination unit that, upon detection of a change in the control characteristics, determines a second value of the control parameter by performing machine learning based on the measured value and the target value, and outputs the second value of the control parameter if the desired control performance can be achieved with the second value of the control parameter, The system includes a determination unit that determines the stability of the control system, including the control unit and the controlled object, based on the second value of the control parameter and the control characteristics of the controlled object. The control unit calculates the manipulated amount based on the second value of the control parameter if the desired control performance and stability can be achieved simultaneously using the second value of the control parameter, and calculates the manipulated amount based on the default value of the control parameter if the desired control performance and stability cannot be achieved simultaneously using the second value of the control parameter. Control device.
2. The discrimination unit determines the stability of the control system based on a first transfer function, which is the transfer function of the controlled object, and a second transfer function, which is the transfer function of the control unit, which includes the second value of the control parameter output by the machine learning. The control device according to claim 1.
3. The acquisition unit acquires the manipulated amount provided to the controlled object at predetermined time intervals. The system further includes an estimation unit that estimates the characteristic parameters of the controlled object included in the first transfer function based on the measured value and the manipulated variable, The discrimination unit determines the stability of the control system based on the characteristic parameters. The control device according to claim 2.
4. The first transfer function is the transfer function of a first-order lag system, and the characteristic parameters include process gain and time constant. The control device according to claim 3.
5. The detection unit detects the deterioration of the control characteristics of the controlled object. The control device according to claim 1.
6. The system further includes a display unit that displays the second value of the control parameter along with information regarding the stability of the control parameter. The control device according to claim 1.
7. The control unit calculates the stability margin of the control system based on the second value of the control parameter, The display unit displays the stability margin as information relating to stability. The control device according to claim 6.
8. The determination unit determines the second value of the control parameter in order to reduce the deviation by performing reinforcement learning as machine learning. The control device according to claim 1.