Vous êtes sur la page 1sur 3

International Conference on Electrical, Electronics, and Optimization Techniques (ICEEOT) - 2016

Implementation of Neural Network Based PID


Controller

Rosmin Jacob Senthil Murugan


Department of Electronics and Communication Department of Electronics and communication
Amrita School Of Engineering, Kollam Amrita School Of Engineering, Kollam
rosminjacob.ros@gmail.com senthilmurugan@am.amrita.edu

Abstract This paper proposes neural network based The interconnection in neural network is called a
Proportional-Integral-Derivative (PID) controller for the synaptic connection and is associated with a weight which
purpose of position control in DC motor. The conventional PID indicates the strength of the connection. An artificial neural
controller is used in industries for control operation. But, it is network is configured for a specific application such as a
difficult to regulate the parameters for the PID controller. An
artificial neural network can be used for tuning the PID
data classification or recognition by a learning process.
controller and is robust in design. The artificial neural network Learning process, involves adjustments to the synaptic
based controller allows both type of systems i.e. linear and non- weights that exist between the neurons. The RBF neural
linear systems by training the network. Simulation is network is used for regulating the PID parameters
performed in MATLAB. automatically; and it will shorten the time cost of designing
the controller and will increase the controllers adaptability
Keywords PID Controller,Artificial Neural Network,DC [1].
motor
II. PROPORTIONAL-INTEGRAL-DERIVATIVE
I. INTRODUCTION (PID)CONTROLLER
Proportional Integral Derivative (PID) controllers are
most used controllers in the industrial control systems. A PID controller composes of proportional, integral and
neural network has to be configured such that the derivative control actions. A PID controller calculates and
application of a set of input produces the desired set of corrects the error between the process output and the desired
outputs. An artificial neural network consist of a group of setpoint that adjusts the process rapidly. Fig.2 depicts
simple processing units which communicate by sending schematic of the PID controller. The output of the controller
signals to each other over weighted connections. Proposed or the manipulated variable is obtained by adding
.system have two main parts, they are a PID controller, used proportional P, integral I and derivative D components and
for position control of a DC stepper motor and a Radial their associated coefficient [2].Equation (1) indicates
Basis Function(RBF) neural network used for regulating mathematical expression of the PID controller.
PID parameters Kp, Ki and Kd. Artificial Neural
.Networks(ANNs) is an information processing prototype 
inspired by the brain works. The key element of this model
is the processing element .The network made up of large
number of interconnected processing elements.Fig.1 shows
schematic of proposed system.

Fig. 1. Schematic of neural network based PID controller. Fig. 2. Schematic of PID controller

978-1-4673-9939-5/16/$31.00 2016 IEEE

2769
It has been known that the PID control
performance is based on the value of PID parameters Kp,
Ki and Kd. The PID controller can have excellent
performance with proper parameters, otherwise the
controller cannot achieve desired control requirement [3].
Thus regulating the PID parameters properly is an important
task and the designed RBF network is able to tune Kp, Ki,
and Kd accurately in different situations.

III. NEURAL NETWORK CONTROLLER

Neural networks similar to the human brain in the


