SlideShare a Scribd company logo
1 of 15
Project
Container Crane Control
Using Fuzzy Logic
Presented By Md. Hasibur Rashid
Container Crane Case Study.
• In crane control, the objective is to position a load over a target
point.
• While the load connected to the crane head by flexible cables may
well sway within certain limits during transportation, the sway must be
reduced to almost zero for load release when the target position is
reached.
• Hence, a controller must use at least two input variables, for example
position and sway angle.
• Conventional PID control was not successful because the control task
is inherently non-linear. For example, sway minimization is important
only when the container is close to the target.
• Others have tried to derive a mathematical model of the crane to use
this in a model-based controller. They came up with a fifth-degree
differential equation that describes the mechanical behavior.
Although in theory, controller design based on this model
should work, in reality it does not. The reasons for this are:
 The weight of the container is unknown.
 The crane motor behavior is by far not as linear as
assumed in the model, and its gear box involves slack
(relaxed parts).
 The crane head only moves with friction and its cables
involve elasticity.
 Disturbances such as wind gusts cannot be included in the
model.
Container Crane Case Study.
Control Loop of the Fuzzy Logic
Controlled Container Crane:
Container Crane Case Study.
• In spite of the difficulties involved with automated control, human
operators can control cranes quite well in most cases.
• The analysis of the operator's actions reveals that the operator uses some "rules of
thumb" to describe his control strategy:
 Start with medium power.
 If you get started and you are still far away from target, adjust the motor power so
that the container gets a little behind the crane head.
 If you are closer to the target, reduce speed so the container gets a little ahead of
the crane head.
 When the container is very close to the target position, power up the motor.
 When the container is over the target and the sway is zero, stop the
motor.
No differential equations are required for this, and disturbances and nonlinearities are
compensated by the operator's observation of the container's position.
Conventional Fuzzy Control
Fuzzification
Inference
Defuzzfication
Antecedents
Consequent
Fuzzification: Linguistic variable
• The Linguistic Variables Are the “Vocabulary” of a Fuzzy Logic System
• Term Definitions:
Distance := {far, medium, close, zero, neg_close}
Angle := {pos_big, pos_small, zero, neg_small, neg_big}
Power := {pos_high, pos_medium, zero, neg_medium, neg_high}
Membership Function:
Fuzzy inference : Rules
• The Rules of the Fuzzy Logic Systems Are the “Laws” It Executes !
• Computation of the “IF-THEN”-Rules:
#1 : IF Distance = medium AND Angle = pos_small THEN Power = pos_medium
#2: IF Distance = medium AND Angle = zero THEN Power = zero
#3: IF Distance = far AND Angle = zero THEN Power = pos_medium
1. IF Distance = far AND Angle = zero
THEN power = pos_medium
2. IF Distance = far AND Angle = neg_small
THEN power = pos_big
3. IF Distance = far AND Angle = neg_big
THEN power = pos_medium
4. IF Distance = medium AND Angle = neg_small
THEN power = neg_medium
5. IF Distance = close AND Angle = pos_small
THEN power = pos_medium
6. IF Distance = zero AND Angle = zero
THEN power = zero
Fuzzification: Linguistic variable
Computation of the “IF-THEN”-Rules:
#1 : IF Distance = medium AND Angle = pos_small THEN Power = pos_medium
#2: IF Distance = medium AND Angle = zero THEN Power = zero
#3: IF Distance = far AND Angle = zero THEN Power = pos_medium
Fuzzy--Inference:: -- Aggregation
• Aggregation Computes How “Appropriate” Each Rule Is for the Current
Situation !
Boolean Logic Only
Defines Operators for 0/1 :
Fuzzy Logic Delivers a Continuous Extension:
AND: µAvB = min{ µA; µB }
OR: µA+B = max{ µA; µB }
NOT: µ-A = 1 - µA
Aggregation of the “IF”-Part:
#1 : min{ 0.9, 0.8 } = 0.8
#2: min{ 0.9, 0.2 } = 0.2
#3: min{ 0.1 , 0.2 } = 0.1
Next develop the rules use matrix form How
many rules maximum?
Distance
Angle
NBNSZEPSPB
Too far zero close med far
Fuzzy--Inference:: Composition
Composition Computes How Each Rule Influences the Output Variables !
Computation of the “IF-THEN”-Rules:
#1 : IF Distance = medium AND Angle = pos_small THEN Power = pos_medium
#2: IF Distance = medium AND Angle = zero THEN Power = zero
#3: IF Distance = far AND Angle = zero THEN Power = pos_medium
Aggregation of the “IF”-Part:
#1 : min{ 0.9, 0.8 } = 0.8
#2: min{ 0.9, 0.2 } = 0.2
#3: min{ 0.1 , 0.2 } = 0.1
Result for the Linguistic Variable "Power":
pos_high with the degree 0.0
pos_medium with the degree 0.8 ( = max{ 0.8, 0.1 } )
zero with the degree 0.2
neg_medium with the degree 0.0
neg_high with the degree 0.0
Conclusion
• Fuzzy Logic Enables the use of experience and
experimented results to deliver more efficient
solutions.
• Fuzzy Logic Extends traditional automated control
techniques by adding supervisory control
capabilities.
• In container controller case, Fuzzy Logic provides
a transparent and simple solution that is much
harder to solve using conventional engineering
MD. Hasibur Rashid // MSc. In CSE, KUET, Bangladesh
Thank You

