• Tiada Hasil Ditemukan

1.1 Background Study of PID Controller

N/A
N/A
Protected

Academic year: 2022

Share "1.1 Background Study of PID Controller "

Copied!
44
0
0

Tekspenuh

(1)

PID-Controller Tuning of Brushless DC Motor by Using ACO (Ant Colony Optimization) Technique

By

SIAW KAH JING

FINAL PROJECT REPORT

Submitted to the Department of Electrical & Electronic Engineering in Partial Fulfillment of the Requirements

for the Degree

Bachelor of Engineering (Hons) (Electrical & Electronic Engineering)

Universiti Teknologi PETRONAS Bandar Seri Iskandar

31750 Tronoh Perak Darul Ridzuan

Copyright 2012 by

SIAW KAH JING, 2012

(2)

i

CERTIFICATION OF APPROVAL

PID-CONTROLLER TUNING OF BRUSHLESS DC MOTOR BY USING ACO (ANT COLONY OPTIMIZATION) TECHNIQUE

by

Siaw Kah Jing

A project dissertation submitted to the Department of Electrical & Electronic Engineering

Universiti Teknologi PETRONAS in partial fulfilment of the requirement for the

Bachelor of Engineering (Hons) (Electrical & Electronic Engineering)

Approved:

__________________________

AP Dr. Irraivan Elamvazuthi Project Supervisor

UNIVERSITI TEKNOLOGI PETRONAS TRONOH, PERAK

September 2012

(3)

ii

CERTIFICATION OF ORIGINALITY

This is to certify that I am responsible for the work submitted in this project, that the original work is my own except as specified in the references and acknowledgements, and that the original work contained herein have not been undertaken or done by unspecified sources or persons.

__________________________

SIAW KAH JING

(4)

iii

ABSTRACT

ACO stands for Ant Colony Optimization which it automatically finds the best solution or the best PID controller parameters for the targeted control system. ACO algorithm is used as the technique for the PID controller parameters optimization. It functions in finding and obtaining optimum values of gain, integral time and derivative time for the PID controller. At the testing stage, the ACO algorithm is developed by using MATLAB. The ACO algorithm will calculate the ISE (Integral Square Error) for each set of PID parameters. and then comparison is done on the different values of ISE from different sets of PID parameters to choose the best PID parameters set with the lowest ISE. As a result, a performance curve of ACO that is as closed as to the set-point with high performances (lower overshoot value, shorter system dead time and settling time and lower ISE if compared to the conventional PID tuning methods) is obtained.

(5)

iv

ACKNOWLEDGEMENT

I would like to thank my supervisor, AP. Dr. Irraivan Elamvazuthi who had been giving me proper guidance and valuable advice in completing this research. I am very sure that it would not be possible without his helping hand. Other than that, this dissertation would not be possible without the constant support from my parents, course mates and friends as well.

(6)

v

Table of Content 1.0 Introduction

1.1 Background Study of PID Controller--- 1

1.2 Background Study of ACO--- 4

1.3 Problem Statement--- 5

1.4 Objectives--- 6

2.0 LITERATURE REVIEW 2.1 Types of Motors--- 7

2.2 BLDC Motor--- 8

2.3 Discussions--- 11

3.0 METHODOLOGY 3.1 Flowchart--- 12

3.2 ACO Related Equations--- 14

3.3 Block Diagram--- 16

3.4 Interpretations on ACO Technique--- 17

3.5 Tool(s)--- 17

3.6 Discussions on the MATLAB Simulation--- 18

3.7 Result & Discussions--- 19

4.0 CONCLUSION/RECOMMENDATION(S)--- 21

5.0 REFERENCES--- 22

6.0 Appendices--- 25

(7)

vi

List of Figures

Figure 1--- 3

Figure 2--- 4

Figure 3--- 5

Figure 4--- 6

Figure 5--- 9

Figure 6--- 10

Figure 7--- 11

Figure 8--- 13

Figure 9--- 16

Figure 10--- 18

Figure 11--- 19

(8)

