-
\tikzset{block/.default={0.8cm}{0.6cm}}
-\tikzset{addb/.append style={scale=0.7}}
-\tikzset{node distance=0.6}
-\def\cdist{0.7}
+\begin{tikzpicture}
+ \node[branch] (x) at (0, 0);
+ \node[addb, above right=1.2 and 3.7 of x](add1){};
+ \node[addb, below right=1.2 and 3.7 of x](add2){};
+ \node[block, above left=0.2 and 0.1 of add1](delta1){$\Delta_1(s)$};
+ \node[block, above left=0.2 and 0.1 of add2](delta2){$\Delta_2(s)$};
+ \node[block, left=0.5 of delta1](W1){$w_1(s)$};
+ \node[block, left=0.5 of delta2](W2){$w_2(s)$};
+ \node[addb, right=0.5 of add1](addn1){};
+ \node[addb, right=0.5 of add2](addn2){};
+ \node[block, above=0.5 of addn1](N1) {$N_1(s)$};
+ \node[block, above=0.5 of addn2](N2) {$N_2(s)$};
+ \node[block, right=1.2 of addn1](H1){$H_1(s)$};
+ \node[block, right=1.2 of addn2](H2){$H_2(s)$};
+ \node[addb, right=7.5 of x](add){};
-\definecolor{T}{rgb}{0.230, 0.299, 0.754}
-\definecolor{S}{rgb}{0.706, 0.016, 0.150}
-\begin{tikzpicture}
- \node[branch] (x) at (0, 0);
- \node[addb, above right=1.2 and 3.7 of x](add1){};
- \node[addb, below right=1.2 and 3.7 of x](add2){};
- \node[block, above left=0.2 and 0.1 of add1](delta1){$\Delta_1(s)$};
- \node[block, above left=0.2 and 0.1 of add2](delta2){$\Delta_2(s)$};
- \node[block, left=0.5 of delta1](W1){$w_1(s)$};
- \node[block, left=0.5 of delta2](W2){$w_2(s)$};
- \node[addb, right=0.5 of add1](addn1){};
- \node[addb, right=0.5 of add2](addn2){};
- \node[block, above=0.5 of addn1](N1) {$N_1(s)$};
- \node[block, above=0.5 of addn2](N2) {$N_2(s)$};
- \node[block, right=1.2 of addn1](H1){$H_1(s)$};
- \node[block, right=1.2 of addn2](H2){$H_2(s)$};
- \node[addb, right=7.5 of x](add){};
+ \draw[] ($(x)+(-0.7, 0)$) node[above right]{$x$} -- (x.center);
+ \draw[->] (x.center) |- (add1.west);
+ \draw[->] (x.center) |- (add2.west);
+ \draw[->] ($(add1-|W1.west)+(-0.5, 0)$)node[branch](S1){} |- (W1.west);
+ \draw[->] ($(add2-|W2.west)+(-0.5, 0)$)node[branch](S2){} |- (W2.west);
+ \draw[->] (W1.east) -- (delta1.west);
+ \draw[->] (W2.east) -- (delta2.west);
+ \draw[->] (delta1.east) -| (add1.north);
+ \draw[->] (delta2.east) -| (add2.north);
+ \draw[->] (add1.east) -- (addn1.west);
+ \draw[->] (add2.east) -- (addn2.west);
+ \draw[->] (addn1.east) -- (H1.west)node[above left]{$\hat{x}_1$};
+ \draw[->] (addn2.east) -- (H2.west)node[above left]{$\hat{x}_2$};
+ \draw[->] ($(N1.north)+(0,0.7)$) node[below right](n1){$\tilde{n}_1$} -- (N1.north);
+ \draw[->] ($(N2.north)+(0,0.7)$) node[below right](n2){$\tilde{n}_2$} -- (N2.north);
+ \draw[->] (N1.south) -- (addn1.north)node[above right]{$n_1$};
+ \draw[->] (N2.south) -- (addn2.north)node[above right]{$n_2$};
+ \draw[->] (H1.east) -| (add.north);
+ \draw[->] (H2.east) -| (add.south);
+ \draw[->] (add.east) -- ++(0.7, 0) node[above left]{$\hat{x}$};
- \draw[] ($(x)+(-0.7, 0)$) node[above right]{$x$} -- (x.center);
- \draw[->] (x.center) |- (add1.west);
- \draw[->] (x.center) |- (add2.west);
- \draw[->] ($(add1-|W1.west)+(-0.5, 0)$)node[branch](S1){} |- (W1.west);
- \draw[->] ($(add2-|W2.west)+(-0.5, 0)$)node[branch](S2){} |- (W2.west);
- \draw[->] (W1.east) -- (delta1.west);
- \draw[->] (W2.east) -- (delta2.west);
- \draw[->] (delta1.east) -| (add1.north);
- \draw[->] (delta2.east) -| (add2.north);
- \draw[->] (add1.east) -- (addn1.west);
- \draw[->] (add2.east) -- (addn2.west);
- \draw[->] (addn1.east) -- (H1.west)node[above left]{$\hat{x}_1$};
- \draw[->] (addn2.east) -- (H2.west)node[above left]{$\hat{x}_2$};
- \draw[->] ($(N1.north)+(0,0.7)$) node[below right](n1){$\tilde{n}_1$} -- (N1.north);
- \draw[->] ($(N2.north)+(0,0.7)$) node[below right](n2){$\tilde{n}_2$} -- (N2.north);
- \draw[->] (N1.south) -- (addn1.north)node[above right]{$n_1$};
- \draw[->] (N2.south) -- (addn2.north)node[above right]{$n_2$};
- \draw[->] (H1.east) -| (add.north);
- \draw[->] (H2.east) -| (add.south);
- \draw[->] (add.east) -- ++(0.7, 0) node[above left]{$\hat{x}$};
-
- \begin{scope}[on background layer]
- \node[fit={($(add2.south-|x)+(-0.2, -0.4)$) ($(n1.north-|add.east)+(0.2, 0.3)$)}, fill=black!10!white, draw, dashed, inner sep=0pt] (supersensor) {};
- \node[below left] at (supersensor.north east) {Super Sensor};
- \node[block, fit={($(S1|-add1.south)+(-0.2, -0.2)$) ($(n1.north-|N1.east)+(0.2, 0.1)$)}, fill=black!20!white, dashed, inner sep=0pt] (sensor1) {};
- \node[below right] at (sensor1.north west) {Sensor 1};
- \node[block, fit={($(S2|-add2.south)+(-0.2, -0.2)$) ($(n2.north-|N2.east)+(0.2, 0.1)$)}, fill=black!20!white, dashed, inner sep=0pt] (sensor2) {};
- \node[below right] at (sensor2.north west) {Sensor 2};
- \end{scope}
-\end{tikzpicture}
+ \begin{scope}[on background layer]
+ \node[fit={($(add2.south-|x)+(-0.2, -0.4)$) ($(n1.north-|add.east)+(0.2, 0.3)$)}, fill=black!10!white, draw, dashed, inner sep=0pt] (supersensor) {};
+ \node[below left] at (supersensor.north east) {Super Sensor};
+ \node[block, fit={($(S1|-add1.south)+(-0.2, -0.2)$) ($(n1.north-|N1.east)+(0.2, 0.1)$)}, fill=black!20!white, dashed, inner sep=0pt] (sensor1) {};
+ \node[below right] at (sensor1.north west) {Sensor 1};
+ \node[block, fit={($(S2|-add2.south)+(-0.2, -0.2)$) ($(n2.north-|N2.east)+(0.2, 0.1)$)}, fill=black!20!white, dashed, inner sep=0pt] (sensor2) {};
+ \node[below right] at (sensor2.north west) {Sensor 2};
+ \end{scope}
+\end{tikzpicture}