ControlSystems
CSI
Q6blockdiagram6fin

Description

The code above produces a block diagram in LaTeX using the blox and tikz packages. The block diagram consists of three blocks: an input block labeled "A", a transfer function block labeled "C" with the transfer function G_2G_31+G_1G_2G_3G_cH_2+G_1G_2H_1\frac{G\_2G\_3}{1+G\_1G\_2G\_3G\_cH\_2+G\_1G\_2H\_1}, and an output block labeled "E". There are also two arrows with labels connecting the input block to the transfer function block and the transfer function block to the output block. The first arrow is labeled with "R(s)R(s)", and the second arrow is labeled with "C(s)C(s)".

Keywords

amsmath, amssymb, blox, tikz, tikzpicture, bXInput, bXBloc, bXOutput, bXLink.

Source Code

ControlSystems/CSI

\documentclass{standalone}
\usepackage{amsmath}  % For math
\usepackage{amssymb}  % For more math
 
\usepackage{blox}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\bXInput{A}
\bXBloc[4]{C}{$\cfrac{G_2G_3}{1+G_1G_2G_3G_cH_2+G_1G_2H_1}$}{A}
\bXOutput[4]{E}{C}
\bXLink[$R(s) \quad $]{A}{C}
\bXLink[$\quad C(s)$]{C}{E}
\end{tikzpicture}
 
\end{document}
Deploy to Overleaf