How can I find closed loop dynamics of this system?

36 Views Asked by At

There is controller, where $a>0$. Now, if $v>0$, then $u = \ddot\theta(t)$ and if $v<0$, then $-u=\ddot\theta(t)$. However, how can I detect whether $v$ is positive or negative?

enter image description here