3

I am trying to replicate this block diagram.

enter image description here

This is the best I can do for now.

\documentclass[border=4pt]{standalone}
\usepackage{schemabloc}

\begin{document}
\begin{tikzpicture}
    \sbStyleBloc{thick}
    \sbEntree{E}
    \sbComp{comp}{E}
    \sbRelier{E}{comp}
    \sbNomLien[0.8]{E}{$R(s)$}
    \sbBloc[2]{reg}{$G_1(s)$}{comp}
    \sbRelier{comp}{reg}
    \sbCompSum[5]{comp2}{reg}{+}{}{+}{}
    \sbRelier{reg}{comp2}
    \sbBloc[2]{reg2}{$G_2(s)$}{comp2}
    \sbRelier{comp2}{reg2}
    \sbSortie[4]{S}{reg2}
    \sbRelier{reg2}{S}
    \sbNomLien[0.8]{S}{$C(s)$}
    \sbDecaleNoeudy[4]{S}{U}
    \sbBlocr[8.7]{cap}{$H(s)$}{U}
    \sbRelieryx{reg2-S}{cap}
    \sbRelierxy{cap}{comp}
\end{tikzpicture}
\end{document}

enter image description here

Can anyone help me add the D(s) input?

2

This seems to produce the correct diagram.

\documentclass[border=4pt]{standalone}
\usepackage{schemabloc}

\begin{document}
\begin{tikzpicture}
    \sbStyleBloc{thick}
    \sbEntree{E}
    \sbComp{comp}{E}
    \sbRelier{E}{comp}
    \sbNomLien[0.8]{E}{$R(s)$}
    \sbBloc[2]{reg}{$G_1(s)$}{comp}
    \sbRelier{comp}{reg}
    \sbCompSum[5]{comp2}{reg}{+}{}{+}{}
    \sbRelier{reg}{comp2}
    \sbBloc[2]{reg2}{$G_2(s)$}{comp2}
    \sbRelier{comp2}{reg2}
    \sbSortie[4]{S}{reg2}
    \sbRelier{reg2}{S}
    \sbNomLien[0.8]{S}{$C(s)$}
    \sbDecaleNoeudy[4]{S}{U}
    \sbBlocr[8.7]{cap}{$H(s)$}{U}
    \sbRelieryx{reg2-S}{cap}
    \sbRelierxy{cap}{comp}
    %
    \sbDecaleNoeudy[-3]{comp2}{D}
    \sbRelier{D}{comp2}
    \sbNomLien{D}{$D(s)$}
\end{tikzpicture}
\end{document}

The vertical position of the "D(s)" can be adjusted with the optional argument in the line

\sbDecaleNoeudy[-3]{comp2}{D}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.