More Related Content

Viewers also liked

สรุปโครงการปันน้ำใจ
สรุปโครงการปันน้ำใจสรุปโครงการปันน้ำใจ
สรุปโครงการปันน้ำใจABELE Snvip
 
ซัมซุงไทยมั่นใจ
ซัมซุงไทยมั่นใจซัมซุงไทยมั่นใจ
ซัมซุงไทยมั่นใจABELE Snvip
 
การเข ยนโปรแกรมโดยใช Net_beans
การเข ยนโปรแกรมโดยใช Net_beansการเข ยนโปรแกรมโดยใช Net_beans
การเข ยนโปรแกรมโดยใช Net_beansABELE Snvip
 
Detecting soft errors by a purely software approach
Detecting soft errors by a purely software approachDetecting soft errors by a purely software approach
Detecting soft errors by a purely software approachMd. Hasibur Rashid
 
แข่งขัน Spelling bee
แข่งขัน Spelling beeแข่งขัน Spelling bee
แข่งขัน Spelling beeABELE Snvip
 
กระบวนการเทคโนโลยีสารสนเทศ
กระบวนการเทคโนโลยีสารสนเทศกระบวนการเทคโนโลยีสารสนเทศ
กระบวนการเทคโนโลยีสารสนเทศABELE Snvip
 
армастек
армастекармастек
армастекyudind
 
презентация программы поставки домокомплектов для инвестора
презентация программы поставки домокомплектов для инвесторапрезентация программы поставки домокомплектов для инвестора
презентация программы поставки домокомплектов для инвестораyudind
 
การจัดการฐานข้อมูล
การจัดการฐานข้อมูลการจัดการฐานข้อมูล
การจัดการฐานข้อมูลABELE Snvip
 
Card spell
Card spellCard spell
Card spellmama1304
 
Программа достойное жильё
Программа достойное жильёПрограмма достойное жильё
Программа достойное жильёyudind
 
ppt hafiz 1 jadul
ppt hafiz 1 jadulppt hafiz 1 jadul
ppt hafiz 1 jadulmama1304
 
CV QAQC Manager Brf - Mngmt app.
CV QAQC Manager Brf - Mngmt app.CV QAQC Manager Brf - Mngmt app.
CV QAQC Manager Brf - Mngmt app.gorg3337
 
презентация программы поставки домокомплектов
презентация программы поставки домокомплектовпрезентация программы поставки домокомплектов
презентация программы поставки домокомплектовyudind
 

Viewers also liked (17)

สรุปโครงการปันน้ำใจ
สรุปโครงการปันน้ำใจสรุปโครงการปันน้ำใจ
สรุปโครงการปันน้ำใจ
 
ซัมซุงไทยมั่นใจ
ซัมซุงไทยมั่นใจซัมซุงไทยมั่นใจ
ซัมซุงไทยมั่นใจ
 