vii

List of Tables

Table 1--- 17 Table 2--- 20 Table 3--- 20

(9)

1

1.0 Introduction

1.1 Background Study of PID Controller

PID controller is being applied in industrial control system widely. Since it is a generic control loop feedback, it calculates errors which are the differences

between desired set-point value and the measured process variable and thus it does corrections on the gain of each PID parameters to minimize the occurred errors. The proportional gain value determines the current error reaction; the integral gain value determines the sum of recent errors reaction while the derivative gain value is based on the rate at which the error has been changing the weighted sum of these three actions is used to adjust the process via the final control element. [1]

PID parameters (proportional, integral and derivative gains) are summed for calculating PID controller output. The PID algorithm final form controller output is:

---( Eqn. 1.1.1) Where:

Kp= Proportional gain Ki= Integral gain Kd= Derivative gain e= Error= SP-PV t= Time

(10)

2

Proportional Term

An output value is produced by the proportional term that is proportional to the current error value. By multiplying a constant Kp (proportional gain) that can be adjusted by the proportional response. The equation of the proportional term is:

---( Eqn. 1.1.2) The higher the proportional gain, the larger is the output change for a given error change. A small output response is the result of a small gain to a large input error.

Thus, when responding to disturbances of the system, the control action maybe too small and this has created a less responsive and less sensitive PID controller. In other way round, the system would be unstable if the proportional gain is too high.

Integral Term

Integral term contributes as it proportions to the error duration and also the

magnitude of error. It is the sum of the instantaneous error over time that gives the accumulated offset values which are previously corrected. The equation of the integral term is:

---( Eqn. 1.1.3) The integral term speeds up the process movement towards setpoint and together with a pure proportional controller, the residual steady-state error can be eliminated.

(11)

3

Derivative Term

By determining the error slope over time and multiplying the derivative gain, Kd with this rate of change, the process error derivative can be calculated. The equation of the derivative gain, Kd is:

---( Eqn. 1.1.4) Figure 1 shows the example of Set-point and PV. The controller output rate of change is slowed down by the derivative term. The overshoot magnitude that is

produced by the integral component can be reduced by using derivative control. Thus, the stability of the combined controller-process can be improved. However, the

transient response of the controller could be slowed down.

Figure 1: Example of Set-point and PV[27]

(12)

4

1.2 Background Study of ACO (Ant Colony Optimization)

In year 1991, Marco Dorigo has invented ACO in collaboration with Colorni and Maniezzo. Inspiration is drawn by ACO from the real ants behavior to provide an optimization method. ACO is normally dealing with combinatorial optimization problems such as TSP (Travelling Salesman Problem), facility placement, scheduling and so on but also extended for solving other problems.

Figure 2 shows the ACO simulation. The ants leave a pheromone trail when the ants have passed through a certain routes. The following ants are more likely or tend to take the route with higher concentration of deposited pheromone when choosing a route. They will follow the route with the most concentrated pheromone which gives them the shortest path to the destination when the first ants are returning home. The rules are probabilistic. If locally, a more minimal path is found, changes are allowed by the evaporation of the pheromones.

Stigmergy is an indirect communication which is exploited by a colony of insects for coordinating their activities. The constructions regulation and the tasks coordination does depend on the constructions themselves but not directly on the workers. The workers are guided by it but not direct their works. Stigmergy is important because it allows simpler agents, decreases direct communication and allows appropriate response when the agents are changed by the environment.

With ACO, we can have a colony of artificial ants which lay a trail in the search space of some problems. The problems might include the seeking or searching of a shorter path and also making the right decision from a certain alternatives.

Furthermore, ACO is also using artificial stigmergy as its working principle.

Figure 2: ACO Simulation[28]

(13)

5

1.3 Problem Statement

There are simple but effective solutions are provided to most of the control engineering applications nowadays by the PID control schemes. Thus, it is widely being used in various industries in order to rule or to regulate the behaviors of time domain of many different types of dynamic plants.

