1
00:00:05,000 --> 00:00:06,000
Good morning, friends.

2
00:00:07,000 --> 00:00:13,000
I will tell you how to create a logic controller you like.

3
00:00:14,000 --> 00:00:17,000
So first of all, I'm taking a Lluvia.

4
00:00:21,000 --> 00:00:28,000
And in the block diagram below, I'm creating the control and simulation.

5
00:00:29,000 --> 00:00:30,000
This is my condolences.

6
00:00:30,000 --> 00:00:32,000
Let's look then.

7
00:00:33,000 --> 00:00:45,000
I require a signal in this case, I use step signal as my signal and I require some submission block.

8
00:00:47,000 --> 00:00:49,000
Then I require again.

9
00:00:52,000 --> 00:01:05,000
And for the system we require error and change of error means getting rid of error so that I.

10
00:01:06,000 --> 00:01:07,000
User.

11
00:01:09,000 --> 00:01:11,000
Daddy Vitya function.

12
00:01:13,000 --> 00:01:14,000
With, you know, T.J..

13
00:01:17,000 --> 00:01:19,000
So these

14
00:01:22,000 --> 00:01:30,000
two are the input requirement of my fuzzy logic controller and I take a area, a function from the Arabs.

15
00:01:31,000 --> 00:01:32,000
This is my area.

16
00:01:34,000 --> 00:01:36,000
It is my signal.

17
00:01:38,000 --> 00:01:40,000
This is my reference signal.

18
00:01:42,000 --> 00:01:43,000
Yoffie.

19
00:01:46,000 --> 00:01:48,000
This is why I do not.

20
00:01:49,000 --> 00:01:57,000
A reference or in terms of s lipless will mean, we can say out of.

21
00:01:59,000 --> 00:01:59,000
Yes.

22
00:02:00,000 --> 00:02:04,000
OK, so this is my error signal.

23
00:02:04,000 --> 00:02:07,000
Here it is, my ESOPs.

24
00:02:16,000 --> 00:02:20,000
This is my office and here is the daddy function.

25
00:02:22,000 --> 00:02:32,000
And as we already told, a required error and change of error function for that purpose, I use a derivative.

26
00:02:35,000 --> 00:02:38,000
And this gives me a change of heart.

27
00:02:40,000 --> 00:02:43,000
This function is over here is S.

28
00:02:44,000 --> 00:02:57,000
Your S. So this is the requirement of my fuzzy controller and I also required a function on which or

29
00:02:57,000 --> 00:03:03,000
which I have to create a fuzzy logic controller.

30
00:03:04,000 --> 00:03:10,000
So right now, I'm taking a second order controller.

31
00:03:13,000 --> 00:03:14,000
Like this.

32
00:03:15,000 --> 00:03:17,000
And I want for us plus one.

33
00:03:19,000 --> 00:03:31,000
And now I go to fuzzy logic over here, I have a fuzzy logic controller, I drag and drop this box.

34
00:03:32,000 --> 00:03:40,000
And I directly connect this to our sister.

35
00:03:41,000 --> 00:03:42,000
So this is the input value.

36
00:03:47,000 --> 00:03:57,000
It is automatically assigned, so it takes input, single output, and this is the value of my controller.

37
00:03:59,000 --> 00:04:01,000
It is just a box.

38
00:04:01,000 --> 00:04:02,000
It is.

39
00:04:03,000 --> 00:04:16,000
It didn't make any decisions right now, so for this or make the decisions I'm waiting for the Lord

40
00:04:16,000 --> 00:04:20,000
fight directly connected to.

41
00:04:21,000 --> 00:04:24,000
The system and here is the part.

42
00:04:26,000 --> 00:04:31,000
Of that fight that I create, an expert system is one expert system.

43
00:04:32,000 --> 00:04:38,000
And I go to gain control in some U.S. law over here, I have.

44
00:04:41,000 --> 00:04:44,000
Seemingly from lowered the output.

45
00:04:45,000 --> 00:04:57,000
I want to lower the step signal as well as possible, so for that purpose, I take Bindaree, I can

46
00:04:57,000 --> 00:05:00,000
take this and this function is.

47
00:05:01,000 --> 00:05:10,000
Directly reference signal and I need feedback signal based on which my fuzzy controller works, I connected

48
00:05:10,000 --> 00:05:10,000
here.

49
00:05:11,000 --> 00:05:17,000
So this is the complete diagram of my fuzzy logic controller.

50
00:05:17,000 --> 00:05:24,000
And right now, I have to create a fire that is called First Fire.

51
00:05:24,000 --> 00:05:28,000
For that purpose, I go to the Toulouse.

52
00:05:29,000 --> 00:05:30,000
Then.

53
00:05:31,000 --> 00:05:34,000
Control and simulation and fuzzy system designer.

54
00:05:37,000 --> 00:05:45,000
Here I have to create a fuzzy fabric based on the rule based

55
00:05:48,000 --> 00:05:49,000
in the system.

56
00:05:49,000 --> 00:05:55,000
We don't really have error, change of error and output also.

57
00:05:55,000 --> 00:05:59,000
So this window perhaps what here I ared.

58
00:06:01,000 --> 00:06:02,000
First error function.

59
00:06:06,000 --> 00:06:11,000
Here you create your editor function and to add a function like this.

60
00:06:11,000 --> 00:06:21,000
This is a granular you can choose any of these episodes based on the requirement, like I'm taking the