following two ways: initially, neural network acquires Fig. 4. Structure of neural network.
knowledge through learning. Secondly, the data stored
within synaptic weights. The neural network consist of
junctions which are connected with links, are also called
processing units. For each junction a number is ordered, this Some of the reasons for using neural networks is : they
number is called the weight. The weights are used for the can learn from historical patterns, i.e. so they may be use
long distance information storing in the neural network, the as associative memories[5]. They present good
learning process occurring with the appropriate modification generalization results, i.e. it is possible to obtain appropriate
of weights [4]. These weights are modified so that the outputs from patterns different to the used in the training
network input/output behavior is in harmony with the stage. They can be used with incomplete data, because the
environment, which provide the input data. knowledge is distributed in the interconnection weights of
In layered neural networks, the neurons are organized in the network. They can build input-output maps from data
the form of layers. The neurons in a layer get inputs from without known relation [6]. The computational
the previous layer and feed their output to the next layer. implementation of neural network is easy and there exist
These type of networks are called feed-forward networks many on-line and off-line learning algorithms, which can be
.Radial Basis function neural network (RBFNN) is a fully adapted to a particular problem.
connected feed-forward network with three different layers : IV. SIMULATION RESULTS
an input layer, a hidden layer and an output layer as shown The value of the PID control parameters keeps being
in Fig3. modifying based on the control of the RBF neural network.
A radial basis function (RBF) network is a feed- forward The neural network is able to automatically tune the kp, ki
artificial neural network consists of three layer and uses and kd parameters to optimize the control performance until
radial basis function as activation functions. Fig.4 indicates the system enters the steady state. The simulation was
structure of neural network. The output of the network is a carried out using MATLAB software. Fig.5 indicates output
linear combination of radial basis function of the inputs and of RBF neural network.
neuron parameters. Radial basis function networks have
many uses, such as function approximation, time series
prediction, classification, and system control. It has the
advantage of fast learning speed and is able to avoid the
problem of local minimum in system control field. Hence
the RBFNN is used for tuning the PID parameters in the
control strategy.

Fig. 3. Layered feed-forward neural network. Fig. 5. Output of RBF neural network.

2770
The performance of PID controller is not more accurate and V. CONCLUSION
it will produce error result, such as overshoot, undershoot
and steady state error etc. In this paper we discussed the replacement of PID
Fig. 6. depicts the output performance of the ANN-PID controller in industrial application of DC motor position
controller for a step input. At the beginning of the control control with ANN controller based on neural networks. The
process the PID control output is used to ensure the system method can be applied to industrial process control, and take
output moving approaching the set-point value fast and full advantage of both neural network and traditional
avoiding overshoot. Then the PID output settles at 0 because PID.ANN have better performance by reducing, steady state
the system is in the steady state and the steady state error is error, maximum overshoot, rise time and settling time.
0.
In Fig. 7.output response for a DC motor having a PID
controller based on neural network to the step input is Acknowledgment
presented.
We wish to thank Almighty God who gave us the
opportunity to successfully complete this work. The authors
would like to express our sincere and heartfelt gratitude
towards Amrita Vishwa Vidyapeetham University,
Amritapuri Campus, Kerala for providing us support and
funding to carry out this project.

References

[1] B. Michael Vinoline Rinoj, Mr. J. Jeya Caleb, Implementation of


neural network PID controller using verilog code, International
Conference on Signal Processing, Communication, Computing and
Networking Technologies.2011
[2] Shashi Bhushan Kumar, Mohammed Hasmat Ali, Anshu Sinha
Design and Simulation of Speed Control of DC Motor by Artificial
Neural Network Technique International Journal of Scientific and
Research Publications , July 2014 ,Volume 4, Issue 7.
[3] Wei Lu,Jianha Yang and Xiaodg Liu The PID Controller Based on
the Artificial Neural Network and the Differential Evolution
Algorithm ,Journal of Computers. October 2012, Vol. 7, No. 10 .
[4] Aamir, Muhammd On replacing PID controller with ANN controller
Fig. 6. Output of a PID controller with neural network. for DC motor position control. International Journal of Research
Studies in Computing, April 2013 ,Volume 2 Number 1, 21-29 .
[5] Michiyo Suzuki,Toru Yamamoto,Toshio Tsuji,A Design Of Neural
Net based PID controller with evolutionary computationIEICE
trans.fundamentals,vol.E87-A NO.
[6] M .Madheswaran and M.Muruganandam,Simulation and
implementation of PID-ANN controller for chopper fed embedded
PMDC motor,ICTACTjournal on
softcomputing,Volume:02,Issue:03

Fig. 7. Simulation result for the proposed system.

2771

Vous aimerez peut-être aussi