Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Design switching with condition using simulink..pls help

Status
Not open for further replies.

mariamghazaly

Newbie level 3
Newbie level 3
Joined
Apr 11, 2008
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,299
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
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top