This paper concerns the identification of a greenhouse described in a multivariable linear system
with two inputs and two outputs (TITO). The method proposed is based on the least squares identification
method, without being less efficient, presents an iterative calculation algorithm with a reduced
computational cost. Moreover, its recursive character allows it to overcome, with a good initialization, slight
variations of parameters, inevitable in a real multivariable process. A comparison with other method s
recently proposed in the literature demonstrates the advantage of this method. Simulations obtained will be
exposed to showthe effectiveness and application of the method on multivariable systems.
2. ISSN: 1693-6930
TELKOMNIKA Vol. 16, No. 2, April 2018: 641 – 647
642
3. The Problem
Recently, many self tuning models have been suggested to describe the dynamic
behaviour of the greenhouse. In the reported literature the application of conventional methods
requires preliminary knowledge of a model of the process in order to control it optimally in the
presence of environmental disturbances. However, in our case, this knowledge is often not
available and the process control must be preceded by a preliminary step of identifying the
model. This type of approach leads to a two-step realization of the control system (identification
of the model and control of the process) [6]. The major disadvantage of this approach is to set
the control system according to the model obtained during the identification step; during which
the process operating conditions may be different from that corresponding to the effective
application of the control [7].
4. Proposed Solution
We have therefore been led to develop models of parametric identification of
greenhouse climate which are based on the writing of energy balances at the main components
of the greenhouse: walls, indoor air, vegetation, different horizons of the soil. These
multivariable models will then be compared to the parametric models obtained by parametric
identification based on the quadratic error minimization criterion [8].
This article is structured as follows. Section 5 presents a general greenhouse mlodeling.
Section 6 presents the principle of recursive least sqaure algorithm by highlighting our
contribution to this paper. Section 7 unveils simulations on the simulink code of the proposed
method [9].
5. System Modeling
The descriptive model shown in Figure 1 will be set in parametric identification in real
time in order to obtain the dynamic model of the behavior of the greenhouse containing all the
parameters to be identified [10].
Figure 1. Greenhouse system modeling
The validation of these parameters is done by minimization of quadratic criterionon time
horizon which allows this error to be acceptable [11]. by using the RLS identification algorithm
applied in multivariable mode, we will be able to concretize the dynamic model of the
greenhouse as seen in Figure 2.
3. TELKOMNIKA ISSN: 1693-6930
Multivariable Parametric Modeling of a Greenhouse by Minimizing the Quadratic… (M Essahafi)
643
Figure 2. Schematic diagram of controlled greenhouse
To describe the dynamic model of the greenhouse [12-13], we chose the ARMAX [5]
representation (recursive exogenous autoregressive moving average) as shown on Figure 3.
( ) ( ) ( ) ( ) ( ) ( ) (1)
Figure 3. ARMAX structure
To simplify the modeling of the greenhouse [6], we have to limit the order of identification of the
polynomials of the ARMAX model to n=2, and we have this:
( ) (2)
( ) (3)
( ) (4)
In the above Equations, y(t) represent the greenhouse outputs: the temperature T°(°C)
and the humidity H (%) of the internal climate of the greenhouse. u(t) the greenhouse input:
ventilation V(w) and heat power H(w). w(t) vector-valued zero-mean sequences, with definite
power and independent of the inputs of theplant. Moreover ( ), ( )and ( ) are
polynomial functions in the backward shift operator ( ) of order na, nb and nc, respectively.
6. Parametric Identification RLS Method
A general method consists in calculating the quadratic error of the criterion in order to
use a generic method of iterative or recursive minimization (see optimization in [14-15]).
The criterion is de ned by :
4. ISSN: 1693-6930
TELKOMNIKA Vol. 16, No. 2, April 2018: 641 – 647
644
( ) ( ) ( ) (5)
This predictor does not finish a linear regression because it is looped. It is generally referred to
as pseudo-linear regression, and the parameter vector is put in the form:
( ) [ ] (6)
The vector ( ) contains the measured data of the control and the output of the model of the
greenhouse "here temperature and humidity"
( ) [ ] (7)
The method we propose here, [16] although it belongs to the category of "sub-optimal" methods,
has the advantage of being simple in terms of both implementation and computational workload,
and just as powerful as existing methods. The processing performed on the data will be
sequential, ie the set of data to be processed is not supposed to be available at one time; at a
moment k, only the history of the measurements y(k) constitutes the learning base [17]. Instead
of resorting to particulate estimation techniques as in [8] to ensure the calculation of the
parameters of the different modes of operation, the approach adopted here is based on
recursive least squares.
̂( ) ∑ ( ( ) ( ) ̂( )) (8)
In all cases, obtaining good estimates depends on the choice of an appropriate decision
criterion and an appropriate initialization of the parameters [12-13]. Henceeach iteration will be
represented by
̂( ) ̂( ) ( )[ ( ) ( ) ̂( )] (9)
( ) ( ) ( )( ( ) ( ) ( )) (10)
( ) ( ( ) ( ) ( )) (11)
7. Simulation Results
The excitation input of the greenhouse is chosen as a centered white noise of unit
variance; an additive output noise e is also selected white of the same characteristics.The
Figures below present the simulation results of the online identification obtained after the
calculation iteration of the RLS quadratic algorithm.
The Figures are made for various values of parameters, in order to show the robustness
and the time reponse of this method and especially its capacity to operate with very few
variations of the internal parameters of the greenhouse. Note that the estimates are relatively
close to the true parameters of the greenhouse. They are also quickly calculated by this
method. Here to illustrate the method presented above, we give the different initializations of the
algorithm of RLS identificationdefined such that:
computing time: 1000; weighting matrix P=106
Also, we consider an example of a greenhouse system of orders na=2 and nb=2 and nc=1;
( ) ; ( )
( ) ; ( ) ; ( )
( )
To validate the model, the simulation results of the estimated model with respect to other
observations than those used for the estimation phase are shown in Figure 3. The values of the
5. TELKOMNIKA ISSN: 1693-6930
Multivariable Parametric Modeling of a Greenhouse by Minimizing the Quadratic… (M Essahafi)
645
temperature and humidity inside the greenhouse show that the dominant behavior of the
greenhouse is correctly described by the estimated model.
Figure 4. Comparison between measured and estimated output variables
The time-based of the greenhouse parameters is shown in Figures 2 and 3. The
parameters values are adjusted with very low values, meanwile the extrnal disturbance are
applied, the parameters are again estimated to consider the effect of the new greenhouse state.
The curves below make it possible to observe that after 5% of the global time of calculation of
the identification, the best results of the values of the parameters of the greenhouse can be
obtained.
Figure 5. Evolution of the estimate of the dyanamic parameters of the greenhouse A1, A2,
B0 and B1
6. ISSN: 1693-6930
TELKOMNIKA Vol. 16, No. 2, April 2018: 641 – 647
646
Figure 6. Evolution of the estimate of the dyanamic parameters of the greenhouse B2 and C1
8. Conclusion
In this paper, We have suggested a multivariable method for the recursive identification
of systems with evolving coupled variables. The approach proposed here for the identification of
a greenhouse is built around an idea which consists in coupling the tasks of identification and
estimation of the parameters. by minimizing the qaudratic error between measurement and real-
time estimation of measured outputs.Compared with single-variable methods, it has been
shown that for equivalent performance, our method has the advantage of being inexpensive in
terms of computing loads.Our next work will extend to the recursive identification of the
multivariable greenhouse, subject to more advanced controls that can be adaptive.
References
[1] Åström KJ, Wittenmark B. On self-tuning regulators. Automatica 9. 1973: 185-199. [The seminal
paper on self-tuning control].
[2] Åström KJ, Wittenmark B. Self-tuning controllers based on pole-zero placement. Proceedings IEE.
1980. Pt.D 127, 120-130. [A seminal paper on the pole-placement approach to self-tuning control]
[3] Jiangang Lu, Jie You, Qinmin Yang. Nonlinear Model Predictive Controller Design for Identified
Nonlinear Parameter Varying Model. TELKOMNIKA (Telecommunication,Computing,Electronics and
Control). 10(3): 514-523.
[4] Ignatius Riyadi Mardiyanto, Hermagasantos Zein, Adi Soeprijanto. Combining Parameters of Fuel
and Greenhouse Gas Costs as Single Objective Function for Optimization of Power Flow .
TELKOMNIKA (Telecommunication, Computing, Electronics and Control). 2017; 15(4): 1585-1600.
[5] Junjie Chen, Zhenfeng Xu, Qiaowei Zhang, Yinyin Gu. Dynamic Mechanistic Modeling of Air
Temperature and Humidity in the Greenhouses with On-Off Actuators. TELKOMNIKA
(Telecommunication, Computing, Electronics and Control). 2016; 14(2A): 248-256.
[6] Clarke DW, Gawthrop PJ. Self-tuning controller. IEE Proceedings Part D: Control Theory and
Applications. 1975; 122(9): 929-934. [Seminal paper on GMV-based self-tuning control]
[7] Clarke DW, Gawthrop PJ. Self-tuning Control. IEE Proceedings Part D: Control Theory and
Applications. 1979; 126(6): 633-640. [A review of GMV-based self-tuning control.]
[8] Muhammad Ali Raza Anjum. Adaptive System Identification using Markov Chain Monte Carlo.
TELKOMNIKA (Telecommunication, Computing, Electronics and Control). 2015; 13(1): 124-136.
[9] H Yaofeng, D Shangfeng, C Lijun, Liangmeihui. Identification of greenhouse climate using Takagi-
Sugeno fuzzy modeling. 2017 Chinese Automation Congress (CAC), Jinan, China. 2017: 609-614.
7. TELKOMNIKA ISSN: 1693-6930
Multivariable Parametric Modeling of a Greenhouse by Minimizing the Quadratic… (M Essahafi)
647
[10] H Sampaio, S Motoyama. Sensor nodes estimation for a greenhouse monitoring system using
hierarchical wireless network".2017 25th International Conference on Software, Telecommunications
and Computer Networks (SoftCOM), Split. 2017: 1-5.
[11] SFM Samsuri, R Ahmad, M Hussein, ARA Rahim. Identification and Modeling of Environmental
Climates Inside Naturally Ventilated Tropical Greenhouse.2010 Fourth Asia International Conference
on Mathematical/Analytical Modelling and Computer Simulation, Bornea. 2010: 402-407.
[12] A Jianqi, Y Junyiu, W Min, W Xiongbo. A modeling and closed-loop identification method based on
RLS for top pressure in blast furnace. 2016 35th Chinese Control Conference (CCC), Chengdu.
2016: 2223-2228.
[13] JE Bobrow, W Murray. An algorithm for RLS identification parameters that vary quickly with time, In
IEEE Transactions on Automatic Control. 1993; 38(2): 351-354. doi: 10.1109/9.250491
[14] J Li, X Wei, H Dai. Design and implementation ofRLS identification algorithm based on FPGA. 2009
9th International Conference on Electronic Measurement & Instruments , Beijing. 2009: 2-599-2-601.
[15] R Arablouei, K Doğançay, T Adali. Unbiased RLS identification of errors-in-variables models in the
presence of correlated noise. 2014 22nd European Signal Processing Conference (EUSIPCO),
Lisbon. 2014: 261-265.
[16] M Ezzaraa, MA Lafkih, M Ramzi. Design and performance analysis of adaptive linear quadratic
Gaussian controller.2012 IEEE International Conference on ComplexSystems (ICCS), Agadir. 2012:
1-5.
[17] S Sundari, Alamelu Nachiappan. Online Identification Using RLS Algorithm andKaczmarz’s
Projection Algorithm for a Bioreactor Process. International Journal of Engineering and Computer
Science. 2014; 3(9): 7974-7978.