การเข ยนโปรแกรมโดยใช Net_beans
การเข ยนโปรแกรมโดยใช Net_beansการเข ยนโปรแกรมโดยใช Net_beans
การเข ยนโปรแกรมโดยใช Net_beans
 
Detecting soft errors by a purely software approach
Detecting soft errors by a purely software approachDetecting soft errors by a purely software approach
Detecting soft errors by a purely software approach
 
แข่งขัน Spelling bee
แข่งขัน Spelling beeแข่งขัน Spelling bee
แข่งขัน Spelling bee
 
กระบวนการเทคโนโลยีสารสนเทศ
กระบวนการเทคโนโลยีสารสนเทศกระบวนการเทคโนโลยีสารสนเทศ
กระบวนการเทคโนโลยีสารสนเทศ
 
Crane control
Crane controlCrane control
Crane control
 
Idioms
IdiomsIdioms
Idioms
 
армастек
армастекармастек
армастек
 
презентация программы поставки домокомплектов для инвестора
презентация программы поставки домокомплектов для инвесторапрезентация программы поставки домокомплектов для инвестора
презентация программы поставки домокомплектов для инвестора
 
การจัดการฐานข้อมูล
การจัดการฐานข้อมูลการจัดการฐานข้อมูล
การจัดการฐานข้อมูล
 
Card spell
Card spellCard spell
Card spell
 
Food english[1]
Food english[1]Food english[1]
Food english[1]
 
Программа достойное жильё
Программа достойное жильёПрограмма достойное жильё
Программа достойное жильё
 
ppt hafiz 1 jadul
ppt hafiz 1 jadulppt hafiz 1 jadul
ppt hafiz 1 jadul
 
CV QAQC Manager Brf - Mngmt app.
CV QAQC Manager Brf - Mngmt app.CV QAQC Manager Brf - Mngmt app.
CV QAQC Manager Brf - Mngmt app.
 
презентация программы поставки домокомплектов
презентация программы поставки домокомплектовпрезентация программы поставки домокомплектов
презентация программы поставки домокомплектов
 

Similar to Fuzzy Logic Container Crane Control

