Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Waleed Abd El- Megeed El- Badry         Mechatronics Department           Faculty of Engineering  Misr University for Scie...
MotivationProject OutlinesBriefed IntroductionWork Carried OutResults and Conclusion
Signal                                             Conditioning                                   ElectronicsFriction, Cou...
Based on Linear model of DC Motor Source: Mo-Yuen Chow, ”Fuzzy Logic Microcontroller Implementation            for DC Moto...
Source: http://www.Fuzzy-Logic.com
Knowledge Base      Fuzzification     Fuzzy Rules        Defuzzification                       CouplingD/A              M ...
DC Motor-Tachometer Specification: 24V DC 180 RPM 1.5 ANI USB 6008  12 Bits, 200Ks/S A/D Converter (0-10V)  12 Bits, D/A C...
BJT Amplifier• Sourcing Current Up to 10 A•Withstand Collector Voltage upto 100VMajor Drawback:Nonlinearity
• Designing a fuzzy logic class library was key objective• Visual Studio proved to be a better performing language for rea...
Fuzzy System            •Mamdani            •Sugeno             Fuzzy VariableName       •Input                      Range...
Declaration of Fuzzy System  Dim fsSpeedControl As New MamdaniFuzzySystem  Dim fvSpeed As New FuzzyVariable("Speed", 0.0, ...
Dim Rule1 = fsSpeedControl.ParseRule("if (Speed is VerySlow) then (OutputVoltage is SpeedUp)")Dim Rule2 = fsSpeedControl.P...
Screenshot from project
Dc motor speed control
Dc motor speed control
Dc motor speed control
Dc motor speed control
Dc motor speed control
Dc motor speed control
Dc motor speed control
Dc motor speed control
Dc motor speed control
Upcoming SlideShare
Loading in …5
×

Dc motor speed control

8,487 views

Published on

Published in: Education, Technology, Business

Dc motor speed control

  1. 1. Waleed Abd El- Megeed El- Badry Mechatronics Department Faculty of Engineering Misr University for Science & Technology wbadry@must.edu.eg Microsoft® CERTIFIED Professional Developer
  2. 2. MotivationProject OutlinesBriefed IntroductionWork Carried OutResults and Conclusion
  3. 3. Signal Conditioning ElectronicsFriction, Couplingand Torque Mechatronics Mechanical Control Engineering Fuzzy Logic Controller Computer Science Interfacing Programming
  4. 4. Based on Linear model of DC Motor Source: Mo-Yuen Chow, ”Fuzzy Logic Microcontroller Implementation for DC Motor Speed Control”
  5. 5. Source: http://www.Fuzzy-Logic.com
  6. 6. Knowledge Base Fuzzification Fuzzy Rules Defuzzification CouplingD/A M T A/D
  7. 7. DC Motor-Tachometer Specification: 24V DC 180 RPM 1.5 ANI USB 6008 12 Bits, 200Ks/S A/D Converter (0-10V) 12 Bits, D/A Converter (0-5V)
  8. 8. BJT Amplifier• Sourcing Current Up to 10 A•Withstand Collector Voltage upto 100VMajor Drawback:Nonlinearity
  9. 9. • Designing a fuzzy logic class library was key objective• Visual Studio proved to be a better performing language for real time applications.• Object Orientation facilitates software design.•.NET framework has rich library that developers can utilize from any language in VSfamily (C#, VB and VC++) Microsoft® Visual Studio 2008
  10. 10. Fuzzy System •Mamdani •Sugeno Fuzzy VariableName •Input Range •Output Fuzzy Term Trapezoidal Triangular
  11. 11. Declaration of Fuzzy System Dim fsSpeedControl As New MamdaniFuzzySystem Dim fvSpeed As New FuzzyVariable("Speed", 0.0, 1.0) Dim fvOutputVoltage As New FuzzyVariable("OutputVoltage", 0.0, 1.0)Fuzzification of Speed Input Speed Fuzzy Terms fvSpeed.Terms.Add(New FuzzyTerm("VerySlow", New TrapezoidMembershipFunction(0.0, 0.0, 0.3, 0.4))) fvSpeed.Terms.Add(New FuzzyTerm("Slow", New TriangularMembershipFunction(0.3, 0.4, 0.5))) fvSpeed.Terms.Add(New FuzzyTerm("AboutRight", New TriangularMembershipFunction(0.4, 0.5, 0.6))) fvSpeed.Terms.Add(New FuzzyTerm("Fast", New TriangularMembershipFunction(0.5, 0.6, 0.7))) fvSpeed.Terms.Add(New FuzzyTerm("VeryFast", New TrapezoidMembershipFunction(0.6, 0.7, 1.0, 1.0))) fsSpeedControl.Input.Add(fvSpeed)Fuzzification of Output Voltage Output Voltage Fuzzy Terms fvOutputVoltage.Terms.Add(New FuzzyTerm("SpeedUp", New TrapezoidMembershipFunction(0.6, 0.7, 1.0, 1.0))) fvOutputVoltage.Terms.Add(New FuzzyTerm("SlightlySpeedUp", New TriangularMembershipFunction(0.5, 0.6, 0.7))) fvOutputVoltage.Terms.Add(New FuzzyTerm("NoChange", New TriangularMembershipFunction(0.4, 0.5, 0.6))) fvOutputVoltage.Terms.Add(New FuzzyTerm("SlightlySlowDown", New TriangularMembershipFunction(0.3, 0.4, 0.5))) fvOutputVoltage.Terms.Add(New FuzzyTerm("SlowDown", New TrapezoidMembershipFunction(0.0, 0.0, 0.3, 0.4))) fsSpeedControl.Output.Add(fvOutputVoltage)
  12. 12. Dim Rule1 = fsSpeedControl.ParseRule("if (Speed is VerySlow) then (OutputVoltage is SpeedUp)")Dim Rule2 = fsSpeedControl.ParseRule("if (Speed is Slow) then (OutputVoltage is SlightlySpeedUp)")Dim Rule3 = fsSpeedControl.ParseRule("if (Speed is AboutRight) then (OutputVoltage is NoChange)")Dim Rule4 = fsSpeedControl.ParseRule("if (Speed is Fast) then (OutputVoltage is SlightlySlowDown)")Dim Rule5 = fsSpeedControl.ParseRule("if (Speed is VeryFast) then (OutputVoltage is SlowDown)")
  13. 13. Screenshot from project

×