Figure 3 shows the characteristics of conventional PID tuning. In brushless DC motor speed controlling application, there are different ways of PID controller tuning including hand tuning techniques, namely Ziegler-Nichols tuning method and also Cohen-coon tuning method in plants. These conventional techniques have their own limitation such as time consuming (less efficient) in obtaining optimum gains for the PID control schemes. This is because conventional PID controller tuning methods such as Ziegler-Nicholes and Cohen-coon requires offline tuning. Thus, pro-long process shut down couldn‟t be avoided for every offline tuning. The conventional PID controller tuning methods are costly because specialists or professional tuners are required for the tuning. The conventional PID controller tuning methods are high in labor dependencies and thus, tuning is not possible if there is shortage of labor. Manual tunings are not free from human errors. Thus, they give inconsistent and poorer performances qualities. Unstable system controller is unsafe and unreliable.

Figure 3: Characteristics of Conventional PID Tuning

(14)

6

1.4 Objective

ACO intelligent technique allows automatically tuning on real process model.

If the original model is too complex, model reduction is necessary for conservative methods. For example, without ACO, the original model might be needed to be reduced to first order plus dead time model (FOPDT) in order to be tuned by hand tuning methods.

In brushless DC motor speed controlling application, ACO enables the control system becomes more customizable where this method optimizes some design criteria such as phase and gain margins to characterize the closed-loop system properties more appropriately.

For ACO, there is no assumption or approximation as that is needed by Ziegler-Nicholes tuning and also Cohen-coon tuning.

Ant Colony Optimization (ACO) is feasible to be used in finding solutions for different optimization problems of control systems and in this application, ACO seeks and searches for the desired optimal gain for the BLDC motor control system that we can the optimal motor speed that we want. A colony of artificial ants is cooperating in finding good solutions (optimum gains for PID controller). By applying natural behaviour of ant colonies, ACO is adaptive and robust; also, it can be applied to various optimization problems of control system.

Figure 4 shows the features of ACO in PID tuning. For applications in oil and gas industry, since ACO is a self-tuning technique (automatic), it has overcame the weaknesses of manual tuning technique as ACO ensures low execution or

maintaining cost with low labor dependency, high efficiency, high reliability, more safe and also outstanding good performances.

Figure 4: Features of ACO in PID Tuning

(15)

7

2.0 Literature Review

2.1 Types of Motors

Introduction

Electric motors are the devices which converts the energy from the form of electrical energy into mechanical energy. Through interaction of current-carrying conductors and magnetic field, motors operate to generate force. Some applications of electric motors are motor valve, pumps, blowers, industrial fans and many others.

Operating principle

Most of the electric motors are functioning based on magnetism. Magnetic fields are formed in these motors in both the rotor and the stator. As a result, a force is produced between the interaction of these two fields and thus a torque on the

motor shaft. With the motors rotation, at least one of these fields is or are to be varied and this can be done by switching the poles on and off at the right time or changing the strength of the pole.

Categorization

There are two main types of motors namely, DC motors and AC motors. For synchronism between a moving current sheet and a moving magnetic field for average torque action among all the rotating or linear electric motors, there is a clear distinction between an asynchronous motors and synchronous motors. Asynchronous motors need slip where relative movement between the magnetic field and a winding set are required for inducing current in the rotor by mutual inductance. However for synchronous motors, slip or induction is not required for current production of magnetic field.

DC motors

DC motors are the motors to operate on DC electric power. There are two the most common types of DC motors namely, brushed and brushless types. The brushed DC motors use internal commutation to reverse the current in the windings in

synchronism with rotation whereas the brushless DC motors use external

commutation to reverse the current in the windings in synchronism with rotation.

(16)

8

2.2 BLDC Motor

Introduction

BLDC motors are one of the most popular types of motors in the manufacturing, merchandising and oil and gas industries. BLDC motors are electronically commutated instead of using brushes. If compared to brushed DC motors, BLDC motors are better in speed versus torque characteristics, higher in dynamic response, higher in efficiency, longer in operating life, more noiseless in operation, higher in speed ranges, higher in the ratio of torque delivered to the size of the motors.

