Journal of Robotics, Networking and Artificial Life

Volume 5, Issue 2, September 2018, Pages 89 - 92

Experimental Evaluation of a Data-Driven Control System using an Electronic Thermal Regulator

Authors
Yuka Okubookubo-yuka@hiroshima-u.ac.jp
Graduate School of Engineering, Hiroshima University, 1-4-1, Kagamiyama, Higashihiroshima city, Hiroshima, Japan
Yoichiro Ashidaashida-yoichiro@hiroshima-u.ac.jp
Graduate School of Engineering, Hiroshima University, 1-4-1, Kagamiyama, Higashihiroshima city, Hiroshima, Japan
Takuya Kinoshitakinoshita--takuya@hiroshima-u.ac.jp
Graduate School of Engineering, Hiroshima University, 1-4-1, Kagamiyama, Higashihiroshima city, Hiroshima, Japan
Toru Yamamotoyama@hiroshima-u.ac.jp
Graduate School of Engineering, Hiroshima University, 1-4-1, Kagamiyama, Higashihiroshima city, Hiroshima, Japan
Available Online 30 September 2018.
DOI
10.2991/jrnal.2018.5.2.3How to use a DOI?
Keywords
PID controller; data-driven controller; electronic thermal regulator; FRIT
Abstract

IoT (Internet of Things) has been attracted attention, and several system data can be obtained by communication and it is stored in database. The input/output data is expected to be utilized to control systems in industries. The data-driven technique has been proposed as a way to utilize database for calculating PID gains. The scheme is effective for non-linear system control, but it is hard to be implemented to systems. It is due to restricted memory capacity. Therefore, a host computer calculates PID gains based on the data-driven scheme instead of a control device. The calculated gains are sent to a general controller from a computer. The effectiveness of the proposed platform is demonstrated by the experimental examination.

