I know basic LaTeX I tried to draw a block diagram similar to the one shown in diagram but I am unable to do it . Please suggest any easy way to draw such block diagram. Thank you This is my code . I can not draw feedback from sum to state estimator.
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{shapes,arrows,positioning,calc}
\begin{document}
\tikzset{
block/.style = {draw, fill=white, rectangle, minimum height=3em, minimum width=3em},
tmp/.style = {coordinate},
sum/.style= {draw, fill=white, circle, node distance=1cm},
input/.style = {coordinate},
output/.style= {coordinate},
pinstyle/.style = {pin edge={to-,thin,black}
}
}
\begin{tikzpicture}[auto, node distance=2cm,>=latex']
\node [input, name=rinput] (rinput) {};
\node [sum, right of=rinput] (sum1) {};
\node [block, right of=sum1] (controller) {$k$};
\node [block, above of=controller,node distance=2cm] (up){$A,B$};
\node [block, right of=controller] (esti)
{$estimator$};
\node [block, above of=esti,node distance=2cm] (extra){$C$};
\node [output, right of=extra, node distance=2cm] (output) {};
\draw [->] (rinput) -- node{$R(s)$} (sum1);
\draw [->] (sum1)|- node[name=z,anchor=north]{$u(k)$}(up);
\draw [->] (up) -- node{$x(k)$} (extra);
\draw [->] (extra) -- node [name=y] {$Y(s)$}(output);
\draw [->] (y) |- (esti);
\draw [->] (esti)--node{$n(k)$}(controller);
\draw [->] (controller)--(sum1);
\end{tikzpicture}
\end{document}
my new code
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{shapes,arrows,positioning,calc}
\begin{document}
\tikzset{
block/.style = {draw, fill=white, rectangle, minimum height=3em, minimum width=3em},
tmp/.style = {coordinate},
sum/.style= {draw, fill=white, circle, node distance=1cm},
input/.style = {coordinate},
output/.style= {coordinate},
pinstyle/.style = {pin edge={to-,thin,black}
},
point/.style = {draw, fill=black, circle, minimum size=0.8mm, node distance=1.5cm, inner sep=0pt},
}
\begin{tikzpicture}[auto, node distance=2cm,>=latex']
\node [input, name=rinput] (rinput) {};
\node [sum, right of=rinput] (sum1) {};
\node [block, right of=sum1] (controller) {$k$};
\node [block, above of=controller,node distance=2cm] (up){$A,B$};
\node [block, right of=controller] (esti)
{$estimator$};
\node [block, above of=esti,node distance=2cm] (extra){$C$};
\node [output, right of=extra, node distance=2cm] (output) {};
\node [point, above =1cm of sum1] (point0){};
\draw [->] (rinput) -- node{$R(s)$} (sum1);
\draw [->] (sum1)|- node[name=z,anchor=north]{$u(k)$}(up);
\draw [->] (up) -- node{$x(k)$} (extra);
\draw [->] (extra) -- node [name=y] {$Y(s)$}(output);
\draw [->] (y) |- (esti);
\draw [->] (esti)--node{$n(k)$}(controller);
\draw [->] (controller)--(sum1);
% \draw [->] (point0) -| node{} ([xshift=2cm]esti);
% \draw [->] (point0) -- (output |- point0) |- ([yshift=0.5cm] esti);
\draw [->] (point0) -- (output |- point0) |- ([yshift=0.5cm] esti);
\end{tikzpicture}
\end{document}
\end{document}





{}). – Teepeemm Jan 02 '24 at 22:52