Construction and operating principle

BLDC motors are synchronous motors which means the magnetic field generated by the rotor and the magnetic field generated by the stator rotate at the same frequency. BLDC motors do not require „slip‟ as the induction motors. There are single-phase, 2-phase and 3-phase configurations for BLDC motors. The windings number for the stator is the same in corresponding to its type. The most commonly used BLDC motors are 3-phase motors.

Stator

Figure 5 shows stator of a BLDC motor. There are stacked steel laminations at the stator of a BLDC motor with windings placed in the slots that are axially cut along the inner periphery. The stator resembles that of an induction motor

traditionally but in a different manner the windings are distributed. The connection of three stator windings in most BLDC motors is done in star fashion. A winding is formed with numerous coils interconnected, each of these windings are constructed.

To make a winding, one or more interconnected coils are placed in the slots. To form an even numbers of poles, each of these windings is distributed over the stator periphery. Trapezoidal motors and sinusoidal motors are among the two types of stator windings. The difference is the basis of the coils interconnection in the stator windings to give the different types of back electromotive force (EMF).

(17)

9

Back EMF is the electromotive force or voltage that pushes against the current which induces it. Back EMF is depending on angular velocity of the rotor, magnetic field generated by the rotor magnets and also the number of turns in the stator windings. As indication from their names, back EMF is given back in trapezoidal fashion by the trapezoidal motors and sinusoidal fashion by the sinusoidal motors.

Figure 5: Stator of A BLDC Motor[13]

(18)

10

Rotor

Figure 6 shows rotor magnet cross sections. The rotor consists of permanent magnet. It can be varied from two to eight pairs with alternate South (S) poles and North (N) poles. To make the rotor, proper magnetic material is chosen based on the required magnetic field density in the rotor. Traditionally, ferrite magnet is used to make permanent magnets. The ferrite magnets are less expensive but they are low in flux density for a given volume. Different from ferrite magnets, the alloy material is high in magnetic density per volume an the rotor is enabled for further compression for the same torque. Moreover, the alloy magnets give higher torque and improve the size-to-weight ratio if compared to the ferrite magnets.

Figure 6: Rotor Magnet Cross Sections[13]

Hall sensor

The commutation of a BLDC motor is controlled electronically unlike a brushed DC motor. The stator windings should be energized in a sequence in order to rotate the BLDC motor. To understand which winding will be energized following the energizing sequence, the position of the rotor is important to be known.

Consequently, by using Hall Effect sensors which are embedded into the stator, rotor position is sensed. There are three Hall sensors embedded into the stator on the non- driving end of the motor in most BLDC motors. The rotor magnetic poles give a high or low signal whenever they pass near the Hall sensors. The exact sequence of commutation can be determined based on the combination of these three Hall sensor signals.

Figure 7 shows a transverse section of a BLDC motor with a rotor that has alternate S and N permanent magnets. Into the stationary part of the motor the Hall sensors are embedded.

(19)

11

Figure 7: BLDC Motor Transverse Section[13]

Closed-loop control

Speed controlling is possible in a closed loop by measuring the motor actual speed. Thus, the error which is the difference in the set speed and the actual speed of the motor is calculated. To do this, PID controller can be used for amplifying the speed error and do adjustments to the PWM duty cycle dynamically.

For measuring the speed feedback, the Hall sensors can be utilized. To make counting between two Hall transitions, a timer can be used. The actual speed of the motor can be measured with this counting technique. Furthermore, an optical encoder can be fitted onto the motor for high-resolution speed measurements with two signals with 90 degrees phase difference will be obtained. Both speed and direction of rotation can be determined by these signals.

Besides that, most of the encoders give a third index signal, which is one pulse per revolution and this can be used to position applications. Optical encoders are available with different choices of PPR (Pulse Per Revolution) which ranges from few hundreds to few thousands.

2.3 Discussion

