Module 5-5
Module 5-5
feedback capacitor C.
Analysis
Rules
Point A is at virtual ground.
No current to the inverting input terminal
𝑖 = 𝑖𝑐
𝑣𝑖 −0 𝑑(0−𝑣𝑜 )
=C
𝑅 𝑑𝑡
𝑣𝑖 𝑑𝑣
= −C 𝑜
𝑅 𝑑𝑡
1
𝑑𝑣𝑜 = − 𝑣𝑖 𝑑𝑡
𝑅𝐶
Integrating
1 𝑡 Output is the integral of the input with an
𝑣𝑜 = − 0 𝑣𝑖 𝑑𝑡 inversion and scale multiplier of 1/RC.
𝑅𝐶
26
For low frequency signals this circuit is very unstable. If the input signal has a low
frequency, the capacitor looks like an open-circuit that disconnects the feedback
path from the circuit. In this situation the circuit behaves like an op-amp in open-
loop. Thus, the output voltage will be in saturation for any input signal.
Practical Integrator
OP-AMP Differentiator
Rules
Point A is at virtual ground.
No current to the inverting input terminal
𝑖 = 𝑖𝑐
𝑑(𝑣𝑖 −0) 0−𝑣𝑜
C =
𝑑𝑡 𝑅
𝑑𝑣
𝑣𝑜 = − RC 𝑖
𝑑𝑡
At high frequencies the gain of the ideal differentiator is very high. This
high gain makes the circuit unstable.
Problem 3
• ZERO CROSSING DETECTOR
COMPARATORS • VOLTAGE LEVEL DETECTOR
COMPARATOR
SCHMITT Trigger
(Regenerative Comparator)
SCHMITT Trigger
(Regenerative Comparator)
• The output voltage will remain in the given state until the input voltage Vin exceeds the reference
voltage for that state.
𝑅2
• Let feedback fraction 𝛽 =
𝑅1 +𝑅2
• When output is positively saturated, the reference voltage applied to the non inverting input is
Vref =+𝛽 V𝑠at. The input voltage must be increased slightly above +𝛽𝑉𝑠𝑎𝑡 to switch the
output voltage from positive to negative.
• When the output is negatively saturated the reference voltage is Vref =-𝛽 V𝑠at. The output will
remain there indefinitely until the input voltage becomes more negative than – βVsat. Then the
output switches from negative to positive.
UTP AND LTP
UTP LTP
• When Vout = +Vsat, the voltage across R2 is • When Vout = -Vsat, the voltage across R2 is
called Upper Threshold Voltage or Upper called Lower Threshold Voltage or Lower
Trigger Point (UTP). Trigger Point (LTP).
• When the input voltage is less than UTP, the • When the input voltage is less than LTP, the
output voltage Vout is at +Vsat. output voltage Vout is at -Vsat.
• When the input voltage, Vin is slightly more • When the input voltage, Vin is slightly more
positive than UTP, the output Vout switches negative than LTP, the output Vout switches
from +Vsat to -Vsat. from -Vsat to +Vsat.
• UTP= + 𝛽 Vsat • LTP= - 𝛽 Vsat
Characteristics of the Schmitt trigger
Applications
Schmitt trigger is mostly used to convert a very slowly varying input voltage into an
output having abruptly varying waveform occurring precisely at certain
predetermined value of input voltage.
Schmitt trigger may be used for all applications for which a general comparator is
used.
Any type of input voltage can be converted into its corresponding square signal wave.
The only condition is that the input signal must have large enough excursion to carry
the input voltage beyond the limits of the hysteresis range.
COMPARATOR IC - LM311
Pinout Details
-
If Vin > Vin+, o/p goes low If Vin- < Vin+, o/p goes high
The pins 5 and 6 are used to set the balance voltage if you want to manually
adjust the DC-Offset voltage.
Square Wave Generator using OPAMP
Resistor R is connected between the inverting input terminal of the op-amp and
output of op-amp. So, the resistor R is used in the negative feedback.
Resistor R2 is connected between the noninverting input terminal of the op-amp and
its output. So, the resistor R2 is used in the positive feedback
A capacitor C is connected between the inverting input terminal of the op-amp and
ground. So, the voltage across capacitor C will be the input voltage at this inverting
terminal of op-amp.
Resistor R1 is connected between the non-inverting input terminal of the op-amp and
ground. So, the voltage across resistor R 1 will be the input voltage at this non-
inverting terminal of the op-amp.
Input voltage at non-inverting terminal, V1 = Reference voltage
= Voltage across R1
𝑹𝟏
= β V0 Here β =
𝑹𝟏 +𝑹𝟐
Assume, there is no charge stored in the capacitor initially. Then, the voltage present at the inverting
terminal of the op-amp is zero volts. But, there is some offset voltage at non-inverting terminal of op-amp.
Due to this, the value present at the output of above circuit will be +Vsat.
Thus, Input voltage at non-inverting terminal, V1 = + β Vsat
Now, the capacitor C starts charging through a resistor R.
Charging continues until VC is just greater than + β Vsat.
At this instant, output will change to −Vsat. Also V1 becomes -β Vsat.
The capacitor C starts discharging through resistor R
Discharging continues until VC becomes more negative than - β Vsat.
At this instant, output will change to +Vsat. Also V1 becomes +β Vsat.
The cycle repeats.
In short....
−𝑡
𝒍𝒏 𝑽𝑪(𝒕)– 𝑽𝒐 - 𝒍𝒏 𝑽𝑪(𝟎)– 𝑽𝒐 =
𝑅𝐶
𝑽𝑪(𝒕)– 𝑽𝒐 −𝑡
𝒍𝒏 =
𝑽𝑪(𝟎)– 𝑽𝒐 𝑅𝐶
𝑽𝑪(𝒕)– 𝑽𝒐 −𝑡
=𝒆 𝑅𝐶
𝑽𝑪 𝟎 – 𝑽 𝒐
−𝑡
𝑽𝑪 𝒕 = 𝑽𝒐 + 𝑽𝑪 𝟎 – 𝑽𝒐 𝒆 𝑅𝐶 -------(1)
Refer figure, Consider time period T1
𝑽𝑪 𝟎 = -β Vsat
𝑽𝒐 =+Vsat
At, t = T/2, 𝑽𝑪 𝒕 = +β Vsat
Thus eqn (1) becomes
−𝑇
+β Vsat= + Vsat +(-β Vsat- Vsat) 𝒆 2𝑅𝐶
−𝑇
β = 1-(β + 1)𝒆 2𝑅𝐶
−𝑇
1− β
𝒆 2𝑅𝐶 =
1+ β
−𝑇 1−β
=ln
2𝑅𝐶 1+β
𝑹𝟏
1+𝛽 Here β = 𝟐𝑹𝟏 +𝑹𝟐
T = 2𝑅𝐶 ln 𝑹𝟏 +𝑹𝟐 T = 2𝑅𝐶 ln
1−β 𝑹𝟐
The block diagram of a triangular wave generator contains mainly two blocks:
A square wave generator and an integrator.
These two blocks are cascaded.
The output of square wave generator is applied as an input of integrator.
Integration of a square wave is nothing but a triangular wave.
CIRCUIT DIAGRAM
OPERATION
Square wave swings between +Vsat and –Vsat with a time period given
by
𝟐𝑹𝟏+𝑹𝟐
T = 2𝑅𝐶 ln
𝑹𝟐
Comparator compares the voltage at point P continuously with respect to the voltage at the inverting input;
which as at ground potential. When the voltage at P goes slightly below zero, the output of A1 will switch to
negative saturation. Assume that the output of comparator A is at +Vsat .
This forces a constant current +Vsat/R1 through C to give negative going ramp at the output of the integrator.
Thus one end of the voltage divider is at +Vsat and the other end at the negative going ramp.
At time t = t1, when the negative going ramp reaches a certain value –Vramp, the effective voltage at point P
becomes slightly below 0V.
As a result, the output of the comparator A switches from positive saturation to negative saturation -Vsat .
This forces a reverse constant current -Vsat/R1 through C to give positive going ramp at the output of the
integrator.
At time t = t2, when the positive going ramp reaches a certain value +Vramp, the effective voltage at point P
becomes slightly above 0V.
As a result, output of comparator A switches from negative saturation to positive negative saturation +Vsat .
Sequence repeats to give triangular wave at the output of the integrator.
Waveform
AMPLITUDE AND FREQUENCY CALCULATION
Ramp Wave Generator using OPAMP
OR Saw tooth Wave Generator using OPAMP
The slew rate of an op amp or any amplifier circuit is the rate of change in the output
voltage caused by a step change on the input.
It is measured as a voltage change in a given time - typically V / µs or V / ms.
Low power op-amps may only have figures of a volt per microsecond, whereas there
are fast operational amplifiers capable to providing rates of 1000 V / µsecond.
Effect of slew rate on waveform generation
The output of an operational amplifier can only change by a certain amount in a given
time. This limit is called the slew rate of the op-amp.
Operational amplifier slew rate can limit the performance of a circuit if the slew rate
requirement is exceeded. It can distort the waveform and prevent the input signal
being faithfully represented at the output if the slew rate is exceeded.
If an op amp is operated above its slew rate limit, signals will become distorted.
Effect of slew rate on different waveforms
555 Timer IC
The 555 Timer IC is a commonly used IC designed to produce a variety of output waveforms
with the addition of an external RC network.
The basic 555 timer gets its name from the fact that there are three internally connected 5kΩ
resistors which it uses to generate the two comparators reference voltages.
It is a stable 8-pin device that can be operated either as a very accurate Monostable, Bistable
or Astable Multivibrator to produce a variety of applications such as one-shot or delay timers,
pulse generation, LED and lamp flashers, alarms and tone generation, logic clocks, frequency
division, power supplies and converters etc.
It consists of some 25 transistors, 2 diodes and about 16 resistors arranged to form two
comparators, a flip-flop and a high current output stage.
Pinout of 555IC
Pin 1– Ground. It connects the 555 timer to the negative (0v) supply rail.
Pin 2– Trigger. The negative input to comparator No 1. A negative pulse (with a dc level greater
than Vcc/3 is applied to this terminal).on this pin “sets” the internal Flip-flop when the voltage
drops below 1/3Vcc causing the output to switch from a “LOW” to a “HIGH” state.
Pin 3 – Output. Output of the timer is available at this pin. There are two ways in which a load can
be connected to the output terminal. One way is to connect between output pin (pin 3) and ground
pin (pin 1) or between pin 3 and supply pin (pin 8). The load connected between output and
ground supply pin is called the normally on load and that connected between output and ground
pin is called the normally off load.
Pin 4 – Reset. This pin is used to “reset” the internal Flip-flop controlling the state of the output,
pin 3. This is an active-low input and is generally connected to a logic “1” level when not used to
prevent any unwanted resetting of the output.
Pin 5– Control Voltage. This pin controls the timing of the 555 by overriding the 2/3Vcc level of the
voltage divider network. By applying a voltage to this pin the width of the output signal can be varied
independently of the RC timing network. When not used it is connected to ground via a 10nF
capacitor to eliminate any noise.
Pin 6– Threshold. The positive input to comparator No 2. This pin is used to reset the Flip-flop when
the voltage applied to it exceeds 2/3Vcc causing the output to switch from “HIGH” to “LOW” state.
This pin connects directly to the RC timing circuit.
Pin 7– Discharge. The discharge pin is connected directly to the Collector of an internal NPN
transistor which is used to “discharge” the timing capacitor to ground when the output at pin 3
switches “LOW”.
Pin 8– Supply +Vcc. This is the power supply pin. A supply voltage of + 5 V to + 18 V is applied to this
terminal with respect to ground (pin 1)
Internal diagram of 555IC
A 555 timer has two comparators, which are basically 2 op-amps, an R-S flip-flop, two transistors and a
resistive network.
Resistive network consists of three equal resistors and acts as a voltage divider.
Comparator 1 compares threshold voltage with a reference voltage + 2/3 VCC volts.
Comparator 2 compares the trigger voltage with a reference voltage + 1/3 VCC volts.
Output of both the comparators is supplied to the flip-flop. Flip-flop assumes its state according to the
output of the two comparators. One of the two transistors is a discharge transistor of which collector is
connected to pin 7. This transistor saturates or cuts-off according to the output state of the flip-flop. The
saturated transistor provides a discharge path to a capacitor connected externally. Base of another
transistor is connected to a reset terminal. A pulse applied to this terminal resets the whole timer
irrespective of any input.