I have the following block diagram
Can someone help me with red marked things on my figure?
Here is my current code:
\usepackage{tikz} \usepackage{float} \usetikzlibrary{shapes,arrows} \usetikzlibrary{arrows,calc,positioning} \usetikzlibrary{fit,positioning,arrows} \tikzset{ block/.style = {draw, rectangle, minimum height=1cm, minimum width=2cm}, input/.style = {coordinate,node distance=1cm}, output/.style = {coordinate,node distance=6cm}, arrow/.style={draw, -latex,node distance=2cm}, pinstyle/.style = {pin edge={latex-, black,node distance=2cm}}, sum/.style = {draw, circle, node distance=1cm}, } \begin{figure}[h] \centering \begin{center} \begin{tikzpicture}[auto, node distance=1cm,>=latex', scale=0.77, transform shape] \node [input, name=input] {}; \node [sum, right=of input, line width=0.25mm,] (sum) {}; \node [draw=black, line width=0.25mm, minimum width=2.5cm, minimum height=1.4cm, right=1.1cm of sum] (controller){}; \node [draw=black,line width=0.25mm, minimum width=2.5cm, minimum height=1.4cm, right=1.1cm of controller] (plant2){}; \node [draw=black,line width=0.25mm, minimum width=2.5cm, minimum height=1.4cm, right=1.1cm of plant2] (plant){}; \node [draw=black,line width=0.25mm, minimum width=2.5cm, minimum height=1.4cm, above=1.1cm of plant] (GP){}; \node [draw=black, line width=0.25mm, minimum width=2.5cm, minimum height=1.4cm, right=1.1cm of plant] (plant1){}; \node [minimum width=2.5cm, line width=0.25mm, minimum height=1.4cm, output, right=of plant] (output) {}; \node at ($(controller)!0.9!(plant)+(0,-2.7)$) [block, line width=0.25mm] (feedback) {}; \draw [draw,->, line width=0.25mm] (input) -- node {$\boldsymbol{r}$} (sum); \draw [->,line width=0.25mm] (sum) -- (controller); \draw [->,line width=0.25mm] (GP) -- (plant); \draw [->,line width=0.25mm] (controller) -- node {$\boldsymbol{v}$} (plant2); \draw [->,line width=0.25mm] (plant2) -- node {$\boldsymbol{v}$} (plant); \draw [->,line width=0.25mm] (GP) -| ($ (GP.west)!0.6!(plant2.north) $) -| node[pos=0, swap] {} (plant2); %\draw [->] (feedback) -- node {} (plant); \draw [->,line width=0.25mm] (feedback) |- ($ (feedback.north)!.5!(plant.south) $) -| node[pos=0, swap] {} (plant2); %\draw [->] (feedback) -- node {} (plant); \draw [->,line width=0.25mm] (plant) -- node {$\boldsymbol{u}$} (plant1); \draw [->,line width=0.25mm] (plant1) -- node [name=y] {$\boldsymbol{x}$}(output); \draw [->,line width=0.25mm] (y) |- (feedback) ; \draw [->,line width=0.25mm] (y) |- (GP) ; \draw [->,line width=0.25mm] (feedback) -| node[pos=0.99] {$-$} (sum); \end{tikzpicture} \end{center} \end{figure} 