online advertising
Showing posts with label Circuit. Show all posts
Showing posts with label Circuit. Show all posts

Monday, January 1, 2018

Differentiator

Circuit:


Analysis:

As usual, the voltage of the opamp negative input is driven to 0 by feedback. The current is

$ 1\frac{dV_{in}}{dt} = \frac{-V_{out}}/0.25 $
$ V_{out} = -2.5\frac{dV_{in}}{dt} $

Simulation:



Note that 90 degree out of phase, this is caused by the differentiation.

LTSpice:

The model can be downloaded here.

Sunday, December 31, 2017

Low Pass Filter

Circuit:


Analysis:

The left part of the circuit is simply the voltage adder, this time I added a sine wave of 1 Hz with a sine wave of 100 Hz. The goal is to filter away the 100 Hz signal.

The low pass filter I used is a simple RC filter. Denote the voltage of the opamp output to be $ V_s $

$ 1\frac{dV_{out}}{dt} = I = \frac{V_s - V_{out}}{1} $

Set $ V_{s} = e^{i \omega t} $ and $ V_{out} = H(\omega) e^{i\omega t} $, we get:

$ H(\omega)i\omega e^{i\omega t} = e^{i \omega t} - H(\omega) e^{i\omega t} $
$ H(\omega)i\omega = 1 - H(\omega)  $
$ H(\omega) = \frac{1}{1 + i\omega}  $

Note that $ \omega $ is in the denominator, meaning for large $ \omega $, the frequency response has a very small gain, so it is effectively removed. Also note that we have some phase shift because the frequency response is complex.

Simulation:


LTSpice:

The model can be downloaded here.

Saturday, December 30, 2017

VoltageAdder

Circuit:


Analysis:

The negative feedback by the Opamp will drive the negative input of the Opamp to be zero.

The current from the power sources cannot enter the Opamp because Opamp has high input impedance, it will flow the $ V_{out} $.

The total current is:

$ \frac{V_1}{1} + \frac{V_2}{1} = \frac{0 - V_{out}}{1} $.

Simplifying, getting $ V_{out} = -(V_1 + V_2) $

Simulation:


To show the addition, I used two different sine waves with different frequencies and amplitude for $ V_1 $ (green) and $ V_2 $ (blue). The negative sum is shown in below.

LTSpice:

The model can be downloaded here.

Potential Divider

Circuit:


Analysis:

$ \frac{V - V_{out}}{1k} = \frac{V - 0}{1k + 1k} $

Solving, we get $ V_{out} = \frac{V}{2} $

Simulation:

The simulation shows that it is the case, when $ V $ change from 0 to 5, $ V_{out} $ varies linearly with it, and when $ V = 5 $, $ V_{out} = 2.5 $.


LTSpice:

The model can be downloaded here.