ACO is used as intelligent tuning technique for BLDC PID controller because ACO guarantees superior performances and has wide ranging of applications. Moreover, it is stable and robust in PID controller parameters tuning.

(20)

12

3.0 Methodology

3.1 Flow Chart

Figure 8 shows the flowchart of ACO application in BLDC motor.

Step 1 Initialization of number of ants, pheromone, and probability selected path.

By using uniform distribution, a random potential solutions or feasible gains are initialized for the PID controller parameters.

Step 2 The A-th ant is placed on the node and the associated heuristic value is then computed in order to reduce the offset error.

Step 3 The equation of pheromone updation is being applied to forget and eliminate the bad choices in order to avoid unlimited increase of pheromone trails.

Step 4 The solutions that are acquired are evaluated according to the behavior or characteristics of the graph obtained.

Step 5 The optimum values of the optimum gain of the PID parameters are displayed.

Step 6 The pheromone condition is updated continuously based on the optimum solutions that are calculated at step 5. Iteration is done from step 2 until the maximum of iterations is obtained.

(21)

13

Figure 8: Flowchart of ACO Implementation[14]

(22)

14

3.2 ACO Related Equations

The pheromone matrix of ACO:

---( Eqn. 3.2.1) for the construction of potential good solutions.

The initial values are set to:

---( Eqn. 3.2.2) in condition τ0 > 0.

The probability of choosing a node j at node I is:

---( Eqn. 3.2.3)

if i, j ∈TA.

Where:

---( Eqn. 3.2.4)

representing heuristic functions.

Noted that α and β are constants that determine the relative influence of the

pheromone values and the heuristic values on the decision of the ant while TA is the path effectuated by the ant A at a given time.

(23)

15

The quantity of pheromone on each path is:

---( Eqn. 3.2.5)

where LA is the value of the objective function found by the ant A while Lmin is the best solution carried out by the set of the ants until the current iteration.

Pheromone updation is:

---( Eqn. 3.2.6)

The pheromone evaporation is important for avoiding unlimited increase of pheromone trails:

---( Eqn. 3.2.7)

where NA is the number of ants while P is the evaporation rate.

(24)

16

3.3 Block Diagram

Figure 9 shows the block diagram of implementation of ACO in BLDC controller.

The BLDC motor system is ran with ACO and the fitness functions of the PID controller are calculated. From the fitness functions, the performance of BLDC motor PID control system is evaluated. ISE (Integrated Summation Error) is one of the fitness functions. The ACO algorithm will keep comparing the ISE values that are obtained from different sets PID gains until the system gets the smallest ISE value and thus the most optimum set of PID gains can be found.

Figure 9: Block Diagram[14]

(25)

17

3.4 Interpretations on ACO Technique

Table 1: Interpretations on ACO Sequence Natural Behaviours of Ant

Colonies

Applications In PID Control Schemes

1 When seeking for food outside, the colony of ants leave a pheromone trail.

The system is randomly seeking for PID gains in order to get the

optimum gains for the system controller.

2 The rest of the ants are more likely to follow a route which has

more pheromone deposited. The system controller will attempt to find the optimum PID gains in the shortest time (dead-time, rise-time).

3 When the first ants are returning home, they will tend to find more pheromone on the shortest path.

4 Pheromones evaporate for allowing changes if a locally minimal route is found.

This is important to the system to allow the forgetfulness of the bad choices of the gains.

3.5 Tool(s)

This series of project activities are executed by using MATLAB. A smooth graph with small dead-time, short rise-time, small overshoot and zero offset error is expected to be obtained at the end of the execution.

(26)

18

3.6 MATLAB Simulation & Discussions

For Brushless DC Motor application, the presence of error is being related to ISE (Integral Square Error). MATLAB simulation as shown in Figure 10 will be developed to apply the ACO algorithm on the Brushless DC Motor system with known transfer function. Comparisons are made between the ACO method, Ziegler- Nichols method and also conventional PID method. The transfer function is obtained from the derivation of the BLDC Motor parameters.

Figure 10: MATLAB Simulation

