Results 1 to 4 of 4

Math Help - How to make a boolean function for describing a switching system?

  1. #1
    Newbie liptak's Avatar
    Joined
    Mar 2011
    Posts
    13

    Question How to make a boolean function for describing a switching system?

    Hey,

    how to make the output of this function res=|F_{real}(s)-F_{nominal}(s)| boolean to describe these conditions?

    switch(s)=1 \Leftrightarrow |F_{real}(s)-F_{nominal}(s)| =0
    switch(s)=0 \Leftrightarrow |F_{real}(s)-F_{nominal}(s)| \neq 0

    I need it for mathematical description of the switching system:

    F_{real}(s)=F_{real1}(s).switch(s) + F_{real2}(s).NOR(switch(s))

    I don't even know if I can mix it up this way.

    ( F are closed-loop transfer functions.)

    Thank you

    Liptak
    Follow Math Help Forum on Facebook and Google+

  2. #2
    MHF Contributor
    Joined
    Oct 2009
    Posts
    5,536
    Thanks
    778
    Why don't you define switch(s) as you said?
    \mathop{\mbox{switch}}(s)=<br />
\begin{cases}<br />
1, & |F_{real}(s)-F_{nominal}(s)| =0\\<br />
0, & \mbox{otherwise}<br />
\end{cases}

    I have an impression that there may be some issues with rounding (can one always distinguish whether a given real number that is a result of a measurement equals 0?), but I don't know anything about your problem.

    Also, what is NOR(x)? It can't be the negation of OR because the latter takes two arguments. Is it just negation, i.e., 1 - x?
    Follow Math Help Forum on Facebook and Google+

  3. #3
    Newbie liptak's Avatar
    Joined
    Mar 2011
    Posts
    13
    Emakarov, thank you for your answer.

    Quote Originally Posted by emakarov View Post
    Why don't you define switch(s) as you said?
    \mathop{\mbox{switch}}(s)=<br />
\begin{cases}<br />
1, & |F_{real}(s)-F_{nominal}(s)| =0\\<br />
0, & \mbox{otherwise}<br />
\end{cases}
    I was just wondering if there is any form I can describe it in some kind of discrete function.

    I have an impression that there may be some issues with rounding (can one always distinguish whether a given real number that is a result of a measurement equals 0?), but I don't know anything about your problem.
    Thank you for your concern, but it's okay... and it's no problem to change the switch(s) condition.

    Also, what is NOR(x)? It can't be the negation of OR because the latter takes two arguments. Is it just negation, i.e., 1 - x?
    Oops, yeah, you're right, I meant negation.

    Ok, thank you, I'm gonna describe it your way:

    \mathop{\mbox{switch}}(s)=<br />
\begin{cases}<br />
1, & |F_{real}(s)-F_{nominal}(s)| =0\\<br />
0, & \mbox{otherwise}<br />
\end{cases}

    F_{real}(s)=F_{real1}(s).switch(s) + F_{real2}(s).(\neg switch(s))
    Last edited by liptak; March 29th 2011 at 11:29 AM.
    Follow Math Help Forum on Facebook and Google+

  4. #4
    Newbie liptak's Avatar
    Joined
    Mar 2011
    Posts
    13
    And how to make the switch for more than 2 controllers? For example, consider 4 controllers and this switching condition:

    \mathop{\mbox{switch}}(s)=<br />
\begin{cases}<br />
1, & 0<x<5 \\<br />
2, & 5 \leq x<10\\<br />
3, & 10 \leq x<15\\<br />
4, & 15 \leq x<20<br />
\end{cases}

    Simple negation of the switch function is not enough
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Finding values that make the system inconsistent.
    Posted in the Advanced Algebra Forum
    Replies: 3
    Last Post: March 1st 2011, 11:15 PM
  2. Replies: 1
    Last Post: September 30th 2010, 05:00 PM
  3. Boolean Function
    Posted in the Discrete Math Forum
    Replies: 1
    Last Post: December 3rd 2009, 01:14 PM
  4. Describing the function
    Posted in the Calculus Forum
    Replies: 13
    Last Post: January 1st 2009, 06:57 PM
  5. Function describing probability
    Posted in the Calculus Forum
    Replies: 0
    Last Post: September 7th 2008, 09:41 AM

Search Tags


/mathhelpforum @mathhelpforum