[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: gEDA-user: Simulation with Potentimeter
Tobias,
Here's the circuit I suggested:
node 2
+----------+
| |
| /
| \ r2
| /
-+- \
/ \ |
V1 | | | <- node 1
\ / |
-+- /
| \
| / r1
| \
| |
| |
+----+-----+
|
--- node 0 = GND
\ /
V
The voltage at node 1 is:
r1
V(1) = V1 * -------
r1 + r2
This is obviously not linear in r1.
Stuart
Quoting "mailinglists@my-mail.ch" <mailinglists@my-mail.ch>:
> Hi Stuart,
>
> I did some simulations today using ".dc name start end stepsize" so
> that
> would mean for your example
>
> Resistor sweep test circuit
> r1 0 1 100
> r2 1 2 1k
> v1 0 2 1v
> .dc r1 100 1k 100
> .end
>
> This way it works and generates values, but shouldn't the result be a
> straight line?
>
>
> Tobias