The first row is the construction of the BLDC Motor PID control system with the improvement by ACO algorithm. The second row is the construction of the BLDC Motor PID control system with Ziegler-Nichols as the tuning technique. The third row is the construction of the BLDC Motor PID control system with conventional PID method. The performance of each are being analyzed and evaluated at „Scope‟.

Thus, the comparison is being done on the performances of each tuning method.

(27)

19

3.7 Results & Discussions

Figure 11 consists of the curves of ACO, Ziegler-Nichols and PID so that the performances of each tuning technique on the BLDC Motor application can thus be analyzed and compared. Set-point is functioning as a reference curve.

Figure 11: The Performance Curves of ACO, Ziegler-Nichols, PID and Set-point As from the graph, ACO algorithm gives the best tuning performance on BLDC Motor application as the curve is as identical as to the set-point.

Ziegler-Nichols tuning technique gives a better tuning effect than that of the conventional PID tuning technique.

As we can see from the graph, the conventional PID tuning methods gives the poorest performance as the curve seems to be oscillating before reaching the steady- state.

(28)

20

Table 2: PID Parameters Gains of ACO, Ziegler-Nichols and PID Tuning Technique ACO Ziegler-Nichols

P 1.9688 1.2

I 0.0504 1.71

D 0.63 0.14625

Table 3: The Performances of ACO, Ziegler-Nichols and PID Tuning Technique ACO Ziegler-Nichols ISE 5.1743115195e-21 8.6969610331e-15

Overshoot Value 0.08 (8%) 0.246 (24.6%)

Settling Time 2.5s 5.0s

From the tables, we can see that ACO tuning technique gives the best performance in the BLDC Motor PID control system as it gives the lowest value in ISE, overshoot value and also the settling time of the system. The lower the ISE value is, the closer the curve to the set-point and thus the nearer is to the desired output value. As for the overshoot value of a system, the lower the overshoot value is, the more stable the system is. Whereas, the shorter the settling time is, the faster the system reaches the steady-state. Zigler-Nichols gives a better performance than that of the conventional PID tuning technique.

(29)

21

4.0 Conclusion and Recommendations

4.1 Conclusion

ACO is a flexible and adaptive technique that it can be applied in most PID control system applications such as pressure controlling, temperature controlling, flow controlling, level controlling, etc. In this paper, ACO technique is mainly focused on brushless DC motor PID speeds controller system. ACO algorithm indeed gives better results or performances in term of overshoot evaluation, offset error, rise-time, settling time including other fitness functions.

4.2 Recommendations

ACO is fine to be combined with other intelligent techniques to function as hybrid tuning technique that has the good features of both combined intelligent tuning techniques which can compensate the downside of ACO. For example, ACO can be combined with GA or PSO which will give fantastic performances with almost no overshoot, almost no offset error, super short rise-time and also settling-time.

(30)

22

5.0 References

[1]http://en.wikipedia.org/wiki/PID_controller

[2]Gwo-Ruey Yu and Rey-Chue Hwang, “Optimal PID Speed Control of Brushless DC Motors Using LQR Approach”, Electrical Engineering Department, I-Shou University, Kaohsiung County, Taiwan, 2004.

[3]Changliang Xia, Peijian Guo and Mingchao Wang, “Speed Control of Brushless DC Motor Using Genetic Algorithim Based Fuzzy Controller”, School of Electrical Engineering and Automation Tianjin University, Tianjin, China, August 2004.

[4]Petar Crnosija, Ramu Krishnan and Toni Bjazic, “Optimization of PM Brushless DC Motor Drive Speed Controller Using Modification of Ziegler-Nichols Methods Based on Bode Plots ”, University of Zagreb, Faculty of Electrical Engineering and Computing, HR-10000 Zagreb, Croatia, The Bradley Department of El. & Comp.

Engineering, Virginia Tech, Blacksburg, VA 24061, USA, 2006.

[5]Aytekin Bagis, “Determination of the PID Controller Parameters by Modified Genetic Algorithm for Improved Performance”, Department of Electrical Electronic Engineering, Erciyes University, 38039 Kayseri, Turkey, 2007.