61
00:06:21,000 --> 00:06:26,000
range, I'm taking as end.

62
00:06:27,000 --> 00:06:34,000
And this value is like minus five and this value is five.

63
00:06:35,000 --> 00:06:49,000
And there is a other function, embassy function, whose name is S, and it is a function, not a trapezoidal,

64
00:06:49,000 --> 00:06:50,000
sigmoidal function.

65
00:06:51,000 --> 00:06:53,000
Any of these can be taken.

66
00:06:54,000 --> 00:07:01,000
So, again, I'm taking a train function and estranges 02

67
00:07:04,000 --> 00:07:08,000
and I can change color also.

68
00:07:08,000 --> 00:07:13,000
So this is the less my input function, and that's OK.

69
00:07:13,000 --> 00:07:15,000
This is my error function.

70
00:07:16,000 --> 00:07:22,000
Then again, I'm taking a change of error means s u.

71
00:07:22,000 --> 00:07:28,000
S or I can say c e of the.

72
00:07:31,000 --> 00:07:44,000
In time in and Ukraine is also minus danger in that and is Iaw and here is another function I must end

73
00:07:44,000 --> 00:07:52,000
too for and it is goes to six, not for zero.

74
00:07:53,000 --> 00:07:54,000
And I do this.

75
00:07:55,000 --> 00:07:58,000
And then again, another function like a.

76
00:08:01,000 --> 00:08:13,000
Cappotelli Again, this is a function, it is my zero is my five, so this is my for change of error

77
00:08:13,000 --> 00:08:20,000
that you can create according to your application, then we have a output signal also.

78
00:08:20,000 --> 00:08:32,000
So for the output signal, a clear signal is again minus two and the range is based on your application.

79
00:08:32,000 --> 00:08:35,000
I'm taking just as example here.

80
00:08:36,000 --> 00:08:38,000
So this is my.

81
00:08:39,000 --> 00:08:43,000
The regular function exchanges.

82
00:08:44,000 --> 00:08:47,000
Minus four to six,

83
00:08:51,000 --> 00:08:55,000
you can add as many as member function based on the application.

84
00:08:55,000 --> 00:09:06,000
So this is my first embassy function, although and this is my second function for the output like this.

85
00:09:11,000 --> 00:09:19,000
OK, now, based on this, this is my variable or this is my input, variable number crunching.

86
00:09:20,000 --> 00:09:28,000
This is my output variable function for the controller, you have to create two input variables and

87
00:09:28,000 --> 00:09:30,000
one, output and input.

88
00:09:30,000 --> 00:09:34,000
You have to control error and one for Johannah.

89
00:09:35,000 --> 00:09:38,000
Then we go to our base.

90
00:09:39,000 --> 00:09:44,000
So for Rule-based first ad let.

91
00:09:45,000 --> 00:09:46,000
This is my Aitor.

92
00:09:47,000 --> 00:09:49,000
And this is my at a.

93
00:09:50,000 --> 00:10:01,000
And this is my output and directly added to our function, then if you want to change like this, you

94
00:10:01,000 --> 00:10:03,000
have to get as many as.

95
00:10:07,000 --> 00:10:08,000
Application.

96
00:10:08,000 --> 00:10:13,000
These are the different audience and connected.

97
00:10:14,000 --> 00:10:20,000
This is the degree of support and this is not a matter used.

98
00:10:21,000 --> 00:10:23,000
Then again, another matter.

99
00:10:23,000 --> 00:10:29,000
-- it, I take s and my operatively you can add.

100
00:10:30,000 --> 00:10:38,000
As many as a rule, if the no rule are less than what your outlook is, not as expected.

101
00:10:39,000 --> 00:10:43,000
So a number of rules should be as high and.

102
00:10:44,000 --> 00:10:52,000
After that, we have a face like anything like in this case, I have this type of sad face.

103
00:10:53,000 --> 00:11:03,000
Yes, yes, I got the input operation and from here, this will create my fight, then I have to save

104
00:11:03,000 --> 00:11:09,000
this, actually save us all controllers and then close.

105
00:11:10,000 --> 00:11:17,000
OK, so I in this case, I'm not saving it because I have already as you fight.

106
00:11:19,000 --> 00:11:24,000
So I go to my file, I am opening my.

107
00:11:26,000 --> 00:11:28,000
For system.

108
00:11:34,000 --> 00:11:35,000
It will take some time.

109
00:11:44,000 --> 00:11:52,000
So this is my buddy system I already created, and here is my five.

110
00:11:53,000 --> 00:11:54,000
A.

111
00:11:55,000 --> 00:11:56,000
Already, Kate.

112
00:11:58,000 --> 00:12:09,000
And then I think I should give it up, but it is the fourth part, so first.

113
00:12:10,000 --> 00:12:23,000
I go to my data and out here, this is my deck and this is then I have to go through the files and over

114
00:12:23,000 --> 00:12:26,000
here, this emoter, this is my file.

115
00:12:27,000 --> 00:12:32,000
I create the path for my file.

116
00:12:32,000 --> 00:12:40,000
And then I hit run and it gives me the response of my controller.

117
00:12:40,000 --> 00:12:46,000
If you will not create this file, your fuzzy controller not work.

118
00:12:47,000 --> 00:12:55,000
So this is all about like how big of a controller for any system?

119
00:12:55,000 --> 00:12:57,000
Because in my fuzzy controller.

120
00:12:58,000 --> 00:12:58,000
Thank you.

