Skip to main content
Sensors (Basel, Switzerland) logoLink to Sensors (Basel, Switzerland)
. 2012 Apr 26;12(5):5328–5348. doi: 10.3390/s120505328

Nonlinear Adaptive PID Control for Greenhouse Environment Based on RBF Network

Songwei Zeng 1, Haigen Hu 1,2,*, Lihong Xu 2,*, Guanghui Li 1
PMCID: PMC3386686  PMID: 22778587

Abstract

This paper presents a hybrid control strategy, combining Radial Basis Function (RBF) network with conventional proportional, integral, and derivative (PID) controllers, for the greenhouse climate control. A model of nonlinear conservation laws of enthalpy and matter between numerous system variables affecting the greenhouse climate is formulated. RBF network is used to tune and identify all PID gain parameters online and adaptively. The presented Neuro-PID control scheme is validated through simulations of set-point tracking and disturbance rejection. We compare the proposed adaptive online tuning method with the offline tuning scheme that employs Genetic Algorithm (GA) to search the optimal gain parameters. The results show that the proposed strategy has good adaptability, strong robustness and real-time performance while achieving satisfactory control performance for the complex and nonlinear greenhouse climate control system, and it may provide a valuable reference to formulate environmental control strategies for actual application in greenhouse production.

Keywords: nonlinear adaptive control, neuro-PID control, Radial Basis Function (RBF), greenhouse environment control, Genetic Algorithm (GA)

1. Introduction

The greenhouse climate control concerns the creation of a favorable environment for the crop in order to reach predetermined results for high yield, high quality and low production costs. However, it is a very difficult to implement in practice due to the complexity of the greenhouse environments. Greenhouses are highly nonlinear and strongly coupled Multi-Input Multi-Output (MIMO) systems that are largely influenced by the outside weather (wind velocity, outside temperature and humidity) and by many other practical constraints (actuators and moistening cycle). In recent years, various advanced control techniques and related strategies, such as predictive control [13], adaptive control [4,5], nonlinear feedback control [6], fuzzy control [7,8], robust control [9], optimal control [1012] and compatible control [13] have been proposed for greenhouse environment control. These studies are very important to real-world engineering application in greenhouse production. However, most of these approaches are either theoretically complex or difficult to implement in actual greenhouse production. Controller designs for greenhouse environmental control mostly adopt conventional proportional, integral, and derivative (PID) controllers owing to the simple architecture, easy implementation and excellent performance.

About 95% of the regulatory controllers of the process control [14], motor drives, automotive, fight control and instrumentation industries have PID structures. In spite of this widespread usage, their effectiveness is often limited owing to poor tuning, and tuning PID controllers efficiently is the subject of active research. Several tuning methods have been presented in the existing literature [15,16]; these include designs based on “guess-and-check” such as trial and error, based on linear control theory such as Ziegler–Nichols (Z-N) and Cohen–Coon methods (C-C). Nevertheless, it is difficult to achieve desired performance of the controlled greenhouse using conventional tuning methods because there is nearly no effective analytical way to find the optimal set of gain parameters. The methods are mostly based on linear models, which are usually adjusted around operating points. Empirical methods such as Z-N, which can be used for tuning a simple problem, are inadequate to deal with complex systems like the greenhouse environment owing to the lack of empirical data for a wide range of problems. Hence, new designs for tuning PID parameters should be explored to regulate the greenhouse environment. A conventional fixed gain or gain-scheduled PID controller may assure stability for this maneuver, but it is difficult to achieve the desired performance for controlling nonlinear and strong interference systems due to the difficulties in determining appropriate PID gains.

Recently, an optimal tuning method of PID controller employing Genetic Algorithm (GA) has been proposed and successfully used for a wide range of plants [1719]. Due to the capability for global and powerful optimization, GA can search optimal PID gain parameters based on various performance criterion for many different control problems. However, a limitation exists in the computational cost of the optimization process and in the heavy dependence on the computation time when searching the optimal gain parameters. Therefore this method cannot be applied to online real-time control. Besides, it is important that the aforementioned methods cannot adapt PID gain parameters properly to prevailing dynamics owing to the presence of varying strong disturbances. Hence, new designs for self-adaptive online tuning of PID parameters should be explored to control these systems.

Design methods incorporating artificial neural networks (ANNs) have been widely applied in the area of nonlinear adaptive control due to their adaptability, learning ability and powerful ability to approximate nonlinear functions [2031]. Among the various neural network paradigms, the Radial Basis Function (RBF) network has been extensively studied in the area of modeling, prediction and control for nonlinear systems due to its attractive properties such as localization, functional approximation, cluster modeling, quasi-orthogonality and a simple network structure. In [23], an on-line learning neuro-control scheme that incorporates a growing RBF network (GRBFN) is proposed for a non-linear aircraft controller design. In [24], an adaptive control scheme was studied for a 1-DOF motion model based on the RBF approximations. In [27], RBF network was used to model the inside air temperature as a function of the outside air temperature and solar radiation, and inside relative humidity in a hydroponic greenhouse. In [31], a Functional electrical stimulation (FES) system tuned by Radial Basis Function (RBF) Neural Network-based Proportional-Integral-Derivative (PID) model was designed to control the knee joint according to the desired trajectory through stimulation of lower limbs muscles.

