1
00:00:10,000 --> 00:00:11,000
Hello, friends.

2
00:00:11,000 --> 00:00:12,000
Good day.

3
00:00:12,000 --> 00:00:22,000
We discussed how to present a differential equation model in live you for that purpose.

4
00:00:23,000 --> 00:00:25,000
I have a set in order differential function.

5
00:00:26,000 --> 00:00:31,000
You see why we were dispute here?

6
00:00:31,000 --> 00:00:32,000
Why is it function?

7
00:00:33,000 --> 00:00:35,000
It depends on time.

8
00:00:36,000 --> 00:00:37,000
That's f the time.

9
00:00:38,000 --> 00:00:46,000
Lastly, even by the way of the divide, last loyalty is quite clear.

10
00:00:49,000 --> 00:00:54,000
And here FP is a forcing function.

11
00:00:54,000 --> 00:00:56,000
Or you say force.

12
00:00:57,000 --> 00:01:14,000
So we can solve this equation by always just one by using this eye as you see or hear the second order

13
00:01:15,000 --> 00:01:15,000
equation.

14
00:01:17,000 --> 00:01:23,000
So in order part is on the left side and this one is on the right side.

15
00:01:23,000 --> 00:01:27,000
So minus three D, minus two white plus two year.

16
00:01:28,000 --> 00:01:30,000
So this is my equation.

17
00:01:31,000 --> 00:01:43,000
Now you have to just integrate this all this equation or to solve the Y in this equation that will integrate

18
00:01:44,000 --> 00:01:44,000
this function.

19
00:01:45,000 --> 00:01:46,000
So hold that clockwise.

20
00:01:46,000 --> 00:01:51,000
I just go to my left, you little diagram window.

21
00:01:52,000 --> 00:01:55,000
As you see here, Glen.

22
00:01:55,000 --> 00:01:55,000
Dorothy.

23
00:01:56,000 --> 00:02:04,000
So over here in the control line simulation, you have to install this blue box inverse system control

24
00:02:04,000 --> 00:02:07,000
and simulation tool box before attempting this.

25
00:02:07,000 --> 00:02:14,000
So I go to simulation and over here I have a controller and simulation in this function.

26
00:02:16,000 --> 00:02:18,000
So I just drag and drop this.

27
00:02:20,000 --> 00:02:25,000
And I just, again, go to this function.

28
00:02:26,000 --> 00:02:29,000
I lock it in the signal generation.

29
00:02:29,000 --> 00:02:33,000
I just use a simple step signal.

30
00:02:35,000 --> 00:02:35,000
As you see

31
00:02:38,000 --> 00:02:40,000
now, I just use.

32
00:02:43,000 --> 00:02:45,000
Gain more hair.

33
00:02:45,000 --> 00:02:45,000
This is my gain.

34
00:02:49,000 --> 00:02:49,000
Okay.

35
00:02:50,000 --> 00:02:58,000
And you can configure it also if you want to change the game value in real time.

36
00:02:58,000 --> 00:03:00,000
So I just make it

37
00:03:03,000 --> 00:03:14,000
so connected and over here and you see and I would control Edge again that I'm going to lose over.

38
00:03:16,000 --> 00:03:16,000
Yes.

39
00:03:16,000 --> 00:03:17,000
I remove the label.

40
00:03:35,000 --> 00:03:39,000
So label is one get control.

41
00:03:40,000 --> 00:03:42,000
So here, this is my gain.

42
00:03:43,000 --> 00:03:54,000
Then you have to use some block because we have to sum up and in this case I need three some mission.

43
00:03:55,000 --> 00:03:57,000
So I do see how I change this.

44
00:03:58,000 --> 00:04:02,000
You have to just like right now, it is minus on it.

45
00:04:02,000 --> 00:04:04,000
Right now it is plus.

46
00:04:05,000 --> 00:04:14,000
So now, as you see in the differential equation, we have to add these functions.

47
00:04:14,000 --> 00:04:15,000
Okay.

48
00:04:15,000 --> 00:04:25,000
So for that purposes, I'm just using integrator in the continuous linear system.

49
00:04:25,000 --> 00:04:26,000
I got linear.

50
00:04:27,000 --> 00:04:35,000
So I just use one in eight over here and I just copy again this integrator or here.

51
00:04:36,000 --> 00:04:42,000
Now you have to just multiply this function.

52
00:04:42,000 --> 00:04:45,000
So I just copy this gain.

53
00:04:48,000 --> 00:04:52,000
Just delete this and change.

54
00:04:57,000 --> 00:05:03,000
He was that, ah, you know, I just delivered this and complete this function.

55
00:05:06,000 --> 00:05:08,000
So now just connect this.

56
00:05:15,000 --> 00:05:16,000
So over here.

57
00:05:19,000 --> 00:05:20,000
Integration.

58
00:05:25,000 --> 00:05:26,000
Deeper home integration.

59
00:05:28,000 --> 00:05:33,000
Now you have to just put this.

60
00:05:35,000 --> 00:05:35,000
Or here.

61
00:05:37,000 --> 00:05:38,000
And some this

62
00:05:41,000 --> 00:05:53,000
again you have to over here just drag and drop the function in the controller simulation, simulation,

63
00:05:54,000 --> 00:05:58,000
the graph and utilities or here this is sine graph.

64
00:06:02,000 --> 00:06:03,000
This

65
00:06:05,000 --> 00:06:07,000
and this function.

66
00:06:11,000 --> 00:06:14,000
Comes from here to.

67
00:06:22,000 --> 00:06:23,000
Or here.

