Stablility of a linearized time-delay system












2












$begingroup$


I have a linearized time-delay system as follows:



$$frac{mathrm d X}{mathrm d t} = a[X(t)-X^*] + b [X(t-R) - X^*], $$
where $a$, $b$ are constants, $R$ is the constant delay, and $X^*$ is the equilibrium point.



How do I konw if, and under what condtion, this system is stable?










share|cite|improve this question











$endgroup$

















    2












    $begingroup$


    I have a linearized time-delay system as follows:



    $$frac{mathrm d X}{mathrm d t} = a[X(t)-X^*] + b [X(t-R) - X^*], $$
    where $a$, $b$ are constants, $R$ is the constant delay, and $X^*$ is the equilibrium point.



    How do I konw if, and under what condtion, this system is stable?










    share|cite|improve this question











    $endgroup$















      2












      2








      2





      $begingroup$


      I have a linearized time-delay system as follows:



      $$frac{mathrm d X}{mathrm d t} = a[X(t)-X^*] + b [X(t-R) - X^*], $$
      where $a$, $b$ are constants, $R$ is the constant delay, and $X^*$ is the equilibrium point.



      How do I konw if, and under what condtion, this system is stable?










      share|cite|improve this question











      $endgroup$




      I have a linearized time-delay system as follows:



      $$frac{mathrm d X}{mathrm d t} = a[X(t)-X^*] + b [X(t-R) - X^*], $$
      where $a$, $b$ are constants, $R$ is the constant delay, and $X^*$ is the equilibrium point.



      How do I konw if, and under what condtion, this system is stable?







      control-theory stability-theory






      share|cite|improve this question















      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited Jan 14 at 17:35







      Bloodmoon

















      asked Jan 14 at 13:31









      BloodmoonBloodmoon

      27918




      27918






















          2 Answers
          2






          active

          oldest

          votes


















          2












          $begingroup$

          When $R=0$ or $b=0$ you can simply just look at whether $a+b<0$, but when $Rneq0$ and $bneq0$ the stability analysis requires some more effort.



          You can formulate the stability analysis by assuming a solution of the following form



          $$
          X(t) = C,e^{lambda,t} + X^*.
          $$



          Plugging this into the left and right hand sides of the differential equations gives



          begin{align}
          frac{mathrm d X}{mathrm d t} &= C,lambda,e^{lambda,t}, \
          a[X(t)-X^*] + b [X(t-R) - X^*] &= a,C,e^{lambda,t} + b,C,e^{lambda,(t - R)}.
          end{align}



          Equating these to each other and factoring out common terms gives



          $$
          left(lambda - a - b,e^{-lambda,R}right),C,e^{lambda,t} = 0.
          $$



          The trivial solution $C,e^{lambda,t} = 0$ of the above equation would imply $X(t) = X^*$, so would be stable. The other possible solutions require solving



          $$
          lambda = a + b,e^{-lambda,R},
          $$



          so the whole system would be stable if all of the solutions for $lambda$ have a negative real part. By using the substitution $lambda = tfrac{mu}{R} + a$ the above equation can also be written as



          $$
          mu,e^mu = b,R,e^{- a,R} = x,
          $$



          which has infinitely many solutions and can be found by using different branches of the Lambert W-function.



          The stability condition that all of the solutions for $lambda$ must have a negative real part can also be expressed as that all solutions for $mu$ must have a real part larger than the real part of $-a,R$ when $R<0$ or smaller than the real part of $-a,R$ when $R>0$. If I remember correctly the principle branch of the Lambert W-function has the largest real part and there is no lower bound for the real part when considering all branches, but I couldn't find a source for this. So when $R>0$ the system is stable if the real part of the value of principal branch of the Lambert W-function evaluated at $x$ is smaller than the real part of $-a,R$ and when $R<0$ it will always be unstable because there will always be a branch which will violate the previously stated condition.



          For example when assuming that $R>0$ and using a couple of values for $a,R$ and $b,R$ gives the following image, where blue means stable and yellow means unstable:



          enter image description here



          In the above image the real part of the value of principal branch of the Lambert W-function evaluated at $x$ plus $a,R$ is plotted. This value thus implies stability when it is negative.



          The edge of stability can be found by setting the real part of $mu$ equal to $-a,R$, so it would be of the form $mu=-a,R+i,sigma$. Plugging this into the equation which was previously solved with the Lambert W-function gives



          $$
          (-a,R+i,sigma),e^{-a,R+i,sigma} = b,R,e^{- a,R}.
          $$



          Normally the real and imaginary part of the solution of the solution of the Lambert W-function is proportional to the branch number and the logarithm of the branch number respectively. So in order to give the solution of the principal branch $|sigma|$ should be small. When $sigma=0$ this gives $-a,R=b,R$, which matches with the edge in the image with $b,R>-1$. When $sigmaneq0$ it can be simplified to



          $$
          (-a,R+i,sigma),(cos(sigma)+isin(sigma)) = b,R.
          $$



          Solving this for $a,R$ and $b,R$ gives



          begin{align}
          a,R &= frac{sigma}{tan(sigma)}, \
          b,R &= frac{-sigma}{sin(sigma)},
          end{align}



          which matches with the edge in the image with $b,R<-1$ when $sigmain[-pi,pi]$.





          Another stability analysis tool that could be used is the Nyquist Criterion. Namely one could use the following transfer function as an open loop transfer function



          $$
          G(s) = frac{b,e^{-R,s}}{a - s}.
          $$



          The closed loop (and thus also your system) is stable if the Nyquist contour makes one counter clockwise encirclement around the minus one point when the real part of $a$ is positive, or when it makes no counter clockwise encirclements around the minus one point when the real part of $a$ is not positive.



          For a given $a$ and $R$ it is then relatively easy to read for what values of $b$ the system will be stable. Namely $b$ is just a gain, so the gain margin could be used. The Nyquist contour can be obtained by evaluating $G(s)$ at $s=j,omega$ with $omegain[-infty,infty]$, which gives



          $$
          G(j,omega) = frac{b}{a^2 + omega^2} left(cos(R,omega) - j sin(R,omega)right) left(a + j,omegaright).
          $$



          The points of interest of the stability analysis are the places where the the Nyquist contour crosses the real axis, so when the imaginary part of $G(j,omega)$ is zero. At these frequencies of real axis crossings the stability edge cases will be at some of the cases where the real part equals minus one. Solving for this gives



          begin{align}
          a,R &= frac{R,omega}{tan(R,omega)}, \
          b,R &= frac{-R,omega}{sin(R,omega)}.
          end{align}



          For $R,omegain[-pi,pi]$ this again gives the same stability edge with $b,R<-1$ in the image of the previous derivation. However, I did not find a way of using Nyquist to also show the same stability edge with $b,R>-1$.






          share|cite|improve this answer











          $endgroup$













          • $begingroup$
            We can use the Nyquist Criterion (or Bode Criterion, etc.) to check if the system is stable with known values for $a$ and $b$. But if $a$ and $b$ are unknown parameters, how can I find the values for $a$ and $b$ to make the system stable? ($R>0$) Put it another way, what is the condition for $a$ and $b$ to satisfy so that the system is stable?
            $endgroup$
            – Bloodmoon
            Jan 15 at 2:21












          • $begingroup$
            @Bloodmoon $b$ is just a gain, so you could just look at the gain margin. For $a$ I can't quickly think of a measure of a range for which it is stable.
            $endgroup$
            – Kwin van der Veen
            Jan 15 at 11:19



















          1












          $begingroup$

          After replacing $lambda$ with $lambda/R$, $a$ with $a/R$ and $b$ with $b/R$, it may be assumed that $R = 1$.



          Set $u(t) = X(t) - X^ast$, write down the equation for $u$, and try $u(t) = e^{lambda t}$. This results in the characteristic equation
          $$
          lambda = a + be^{-lambda}
          $$

          The system is stable if this transcendental equation has only solutions with negative real parts. A sufficient condition is $a + |b| < 0$.



          To find a relation between $a$ and $b$ that separates stable and unstable solutions, consider a purely imaginary $lambda = i omega$. The real and imaginary parts of the equation then become
          $$
          0 = a + b cos omega, quad omega = - b sin omega
          $$


          implying $tan omega = frac{omega}{a}$ and $ b = - frac{omega}{sin omega} = - a sec omega$.



          You can now find marginally stable solutions for any $a$ by solving the first equation for $omega$ and then finding $b$ from the second equation.






          share|cite|improve this answer











          $endgroup$













          • $begingroup$
            Thanks a lot professor~ I am really in outscope of control theory, may I ask what $lambda$ means here? and why you replace $a$ with $a/R$, and $b$ with $b/R$?
            $endgroup$
            – Bloodmoon
            Jan 14 at 15:34












          • $begingroup$
            $lambda$ is the variable in the characteristic equation. We replace $a$ with $a/R$ etc. to simplify the equation.
            $endgroup$
            – Hans Engler
            Jan 14 at 17:25










          • $begingroup$
            I am sorry that my description of a and b is not accurate. They are actually parameters, not constants. If I ask under what condition is this system steady with respect to a and b, according to your answer, the condition is a + |b|<0. Is this understanding correct?
            $endgroup$
            – Bloodmoon
            Jan 14 at 17:39










          • $begingroup$
            If $a + |b| < 0$, the constant solution is indeed always stable.
            $endgroup$
            – Hans Engler
            Jan 14 at 17:50












          • $begingroup$
            that's sad for me. a and b are positive in my system (expressions not given here), so the system cannot be stable.
            $endgroup$
            – Bloodmoon
            Jan 14 at 17:54











          Your Answer





          StackExchange.ifUsing("editor", function () {
          return StackExchange.using("mathjaxEditing", function () {
          StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
          StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
          });
          });
          }, "mathjax-editing");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "69"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          noCode: true, onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3073233%2fstablility-of-a-linearized-time-delay-system%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          2 Answers
          2






          active

          oldest

          votes








          2 Answers
          2






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          2












          $begingroup$

          When $R=0$ or $b=0$ you can simply just look at whether $a+b<0$, but when $Rneq0$ and $bneq0$ the stability analysis requires some more effort.



          You can formulate the stability analysis by assuming a solution of the following form



          $$
          X(t) = C,e^{lambda,t} + X^*.
          $$



          Plugging this into the left and right hand sides of the differential equations gives



          begin{align}
          frac{mathrm d X}{mathrm d t} &= C,lambda,e^{lambda,t}, \
          a[X(t)-X^*] + b [X(t-R) - X^*] &= a,C,e^{lambda,t} + b,C,e^{lambda,(t - R)}.
          end{align}



          Equating these to each other and factoring out common terms gives



          $$
          left(lambda - a - b,e^{-lambda,R}right),C,e^{lambda,t} = 0.
          $$



          The trivial solution $C,e^{lambda,t} = 0$ of the above equation would imply $X(t) = X^*$, so would be stable. The other possible solutions require solving



          $$
          lambda = a + b,e^{-lambda,R},
          $$



          so the whole system would be stable if all of the solutions for $lambda$ have a negative real part. By using the substitution $lambda = tfrac{mu}{R} + a$ the above equation can also be written as



          $$
          mu,e^mu = b,R,e^{- a,R} = x,
          $$



          which has infinitely many solutions and can be found by using different branches of the Lambert W-function.



          The stability condition that all of the solutions for $lambda$ must have a negative real part can also be expressed as that all solutions for $mu$ must have a real part larger than the real part of $-a,R$ when $R<0$ or smaller than the real part of $-a,R$ when $R>0$. If I remember correctly the principle branch of the Lambert W-function has the largest real part and there is no lower bound for the real part when considering all branches, but I couldn't find a source for this. So when $R>0$ the system is stable if the real part of the value of principal branch of the Lambert W-function evaluated at $x$ is smaller than the real part of $-a,R$ and when $R<0$ it will always be unstable because there will always be a branch which will violate the previously stated condition.



          For example when assuming that $R>0$ and using a couple of values for $a,R$ and $b,R$ gives the following image, where blue means stable and yellow means unstable:



          enter image description here



          In the above image the real part of the value of principal branch of the Lambert W-function evaluated at $x$ plus $a,R$ is plotted. This value thus implies stability when it is negative.



          The edge of stability can be found by setting the real part of $mu$ equal to $-a,R$, so it would be of the form $mu=-a,R+i,sigma$. Plugging this into the equation which was previously solved with the Lambert W-function gives



          $$
          (-a,R+i,sigma),e^{-a,R+i,sigma} = b,R,e^{- a,R}.
          $$



          Normally the real and imaginary part of the solution of the solution of the Lambert W-function is proportional to the branch number and the logarithm of the branch number respectively. So in order to give the solution of the principal branch $|sigma|$ should be small. When $sigma=0$ this gives $-a,R=b,R$, which matches with the edge in the image with $b,R>-1$. When $sigmaneq0$ it can be simplified to



          $$
          (-a,R+i,sigma),(cos(sigma)+isin(sigma)) = b,R.
          $$



          Solving this for $a,R$ and $b,R$ gives



          begin{align}
          a,R &= frac{sigma}{tan(sigma)}, \
          b,R &= frac{-sigma}{sin(sigma)},
          end{align}



          which matches with the edge in the image with $b,R<-1$ when $sigmain[-pi,pi]$.





          Another stability analysis tool that could be used is the Nyquist Criterion. Namely one could use the following transfer function as an open loop transfer function



          $$
          G(s) = frac{b,e^{-R,s}}{a - s}.
          $$



          The closed loop (and thus also your system) is stable if the Nyquist contour makes one counter clockwise encirclement around the minus one point when the real part of $a$ is positive, or when it makes no counter clockwise encirclements around the minus one point when the real part of $a$ is not positive.



          For a given $a$ and $R$ it is then relatively easy to read for what values of $b$ the system will be stable. Namely $b$ is just a gain, so the gain margin could be used. The Nyquist contour can be obtained by evaluating $G(s)$ at $s=j,omega$ with $omegain[-infty,infty]$, which gives



          $$
          G(j,omega) = frac{b}{a^2 + omega^2} left(cos(R,omega) - j sin(R,omega)right) left(a + j,omegaright).
          $$



          The points of interest of the stability analysis are the places where the the Nyquist contour crosses the real axis, so when the imaginary part of $G(j,omega)$ is zero. At these frequencies of real axis crossings the stability edge cases will be at some of the cases where the real part equals minus one. Solving for this gives



          begin{align}
          a,R &= frac{R,omega}{tan(R,omega)}, \
          b,R &= frac{-R,omega}{sin(R,omega)}.
          end{align}



          For $R,omegain[-pi,pi]$ this again gives the same stability edge with $b,R<-1$ in the image of the previous derivation. However, I did not find a way of using Nyquist to also show the same stability edge with $b,R>-1$.






          share|cite|improve this answer











          $endgroup$













          • $begingroup$
            We can use the Nyquist Criterion (or Bode Criterion, etc.) to check if the system is stable with known values for $a$ and $b$. But if $a$ and $b$ are unknown parameters, how can I find the values for $a$ and $b$ to make the system stable? ($R>0$) Put it another way, what is the condition for $a$ and $b$ to satisfy so that the system is stable?
            $endgroup$
            – Bloodmoon
            Jan 15 at 2:21












          • $begingroup$
            @Bloodmoon $b$ is just a gain, so you could just look at the gain margin. For $a$ I can't quickly think of a measure of a range for which it is stable.
            $endgroup$
            – Kwin van der Veen
            Jan 15 at 11:19
















          2












          $begingroup$

          When $R=0$ or $b=0$ you can simply just look at whether $a+b<0$, but when $Rneq0$ and $bneq0$ the stability analysis requires some more effort.



          You can formulate the stability analysis by assuming a solution of the following form



          $$
          X(t) = C,e^{lambda,t} + X^*.
          $$



          Plugging this into the left and right hand sides of the differential equations gives



          begin{align}
          frac{mathrm d X}{mathrm d t} &= C,lambda,e^{lambda,t}, \
          a[X(t)-X^*] + b [X(t-R) - X^*] &= a,C,e^{lambda,t} + b,C,e^{lambda,(t - R)}.
          end{align}



          Equating these to each other and factoring out common terms gives



          $$
          left(lambda - a - b,e^{-lambda,R}right),C,e^{lambda,t} = 0.
          $$



          The trivial solution $C,e^{lambda,t} = 0$ of the above equation would imply $X(t) = X^*$, so would be stable. The other possible solutions require solving



          $$
          lambda = a + b,e^{-lambda,R},
          $$



          so the whole system would be stable if all of the solutions for $lambda$ have a negative real part. By using the substitution $lambda = tfrac{mu}{R} + a$ the above equation can also be written as



          $$
          mu,e^mu = b,R,e^{- a,R} = x,
          $$



          which has infinitely many solutions and can be found by using different branches of the Lambert W-function.



          The stability condition that all of the solutions for $lambda$ must have a negative real part can also be expressed as that all solutions for $mu$ must have a real part larger than the real part of $-a,R$ when $R<0$ or smaller than the real part of $-a,R$ when $R>0$. If I remember correctly the principle branch of the Lambert W-function has the largest real part and there is no lower bound for the real part when considering all branches, but I couldn't find a source for this. So when $R>0$ the system is stable if the real part of the value of principal branch of the Lambert W-function evaluated at $x$ is smaller than the real part of $-a,R$ and when $R<0$ it will always be unstable because there will always be a branch which will violate the previously stated condition.



          For example when assuming that $R>0$ and using a couple of values for $a,R$ and $b,R$ gives the following image, where blue means stable and yellow means unstable:



          enter image description here



          In the above image the real part of the value of principal branch of the Lambert W-function evaluated at $x$ plus $a,R$ is plotted. This value thus implies stability when it is negative.



          The edge of stability can be found by setting the real part of $mu$ equal to $-a,R$, so it would be of the form $mu=-a,R+i,sigma$. Plugging this into the equation which was previously solved with the Lambert W-function gives



          $$
          (-a,R+i,sigma),e^{-a,R+i,sigma} = b,R,e^{- a,R}.
          $$



          Normally the real and imaginary part of the solution of the solution of the Lambert W-function is proportional to the branch number and the logarithm of the branch number respectively. So in order to give the solution of the principal branch $|sigma|$ should be small. When $sigma=0$ this gives $-a,R=b,R$, which matches with the edge in the image with $b,R>-1$. When $sigmaneq0$ it can be simplified to



          $$
          (-a,R+i,sigma),(cos(sigma)+isin(sigma)) = b,R.
          $$



          Solving this for $a,R$ and $b,R$ gives



          begin{align}
          a,R &= frac{sigma}{tan(sigma)}, \
          b,R &= frac{-sigma}{sin(sigma)},
          end{align}



          which matches with the edge in the image with $b,R<-1$ when $sigmain[-pi,pi]$.





          Another stability analysis tool that could be used is the Nyquist Criterion. Namely one could use the following transfer function as an open loop transfer function



          $$
          G(s) = frac{b,e^{-R,s}}{a - s}.
          $$



          The closed loop (and thus also your system) is stable if the Nyquist contour makes one counter clockwise encirclement around the minus one point when the real part of $a$ is positive, or when it makes no counter clockwise encirclements around the minus one point when the real part of $a$ is not positive.



          For a given $a$ and $R$ it is then relatively easy to read for what values of $b$ the system will be stable. Namely $b$ is just a gain, so the gain margin could be used. The Nyquist contour can be obtained by evaluating $G(s)$ at $s=j,omega$ with $omegain[-infty,infty]$, which gives



          $$
          G(j,omega) = frac{b}{a^2 + omega^2} left(cos(R,omega) - j sin(R,omega)right) left(a + j,omegaright).
          $$



          The points of interest of the stability analysis are the places where the the Nyquist contour crosses the real axis, so when the imaginary part of $G(j,omega)$ is zero. At these frequencies of real axis crossings the stability edge cases will be at some of the cases where the real part equals minus one. Solving for this gives



          begin{align}
          a,R &= frac{R,omega}{tan(R,omega)}, \
          b,R &= frac{-R,omega}{sin(R,omega)}.
          end{align}



          For $R,omegain[-pi,pi]$ this again gives the same stability edge with $b,R<-1$ in the image of the previous derivation. However, I did not find a way of using Nyquist to also show the same stability edge with $b,R>-1$.






          share|cite|improve this answer











          $endgroup$













          • $begingroup$
            We can use the Nyquist Criterion (or Bode Criterion, etc.) to check if the system is stable with known values for $a$ and $b$. But if $a$ and $b$ are unknown parameters, how can I find the values for $a$ and $b$ to make the system stable? ($R>0$) Put it another way, what is the condition for $a$ and $b$ to satisfy so that the system is stable?
            $endgroup$
            – Bloodmoon
            Jan 15 at 2:21












          • $begingroup$
            @Bloodmoon $b$ is just a gain, so you could just look at the gain margin. For $a$ I can't quickly think of a measure of a range for which it is stable.
            $endgroup$
            – Kwin van der Veen
            Jan 15 at 11:19














          2












          2








          2





          $begingroup$

          When $R=0$ or $b=0$ you can simply just look at whether $a+b<0$, but when $Rneq0$ and $bneq0$ the stability analysis requires some more effort.



          You can formulate the stability analysis by assuming a solution of the following form



          $$
          X(t) = C,e^{lambda,t} + X^*.
          $$



          Plugging this into the left and right hand sides of the differential equations gives



          begin{align}
          frac{mathrm d X}{mathrm d t} &= C,lambda,e^{lambda,t}, \
          a[X(t)-X^*] + b [X(t-R) - X^*] &= a,C,e^{lambda,t} + b,C,e^{lambda,(t - R)}.
          end{align}



          Equating these to each other and factoring out common terms gives



          $$
          left(lambda - a - b,e^{-lambda,R}right),C,e^{lambda,t} = 0.
          $$



          The trivial solution $C,e^{lambda,t} = 0$ of the above equation would imply $X(t) = X^*$, so would be stable. The other possible solutions require solving



          $$
          lambda = a + b,e^{-lambda,R},
          $$



          so the whole system would be stable if all of the solutions for $lambda$ have a negative real part. By using the substitution $lambda = tfrac{mu}{R} + a$ the above equation can also be written as



          $$
          mu,e^mu = b,R,e^{- a,R} = x,
          $$



          which has infinitely many solutions and can be found by using different branches of the Lambert W-function.



          The stability condition that all of the solutions for $lambda$ must have a negative real part can also be expressed as that all solutions for $mu$ must have a real part larger than the real part of $-a,R$ when $R<0$ or smaller than the real part of $-a,R$ when $R>0$. If I remember correctly the principle branch of the Lambert W-function has the largest real part and there is no lower bound for the real part when considering all branches, but I couldn't find a source for this. So when $R>0$ the system is stable if the real part of the value of principal branch of the Lambert W-function evaluated at $x$ is smaller than the real part of $-a,R$ and when $R<0$ it will always be unstable because there will always be a branch which will violate the previously stated condition.



          For example when assuming that $R>0$ and using a couple of values for $a,R$ and $b,R$ gives the following image, where blue means stable and yellow means unstable:



          enter image description here



          In the above image the real part of the value of principal branch of the Lambert W-function evaluated at $x$ plus $a,R$ is plotted. This value thus implies stability when it is negative.



          The edge of stability can be found by setting the real part of $mu$ equal to $-a,R$, so it would be of the form $mu=-a,R+i,sigma$. Plugging this into the equation which was previously solved with the Lambert W-function gives



          $$
          (-a,R+i,sigma),e^{-a,R+i,sigma} = b,R,e^{- a,R}.
          $$



          Normally the real and imaginary part of the solution of the solution of the Lambert W-function is proportional to the branch number and the logarithm of the branch number respectively. So in order to give the solution of the principal branch $|sigma|$ should be small. When $sigma=0$ this gives $-a,R=b,R$, which matches with the edge in the image with $b,R>-1$. When $sigmaneq0$ it can be simplified to



          $$
          (-a,R+i,sigma),(cos(sigma)+isin(sigma)) = b,R.
          $$



          Solving this for $a,R$ and $b,R$ gives



          begin{align}
          a,R &= frac{sigma}{tan(sigma)}, \
          b,R &= frac{-sigma}{sin(sigma)},
          end{align}



          which matches with the edge in the image with $b,R<-1$ when $sigmain[-pi,pi]$.





          Another stability analysis tool that could be used is the Nyquist Criterion. Namely one could use the following transfer function as an open loop transfer function



          $$
          G(s) = frac{b,e^{-R,s}}{a - s}.
          $$



          The closed loop (and thus also your system) is stable if the Nyquist contour makes one counter clockwise encirclement around the minus one point when the real part of $a$ is positive, or when it makes no counter clockwise encirclements around the minus one point when the real part of $a$ is not positive.



          For a given $a$ and $R$ it is then relatively easy to read for what values of $b$ the system will be stable. Namely $b$ is just a gain, so the gain margin could be used. The Nyquist contour can be obtained by evaluating $G(s)$ at $s=j,omega$ with $omegain[-infty,infty]$, which gives



          $$
          G(j,omega) = frac{b}{a^2 + omega^2} left(cos(R,omega) - j sin(R,omega)right) left(a + j,omegaright).
          $$



          The points of interest of the stability analysis are the places where the the Nyquist contour crosses the real axis, so when the imaginary part of $G(j,omega)$ is zero. At these frequencies of real axis crossings the stability edge cases will be at some of the cases where the real part equals minus one. Solving for this gives



          begin{align}
          a,R &= frac{R,omega}{tan(R,omega)}, \
          b,R &= frac{-R,omega}{sin(R,omega)}.
          end{align}



          For $R,omegain[-pi,pi]$ this again gives the same stability edge with $b,R<-1$ in the image of the previous derivation. However, I did not find a way of using Nyquist to also show the same stability edge with $b,R>-1$.






          share|cite|improve this answer











          $endgroup$



          When $R=0$ or $b=0$ you can simply just look at whether $a+b<0$, but when $Rneq0$ and $bneq0$ the stability analysis requires some more effort.



          You can formulate the stability analysis by assuming a solution of the following form



          $$
          X(t) = C,e^{lambda,t} + X^*.
          $$



          Plugging this into the left and right hand sides of the differential equations gives



          begin{align}
          frac{mathrm d X}{mathrm d t} &= C,lambda,e^{lambda,t}, \
          a[X(t)-X^*] + b [X(t-R) - X^*] &= a,C,e^{lambda,t} + b,C,e^{lambda,(t - R)}.
          end{align}



          Equating these to each other and factoring out common terms gives



          $$
          left(lambda - a - b,e^{-lambda,R}right),C,e^{lambda,t} = 0.
          $$



          The trivial solution $C,e^{lambda,t} = 0$ of the above equation would imply $X(t) = X^*$, so would be stable. The other possible solutions require solving



          $$
          lambda = a + b,e^{-lambda,R},
          $$



          so the whole system would be stable if all of the solutions for $lambda$ have a negative real part. By using the substitution $lambda = tfrac{mu}{R} + a$ the above equation can also be written as



          $$
          mu,e^mu = b,R,e^{- a,R} = x,
          $$



          which has infinitely many solutions and can be found by using different branches of the Lambert W-function.



          The stability condition that all of the solutions for $lambda$ must have a negative real part can also be expressed as that all solutions for $mu$ must have a real part larger than the real part of $-a,R$ when $R<0$ or smaller than the real part of $-a,R$ when $R>0$. If I remember correctly the principle branch of the Lambert W-function has the largest real part and there is no lower bound for the real part when considering all branches, but I couldn't find a source for this. So when $R>0$ the system is stable if the real part of the value of principal branch of the Lambert W-function evaluated at $x$ is smaller than the real part of $-a,R$ and when $R<0$ it will always be unstable because there will always be a branch which will violate the previously stated condition.



          For example when assuming that $R>0$ and using a couple of values for $a,R$ and $b,R$ gives the following image, where blue means stable and yellow means unstable:



          enter image description here



          In the above image the real part of the value of principal branch of the Lambert W-function evaluated at $x$ plus $a,R$ is plotted. This value thus implies stability when it is negative.



          The edge of stability can be found by setting the real part of $mu$ equal to $-a,R$, so it would be of the form $mu=-a,R+i,sigma$. Plugging this into the equation which was previously solved with the Lambert W-function gives



          $$
          (-a,R+i,sigma),e^{-a,R+i,sigma} = b,R,e^{- a,R}.
          $$



          Normally the real and imaginary part of the solution of the solution of the Lambert W-function is proportional to the branch number and the logarithm of the branch number respectively. So in order to give the solution of the principal branch $|sigma|$ should be small. When $sigma=0$ this gives $-a,R=b,R$, which matches with the edge in the image with $b,R>-1$. When $sigmaneq0$ it can be simplified to



          $$
          (-a,R+i,sigma),(cos(sigma)+isin(sigma)) = b,R.
          $$



          Solving this for $a,R$ and $b,R$ gives



          begin{align}
          a,R &= frac{sigma}{tan(sigma)}, \
          b,R &= frac{-sigma}{sin(sigma)},
          end{align}



          which matches with the edge in the image with $b,R<-1$ when $sigmain[-pi,pi]$.





          Another stability analysis tool that could be used is the Nyquist Criterion. Namely one could use the following transfer function as an open loop transfer function



          $$
          G(s) = frac{b,e^{-R,s}}{a - s}.
          $$



          The closed loop (and thus also your system) is stable if the Nyquist contour makes one counter clockwise encirclement around the minus one point when the real part of $a$ is positive, or when it makes no counter clockwise encirclements around the minus one point when the real part of $a$ is not positive.



          For a given $a$ and $R$ it is then relatively easy to read for what values of $b$ the system will be stable. Namely $b$ is just a gain, so the gain margin could be used. The Nyquist contour can be obtained by evaluating $G(s)$ at $s=j,omega$ with $omegain[-infty,infty]$, which gives



          $$
          G(j,omega) = frac{b}{a^2 + omega^2} left(cos(R,omega) - j sin(R,omega)right) left(a + j,omegaright).
          $$



          The points of interest of the stability analysis are the places where the the Nyquist contour crosses the real axis, so when the imaginary part of $G(j,omega)$ is zero. At these frequencies of real axis crossings the stability edge cases will be at some of the cases where the real part equals minus one. Solving for this gives



          begin{align}
          a,R &= frac{R,omega}{tan(R,omega)}, \
          b,R &= frac{-R,omega}{sin(R,omega)}.
          end{align}



          For $R,omegain[-pi,pi]$ this again gives the same stability edge with $b,R<-1$ in the image of the previous derivation. However, I did not find a way of using Nyquist to also show the same stability edge with $b,R>-1$.







          share|cite|improve this answer














          share|cite|improve this answer



          share|cite|improve this answer








          edited Jan 17 at 3:41

























          answered Jan 14 at 20:36









          Kwin van der VeenKwin van der Veen

          5,3952826




          5,3952826












          • $begingroup$
            We can use the Nyquist Criterion (or Bode Criterion, etc.) to check if the system is stable with known values for $a$ and $b$. But if $a$ and $b$ are unknown parameters, how can I find the values for $a$ and $b$ to make the system stable? ($R>0$) Put it another way, what is the condition for $a$ and $b$ to satisfy so that the system is stable?
            $endgroup$
            – Bloodmoon
            Jan 15 at 2:21












          • $begingroup$
            @Bloodmoon $b$ is just a gain, so you could just look at the gain margin. For $a$ I can't quickly think of a measure of a range for which it is stable.
            $endgroup$
            – Kwin van der Veen
            Jan 15 at 11:19


















          • $begingroup$
            We can use the Nyquist Criterion (or Bode Criterion, etc.) to check if the system is stable with known values for $a$ and $b$. But if $a$ and $b$ are unknown parameters, how can I find the values for $a$ and $b$ to make the system stable? ($R>0$) Put it another way, what is the condition for $a$ and $b$ to satisfy so that the system is stable?
            $endgroup$
            – Bloodmoon
            Jan 15 at 2:21












          • $begingroup$
            @Bloodmoon $b$ is just a gain, so you could just look at the gain margin. For $a$ I can't quickly think of a measure of a range for which it is stable.
            $endgroup$
            – Kwin van der Veen
            Jan 15 at 11:19
















          $begingroup$
          We can use the Nyquist Criterion (or Bode Criterion, etc.) to check if the system is stable with known values for $a$ and $b$. But if $a$ and $b$ are unknown parameters, how can I find the values for $a$ and $b$ to make the system stable? ($R>0$) Put it another way, what is the condition for $a$ and $b$ to satisfy so that the system is stable?
          $endgroup$
          – Bloodmoon
          Jan 15 at 2:21






          $begingroup$
          We can use the Nyquist Criterion (or Bode Criterion, etc.) to check if the system is stable with known values for $a$ and $b$. But if $a$ and $b$ are unknown parameters, how can I find the values for $a$ and $b$ to make the system stable? ($R>0$) Put it another way, what is the condition for $a$ and $b$ to satisfy so that the system is stable?
          $endgroup$
          – Bloodmoon
          Jan 15 at 2:21














          $begingroup$
          @Bloodmoon $b$ is just a gain, so you could just look at the gain margin. For $a$ I can't quickly think of a measure of a range for which it is stable.
          $endgroup$
          – Kwin van der Veen
          Jan 15 at 11:19




          $begingroup$
          @Bloodmoon $b$ is just a gain, so you could just look at the gain margin. For $a$ I can't quickly think of a measure of a range for which it is stable.
          $endgroup$
          – Kwin van der Veen
          Jan 15 at 11:19











          1












          $begingroup$

          After replacing $lambda$ with $lambda/R$, $a$ with $a/R$ and $b$ with $b/R$, it may be assumed that $R = 1$.



          Set $u(t) = X(t) - X^ast$, write down the equation for $u$, and try $u(t) = e^{lambda t}$. This results in the characteristic equation
          $$
          lambda = a + be^{-lambda}
          $$

          The system is stable if this transcendental equation has only solutions with negative real parts. A sufficient condition is $a + |b| < 0$.



          To find a relation between $a$ and $b$ that separates stable and unstable solutions, consider a purely imaginary $lambda = i omega$. The real and imaginary parts of the equation then become
          $$
          0 = a + b cos omega, quad omega = - b sin omega
          $$


          implying $tan omega = frac{omega}{a}$ and $ b = - frac{omega}{sin omega} = - a sec omega$.



          You can now find marginally stable solutions for any $a$ by solving the first equation for $omega$ and then finding $b$ from the second equation.






          share|cite|improve this answer











          $endgroup$













          • $begingroup$
            Thanks a lot professor~ I am really in outscope of control theory, may I ask what $lambda$ means here? and why you replace $a$ with $a/R$, and $b$ with $b/R$?
            $endgroup$
            – Bloodmoon
            Jan 14 at 15:34












          • $begingroup$
            $lambda$ is the variable in the characteristic equation. We replace $a$ with $a/R$ etc. to simplify the equation.
            $endgroup$
            – Hans Engler
            Jan 14 at 17:25










          • $begingroup$
            I am sorry that my description of a and b is not accurate. They are actually parameters, not constants. If I ask under what condition is this system steady with respect to a and b, according to your answer, the condition is a + |b|<0. Is this understanding correct?
            $endgroup$
            – Bloodmoon
            Jan 14 at 17:39










          • $begingroup$
            If $a + |b| < 0$, the constant solution is indeed always stable.
            $endgroup$
            – Hans Engler
            Jan 14 at 17:50












          • $begingroup$
            that's sad for me. a and b are positive in my system (expressions not given here), so the system cannot be stable.
            $endgroup$
            – Bloodmoon
            Jan 14 at 17:54
















          1












          $begingroup$

          After replacing $lambda$ with $lambda/R$, $a$ with $a/R$ and $b$ with $b/R$, it may be assumed that $R = 1$.



          Set $u(t) = X(t) - X^ast$, write down the equation for $u$, and try $u(t) = e^{lambda t}$. This results in the characteristic equation
          $$
          lambda = a + be^{-lambda}
          $$

          The system is stable if this transcendental equation has only solutions with negative real parts. A sufficient condition is $a + |b| < 0$.



          To find a relation between $a$ and $b$ that separates stable and unstable solutions, consider a purely imaginary $lambda = i omega$. The real and imaginary parts of the equation then become
          $$
          0 = a + b cos omega, quad omega = - b sin omega
          $$


          implying $tan omega = frac{omega}{a}$ and $ b = - frac{omega}{sin omega} = - a sec omega$.



          You can now find marginally stable solutions for any $a$ by solving the first equation for $omega$ and then finding $b$ from the second equation.






          share|cite|improve this answer











          $endgroup$













          • $begingroup$
            Thanks a lot professor~ I am really in outscope of control theory, may I ask what $lambda$ means here? and why you replace $a$ with $a/R$, and $b$ with $b/R$?
            $endgroup$
            – Bloodmoon
            Jan 14 at 15:34












          • $begingroup$
            $lambda$ is the variable in the characteristic equation. We replace $a$ with $a/R$ etc. to simplify the equation.
            $endgroup$
            – Hans Engler
            Jan 14 at 17:25










          • $begingroup$
            I am sorry that my description of a and b is not accurate. They are actually parameters, not constants. If I ask under what condition is this system steady with respect to a and b, according to your answer, the condition is a + |b|<0. Is this understanding correct?
            $endgroup$
            – Bloodmoon
            Jan 14 at 17:39










          • $begingroup$
            If $a + |b| < 0$, the constant solution is indeed always stable.
            $endgroup$
            – Hans Engler
            Jan 14 at 17:50












          • $begingroup$
            that's sad for me. a and b are positive in my system (expressions not given here), so the system cannot be stable.
            $endgroup$
            – Bloodmoon
            Jan 14 at 17:54














          1












          1








          1





          $begingroup$

          After replacing $lambda$ with $lambda/R$, $a$ with $a/R$ and $b$ with $b/R$, it may be assumed that $R = 1$.



          Set $u(t) = X(t) - X^ast$, write down the equation for $u$, and try $u(t) = e^{lambda t}$. This results in the characteristic equation
          $$
          lambda = a + be^{-lambda}
          $$

          The system is stable if this transcendental equation has only solutions with negative real parts. A sufficient condition is $a + |b| < 0$.



          To find a relation between $a$ and $b$ that separates stable and unstable solutions, consider a purely imaginary $lambda = i omega$. The real and imaginary parts of the equation then become
          $$
          0 = a + b cos omega, quad omega = - b sin omega
          $$


          implying $tan omega = frac{omega}{a}$ and $ b = - frac{omega}{sin omega} = - a sec omega$.



          You can now find marginally stable solutions for any $a$ by solving the first equation for $omega$ and then finding $b$ from the second equation.






          share|cite|improve this answer











          $endgroup$



          After replacing $lambda$ with $lambda/R$, $a$ with $a/R$ and $b$ with $b/R$, it may be assumed that $R = 1$.



          Set $u(t) = X(t) - X^ast$, write down the equation for $u$, and try $u(t) = e^{lambda t}$. This results in the characteristic equation
          $$
          lambda = a + be^{-lambda}
          $$

          The system is stable if this transcendental equation has only solutions with negative real parts. A sufficient condition is $a + |b| < 0$.



          To find a relation between $a$ and $b$ that separates stable and unstable solutions, consider a purely imaginary $lambda = i omega$. The real and imaginary parts of the equation then become
          $$
          0 = a + b cos omega, quad omega = - b sin omega
          $$


          implying $tan omega = frac{omega}{a}$ and $ b = - frac{omega}{sin omega} = - a sec omega$.



          You can now find marginally stable solutions for any $a$ by solving the first equation for $omega$ and then finding $b$ from the second equation.







          share|cite|improve this answer














          share|cite|improve this answer



          share|cite|improve this answer








          edited Jan 14 at 14:44

























          answered Jan 14 at 14:32









          Hans EnglerHans Engler

          10.4k11836




          10.4k11836












          • $begingroup$
            Thanks a lot professor~ I am really in outscope of control theory, may I ask what $lambda$ means here? and why you replace $a$ with $a/R$, and $b$ with $b/R$?
            $endgroup$
            – Bloodmoon
            Jan 14 at 15:34












          • $begingroup$
            $lambda$ is the variable in the characteristic equation. We replace $a$ with $a/R$ etc. to simplify the equation.
            $endgroup$
            – Hans Engler
            Jan 14 at 17:25










          • $begingroup$
            I am sorry that my description of a and b is not accurate. They are actually parameters, not constants. If I ask under what condition is this system steady with respect to a and b, according to your answer, the condition is a + |b|<0. Is this understanding correct?
            $endgroup$
            – Bloodmoon
            Jan 14 at 17:39










          • $begingroup$
            If $a + |b| < 0$, the constant solution is indeed always stable.
            $endgroup$
            – Hans Engler
            Jan 14 at 17:50












          • $begingroup$
            that's sad for me. a and b are positive in my system (expressions not given here), so the system cannot be stable.
            $endgroup$
            – Bloodmoon
            Jan 14 at 17:54


















          • $begingroup$
            Thanks a lot professor~ I am really in outscope of control theory, may I ask what $lambda$ means here? and why you replace $a$ with $a/R$, and $b$ with $b/R$?
            $endgroup$
            – Bloodmoon
            Jan 14 at 15:34












          • $begingroup$
            $lambda$ is the variable in the characteristic equation. We replace $a$ with $a/R$ etc. to simplify the equation.
            $endgroup$
            – Hans Engler
            Jan 14 at 17:25










          • $begingroup$
            I am sorry that my description of a and b is not accurate. They are actually parameters, not constants. If I ask under what condition is this system steady with respect to a and b, according to your answer, the condition is a + |b|<0. Is this understanding correct?
            $endgroup$
            – Bloodmoon
            Jan 14 at 17:39










          • $begingroup$
            If $a + |b| < 0$, the constant solution is indeed always stable.
            $endgroup$
            – Hans Engler
            Jan 14 at 17:50












          • $begingroup$
            that's sad for me. a and b are positive in my system (expressions not given here), so the system cannot be stable.
            $endgroup$
            – Bloodmoon
            Jan 14 at 17:54
















          $begingroup$
          Thanks a lot professor~ I am really in outscope of control theory, may I ask what $lambda$ means here? and why you replace $a$ with $a/R$, and $b$ with $b/R$?
          $endgroup$
          – Bloodmoon
          Jan 14 at 15:34






          $begingroup$
          Thanks a lot professor~ I am really in outscope of control theory, may I ask what $lambda$ means here? and why you replace $a$ with $a/R$, and $b$ with $b/R$?
          $endgroup$
          – Bloodmoon
          Jan 14 at 15:34














          $begingroup$
          $lambda$ is the variable in the characteristic equation. We replace $a$ with $a/R$ etc. to simplify the equation.
          $endgroup$
          – Hans Engler
          Jan 14 at 17:25




          $begingroup$
          $lambda$ is the variable in the characteristic equation. We replace $a$ with $a/R$ etc. to simplify the equation.
          $endgroup$
          – Hans Engler
          Jan 14 at 17:25












          $begingroup$
          I am sorry that my description of a and b is not accurate. They are actually parameters, not constants. If I ask under what condition is this system steady with respect to a and b, according to your answer, the condition is a + |b|<0. Is this understanding correct?
          $endgroup$
          – Bloodmoon
          Jan 14 at 17:39




          $begingroup$
          I am sorry that my description of a and b is not accurate. They are actually parameters, not constants. If I ask under what condition is this system steady with respect to a and b, according to your answer, the condition is a + |b|<0. Is this understanding correct?
          $endgroup$
          – Bloodmoon
          Jan 14 at 17:39












          $begingroup$
          If $a + |b| < 0$, the constant solution is indeed always stable.
          $endgroup$
          – Hans Engler
          Jan 14 at 17:50






          $begingroup$
          If $a + |b| < 0$, the constant solution is indeed always stable.
          $endgroup$
          – Hans Engler
          Jan 14 at 17:50














          $begingroup$
          that's sad for me. a and b are positive in my system (expressions not given here), so the system cannot be stable.
          $endgroup$
          – Bloodmoon
          Jan 14 at 17:54




          $begingroup$
          that's sad for me. a and b are positive in my system (expressions not given here), so the system cannot be stable.
          $endgroup$
          – Bloodmoon
          Jan 14 at 17:54


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Mathematics Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          Use MathJax to format equations. MathJax reference.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3073233%2fstablility-of-a-linearized-time-delay-system%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Mario Kart Wii

          Understanding the size os this class of aleatory events

          Partial Derivative Guidance.