Hello, friends.
Good day.
We discussed how to present a differential equation model in live you for that purpose.
I have a set in order differential function.
You see why we were dispute here?
Why is it function?
It depends on time.
That's f the time.
Lastly, even by the way of the divide, last loyalty is quite clear.
And here FP is a forcing function.
Or you say force.
So we can solve this equation by always just one by using this eye as you see or hear the second order
equation.
So in order part is on the left side and this one is on the right side.
So minus three D, minus two white plus two year.
So this is my equation.
Now you have to just integrate this all this equation or to solve the Y in this equation that will integrate
this function.
So hold that clockwise.
I just go to my left, you little diagram window.
As you see here, Glen.
Dorothy.
So over here in the control line simulation, you have to install this blue box inverse system control
and simulation tool box before attempting this.
So I go to simulation and over here I have a controller and simulation in this function.
So I just drag and drop this.
And I just, again, go to this function.
I lock it in the signal generation.
I just use a simple step signal.
As you see
now, I just use.
Gain more hair.
This is my gain.
Okay.
And you can configure it also if you want to change the game value in real time.
So I just make it
so connected and over here and you see and I would control Edge again that I'm going to lose over.
Yes.
I remove the label.
So label is one get control.
So here, this is my gain.
Then you have to use some block because we have to sum up and in this case I need three some mission.
So I do see how I change this.
You have to just like right now, it is minus on it.
Right now it is plus.
So now, as you see in the differential equation, we have to add these functions.
Okay.
So for that purposes, I'm just using integrator in the continuous linear system.
I got linear.
So I just use one in eight over here and I just copy again this integrator or here.
Now you have to just multiply this function.
So I just copy this gain.
Just delete this and change.
He was that, ah, you know, I just delivered this and complete this function.
So now just connect this.
So over here.
Integration.
Deeper home integration.
Now you have to just put this.
Or here.
And some this
again you have to over here just drag and drop the function in the controller simulation, simulation,
the graph and utilities or here this is sine graph.
This
and this function.
Comes from here to.
Or here.
Okay, so this is how we can create a situation.
Let's say over here, this is my b square y you wait.
Now, after integration, it will become divided by duty.
And again, after integration, it becomes white.
So over here we get the issue.
So right now, I just create control for this again.
Create control for this.
So these are my gain.
Now, I guess to minimize the space control you.
Until you.
So my system becomes like this and or here, this is my game.
These are the different values.
So I have to put these values from the equation.
So right now, as you see.
From here.
In the differential equation, we have to put the F minus two and minus three.
So this value is my three.
This value that is gained to this is minus three.
And this was Louise minus two.
So I just put on the same order.
On the same order.
Like minus three.
Minus three.
So minus three.
Minus two and three.
Okay.
So I know you don't become a see.
You can check out the result.
It will take some time.
As you see, the response is there.
So when on the alternate day when I just use a transfer function.
So in the controller and simulation, again, controller and simulation or here in the nonlinear part,
what you are doing in your part, we have a console function.
So as you see in this case, you console using this yesterday using integration, or you can directly
use this thrust on this last moment.
Some comes from this equation with the initial condition zero.
It is the Laplace transform of this bar.
So I just got this part in the in this function.
So I just put the as you see, three divided by two plus three
is e is two already six is different.
So two and a half one.
So as you see, three or squared plus three plus two, three, four squared plus 2s3 plus two.
So I got this function.
So you have to apply your input signal.
Let's see these simple steps signal.
And I am just drag and drop this value over here.
I'm just learning the graph.
You.
The chart is indeed operation.
So I'll just connect this.
So then you hit on run button, which just
you can check out the result in both the graphs.
So over here
as you see the difference.
So and I put this in my gain is three it is three f okay.
So over here let's say I put minus two and S and minus three and this and check out the result is same.
So minus two and minus three.
So as you see in the real time, also, I am making two continuous one.
So when I increase the gain, you can check out the result in real time.
Also, how differential equation behaves.
So or here
this is the same response is the same transfer right now across can all of this and also some of this
part a same I do see.
So this is how you can create your differential equation in lab view using control in simulation toolbox.
Thank you.