68
00:06:23,000 --> 00:06:30,000
Okay, so this is how we can create a situation.

69
00:06:30,000 --> 00:06:36,000
Let's say over here, this is my b square y you wait.

70
00:06:38,000 --> 00:06:42,000
Now, after integration, it will become divided by duty.

71
00:06:42,000 --> 00:06:44,000
And again, after integration, it becomes white.

72
00:06:45,000 --> 00:06:47,000
So over here we get the issue.

73
00:06:48,000 --> 00:06:53,000
So right now, I just create control for this again.

74
00:06:53,000 --> 00:06:55,000
Create control for this.

75
00:06:56,000 --> 00:06:57,000
So these are my gain.

76
00:06:57,000 --> 00:07:01,000
Now, I guess to minimize the space control you.

77
00:07:05,000 --> 00:07:06,000
Until you.

78
00:07:07,000 --> 00:07:13,000
So my system becomes like this and or here, this is my game.

79
00:07:16,000 --> 00:07:17,000
These are the different values.

80
00:07:20,000 --> 00:07:23,000
So I have to put these values from the equation.

81
00:07:26,000 --> 00:07:28,000
So right now, as you see.

82
00:07:31,000 --> 00:07:32,000
From here.

83
00:07:33,000 --> 00:07:43,000
In the differential equation, we have to put the F minus two and minus three.

84
00:07:44,000 --> 00:07:47,000
So this value is my three.

85
00:07:49,000 --> 00:07:54,000
This value that is gained to this is minus three.

86
00:07:58,000 --> 00:08:00,000
And this was Louise minus two.

87
00:08:02,000 --> 00:08:05,000
So I just put on the same order.

88
00:08:11,000 --> 00:08:12,000
On the same order.

89
00:08:12,000 --> 00:08:13,000
Like minus three.

90
00:08:13,000 --> 00:08:14,000
Minus three.

91
00:08:15,000 --> 00:08:16,000
So minus three.

92
00:08:18,000 --> 00:08:20,000
Minus two and three.

93
00:08:21,000 --> 00:08:21,000
Okay.

94
00:08:22,000 --> 00:08:25,000
So I know you don't become a see.

95
00:08:27,000 --> 00:08:29,000
You can check out the result.

96
00:08:39,000 --> 00:08:40,000
It will take some time.

97
00:08:41,000 --> 00:08:43,000
As you see, the response is there.

98
00:08:43,000 --> 00:08:53,000
So when on the alternate day when I just use a transfer function.

99
00:08:55,000 --> 00:09:04,000
So in the controller and simulation, again, controller and simulation or here in the nonlinear part,

100
00:09:05,000 --> 00:09:09,000
what you are doing in your part, we have a console function.

101
00:09:12,000 --> 00:09:21,000
So as you see in this case, you console using this yesterday using integration, or you can directly

102
00:09:21,000 --> 00:09:23,000
use this thrust on this last moment.

103
00:09:23,000 --> 00:09:28,000
Some comes from this equation with the initial condition zero.

104
00:09:28,000 --> 00:09:31,000
It is the Laplace transform of this bar.

105
00:09:31,000 --> 00:09:38,000
So I just got this part in the in this function.

106
00:09:40,000 --> 00:09:50,000
So I just put the as you see, three divided by two plus three

107
00:09:54,000 --> 00:10:01,000
is e is two already six is different.

108
00:10:01,000 --> 00:10:04,000
So two and a half one.

109
00:10:05,000 --> 00:10:13,000
So as you see, three or squared plus three plus two, three, four squared plus 2s3 plus two.

110
00:10:13,000 --> 00:10:15,000
So I got this function.

111
00:10:18,000 --> 00:10:22,000
So you have to apply your input signal.

112
00:10:23,000 --> 00:10:27,000
Let's see these simple steps signal.

113
00:10:27,000 --> 00:10:35,000
And I am just drag and drop this value over here.

114
00:10:37,000 --> 00:10:38,000
I'm just learning the graph.

115
00:10:39,000 --> 00:10:39,000
You.

116
00:10:40,000 --> 00:10:43,000
The chart is indeed operation.

117
00:10:45,000 --> 00:10:46,000
So I'll just connect this.

118
00:10:49,000 --> 00:10:56,000
So then you hit on run button, which just

119
00:11:00,000 --> 00:11:05,000
you can check out the result in both the graphs.

120
00:11:08,000 --> 00:11:09,000
So over here

121
00:11:12,000 --> 00:11:15,000
as you see the difference.

122
00:11:15,000 --> 00:11:25,000
So and I put this in my gain is three it is three f okay.

123
00:11:26,000 --> 00:11:39,000
So over here let's say I put minus two and S and minus three and this and check out the result is same.

124
00:11:40,000 --> 00:11:41,000
So minus two and minus three.

125
00:11:42,000 --> 00:11:48,000
So as you see in the real time, also, I am making two continuous one.

126
00:11:49,000 --> 00:11:56,000
So when I increase the gain, you can check out the result in real time.

127
00:11:56,000 --> 00:12:00,000
Also, how differential equation behaves.

128
00:12:03,000 --> 00:12:04,000
So or here

129
00:12:06,000 --> 00:12:14,000
this is the same response is the same transfer right now across can all of this and also some of this

130
00:12:14,000 --> 00:12:16,000
part a same I do see.

131
00:12:16,000 --> 00:12:25,000
So this is how you can create your differential equation in lab view using control in simulation toolbox.

132
00:12:25,000 --> 00:12:26,000
Thank you.