Motivated by the aforementioned issues, an adaptive neural control scheme, incorporating the conventional PID controllers, is presented herein for greenhouse climate control. It is anticipated that the combination will take advantage of the simplicity of PID controllers and the powerful capability of learning and adaptability of RBF networks. The main objective is to develop an online adaptive tuning method by employing RBF networks for greenhouse climate control with two PID loops of a MIMO process, which is characterized by strong interactions among process variables, nonlinearities and serious interference. In order to validate the effectiveness and superiority of the proposed adaptive control scheme, we compare the results with an offline tuning method that adopts Genetic Algorithm (GA) to search the conventional PID gain parameters based on criteria of integral time absolute error (ITAE).

The remainder of this paper is organized as follows. Section 2 describes the considered greenhouse climate dynamic model and the corresponding nonlinear differential equations. Section 3 describes RBF network structure, the corresponding control strategy, and the adaptive tuning scheme based on Jacobian identification of RBF network. Section 4 presents simulations and results, and the proposed adaptive control scheme is compared with an offline tuning method that uses GA to search the optimal gain parameters. Finally, conclusions and prospects for this work are given in Section 5.

2. Description and Problem Formulation

2.1. Greenhouse Dynamic Model

The greenhouse environment is a complex dynamic system. Over the past decades, people have gained a considerable understanding of greenhouse climate dynamics, and many methods describing the dynamic process of a greenhouse climate have been proposed. Traditionally, there are two different approaches to describe the greenhouse climate: one is based on energy and mass flow equations describing the process [3235], and another is based on the analysis of input-output data from the process by using a system identification approach [27,3638]. This paper deals with the first method for the control of inside air temperature and humidity of a greenhouse, and its physical model describes flow and mass transfers generated by the differences in energy and mass content between the inside and outside air, by control, or by exogenous energy and mass inputs [39]. Most analytic models on analysis and control of the greenhouses environment have been based on the following state space form:

x˙=f(t,x,u,υ) (1)

where x are states variables such as indoor temperature, humidity and carbon dioxide concentration; u are control inputs such as energy input by the heating system, fogging systems, ventilation system and CO2 supply flux; v are external disturbances such as solar radiation, outdoor temperature, humidity and wind speed; t denotes time, and f(·) is a nonlinear function.

In order to effectively validate the performance of the proposed algorithm, the considered greenhouse analytic expression is based on the heating/cooling/ventilating model, which can be obtained from several references [6,40-42]. This can be summarized in the functional block diagram given in Figure 1. Considering the related high costs, CO2 supply systems are not extensively used, therefore the related variables are not taken into account in this work. To simplify the model, we consider only primary disturbance variables, such as solar radiation, outside temperature and humidity. According to the above analysis, the state equations have been formed based on the laws of conservation of enthalpy and matter, and the dynamic behaviour of states is described by using the following differential equations [42]:

