When the output voltage V
O
is first at its high, V
OH
, the ca-
pacitor C is charged toward V
OH
through R
2
. The voltage
across C rises exponentially with a time constant τ = R
2
C, and
this voltage is applied to the inverting input of the op amp.
Meanwhile, the voltage at the non-inverting input is set at the
positive threshold voltage (V
TH+
) of the generator. The ca-
pacitor voltage continually increases until it reaches V
TH+
, at
which point the output of the generator will switch to its low,
V
OL
which 0V is in this case. The voltage at the non-inverting
input is switched to the negative threshold voltage (V
TH−
) of
the generator. The capacitor then starts to discharge toward
V
OL
exponentially through R
1
, with a time constant τ = R
1
C.
When the capacitor voltage reaches V
TH−
, the output of the
pulse generator switches to V
OH
. The capacitor starts to
charge, and the cycle repeats itself.
10006086
FIGURE 17. Waveforms of the Circuit in Figure 16
As shown in the waveforms in Figure 17, the pulse width
(T
1
) is set by R
2
, C and V
OH
, and the time between pulses
(T
2
) is set by R
1
, C and V
OL
. This pulse generator can be made
to have different frequencies and pulse width by selecting dif-
ferent capacitor value and resistor values.
Figure 18 shows another pulse generator, with separate
charge and discharge paths. The capacitor is charged
through R
1
and is discharged through R
2
.
10006077
FIGURE 18. Pulse Generator
Figure 19 is a squarewave generator with the same path for
charging and discharging the capacitor.
10006076
FIGURE 19. Squarewave Generator
CURRENT SOURCE AND SINK
The LMV321/LMV358/LMV324 can be used in feedback
loops which regulate the current in external PNP transistors
to provide current sources or in external NPN transistors to
provide current sinks.
Fixed Current Source
A multiple fixed current source is shown in Figure 20. A volt-
age (V
REF
= 2V) is established across resistor R
3
by the
voltage divider (R
3
and R
4
). Negative feedback is used to
cause the voltage drop across R
1
to be equal to V
REF
. This
controls the emitter current of transistor Q
1
and if we neglect
the base current of Q
1
and Q
2
, essentially this same current
is available out of the collector of Q
1
.
Large input resistors can be used to reduce current loss and
a Darlington connection can be used to reduce errors due to
the β of Q
1
.
The resistor, R
2
, can be used to scale the collector current of
Q
2
either above or below the 1 mA reference value.
19 www.national.com
LMV321/LMV358/LMV324 Single/Dual/Quad