Copyright
Copyright © 2018, the Authors. Published by Atlantis Press.
Open Access
This is an open access article under the CC BY-NC license (http://creativecommons.org/licences/by-nc/4.0/).

1. Introduction

In recent years, IoT has been received attention, and the data of systems obtained through a lot of sensors is hoped to be utilized to control systems in industries1. Such data, which is collected by a communication between sensors and cloud, is stored in database.

On the other hand, the electronic thermal regulators2, control devise, are employed to control systems, in which PID controller3, 4 is basically applied. In the case of using PID controller, the PID gains must be tuned considering the properties of controlled objects. Most of the practical controlled objects have nonlinearity, and it is hard to control them suitably by using the fixed PID controller. Therefore, the data-driven technique5 having effectiveness for non-linear systems has been proposed. Calculating a set of PID gains based on the database depending on current operating data, the data-driven scheme can appropriately control such systems. The data-driven technique needs the large memory for database. Therefore, it is hard to implement this technique to the electronic thermal regulator due to its restricted memory capacity. If the computer is utilized for implementing the data-driven control scheme, the new interface between the computer and controlled object must be introduced instead of the electronic thermal regulator. Hence, the data-driven scheme is hardly implemented to the industrial field.

In this paper, the construction of the data-driven control platform using the electronic thermal regulator is firstly explained, in which the database is introduced in order to realize the data-driven PID controller. According to the proposed platform, the host computer calculates PID gains by the data-driven technique and sends them to the control device. As a result, the aforementioned memory capacity restriction of the electronic thermal regulator can be avoided. Furthermore, the existing interfaces between electronic thermal regulator and control objects do not need to be changed.

In this paper, section 2 shows the schematic of the data-driven control platform. The design of a data-driven controller is explained in section 3. In section 4, the effectiveness of the proposed platform is verified by implementing it for an actual experimental equipment. The paper ends with concluding remarks in section 5.

2. Construction of the data-driven control platform

The schematic of a data-driven control platform is shown in Fig. 1. In this paper, the electronic thermal regulator plays a role of a controller. The electronic thermal regulator receives control outputs, e.g. temperature, humidity or pressure through a sensor and determines the control input. In the proposed platform, the reference signal and control I/O data are sent to the host computer having a database from the electronic thermal regulator. The host computer sends a set of PID gains calculated on data-driven scheme to the electronic thermal regulator. Since the host computer sends PID gains instead of the control input, the electronic thermal regulator can control systems using last PID gains even if the communication is interrupted.

Fig. 1

The schematic of a data-driven control platform.

3. Design of the data-driven controller

3.1. Controlled Object

The controlled object can be described by the following nonlinear system:

y(t)=f(ϕ(t1))
where y(t) is system output, f(·) denotes the function of nonlinearity and ϕ(t−1) is an information vector showing the historical data of the system. ϕ(t−1) is defined by the following equation:
ϕ(t1)u(t1),,u(tnu),
where u(t) is the control input, and nv, nu are the orders of the system output and the control input, respectively. In this paper, the following control law with a PID structure is introduced:
Δu(t)=kcTsTIe(t)kc(Δ+TdTsΔ2)y(t)KIe(t)KPΔy(t)KDΔ2y(t),
where e(t) denotes the control error signal defined by the following equation:
e(t)=r(t)y(t),
where r(t) is the reference signal. The kc, Ti, and Td in equation (3) express the proportional gain, integral time, and derivative time, respectively. KP, KI and KD similarly denote the proportional gain, integral gain and derivative gain. The z−1 shows the backward operator. Ts and Δ(≔1−z−1) are the sampling time and differencing operator.

3.2. Design of a data-driven controller

[STEP1] Generate an initial database: In the data-driven control, the control parameters are calculated from the historical closed-loop data stored in a database. If there are no stored information vectors in the database, the data-driven scheme cannot work. To create initial database, it is required to obtain the closed-loop data. The data stored in the form of the following equation:

Φ(t)[ϕ(t),K(j)],j=1,2,,N(0)
K(t)[KP(t),KI(t),KD(t)],
where N(0) is the number of information vectors stored in the initial database. The query is defined by the following equation:
ϕ(t)[r(t+1),r(t),y(t),,y(tny+1),u(t1),,u(tnu+1)],
[STEP2] Calculate distances and Select neighbors: The distances between query ϕ(t) and every information vector ϕ(i) in the database, where i ≠ t, are calculated by the following equation:
d(ϕ(t),ϕ(j))=l=1nu+ny+1|ϕl(t)ϕl(j)maxmϕl(m)minmϕl(m)|(j=1,2,,N(t)),
where N(t) is the number of information vectors in the database at t. The maxϕl(m) denotes the maximum value of lth elements in all information vectors. Similarly, the minϕl(m) expresses the minimum value of lth elements in all information vectors. The k -pieces vectors with the smallest d are selected from all information vectors. The selected information vectors and PID gains corresponding to the information vectors are neighbor vectors.

[STEP3] Calculate PID gains: The suitable PID gains around the query are calculated by applying the steepest descent method to selected neighbor vectors in STEP 2.

Kold(t)=i=1kwiK(i),i=1kwi=1,
where wi in equation (9) is weight for K(i) corresponding to the ith information vector ϕ(i) as follows:
wi=edii=1kedi,
where di expresses the distance calculated by equation (8) between the query and ith information vector.

3.3. Off-line learning by FRIT

The fictitious reference iterative tuning (FRIT)6 is a technique calculating directly the control parameters from a pair of I/O data. The new PID gains Knew are obtained by updating the database stored PID gains Kold. The following steepest descent method is applied to modify the PID gains:

Knew=KoldηJ(t+1)K,
η[ηP,ηI,ηD],
where η denotes the learning rates for each control parameters. The J(t+1) expresses the error criterion as follows:
J(t+1)12ε(t+1)2
ε(t+1)y0(t+1)y˜m(t+1).
When J(t+1) is minimized, the PID gains can be calculated such that J0(t) and y˜m(t) are equal. In equation (13), the fictitious reference output y˜m(t) is used so that the closed-loop system including a controller has a desired characteristic of the reference model. y˜m(t) is shown by the following equation:
y˜m(t)=z1P(1)P(z1)r˜(t).
P(z−1) is a user-specified polynomial included in the reference model and arbitrarily designed in advance such that the model has the desired characteristic.
P(z1)1+p1z1+p2z2,
p1=2exp(ρ2μ)cos(4μ12μρ)p2=exp(ρμ)ρTsσμ0.25(1δ)+0.51δ}
σ denotes the rise-time, and δ is a parameter relevant to dumping. It is required that σ is set to between 1/2 and 1/3 sum of time constant and dead time. δ is desired to set to between 0 and 2. When δ = 0, the step response is the Binomial model response. When δ = 1, the step response shows the Butterworth model response.

In equation (14), the fictitious reference input r˜(t) is calculated by the input-output relation of controller C(z−1). The C(z−1) is expressed as follows:

C(z1)=c0+c1z1++cnzn,
where n is the control law order. n equals 2 in the case where PID controller is used. The input-output relation of a controller is shown by the following equation:
u0(t)=C(z1)Δ{r˜(t)y0(t)},
r˜(t)=C1(z1)Δu0(t)+y0(t).
the fictitious reference signal r˜(t) is obtained by deformation of equation (18).

4. Experimental control results

In this paper, the data-driven control platform was applied to the temperature equipment shown in Fig. 2. The electronic thermal regulator E5CC-QQ2ASM and the interface converter K3SC-10 for connection between the electronic thermal regulator and a host computer was utilized, which they made by OMRON Corporation. The temperature equipment equips with a ceramic heater and an aluminum block. The control output y(t) is the temperature of the aluminum and is measured with a thermocouple of K-type. The control input u(t) is duty ratio which determines how much to heat through a relay. The reference signal r(t) was set to r(t) = 60 [°C] and the sampling time Ts was set to 2 [s]. After the control output can track to the reference signal, a disturbance was applied that non-heated aluminum contacts and cools the heated one.

Fig. 2

The appearance of the temperature control equipment.

The PID parameters for generating initial database were denoted as follows:

kp=2.07,KI=0.021,KD=1.29.

The initial data vectors were stored database according to equation (5). The user-specified parameters for the experiment are shown in Table 1.

Orders of the information vector nu = 1
ny = 2

Number of neighbors k = 6

Learning rates ηP = 1.0 × 10−3
ηI = 1.0 × 10−4
ηD = 1.0 × 10−3

Initial Number of data N(0) = 1138
Table 1:

User-specified parameters for the experiment.

The desired polynomial P(z−1) was designed as

P(z1)=11.91z1+0.91z2,
where σ and δ were set to σ = 90 and δ = 0. The control results of using the fixed PID gains and the proposed platform are respectively shown in Fig. 3. The upper figure shows that solid line is the control output by the proposed platform, dotted line is the desired control output, dash line is the reference signal and chain line is the control output using the fixed PID gains. The control result of using fixed PID controller cannot track to the desired control output and the disturbance let it cool 13°C approximately at t = 700. In comparison with two results, the rise-time of the proposed scheme is shorter than one of the fixed PID controller. Therefore, the effectiveness of data-driven control platform was verified.

Fig. 3

The control results by the proposed platform, and by a fixed PID controller.

5. Conclusion

In this paper, the effectiveness of the data-driven control platform has been verified. In the proposed platform, it is handily permitted advance control law that a host computer sends PID gains to the electronic thermal regulator using an existing interface. Even if PID gains cannot be sent to the electronic thermal regulator, a system is controlled using the last PID gains. In this paper, the PID gains are adjusted at every step. In future work, the control design method, in which PID gains are adjusted only the case where the control performance is deteriorated, will be considered.

References

1.T Munaka, Newly Coming World by IoT-The Trend of Industrial Internet, System, Control and Information, Vol. 60, No. 10, 2016, pp. 425-430. (in Japanese)
2.Tateishi Electrric Co, Temperature Controller Thermac X Seriesss, Journal of The Society of Instrument and Control Engineers, Vol. 27, No. 12, 1988, pp. 1130-1131. (in Japanese)
3.KJ Astrom and T Hagglund, Advanced PID Control, International Society of Automation, 2005.
4.On the Automatic Control of Generalized Passive Systems, ASME, Vol. 74, 1972, pp. 175-185.
Journal
Journal of Robotics, Networking and Artificial Life
Volume-Issue
5 - 2
Pages
89 - 92
Publication Date
2018/09/30
ISSN (Online)
2352-6386
ISSN (Print)
2405-9021
DOI
10.2991/jrnal.2018.5.2.3How to use a DOI?
Copyright
Copyright © 2018, the Authors. Published by Atlantis Press.
Open Access
This is an open access article under the CC BY-NC license (http://creativecommons.org/licences/by-nc/4.0/).

Cite this article

TY  - JOUR
AU  - Yuka Okubo
AU  - Yoichiro Ashida
AU  - Takuya Kinoshita
AU  - Toru Yamamoto
PY  - 2018
DA  - 2018/09/30
TI  - Experimental Evaluation of a Data-Driven Control System using an Electronic Thermal Regulator
JO  - Journal of Robotics, Networking and Artificial Life
SP  - 89
EP  - 92
VL  - 5
IS  - 2
SN  - 2352-6386
UR  - https://doi.org/10.2991/jrnal.2018.5.2.3
DO  - 10.2991/jrnal.2018.5.2.3
ID  - Okubo2018
ER  -