[6]Huseyin Atakan Varol and Zafer Bingul, “A New PID Tuning Technique Using Ant Algorithm”, Department of Mechatronics Engineering Sabanci University Orhanli, Tuzla, Istanbul, 34956, Turkey, 2004.

[7]Fouzia Moussouni, Stephane Brisset and Pascal Brochet, “Comparison of ACO and PSO for the Optimization of a BLDC Wheel Motor”, 2008

[8]N.Navidi, M.Bavafa and S.Hesami, “A New Approach for Designing of PID Controller for a Linear BLDC Motor with Using Ant Colony Search Algorithm”, University of Naein, Iran, 2009.

[9]http://www.freescale.com/webapp/sps/site/application.jsp?code=APLBDCM [10]http://en.wikipedia.org/wiki/Brushless_DC_electric_motor

(31)

23

[11]http://electrathonoftampabay.org/www/Documents/Motors/Brushless%20DC%2 0(BLDC)%20Motor%20Fundamentals.pdf

[12]http://en.wikipedia.org/wiki/Electric_motor

[13]http://electrathonoftampabay.org/www/Documents/Motors/Brushless%20DC%2 0(BLDC)%20Motor%20Fundamentals.pdf

[14]http://ieeexplore.ieee.org/xpl/articleDetails.jsp?reload=true&arnumber=5670571

&contentType=Conference+Publications

[15]http://css.jaist.ac.jp/kfdb/reports_pub_if_no_claim_we_can_delete_it/tpdf/sice20 03/0612.pdf

[16] http://www.tandfonline.com/doi/abs/10.1080/00207210150198329#preview [17]http://www.transcampus.org/JORINDV9Jun2011/JORIND%20Vol%209%20No 1%20Chapter9.pdf

[18] http://ccsenet.org/journal/index.php/mas/article/view/9213 [19] http://papers.ssrn.com/sol3/papers.cfm?abstract_id=1984412

[20]http://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=820094&userType=in st

[21] http://scholar.lib.vt.edu/theses/available/etd-09152003- 171904/unrestricted/T.pdf

[22] http://cache.freescale.com/files/product/doc/AN1916.pdf

[23]http://www.insightautomation.cc/resources/literature/Motorized%20Roller%20P rimer.pdf

[24] http://www.eurojournals.com/ejsr_35_2_05.pdf

[25] http://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=5231012 [26] http://ieeexplore.ieee.org/stamp/stamp.jsp?arnumber=05641500

[27]http://www.google.com.my/imgres?hl=en&safe=off&biw=1366&bih=667&tbm

=isch&tbnid=36dwWR3whgI1DM:&imgrefurl=http://www.idcprojects.com/hazards/

(32)

24

%3Fp%3D223&docid=oAZorTbOK4TU4M&imgurl=http://www.idcprojects.com/h azards/wp-

content/uploads/2011/09/pidtuning.jpg&w=561&h=420&ei=f468T4jBC8LQrQfM96 XDDQ&zoom=1&iact=hc&vpx=358&vpy=146&dur=1467&hovh=194&hovw=260

&tx=140&ty=103&sig=112400572339497117199&page=3&tbnh=112&tbnw=149&

start=40&ndsp=23&ved=1t:429,r:1,s:40,i:160

[28]http://www.google.com.my/imgres?hl=en&safe=off&sa=X&biw=1366&bih=66 7&tbm=isch&prmd=imvns&tbnid=svyfbztR9Tvi-

M:&imgrefurl=http://en.wikipedia.org/wiki/Ant_colony_optimization_algorithms&d ocid=4YEo7lFqyCVRIM&imgurl=http://upload.wikimedia.org/wikipedia/commons/

thumb/a/af/Aco_branches.svg/400px-

Aco_branches.svg.png&w=400&h=300&ei=9Y-8T-

_8Ds_trQe3g_G0DQ&zoom=1&iact=hc&vpx=750&vpy=198&dur=811&hovh=194