ProxGen: Adaptive Proximal Gradient Methods for Structured Neural Networks (N...
ProxGen: Adaptive Proximal Gradient Methods for Structured Neural Networks (N...ProxGen: Adaptive Proximal Gradient Methods for Structured Neural Networks (N...
ProxGen: Adaptive Proximal Gradient Methods for Structured Neural Networks (N...Jihun Yun
 
CS532L4_Backpropagation.pptx
CS532L4_Backpropagation.pptxCS532L4_Backpropagation.pptx
CS532L4_Backpropagation.pptxMFaisalRiaz5
 
Polynomial Tensor Sketch for Element-wise Matrix Function (ICML 2020)
Polynomial Tensor Sketch for Element-wise Matrix Function (ICML 2020)Polynomial Tensor Sketch for Element-wise Matrix Function (ICML 2020)
Polynomial Tensor Sketch for Element-wise Matrix Function (ICML 2020)ALINLAB
 
IC_FinalReport_WorkSoFarv4
IC_FinalReport_WorkSoFarv4IC_FinalReport_WorkSoFarv4
IC_FinalReport_WorkSoFarv4Bruno Diaz
 
Iaetsd design of a robust fuzzy logic controller for a single-link flexible m...
Iaetsd design of a robust fuzzy logic controller for a single-link flexible m...Iaetsd design of a robust fuzzy logic controller for a single-link flexible m...
Iaetsd design of a robust fuzzy logic controller for a single-link flexible m...Iaetsd Iaetsd
 
Concepts of predictive control
Concepts of predictive controlConcepts of predictive control
Concepts of predictive controlJARossiter
 
0006.scheduling not-ilp-not-force
0006.scheduling not-ilp-not-force0006.scheduling not-ilp-not-force
0006.scheduling not-ilp-not-forcesean chen
 
An overview of gradient descent optimization algorithms
An overview of gradient descent optimization algorithms An overview of gradient descent optimization algorithms
An overview of gradient descent optimization algorithms Hakky St
 
Artificial Neural Networks Deep Learning Report
Artificial Neural Networks   Deep Learning ReportArtificial Neural Networks   Deep Learning Report
Artificial Neural Networks Deep Learning ReportLisa Muthukumar
 
Learning agile and dynamic motor skills for legged robots
Learning agile and dynamic motor skills for legged robotsLearning agile and dynamic motor skills for legged robots
Learning agile and dynamic motor skills for legged robots홍배 김
 
Process Capability - Cp, Cpk. Pp, Ppk
Process Capability - Cp, Cpk. Pp, Ppk Process Capability - Cp, Cpk. Pp, Ppk
Process Capability - Cp, Cpk. Pp, Ppk J. García - Verdugo
 
Instance Learning and Genetic Algorithm by Dr.C.R.Dhivyaa Kongu Engineering C...
Instance Learning and Genetic Algorithm by Dr.C.R.Dhivyaa Kongu Engineering C...Instance Learning and Genetic Algorithm by Dr.C.R.Dhivyaa Kongu Engineering C...
Instance Learning and Genetic Algorithm by Dr.C.R.Dhivyaa Kongu Engineering C...Dhivyaa C.R
 

Similar to Fuzzy Logic Container Crane Control (20)

ProxGen: Adaptive Proximal Gradient Methods for Structured Neural Networks (N...
ProxGen: Adaptive Proximal Gradient Methods for Structured Neural Networks (N...ProxGen: Adaptive Proximal Gradient Methods for Structured Neural Networks (N...
ProxGen: Adaptive Proximal Gradient Methods for Structured Neural Networks (N...
 
CS532L4_Backpropagation.pptx
CS532L4_Backpropagation.pptxCS532L4_Backpropagation.pptx
CS532L4_Backpropagation.pptx
 
Polynomial Tensor Sketch for Element-wise Matrix Function (ICML 2020)
Polynomial Tensor Sketch for Element-wise Matrix Function (ICML 2020)Polynomial Tensor Sketch for Element-wise Matrix Function (ICML 2020)
Polynomial Tensor Sketch for Element-wise Matrix Function (ICML 2020)
 
IC_FinalReport_WorkSoFarv4
IC_FinalReport_WorkSoFarv4IC_FinalReport_WorkSoFarv4
IC_FinalReport_WorkSoFarv4
 
Iaetsd design of a robust fuzzy logic controller for a single-link flexible m...
Iaetsd design of a robust fuzzy logic controller for a single-link flexible m...Iaetsd design of a robust fuzzy logic controller for a single-link flexible m...
Iaetsd design of a robust fuzzy logic controller for a single-link flexible m...
 
Concepts of predictive control
Concepts of predictive controlConcepts of predictive control
Concepts of predictive control
 
Optimization techniq
Optimization techniqOptimization techniq
Optimization techniq
 
Neural Network Part-2
Neural Network Part-2Neural Network Part-2
Neural Network Part-2
 
Lecture3
Lecture3Lecture3
Lecture3
 
0006.scheduling not-ilp-not-force
0006.scheduling not-ilp-not-force0006.scheduling not-ilp-not-force
0006.scheduling not-ilp-not-force
 
An overview of gradient descent optimization algorithms
An overview of gradient descent optimization algorithms An overview of gradient descent optimization algorithms
An overview of gradient descent optimization algorithms
 
Fuzzy logic
Fuzzy logicFuzzy logic
Fuzzy logic
 
Artificial Neural Networks Deep Learning Report
Artificial Neural Networks   Deep Learning ReportArtificial Neural Networks   Deep Learning Report
Artificial Neural Networks Deep Learning Report
 
Learning agile and dynamic motor skills for legged robots
Learning agile and dynamic motor skills for legged robotsLearning agile and dynamic motor skills for legged robots
Learning agile and dynamic motor skills for legged robots
 
Process Capability - Cp, Cpk. Pp, Ppk
Process Capability - Cp, Cpk. Pp, Ppk Process Capability - Cp, Cpk. Pp, Ppk
Process Capability - Cp, Cpk. Pp, Ppk
 
Generative models
Generative modelsGenerative models
Generative models
 
Lecture6
Lecture6Lecture6
Lecture6
 
UNIT IV (4).pptx
UNIT IV (4).pptxUNIT IV (4).pptx
UNIT IV (4).pptx
 
Instance Learning and Genetic Algorithm by Dr.C.R.Dhivyaa Kongu Engineering C...
Instance Learning and Genetic Algorithm by Dr.C.R.Dhivyaa Kongu Engineering C...Instance Learning and Genetic Algorithm by Dr.C.R.Dhivyaa Kongu Engineering C...
Instance Learning and Genetic Algorithm by Dr.C.R.Dhivyaa Kongu Engineering C...
 
15303589.ppt
15303589.ppt15303589.ppt
15303589.ppt
 

More from Md. Hasibur Rashid

Cluster based mac in vane ts for safety applications
Cluster based mac in vane ts for safety applications Cluster based mac in vane ts for safety applications
Cluster based mac in vane ts for safety applications Md. Hasibur Rashid
 
Development of anonymous networks based on cryptography
Development of anonymous networks based on cryptographyDevelopment of anonymous networks based on cryptography
Development of anonymous networks based on cryptographyMd. Hasibur Rashid
 
E voting authentication with qr-codes
E voting authentication with qr-codesE voting authentication with qr-codes
E voting authentication with qr-codesMd. Hasibur Rashid
 
Cloud computing and grid computing 360 degree compared
Cloud computing and grid computing 360 degree comparedCloud computing and grid computing 360 degree compared
Cloud computing and grid computing 360 degree comparedMd. Hasibur Rashid
 
Detecting soft errors by a purely software approach
Detecting soft errors by a purely software approachDetecting soft errors by a purely software approach
Detecting soft errors by a purely software approachMd. Hasibur Rashid
 
Security challenges of cloud computing
Security challenges of cloud computingSecurity challenges of cloud computing
Security challenges of cloud computingMd. Hasibur Rashid
 

More from Md. Hasibur Rashid (8)

Cluster based mac in vane ts for safety applications
Cluster based mac in vane ts for safety applications Cluster based mac in vane ts for safety applications
Cluster based mac in vane ts for safety applications
 
Development of anonymous networks based on cryptography
Development of anonymous networks based on cryptographyDevelopment of anonymous networks based on cryptography
Development of anonymous networks based on cryptography
 
Resisting skew accumulation
Resisting skew accumulationResisting skew accumulation
Resisting skew accumulation
 
E voting authentication with qr-codes
E voting authentication with qr-codesE voting authentication with qr-codes
E voting authentication with qr-codes
 
Cloud computing and grid computing 360 degree compared
Cloud computing and grid computing 360 degree comparedCloud computing and grid computing 360 degree compared
Cloud computing and grid computing 360 degree compared
 
Detecting soft errors by a purely software approach
Detecting soft errors by a purely software approachDetecting soft errors by a purely software approach
Detecting soft errors by a purely software approach
 
Renewable energy
Renewable energyRenewable energy
Renewable energy
 
Security challenges of cloud computing
Security challenges of cloud computingSecurity challenges of cloud computing
Security challenges of cloud computing
 

Fuzzy Logic Container Crane Control

  • 1. Project Container Crane Control Using Fuzzy Logic Presented By Md. Hasibur Rashid
  • 2. Container Crane Case Study. • In crane control, the objective is to position a load over a target point. • While the load connected to the crane head by flexible cables may well sway within certain limits during transportation, the sway must be reduced to almost zero for load release when the target position is reached. • Hence, a controller must use at least two input variables, for example position and sway angle. • Conventional PID control was not successful because the control task is inherently non-linear. For example, sway minimization is important only when the container is close to the target. • Others have tried to derive a mathematical model of the crane to use this in a model-based controller. They came up with a fifth-degree differential equation that describes the mechanical behavior.
  • 3. Although in theory, controller design based on this model should work, in reality it does not. The reasons for this are:  The weight of the container is unknown.  The crane motor behavior is by far not as linear as assumed in the model, and its gear box involves slack (relaxed parts).  The crane head only moves with friction and its cables involve elasticity.  Disturbances such as wind gusts cannot be included in the model. Container Crane Case Study.
  • 4.
  • 5. Control Loop of the Fuzzy Logic Controlled Container Crane:
  • 6. Container Crane Case Study. • In spite of the difficulties involved with automated control, human operators can control cranes quite well in most cases. • The analysis of the operator's actions reveals that the operator uses some "rules of thumb" to describe his control strategy:  Start with medium power.  If you get started and you are still far away from target, adjust the motor power so that the container gets a little behind the crane head.  If you are closer to the target, reduce speed so the container gets a little ahead of the crane head.  When the container is very close to the target position, power up the motor.  When the container is over the target and the sway is zero, stop the motor. No differential equations are required for this, and disturbances and nonlinearities are compensated by the operator's observation of the container's position.
  • 8. Fuzzification: Linguistic variable • The Linguistic Variables Are the “Vocabulary” of a Fuzzy Logic System • Term Definitions: Distance := {far, medium, close, zero, neg_close} Angle := {pos_big, pos_small, zero, neg_small, neg_big} Power := {pos_high, pos_medium, zero, neg_medium, neg_high} Membership Function:
  • 9. Fuzzy inference : Rules • The Rules of the Fuzzy Logic Systems Are the “Laws” It Executes ! • Computation of the “IF-THEN”-Rules: #1 : IF Distance = medium AND Angle = pos_small THEN Power = pos_medium #2: IF Distance = medium AND Angle = zero THEN Power = zero #3: IF Distance = far AND Angle = zero THEN Power = pos_medium 1. IF Distance = far AND Angle = zero THEN power = pos_medium 2. IF Distance = far AND Angle = neg_small THEN power = pos_big 3. IF Distance = far AND Angle = neg_big THEN power = pos_medium 4. IF Distance = medium AND Angle = neg_small THEN power = neg_medium 5. IF Distance = close AND Angle = pos_small THEN power = pos_medium 6. IF Distance = zero AND Angle = zero THEN power = zero
  • 10. Fuzzification: Linguistic variable Computation of the “IF-THEN”-Rules: #1 : IF Distance = medium AND Angle = pos_small THEN Power = pos_medium #2: IF Distance = medium AND Angle = zero THEN Power = zero #3: IF Distance = far AND Angle = zero THEN Power = pos_medium
  • 11. Fuzzy--Inference:: -- Aggregation • Aggregation Computes How “Appropriate” Each Rule Is for the Current Situation ! Boolean Logic Only Defines Operators for 0/1 : Fuzzy Logic Delivers a Continuous Extension: AND: µAvB = min{ µA; µB } OR: µA+B = max{ µA; µB } NOT: µ-A = 1 - µA Aggregation of the “IF”-Part: #1 : min{ 0.9, 0.8 } = 0.8 #2: min{ 0.9, 0.2 } = 0.2 #3: min{ 0.1 , 0.2 } = 0.1
  • 12. Next develop the rules use matrix form How many rules maximum? Distance Angle NBNSZEPSPB Too far zero close med far
  • 13. Fuzzy--Inference:: Composition Composition Computes How Each Rule Influences the Output Variables ! Computation of the “IF-THEN”-Rules: #1 : IF Distance = medium AND Angle = pos_small THEN Power = pos_medium #2: IF Distance = medium AND Angle = zero THEN Power = zero #3: IF Distance = far AND Angle = zero THEN Power = pos_medium Aggregation of the “IF”-Part: #1 : min{ 0.9, 0.8 } = 0.8 #2: min{ 0.9, 0.2 } = 0.2 #3: min{ 0.1 , 0.2 } = 0.1 Result for the Linguistic Variable "Power": pos_high with the degree 0.0 pos_medium with the degree 0.8 ( = max{ 0.8, 0.1 } ) zero with the degree 0.2 neg_medium with the degree 0.0 neg_high with the degree 0.0
  • 14. Conclusion • Fuzzy Logic Enables the use of experience and experimented results to deliver more efficient solutions. • Fuzzy Logic Extends traditional automated control techniques by adding supervisory control capabilities. • In container controller case, Fuzzy Logic provides a transparent and simple solution that is much harder to solve using conventional engineering
  • 15. MD. Hasibur Rashid // MSc. In CSE, KUET, Bangladesh Thank You