AI & It's Engineering Application through MATLAB

Artificial Intelligence with MATLAB & Engineering Applications.

Artificial Intelligence with Fuzzy Operator.

In this session, we will talk about Artificial Intelligence with MATLAB.

AUTOMATIC: If something is automatic than it means that it can perform a specific function repeatedly without any kind of human effort because it is programmed to do so.
There is a big difference between AI and Automation, Automation Is derived from the word Automatic, Machines which we call Automatic they work on programmes, they continuously work on these programme and non other.

AI - Artificial Intelligence means if a machine has artificial intelligence than it can perform tasks not only on the basis of the information that it has but also by manipulating its programmed data in the same way as human kind do.
for eg; if you are given the rules for how to play football than by some intelligence you can automatically score a goal and can build new techniques to achieve a higher game level , so AI works the same way to the machine.
Artificial Intelligence is more about Reasoning, Thinking Ability, which work and learn, That's also a difference between Robots and Human Brain.

Robot work on a particular code.
Human brain thinks about the work, choose the simplest path and work.

Artificial Intelligence is also like that, it works like a brain that it's man made.
Now talk about AI in MATLAB, it is created using Fuzzy Logic.

Fuzzy Logic- Fuzzy logic is basically the percentage of truth, Normally answers are True or False, But in Fuzzy logic, answers could be 10% True 90% False or anything else, for example, there is a muddy water in a bucket, and question arises (Water in the bucket is clean?).
There will be 2 different answers to the above question, By Automatic Robot & By Human.
Automatic Robot - (0 or 1 or True or False) ans will be "0 or False"
Human- Human answer will be of the different type he/she can say its 20% Muddy and rest of the Water is clean or anything else, This is called intelligence and for making it possible for computers we use Fuzzy logic.

Fuzzy Logic based on the following,
  • Degree of Truth
  • Value B/W 0 &1
  • Multivalue
Some Examples-

Speed of a Car
 Binary Logic
 Fuzzy Logic
 0
 Slowest
 1
 Slow

 Fast

 Fastest
Milk & Water Mixture
 Binary Logic
 Fuzzy Logic
 Milk
 Milk 100% Water 0%
 Water
 Milk 60% Water 40%

 Milk 40% Water 60%

 Water 100% Milk 0%
Or there could be more possibilities.

How to work on FUZZY LOGIC in MATLAB, for learning MATLAB Basics please click here.

Steps

  1. Open MATLAB in your Device.
  2. Enter fuzzy in Command Window

A window will Pop Up


Here is something you need to know about.

  • Fuzzy Window
  • Input Tab
  • Output Tab
  • Name of Input Variable
Now,
  1. Double click on the input tab
  2. A new window will pop up

Know about the pop-up window


  1. Set input parameter
  2. Set parameters name
  3. Set a range of input 
Then go to the previous one and double click on the output window.
Output Window will pop-up 

Its same as the input window,

  1. Set output parameter
  2. Set parameters name
  3. Set a range of output
Then save the parameters and range and save the Fuzzy Logic file.

Open Simulink,
  1. Add constant
  2. Add fuzzy logic operator
  3. Add Display
  4. Add Fuzzy logic file in the Fuzzy logic controller.
  5. Now with every input value, you will get a certain value of output.

This is how Fuzzy Logic works in engineering application.

Applications
  • Motor Control
  • AI Washing Machine
  • Electric Power Control
  • Fuel Control

Comments