dTin(t)dt=1ρCpVT(Qheater(t)+Si(t)λQfog(t))(VR(t)VT+UAρCpVT)(Tin(t)Tout(t)) (2)
dHin(t)dt=1ρVHQfog(t)+1ρVH(E(Si(t),Hin(t)))VR(t)ρVH(Hin(t)Hout(t) (3)

where

  • Tin/Tout is the indoor/outdoor air temperature (°C),

  • Hin/Hout is the interior/exterior humidity ratio (g[H2O]kg-1[dry air]),

  • UA is the heat transfer coefficient of enclosure (WK-1),

  • V is the geometric volume of the greenhouse (m3),

  • ρ is the air density (kg[air]m-3),

  • Cp is the specific heat of air (Jkg1K−1),

  • Qheater is the heat provided by the greenhouse heater (W),

  • Qfog is the water capacity of the fog system (g[H2O]s−1)

  • Si is the intercepted solar radiant energy (W),

  • λ is the latent heat of vaporization (Jg1),

  • VR is the ventilation rate (m3[air]s1),

  • E(Si(t), Hin(t)) is the evapotranspiration rate of the plants (g[H2O]s−1),

Figure 1.

Figure 1.

Greenhouse climate dynamic model.

VT and VH are the active mixing air volumes of the temperature and humidity respectively Generally speaking, VT and VH are as small as 60%-70% of the geometric volume V of the greenhouse owing to local convection and stagnant zones that exist in ventilated spaces.

It is also worth noting that as a first approximation, the evapotranspiration rate E(Si, Hin) is primarily related to the intercepted solar radiant energy, through the following simplified relation:

E(Si(t),Hin(t))=αSi(t)λβTHin(t) (4)

where α is an overall coefficient to account for shading and leaf area index (dimensionless) and βT is the overall coefficient to account for thermodynamic constants and other factors affecting evapotranspiration (i.e.,stomata and air motion) [42].

2.2. Problem Formulation

The climate model provided above can be used in all seasons, and two variables are controlled, namely, the indoor air temperature and the humidity ratio through the processes of heating (Qheater(t)), ventilation (VR(t)) and fogging (Qfog(t)). For summer operation in this work, Qheater is set to zero. The purposes of ventilation are to exhaust moist air and to replace it with outside fresh air, to control high temperatures caused by the influx of solar radiation, to dehumidify the greenhouse air when the humidity of the outside air is very low, to provide uniform air flow throughout the entire greenhouse, and to maintain acceptable levels of gas concentration in the greenhouse. Fogging systems (such as misters, fog units, or roof sprinklers) are primarily used for humidification of the greenhouse. In fact, fogging system also plays a cooling role due to evaporative cooling. Moreover, fresh air must be continually ventilated into the greenhouse, while warm and humidified air is exhausted. When humidification occurs under sunny conditions, ventilation is necessary since the greenhouse would soon become a steam bath if fresh dry air is not provided.

In order to effectively express the state-space form, we define the inside temperature and absolute humidity as the dynamic state variables, x1(t) and x2(t), respectively, the ventilation rate and the water capacity of the fog system as the control (actuator) variables, u1(t) and u2(t), respectively, and the intercepted solar radiant energy, the outside temperature, and the outside absolute humidity as the disturbances, vi(t), i = 1,2,3. Equations (2) and (3) can alternatively be written in the following state-space form:

x˙1(t)=UAρCpVTx1(t)1VTx1(t)u1(t)λρCpVTu2(t)+1ρCPVTυ1(t)+UAρCpVTu1(t)υ2(t)+1VTu1(t)υ2(t) (5)
x˙2(t)=βTρVHx2(t)+1ρVHu2(t)+αλρVHυ1(t)+1ρVHx2(t)u1(t)+1ρVHu1(t)υ3(t) (6)

Due to the complexity appearing as the cross-product terms between control and disturbance variables, Equations (5) and (6) are obviously coupled nonlinear equations, which cannot be placed into the more familiar form of an affine analytic nonlinear system.

3. Design of Adaptive Neuro-PID Controller for Greenhouse Climate

3.1. RBF Network Structure

RBF, presented by J. Moody and C. Darken [43], emerged as a variant of artificial neural network in late 1980s. RBF neural networks have an input layer, a hidden layer and an output layer. The neurons in the hidden layer contain Gaussian transfer functions whose outputs are inversely proportional to the distance from the center of the neuron. The architecture of a typical RBF network is shown in Figure 2.

Figure 2.

Figure 2.

Architecture of a RBF network.

Each input node corresponds to an element of the input vector IRn, and each hidden node implements a radial activated function, which consists of local perception nodes. The Gaussian activation function for RBF network is given by:

hj=exp(ICj2σj2)j=1,2,,M (7)

where I = [I1, I2,…, IN] and M are the input feature vector and the number of hidden nodes, respectively. Cj = [cj1,…, cjN] is N-dimensional center parameter of the jth hidden node, symbol ‖ • ‖ denotes the Euclidean norm, and σj is the positive center width parameter.

The output nodes implement a weighted sum of hidden node outputs as follows:

ymi=j=1Mwijhji=1,2,,L (8)

where wij is the connection weight of the jth hidden node to the ith output node, and L is the number of output nodes.

3.2. Control Strategy

In order to simulate its behavior on a digital computer, we adopt a fourth-order Runge-Kutta numerical method with a small enough integration step. Hence, considering a typical digital positional PID algorithm is generally given as:

u(k)=u0+Kpe(k)+KiTsi=1ke(i)+Kde(k)e(k1)Ts (9)

where k and Ts are iterative step and sampling time, respectively. u(k) and u0 are the control law and the corresponding initial value. Kp, Ki and Kd are the gains of the proportional, integral and derivative terms of a PID controller, respectively. e(k) is the process tracking error, defined as:

e(k)=r(k)y(k) (10)

with r(k) and y(k) being the desired trajectory and the process output, respectively.

Note that the greenhouse dynamic system mentioned above is a two-input and two-output continuous time nonlinear system. We adopt a hybrid control strategy by combining RBF network with the conventional PID controller, in which there is one neural network model with two outputs (namely, inside temperature and humidity). The corresponding control structure is shown in Figure 3, which is similar to the references [28-31]. RBF network is used to tune the parameters of the conventional PID controller through Jacobian information. To facilitate the subsequent development, the following parameter vectors are only for single loop operation if there does not exist an explicit declaration in the text, and the vectors related to the controller parameter are defined as:

Kc(k)=(Kp(k)Ki(k)Kd(k)) (11)
ec(k)=(e(k)Tsi=1ke(i)e(k)e(k1)Ts)T (12)

Figure 3.

Figure 3.

Block diagram of Neuro-PID greenhouse climate control system.

Considering the saturation of actuators, the control law Equation (9) is rewritten as:

u(k)={ulimifuculimu0+Kc(k)ec(k),otherwise (13)

where ulim is a limitation vector of actuators. The energy function E(k) is defined as

E(k)=12e(k)2 (14)

and the parameters of PID are updated based on the following rule:

Kc(k)={Kc(k1),fyuγKc(k1)+ΔKc(k),otherwise (15)

where ∂y/∂u is the Jacobian information of the controlled process, which can be identified by adopting a neural network model. γ is a threshold, by which the tuning Equation (15) can prevent PID gain parameters from being increased rapidly due to the effect of external strong interference. δKc(k) is the increment of the gain vector Kc(k), adjusted based on the negative gradient method as follows:

ΔKc=ηEKc=ηEyyuuKc=ηe(k)yuec(k) (16)

where η is a learning rate parameter matrix.

Because the RBF network has excellent adaptability, learning ability and powerful ability to approximate nonlinear functions, we adopt the identification structure as shown in Figure 4. The output vector of RBF neural network model is defined as:

ym(n)=f^(u1(k1),u2(k1),,u1(kn1),u2(kn1),y1(k1),y2(k1),,y1(kn2)) (17)

where (·) is an approximated nonlinear function of f(·), and n1 and n2 are the number of lag time steps. According to the universal approximation proposition [44], the ith RBF network node output ymi(k) will tend to the ith loop process output yi(k) when providing enough numbers of hidden layer nodes. Therefore, we can achieve the following formula by providing an appropriate hidden neuron:

yi(k)ui(k)ymi(k)ui(k)=j=iMwjhjcjiIi(k)σj2 (18)

where i= 1,2.

Figure 4.

Figure 4.

Process identification based on RBF network.

3.3. Jacobian Identification of RBF Network

The identification algorithm of Jacobian information of controlled process is stated below. The performance index function of controller is defined as:

Em(k)=12em(k)2 (19)

where em(k) is the error between the process actual output and RBF network model output, which is represented by

em(k)=y(k)ym(k) (20)

In order to minimize the error em(k), a gradient descent method is adopted to adjust the weights, center vectors and center width parameters. The update equations for the RBF network parameters are given as:

Δwj(k)=Em(k)wj(k)=Em(k)ym(k)ym(k)wj(k)=em(k)hj (21)
wj(k)=wj(k1)+ηw(k)Δwj(k)+αw(wj(k1)wj(k2))+βw(wj(k2)wj(k3)) (22)
Δσj(k)=em(k)wjhjXCj2σj3 (23)
σj(k)=σj(k1)+ησ(k)Δσj(k)+ασ(σj(k1)σj(k2))+βσ(σj(k2)σj(k3) (24)
Δcji(k)=em(k)wjxicjiσj2 (25)
cji(k)=cji(k1)+ηc(k)Δcji(k)+αc(cji(k1)cji(k2))+βc(cji(k2)cji(k3)) (26)

where αw, ασ, αc, βw, βσ and βc are the corresponding momentum factors, and they can speed up convergence and prevent the network from falling into local minima. ηw(k), ησ(k) and ηc(k) are appropriate learning rate parameters. Unduely low learning rate makes the network learn very slowly, while excessively high learning rate makes the weights and objective function diverge. Therefore, we adopt the tuning method as follows:

Δem(k)=|em(k)||em(k1)|
ηw(k)=ηw(k1)ξΔem(k)
ησ(k)=ησ(k1)ξΔem(k)
ηc(k)=ηc(k1)ξΔem(k)

where ξ is a constant coefficient and we select here ξ as 0.0001. When the error signal em increases with iteration process, the learning rate parameters are decreased, and conversely, the learning rate parameters are increased when the error signal em decreases.

4. Simulations and Results

In order to verify the efficiency and performance of the proposed Neuro-PID control scheme, a series of simulations are presented in the present section. For this example, we consider a greenhouse of surface area 1,000 m2 and a height of 4 m. The greenhouse has a shading screen that reduces the incident solar radiation energy by 60%. The maximum water capacity of the fog system is 26 g[H2O]min-1m−3. Maximum ventilation rate corresponds to 20 air changes per hour (22.2 m3s−1). The parameters of the greenhouse climate model are shown in Table 1. Moreover, the initial values of indoor air temperature and humidity ratio are 25 °C and 20 g[H2O]/kg[air], respectively. Here, the threshold γ = 0.0085, the lag number n1 = n2 = 2, and the sampling time is 1 min.

Table 1.

Greenhouse model parameters.

Parameters name unit expression values
UA kWK1 25
α 0.129524267
βT kgmin−1m−2 0.015
VT m3 0.65V
VH m3 0.65V
λ Jg−1 2,257
ρ kg[air]m−3 1.2
Cp Jkg−1K−1 1,006

Considering the external climatic fluctuation within a small range during short time, solar radiation Si, outdoor temperature Tout and humidity ratio Hout change in random ways as shown in Figure 5 to represent external disturbances. Another important consideration is the many learning rates and momentum factors, which determine how much we change the corresponding modifier formulas at each step. For convenience, we select here the fixed parameters for each control loop as follows:

η=(1.50000.50001.2)αw=ασ=αc=0.1βw=βσ=βc=0.15

and the initial learning rate parameters

ηw=ησ=ηc=0.05

Figure 5.

Figure 5.

Changes of outdoor climate.

In this experiment, the ability of the system to perform adaptive control and smooth closed-loop response to set-point changes is demonstrated. We consider a pair of square-wave reference inputs to test its control performance. Indoor air temperature set-point changes between 33 and 20 °C, while the humidity ratio set-point changes between 17 and 23 g [H2O]/kg[air] (which corresponds to a relative humidity change between 60% and 76%). The corresponding responses for set-point square-wave changes in temperature and humidity ratio are shown in Figure 6, and the corresponding errors and control signals are illustrated in Figures 7 and 8. The results from the figures show that the proposed adaptive control scheme performs well without strong overshoot and the controlled process is smooth. Figures 9 and 10 show that the gain parameters of the Neuro-PID controller vary with the set-point changes during the tuning process. The PID parameters can be adjusted automatically to adapt to outside environmental or climatic changes. The matching condition of the system actual output and RBF network output are illustrated in Figure 11. The results show that the outputs of neural network model are approximate to the controlled process outputs, which means that the RBF network outputs converge to the process outputs in the proposed method. On the whole, system outputs track the reference inputs well, and the Neuro-PID controller demonstrates good adaptive and tracking performance.

Figure 6.

Figure 6.

Neuro-PID controller tracking trajectory of square-wave for temperature and humidity ratio.

Figure 7.

Figure 7.

Variation of Neuro-PID control errors during the tuning process.

Figure 8.

Figure 8.

Variation of Neuro-PID control signals during the tuning process.

Figure 9.

Figure 9.

Variation of the PID parameters for Controller I during the tuning process.

Figure 10.

Figure 10.

Variation of the PID parameters for Controller II during the tuning process.

Figure 11.

Figure 11.

Temperature and humidity matching conditions between the actual output and RBF network model output.

To demonstrate the superiority of the proposed control scheme, we compare the results with an offline tuning method that uses GA to search the PID gain parameters according to the performance requirements. Each chromosome consists of six separate strings (i.e., Kp1, Ki1, Kd1, Kp2, Ki2, Kd2). The objective function considered is based on the error criteria, and we take ITAE as a measure of performance index. Considering the two loop control system of greenhouse climate, the performance index (i.e., fitness function) is formulated as follows:

J=k=1N(t(k)i=12|ei(k)|) (27)

where ei(k) is the error signal of the ith loop, which is provided by Equation (10). t(k) represents the time of the kth iterative, N is the total number of iteration.

Therefore, the optimization problem can be formulated as follows:

  • Find ind = [Kp1,Ki1,Kd1,Kp2,Ki2,Kd2]

  • to optimize J(ind)

  • subject to 1 ≤ ind(i) 100

  • for i= 1,,6.

The parameters of GA optimization are shown in Table 2. The best PID gain parameters achieved by GA optimization are Kp1 = 21.7780,Ki1 = 40.1346,Kd1 = 86.7532, Kp2 = 98.4024,Ki2 = 47.4968 and Kd2 = 97.0353, respectively.

Table 2.

Parameters of GA optimization.

Description values or types
Population size 60
Number of generations 50
Bit length of the considered chromosome 20
Crossover type Single point crossover
Crossover probability 0.6
Mutation type Uniform mutation
Mutation probability 0.001

Figures 1215 show the variation of ITAE value, the tracking trajectory of square-wave, the variation of control errors and the corresponding control signals for the conventional PID controller during the offline tuning process, respectively. To discriminate the performance of the two methods, the tracking error are given in Table 3. Results show that the offline tuning scheme can also achieve the tracking performance, and the mean error and standard deviation are even smaller than those of the online scheme. However, the tracking trajectory is not smooth and the control process generates oscillating control signals at about 290–315 min by the use of an offline tuning scheme. Its control performance is less smooth compared with the proposed Neuro-PID controller. The actual cause can be interpreted as follows: the offline tuning method cannot adapt to the external climatic fluctuation. Changes of solar radiation Si, outdoor temperature Tout and humidity ratio Hout caused control performance degradation. Besides, the offline tuning scheme is time-consuming and heavily dependent on the computation time of the GA optimization, and it can not be applied to the real-time control.

Figure 12.

Figure 12.

Variation of the objective function value during the evolution process for GA optimization.

Figure 15.

Figure 15.

Variation of conventional PID control signals during the tuning process.

Table 3.

Performance Comparison between RBF online tuning and GA offline optimization.

Methods Temperature error (°C) Humidity error Mean (g[H2O]min-1m-3)


Mean STD Mean STD
RBF online tuning −0.9123 2.8812 0.3660 1.3550
GA offline optimization −0.5870 2.7252 0.1765 1.2785

From the above results, it can be seen that the proposed adaptive Neuro-PID control scheme has good control effect such as good adaptability, strong robustness while achieving satisfactory control performance for the complex and nonlinear greenhouse climate control system. Compared with the offline tuning method that uses GA optimization, the proposed adaptive strategy has the following advantages. Firstly, it has a better set-point tracking performance. Secondly, it has smoother control process characterized by smaller oscillatory amplitudes. Thirdly, it can be applied to online real-time control for the complex greenhouse climate system. Lastly, and most important of all, it adapts well to external climatic fluctuation.

5. Summary and Conclusions

In this paper, we combined RBF network with a conventional PID controller to develop a hybrid control strategy for greenhouse operation. A model for nonlinear conservation laws of enthalpy and matter between numerous system variables affecting the greenhouse climate was formulated, and the corresponding control model was presented and discussed. Considering the characteristic of nonlinear learning ability of the RBF network, RBF network was used to tune and identify all PID gain parameters online and adaptively. The adaptive tuning method based on Jacobian identification of RBF network was derived, and the implementation of the Neuro-PID controllers is presented. The proposed Neuro-PID control scheme was validated for the complex greenhouse climate control in terms of set-point tracking and disturbance rejection by a simulation experiment. Adaptability, tracking and smooth closed-loop response to set-point changes was demonstrated by tracking square wave trajectory in this experiment. We compared the proposed adaptive online tuning method with the offline tuning scheme that employs GA to search the optimal gain parameters based on the error criteria. Results show that the proposed adaptive control strategy has better adaptability, robustness, and more satisfactory real-time control performance compared with the offline tuning scheme using GA optimization.

The results suggest that the proposed adaptive hybrid control scheme by combining RBF network with a conventional PID controller is a promising method with the following features. Firstly, it has a satisfactory control performance characterized by adaptability, robustness and good set-point tracking. Secondly, it can achieve the real-time online control of various MIMO systems. Thirdly, it can be applied in nonlinear dynamic control systems such as greenhouse climate system. This new system may provide a valuable reference to formulate environmental control strategies for actual application in greenhouse production. The approach is not limited to greenhouse applications and could easily be extended to other applications. Therefore, further improvement and implementation of the system will be achieved in the near future.

Figure 13.

Figure 13.

Conventional PID controller tracking trajectory of square-wave for temperature and humidity ratio, Kp1 = 21.7780,Ki1 = 40.1346,Kd1 = 86.7532, Kp2 = 98.4024, Ki2 = 47.4968,Kd2 = 97.0353.

Figure 14.

Figure 14.

Variation of conventional PID control errors during the tuning process.

Acknowledgments

The authors would like to express their appreciation to the referees for their helpful comments and suggestions. This work was supported by the National Natural Science Foundations of China (Grant No. 61174090 and 61174023), Zhejiang Provincial Natural Science Foundation of China (Grant No. Y1110880), the Education Department (Grant No. Y201121231) and Forestry Department (Grant No. 2010B13) of Zhejiang Province of China, and also supported by BEACON (An NSF Science and Technology Center for the Study of Evolution in Action, Coop. Agmt.) of USA under the Grant No. DBI-0939454.

References

  • 1.Pinñón S., Camachoa E.F., Kuchen B., Peña M. Constrained predictive control of a greenhouse. Comput. Electron. Agric. 2005;49:317–329. [Google Scholar]
  • 2.Coelho J.P., Moura Oliveira P.B., Boaventura Cunha J. Greenhouse air temperature predictive control using the particle swarm optimisation algorithm. Comput. Electron. Agric. 2005;49:330–344. [Google Scholar]
  • 3.Blasco X., Martýacutenez M., Herrero J.M., Ramos C., Sanchis J. Model-based predictive control of greenhouse climate for reducing energy and water consumption. Comput. Electron. Agric. 2007;55:49–70. [Google Scholar]
  • 4.Speetjens S.L., Stigter J.D., van Straten G. Towards an adaptive model for greenhouse control. Comput. Electron. Agric. 2009;67:1–8. [Google Scholar]
  • 5.Hu H.G., Xu L.H., Wei R.H., Zhu B.K. RBF network based nonlinear model reference adaptive PD controller design for greenhouse climate. Int. J. Adv. Comput. Technol. 2011;3:357–366. [Google Scholar]
  • 6.Pasgianos G.D., Arvanitis K.G., Polycarpou P., Sigrimis N. A nonlinear feedback technique for greenhouse environmental control. Comput. Electron. Agric. 2003;40:153–177. [Google Scholar]
  • 7.Lafont F., Balmat J.F. Fuzzy logic to the identification and the command of the multidimensional systems. Int. J. Comput. Cogn. 2004;2:21–47. [Google Scholar]
  • 8.Miranda R.C., Ventura-Ramos E., Peniche-Vera R.R., Herrera-Riuz G. Fuzzy greenhouse climate control system based on a field programmable gate array. Biosyst. Eng. 2006;94:165–177. [Google Scholar]
  • 9.Bennis N., Duplaix J., Enéa G., Haloua M., Youlal H. Greenhouse climate modelling and robust control. Comput. Electron. Agric. 2008;61:96–107. [Google Scholar]
  • 10.Pucheta J.A., Schugurensky C., Fullana R., Patiño H., Kuchen B. Optimal greenhouse control of tomato-seedling crops. Comput. Electron. Agric. 2006;50:70–82. [Google Scholar]
  • 11.Ioslovich I., Gutman P., Linke R. Hamilton-Jacobi-Bellman formalism for optimal climate control of greenhouse crop. Automatica. 2009;45:1227–1231. [Google Scholar]
  • 12.Hu H.G., Xu L.H., Wei R.H., Zhu B.K. Multi-objective control optimization for greenhouse environment using evolutionary algorithms. Sensors. 2011;11:5792–5807. doi: 10.3390/s110605792. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 13.Hu H.G., Xu L.H., Zhu B.K., Wei R.H. A compatible control algorithm for greenhouse environment control based on MOCC strategy. Sensors. 2011;11:3281–3302. doi: 10.3390/s110303281. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 14.Chen J., Huang T.-C. Applying neural networks to on-line updated PID controllers for nonlinear process control. J. Process Control. 2004;14:211–230. [Google Scholar]
  • 15.Åström K.J., Hägglund T. PID Controllers: Theory, Design, and Tuning. 2nd ed. Instrument Society of American; Research Triangle Park NC, USA: 1995. [Google Scholar]
  • 16.Ziegler J.G., Nichols N.B. Optimum settings for automatic controllers. Trans. ASME. 1942;64:759–768. [Google Scholar]
  • 17.Herrero J.M., Blasco X., Martínez M., Salcedo J.V. Optimal PID Tuning with Genetic Algorithm for Nonlinear Process Models. Proceedings of the 15th Triennial World Congress; Barcelona, Spain. 21–26 July 2002. [Google Scholar]
  • 18.Chang W.-D. A multi-crossover genetic approach to multivariable PID controllers tuning. Expert Syst. Appl. 2007;33:620–626. [Google Scholar]
  • 19.Arruda L.V.R., Swiech M.C.S., Delgado M.R.B., Neves F., Jr. PID control of MIMO process based on rank niching genetic algorithm. Appl. Intell. 2008;29:290–305. [Google Scholar]
  • 20.Chen F.-C., Khalil H.K. Adaptive control of a class of nonlinear discrete-time systems using neural networks. IEEE Trans. Autom. Control. 1995;40:791–801. [Google Scholar]
  • 21.Ahmed M.S. Neural-net-based direct adaptive control for a class of nonlinear plants. IEEE Trans. Autom. Control. 2000;45:119–124. [Google Scholar]
  • 22.Huang S.N., Tan K.K., Lee T.H. A combined PID/adaptive controller for a class of nonlinear systems. Automatica. 2001;37:611–618. [Google Scholar]
  • 23.Li Y., Sundararajan N., Saratchandran P. Neuro-controller design for nonlinear fighter aircraft maneuver using fully tuned RBF networks. Automatica. 2001;37:1293–1301. [Google Scholar]
  • 24.Huang S.N., Tan K.K., Lee T.H. Adaptive motion control using neural network approximations. Automatica. 2002;38:227–233. [Google Scholar]
  • 25.Ye J. Adaptive control of nonlinear PID-based analog neural networks for a nonholonomic mobile robot. Neurocomputing. 2008;71:1561–1565. [Google Scholar]
  • 26.Takakura T. Climate under Cover: Digital Dynamic Simulation in Plant Bio-Engineering. Kluwer Academic Publishers; Dordrecht, The Netherlands: 1993. p. 155. [Google Scholar]
  • 27.Ferreira P.M., Ruano A.E. Choice of RBF Model Structure for Predicting Greenhouse inside Air Temperature. Proceedings of the 15th Triennial World Congress; Barcelona, Spain. 21–26 July 2002; pp. 823–829. [Google Scholar]
  • 28.Hu H.G., Xu L.H., Wei R.H. Nonlinear Adaptive Neuro-PID Controller Design for Greenhouse Environment Based on RBF Network. Proceedings of the 2010 International Joint Conference on Neural Networks; Barcelona, Spain. 18–23 July 2010; pp. 1–7. [Google Scholar]
  • 29.Zhang M.G., Wang X.G., Liu M.Q. Adaptive PID Control Based on RBF Neural Network Identification. Proceedings of the IEEE International Conference on Tools with Artificial Intelligence (ICTAI '05); Hong Kong, China. 14–16 November 2005; pp. 681–683. [Google Scholar]
  • 30.Liu Z.G., Wang J.Z. RBF-Neural Network Adaptive PID Control for 3-Axis Stabilized Tracking System. Proceedings of the 6th International Conference on Hybrid Intelligent Systems (HIS '06); Auckland, New Zealand. 13–15 December 2006; pp. 67–70. [Google Scholar]
  • 31.Cheng L., Zhang G., Wan B., Hao L., Qi H., Ming D. Radial Basis Function Neural Network-Based PID Model for Functional Electrical Stimulation System Control. Proceedings of the 31st Annual International Conference of the IEEE EMBS Minneapolis; Minneapolis, MN, USA. 2–6 September 2009; pp. 3481–3484. [DOI] [PubMed] [Google Scholar]
  • 32.Nielsen B., Madsen H. Identification of a linear continuous time stochastic model of the heat dynamic of a greenhouse. J. Agric. Eng. Res. 1998;71:249–256. [Google Scholar]
  • 33.Tap R.F. Ph.D. Thesis. Wageningen University; Wageningen, The Netherlands: 2000. Economics-Based Optimal Control of Greenhouse Tomato Crop Production. [Google Scholar]
  • 34.Ghosal M.K., Tiwari G.N., Srivastava N.S.L. Modeling and experimental validation of a greenhouse with evaporative cooling by moving water film over external shade cloth. Energy Build. 2003;35:843–850. [Google Scholar]
  • 35.Javier L.I. Modeling of the Climate for a Greenhouse in the North-East of México. Proceedings of the 17th World Congress of the International Federation of Automatic Control; Seoul, Korea. 6–11 July 2008; pp. 9558–9563. [Google Scholar]
  • 36.Fourati F., Chtourou M. A greenhouse control with feed-forward and recurrent neural networks. Simul. Model. Pract. Theory. 2007;15:1016–1028. [Google Scholar]
  • 37.Trejo-Perea M., Herrera-Ruiz G., Rios-Moreno J., Miranda R.C., Rivas-Araiza E. Greenhouse energy consumption prediction using neural networks models. Int. J. Agric. Biol. 2009;11:1–6. [Google Scholar]
  • 38.He F., Ma C. Modeling greenhouse air humidity by means of artificial neural network and principal component analysis. Comput. Electron. Agric. 2010;71:S19–S23. [Google Scholar]
  • 39.Cunha J.B. Greenhouse Climate Models: An Overview. Proceedings of the EFITA 2003 Conference; Debrecen, Hungary. 5–9 July 2003; pp. 823–829. [Google Scholar]
  • 40.Sigrimis N., Arvanitis K.G., Ferentinos K.P., Anastasiou A. An Intelligent Noninteracting Technique for Climate Control of Greenhouses. Proceedings of the 15th Triennial World Congress; Barcelona, Spain. 21–26 July 2002. [Google Scholar]
  • 41.Koutb M.A., El-Rabaie N.M., Awad H.A., Abd El-Hamid I.A. Environmental Control for Plants Using Intelligent Control Systems. Proceedings of the 5th International Workshop on Artificial Intelligence in Agriculture (AIA '04, IFAC); Cairo, Egypt. March 2004; pp. 101–106. [Google Scholar]
  • 42.Albright L.D., Gates R.S., Arvanities K.G., Drysdale A.E. Environmental control for plants on earth and in space. IEEE Control Syst. Mag. 2001;21:28–47. [Google Scholar]
  • 43.Moody J., Darken C.J. Fast learning in networks of locally tuned processing units. Neural Comput. 1989;1:281–289. [Google Scholar]
  • 44.Park J., Sandberg I.W. Universal approximation using radial-basis-function networks. Neural Comput. 1991;3:246–257. doi: 10.1162/neco.1991.3.2.246. [DOI] [PubMed] [Google Scholar]

Articles from Sensors (Basel, Switzerland) are provided here courtesy of Multidisciplinary Digital Publishing Institute (MDPI)

RESOURCES