这是我目前所拥有的,但我想在电路中放置一个探头(第二张图片中的绿色物体)。
有什么想法吗?
我似乎在 circuitikz 文档中找不到任何内容,也许我错过了什么。
\documentclass[border=1pt]{standalone}
\usepackage[siunitx,american]{circuitikz}
\begin{document}
\begin{circuitikz}
\draw
(0, 0) node[op amp] (opamp) {}
(opamp.-) to [R,l_= ? ? <\ohm>](-4,0.5)
(-4,0) to[C,l=2.2<\micro\farad>,*-](-6,0)
to [R,l_= ? ? <\ohm>](-8,0)
to [sV,l_=1<\volt_{ac}>](-8,-2) node[ground]{}
(opamp.+) to [C,l=1<\micro\farad>](-4,-0.5)
to[short](-4,0.5)
(opamp.+) to[R,*-,l= ? ? <\ohm>]++(0,-2) node[ground]{}
(opamp.-) to ++(0,1) coordinate (leftR) -- (leftR -| opamp.out)
to[short] (opamp.out)
;
\end{circuitikz}
\end{document}
并且,如果能对左侧(电阻电容)线的间距提供一点帮助,那就太好了,就像每次我改变点对点的值时,一切都会移动得很尴尬。
答案1
你喜欢这样的东西吗?
\documentclass[border=3mm]{standalone}
\usepackage[siunitx,american]{circuitikz}
\usetikzlibrary{arrows.meta}
\tikzset{
every pin/.style = {pin distance=7mm, inner sep=1pt, text=teal,
pin edge={teal, line width=2pt, shorten <=-2pt,
{Triangle Cap[]}-{Circle[open,line width=1pt,length=1.6mm]}}
},
}
\begin{document}
\begin{circuitikz}
\draw
( 0,0) node[op amp] (opamp) {}
(opamp.-) to [R,l_=70 <\ohm>] (-4,0.5)
(-4,0) node[pin=below left:Y] {}
to [C,l_=2.2<\micro\farad>,*-] (-6,0)
to [R,l_=70 <\ohm>] (-8,0) --
(-9,0) to [sV,l_=1<\volt_{ac}>] (-9,-2) node[ground]{}
(opamp.+) to [C,l=1<\micro\farad>] (-4,-0.5)
to [short] (-4,0.5)
(opamp.+) to [R,*-,l=2143 <\ohm>] ++(0,-2) node[ground]{}
(opamp.-) to [short,*-] ++(0,1) -| (opamp.out)
;
\end{circuitikz}
\end{document}