ControlSystems
CSI
Q5blockdiagram6

Description

The code above is a LaTeX code for creating a block diagram using the blox and tikz packages. The block diagram represents a control system with a single input, R(s)R(s), and a single output, C(s)C(s). The system is represented by a single block labeled C, with transfer function G_3(G_2+H_1)1+G_2H_2+H_3G_3(G_2+H_1)\frac{G\_3(G\_2+H\_1)}{1+G\_2H\_2+H\_3G\_3(G\_2+H\_1)}, and with input connected to the input A and output connected to the output E. There are also labels for the input and output signals, with $R(s) \quad $ representing the input signal and $\quad C(s)$ representing the output signal. The packages amsmath and amssymb are included for typesetting math equations. The standalone document class is used to create a standalone image of the block diagram.

Keywords

tikzpicture, bXInput, bXBloc, bXOutput, bXLink, s, G_3, G_2, H_1, H_2, H_3, R(s), C(s)

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_3(G_2+H_1)}{1+G_2H_2+H_3G_3(G_2+H_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