&hovw=259&tx=154&ty=74&sig=112400572339497117199&page=2&tbnh=149&t bnw=200&start=18&ndsp=24&ved=1t:429,r:15,s:18,i:143

[29]http://en.wikipedia.org/wiki/Electric_motor

[30] http://en.wikipedia.org/wiki/Brushless_DC_electric_motor [31] http://en.wikipedia.org/wiki/Counter-electromotive_force

(33)

25

Appendices

(34)

26

Appendix 1

Gantt Chart

(35)

27

Key Milestone

(36)

28

Appendix 2

Motor Parameters

(37)

29

(38)

30

Appendix 3

ACO Algorithm

(39)

31

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% Ant Colony Optimization for Traveling Salesman Problem (TSP) %

% Programmed By: SIAW KAH JING%

% This program runs correctly for a full graph. In a full graph all nodes are connected to each other. %

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

clear all clc;

%Sample Kp, Ki, Kd Matrix

no_sample_Kp = 51;

no_sample_Ki = 21;

no_sample_Kd = 21;

sample_parameter_p(1,1)=0;

for row=2:no_sample_Kp

sample_parameter_p(row,1)=sample_parameter_p(row-1,1)+0.2;

end

(40)

32

sample_parameter_i(1,1)=0;

for row=2:no_sample_Ki

sample_parameter_i(row,1)=sample_parameter_i(row-1,1)+0.5;

end

sample_parameter_d(1,1)=0;

for row=2:no_sample_Kd

sample_parameter_d(row,1)=sample_parameter_d(row-1,1)+0.05;

end

%ACO Starts

ant_population_p = no_sample_Kp;

ant_population_i = no_sample_Ki;

ant_population_d = no_sample_Kd;

ise_best = 999999999;

for k=1:ant_population_p

Kp = sample_parameter_p(k);

for n=1:ant_population_i Ki = sample_parameter_i(n);

(41)

33

for x=1:ant_population_d

Kd = sample_parameter_d(x);

%Compute function value simopt =

simset('solver','ode5','SrcWorkspace','Current','DstWorkspace','Current');% Initialize sim options

[tout,xout,yout] = sim('optsim1',[0 50],simopt);

%Compute the error e=yout-1;

%Compute the overshoot sys_overshoot=max(yout)-1;

sys_shoot = abs(sys_overshoot);

alpha=10;

beta=10;

ise(k,n,x)= e2*beta+sys_shoot*alpha;

(42)

34

if ise(k,n,x)<ise_best ise_best = ise(k,n,x);

Kp_best = sample_parameter_p(k);

Ki_best = sample_parameter_i(n);

Kd_best = sample_parameter_d(x);

end end end end

%report

Kp = Kp_best Ki = Ki_best Kd = Kd_best

(43)

35

Appendix 4

Recognition of The Project

(44)

36

Rujukan

DOKUMEN BERKAITAN

In this research, the researchers will examine the relationship between the fluctuation of housing price in the United States and the macroeconomic variables, which are

(2012a), after conducting their study on Kuwait listed companies for 2010, revealed that CEO duality is positively but insignificantly related to ROA; CEO tenure

aesthetic criteria underlying the discussion on guqin performance practice in the Treatise, whilst at the same time looking at the value of the Treatise to contemporary society as

Figure 1 shows the elements involved in producing concept design of the incinerator for disposing used Quran paper.. Figure 1 Flowchart of Process Involved in

luin lagi mompunyai kawasan yang dikhaskan untuk memasak dan menyedia- kan makun n. Ini bererti tidak ada penduduk yang berkongsi bilik m ma ak.. Bilik ini

This research focuses on a comparative study between PID controller and FuzzyPID controller for speed control of permanent magnet brushless (PM BLDC) motor

Thus, to close the gaps of inconsistent results of non-standard employment towards employees’ work-life balance, and to further enhance the underdeveloped studies

This research finding further advances the finding by Cohen and Keren (2010) in the sense that this research not only examines the direct effect of organisational