mariamghazaly
Newbie level 3
Hi everybody,
I have a problem here regarding simulink, so if anyone is good at simulink, please help me.
I need to design a switching block diagram for a input control to my system transfer function. The problem is, there are condition that have to be selected by the control input, for my case 3 conditions. I have tried using a switch to solve this problem, but I can only use 2 condition only. So now I need to design a switching so that I can use these 3 conditions at the same time.
My conditions are:
1) if x<x0=, then Force=1.88
2) if x=x0, then Force=0
3) if x>x0, then Force=-1.88
where x=displacement
x0=initial displacement
Where the control input to this switching is the error from the displacement.
So, if anybody have any idea how to design the switching block diagram of have already design this, please let me know.
Thanks in advanced.
-mmg
I have a problem here regarding simulink, so if anyone is good at simulink, please help me.
I need to design a switching block diagram for a input control to my system transfer function. The problem is, there are condition that have to be selected by the control input, for my case 3 conditions. I have tried using a switch to solve this problem, but I can only use 2 condition only. So now I need to design a switching so that I can use these 3 conditions at the same time.
My conditions are:
1) if x<x0=, then Force=1.88
2) if x=x0, then Force=0
3) if x>x0, then Force=-1.88
where x=displacement
x0=initial displacement
Where the control input to this switching is the error from the displacement.
So, if anybody have any idea how to design the switching block diagram of have already design this, please let me know.
Thanks in advanced.
-mmg