From b30abb920ed986c0f43624da92fc4e5f8ef2b6bc Mon Sep 17 00:00:00 2001 From: Thomas Pietrzak Date: Tue, 29 Mar 2022 21:07:52 +0200 Subject: [PATCH] Figure amplifiers --- figures/actuatorcircuit.tex | 5 +++-- figures/amplifiers.tex | 32 ++++++++++++++++++++++++++++++++ tex/4-loop.tex | 11 +++++++++-- 3 files changed, 44 insertions(+), 4 deletions(-) create mode 100644 figures/amplifiers.tex diff --git a/figures/actuatorcircuit.tex b/figures/actuatorcircuit.tex index 50ecc6a..2d1fa1e 100644 --- a/figures/actuatorcircuit.tex +++ b/figures/actuatorcircuit.tex @@ -25,7 +25,7 @@ \tikzexternalenable \begin{circuitikz}[] - \ctikzset{diodes/scale=0.6} + \ctikzset{diodes/scale=0.6, mylength/.style={bipoles/length=#1}}%, elmech/scale=0.6} \draw (0,0) node[and port] (andgate) {} (andgate.in 1) to[short, -o] ++(-0.5,0) node[anchor=east, cellblue] {Frequency} (andgate.in 2) to[short, -o] ++(-0.5,0) node[anchor=east, cellred] {Amplitude} @@ -35,7 +35,8 @@ \draw (nmos.S) node[tlground](GND){}; - \draw (nmos.D) to[short] ++(-0.5,0) to[short] ++(0,0.25) to[L, l=\textbf{Actuator}] ++(0,1) to[short] ++(0,0.25) to[short, -*] ++(0.5,0) node[vcc](vcc){3V3}; + %\draw (nmos.D) to[short] ++(-0.5,0) to[short] ++(0,0.25) to[L, l=\textbf{Actuator}] ++(0,1) to[short] ++(0,0.25) to[short, -*] ++(0.5,0) node[vcc](vcc){3V3}; + \draw (nmos.D) to[short] ++(-0.5,0) to[short] ++(0,0.25) to[Telmech=A,n=actuator, mylength=10mm] ++(0,1) to[short] ++(0,0.25) to[short, -*] ++(0.5,0) node[vcc](vcc){3V3}; \draw (nmos.D) -- ++(0.5,0) to[short] ++(0,0.25) to[D] ++(0,1) to[short] ++(0,0.25) to[short] ++(-0.5,0); \end{circuitikz}% diff --git a/figures/amplifiers.tex b/figures/amplifiers.tex new file mode 100644 index 0000000..f1f7922 --- /dev/null +++ b/figures/amplifiers.tex @@ -0,0 +1,32 @@ +%!TEX root = ../hdrmain.tex + +\begin{figure}[htb] + \centering + + \definecolor{cellred}{rgb} {0.98,0.17,0.15} + \definecolor{cellblue}{rgb} {0.17,0.60,0.99} + + \tikzexternalenable + %\begin{circuitikz}[scale=0.8, transform shape] + \begin{circuitikz}[] + \ctikzset{amplifiers/fill=cellblue, resistors/scale=0.5, component text=left} + \draw (0,0) node[above]{$v_i$} to[short, o-] ++(0.5,0) + node[op amp, noinv input up, anchor=+, scale=0.7](OA){} + (OA.-) -- ++(0,-0.8) coordinate(outnode) + to[R=$R_1$] ++(0,-1.0) node[tlground]{} + (outnode) to[R=$R_2$, *-] (outnode -| OA.out) -- (OA.out) + to [short, *-o] ++(1,0) node[above]{$v_o$} + ; + + \draw (7,0) node[above]{$v_i$} to[short,o-] ++(0.5,0) + to[R=$R_1$] ++(1.5,0) coordinate(outnode2) + to[R=$R_2$] ++(2.0,0) -- ++(0,-1.0) + node[op amp, anchor=out, scale=0.7](OB){} to [short, *-o] ++(1,0) node[above]{$v_o$} + (OB.+) -- ++(0,-0.5) node[ground]{} + (OB.-) -- (OB.- -| outnode2) to[short, -*] (outnode2) + ; + \end{circuitikz}% + \tikzexternaldisable + \caption[Non-inverting amplifier and inverting amplifier.]{Non-inverting amplifier and inverting amplifier. They both use their inputs and their own output to compute their output.} + \label{fig:actuatorcircuit} +\end{figure} diff --git a/tex/4-loop.tex b/tex/4-loop.tex index 25c4d88..150f10d 100644 --- a/tex/4-loop.tex +++ b/tex/4-loop.tex @@ -491,6 +491,12 @@ However, functions such as in this example make sense. We observe here that each iteration of the co-fixpoint can be inductive, as it is the case in the example. It shows that interaction is a general process that connects entities in the environment to enable them exchanging information. Algorithms only process information to transform input into outputs without knowledge of the overall scheme. + +\input{figures/amplifiers.tex} + + + + \todo{Maybe move stuff below to the discussion…} Wegner describe several kinds of what he calls \defwords{interaction machines}{interaction machine}. He gives the a machine that simply echoes an input stream to an output stream~\cite{wegner97} to demonstrate the power of the interaction phenomenon. @@ -499,9 +505,10 @@ It can win half of chess games between these two people. When I discussed this with \fixme{Gérard Berry}, he said this was cheating. \todo{Should I remove the name?} But it is no different from AlphaZero which processes human knowledge to beat chess world champions~\cite{silver18}. -Further, Algorithms are immutable human behavior and knowledge. -%In fact in this latter case we often cite it as a superiority of machines. When the machine wins the game the reward is for the machine designer not for the machine. +%In fact in this latter case we often cite it as a superiority of machines. +Further, machines are crystallized human knowledge and behavior at a given time. +They process data and perform operations with this knowledge and behavior state until humans update them to a newer knowledge and behavior state. % \begin{algorithm}[htb] -- 2.30.2