答案1
schemabloc 包(https://ctan.org/pkg/schemabloc) 允许您创建框图。所提出的方案并非“容易”实现,但并非不可能。这里
\documentclass[11pt, A4]{article}
\usepackage{etex}
\usepackage[latin1]{inputenc} % Titres en fran�ais
\usepackage[T1]{fontenc} % Correspondance clavier -> document
\usepackage[frenchb]{babel}
\usepackage{tikz}
\usetikzlibrary{fit}
\usepackage{tikz}
\usepackage{schemabloc}
\usepackage{amsmath}
\begin{document}
\begin{tikzpicture}
\sbEntree{I}
\node[left]at(I){$I$} ;
\node[below right]at(I){$Input$};
\sbBloc[5]{K}{$K$}{I} \sbRelier{I}{K}
\sbDecaleNoeudy[4]{I}{N}
\sbDecaleNoeudy[-4]{I}{Mult}
\sbDecaleNoeudy[-8]{I}{Km}
\sbBloc[5]{Mult}{$ \times $}{Mult} \sbRelieryx{I-K-2}{Mult}
\sbBloc[5]{N}{$N()$}{N} \sbRelieryx{I-K-2}{N}
\sbBloc[5]{Km}{$K_M$}{Km}
\sbRelier{Km}{Mult}
\sbCompSum*[7]{sum1}{K}{+}{+}{+}{ }
\sbRelier[$KI$]{K}{sum1}
\sbRelierxy[$K_MI_MI$]{Mult}{sum1}
\sbRelierxy[$N(I)$]{N}{sum1}
\sbCompSum*[6]{sum2}{sum1}{+}{+}{+}{ }
\sbDecaleNoeudy[-6]{sum1}{Ki}
\sbBloc[4.5]{Ki}{$K_I$}{Ki}
\sbRelier{Ki}{sum2}
\sbRelier{sum1}{sum2}
\sbSortie[6]{O}{sum2} \sbRelier{sum2}{O}
\node[right]at(O){$O$};
\node[below left]at (O){$Output$} ;
\draw[latex-] (sum2) -- node[left]{$a$} ++(0,-2);
\draw[latex-] (Ki) -- ++(0,2.5)node[left]{$I_1$} ;
\draw[latex-] (Km) -- ++(0,1.5) node[right]{$I_M$};
\node[fit=(Km) (Ki) (N) (sum2),draw,dashed,inner sep=0.5cm]{};
\end{tikzpicture}
\end{document}