Ch_4 Applied Electronics II
Ch_4 Applied Electronics II
Institute of Technology
Department of Electrical Engineering
Introduction
In this section, we shall examine the definition, characteristics, and some application of
wave shaping circuits.
A wave shaping circuit is an electronic circuit, designed to modify the shape of an input
waveform.
The primary purpose of wave shaping is to create new waveforms by altering the
amplitude, frequency, or phase characteristics of the input signal.
This alteration is known as the process of modify the shape of input waveforms for a
certain application.
The wave shaping circuit is used to perform any one of the following functions.
Generate waves: To generate waves such as square, saw-tooth , pulls, triangular, and
trapezoidal waves.
Limit voltage signal: To limit the voltage level of the waveform to some preset value and
suppressing all other voltage levels in excess of the preset level.
Cut off portions: Cut off the positive and negative portions of a waveform
Linear wave shaping circuits are those that utilize only linear components, such as
resistors, capacitors, and inductors, to modify the shape of electrical signals.
This process involves passing non-sinusoidal signals through a linear network, resulting in
desired waveform alterations while maintaining linearity.
Such circuit are used to perform functions of scaling, differentiation and integration.
The output of a non-linear circuit is not directly proportional to its input, and output.
The non-linear wave shaping circuits are those which (in addition to resistors, inductors
and capacitors) make use of non-linear elements such as diodes and transistors.
Such circuits are used to perform functions of amplitude limiting, clipping and clamping.
A circuit in Fig4.1 shows, the 𝑉𝑜 is directly A circuit in Fig4.1 shows the positive clipper.
proportional to the integral of the 𝑉𝑖𝑛 . It consists of a diode (D) and a resistor (R)
with 𝑉𝑜 taken across the resistor.
Based on the purposes in shaping and processing signals, wave shaping circuits can
be considered as:
Oscillators circuit
Comparator circuit
Multi-vibrators circuit
Oscillators
What is oscillator in amplifier?
Oscillator is an amplifier with the positive feedback and it converts DC input signal into
AC output waveform with certain variable frequency drive.
Oscillator is a circuit which generates an ac output signal without requiring any externally
applied input signal.
Oscillators
Note that…
An oscillator is an amplifier, which uses a positive feedback and without any external
input signal, generates an output waveform at a desired frequency.
A fraction of the amplifier’s output signal is fed back to be in phase with the input.
By adding together the feedback and the input signals, the amplitude of input signal to the
amplifier is increased.
If the amount of positive feedback is larger enough however, the result is oscillation,
where the amplifier circuit produces its own signal.
• That is, 𝐴β = 1
The total phase shift around the loop is zero or an integer multiple of 2π
• ےβ𝐴 = 2𝜋𝑛, n ϵ 0, 1, 2, …
Oscillators
The relaxation oscillator makes use of an RC timing circuit to generate a non-sinusoidal
signal such as square wave.
Classification of Oscillators:
Electronic oscillators are classified mainly into the following two categories:
Sinusoidal Oscillators:
The oscillators that produce an output having a sine waveform are called Sinusoidal.
Example:
Tuned circuit oscillators: These oscillators are made of capacitors and inductors.
Classification of Oscillators:
Non-sinusoidal Oscillators.
The oscillators that produce an output having a square, rectangular or saw-tooth
waveform are called Non-sinusoidal or relaxation oscillators.
Categorized as: HIGH FREQUENCY and LOW FREQUENCY OSCILLATOR.
HIGH FREQUENCY Oscillators: is designed for the generation of high frequency sinusoidal
oscillations typically ranging from 10KHz to 300MHz.
o Colpitts Oscillator
o Hartley oscillator
o Crystal Oscillator
o Clapp Oscillator
Op Amps as a Comparator:
The comparator is an Op Amp circuit that compares two input voltages and produces an
output indicating the relationship between them.
Digital circuits respond to rectangular or square waves, rather than sine waves.
An ideal comparator compares two input voltages and produce a logic output signal
whose value high or low depending on which of the two input is larger.
Op Amps as a Comparator
In a comparator, the op-amp operates in open-loop mode. This means:
No feedback: There is no feedback loop that would force the op-amp to work in its linear
region. Instead, the op-amp's output fluctuates between the supply voltage limits.
High gain: The comparator's open-loop gain is very high, which makes it sensitive to even
tiny differences between the two input voltages.
Saturation output: The output is usually a saturated high or low voltage, not a
proportionate (linear) signal.
Operation of a Comparator:
A comparator compares two input voltages, 𝑉𝑖𝑛+ (non-inverting input) and 𝑉𝑖𝑛− (inverting
input).
If 𝑉𝑖𝑛+ > 𝑉𝑖𝑛− : The output will be high (close to the positive supply voltage).
If 𝑉𝑖𝑛− >𝑉𝑖𝑛+ : The output will be low (close to the negative supply voltage or ground, depending
on the configuration).
Note that…
Comparators have low propagation delay and fast rise and fall time.
Applications:
Analogue to Digital convertor (ADC): Comparators are used to convert an analog signal
into a digital signal by comparing it against a reference.
Schmitt trigger: Comparators are used to design the Schmitt trigger circuit.
Pulse Width Modulation (PWM): To compare a signal against a reference voltage and
generate a square wave output.
You are tasked with designing a comparator circuit using an Op Amp to compare the input
voltages, 𝑉𝑖𝑛 applied to the inverting terminal with a reference/setpoint 𝑉𝑠𝑝 . The circuit should
produce an output based on the comparison of these two input voltages. The op-amp has a supply
voltage of ±12 V and the input voltages are given as: 𝑉𝑖𝑛 =5 V 𝑉𝑠𝑝 =3V, Assume that the op-amp is
idea.
i. What will be the output voltage 𝑉𝑜𝑢𝑡 of the comparator circuit for the given input voltages,
𝑉𝑖𝑛 and 𝑉𝑠𝑝 ?
ii. If the input voltage 𝑉𝑖𝑛 is decreased to 1.1V, what will be the new output voltage?
An engineer design a thermostat using a comparator with an Op Amp to control the room
temperature using a reference signal corresponding to the desired temperature or setpoint. The op-
amp has a ±16 V supply voltage, assumed the Op Amp is ideal (i.e., infinite open-loop gain, infinite
input impedance, and zero output impedance). Temperature is converted to an electrical signal by a
sensor, represented as 𝑉𝑡𝑒𝑚𝑝 .
Questions:
i. State about the working principle of the circuit.
ii. What will be the output signal 𝑉𝑜𝑢𝑡 of the comparator circuit when the temperature signal is
𝑉𝑡𝑒𝑚𝑝 = 2.3𝑉 and setpoint signal is 𝑉𝑠𝑝 = 3?
iii. If the temperature signal 𝑉𝑡𝑒𝑚𝑝 is increased by 28%, what will be the new output voltage of
the comparator?
The Schmitt trigger is an electronic circuit that produces a stable output, eliminating
unwanted perturbations present in the input waveform.
One of the typical applications of the Op-Amp Schmitt trigger is similar to that of a
comparator, detecting when an input voltage exceeds a preset threshold voltage.
When 𝑉𝑖𝑛 is slightly greater than the upper threshold 𝑉𝑈𝑇 the output gets driven into
negative saturation at -𝑉𝑠𝑎𝑡 level.
When 𝑉𝑖𝑛 becomes lass than the lower threshold value 𝑉𝐿𝑇 , then output gets driven into
positive saturation at + 𝑉𝑠𝑎𝑡 level.
Thus output voltage is always at 𝑉𝑠𝑎𝑡 or -𝑉𝑠𝑎𝑡 , but the voltage at which it changes its state
can be controlled by the resistance 𝑅1 and 𝑅2 .
Thus, the reference voltage 𝑉𝑟𝑒𝑓 can be 𝑉𝑈𝑇 or 𝑉𝐿𝑇 and obtained as per the requirement.
But how do we get the value of upper threshold, 𝑉𝑈𝑇 and lower threshold, 𝑉𝐿𝑇 ?
The values of these threshold voltage levels can be adjusted by selecting proper
values of 𝑅1 and 𝑅2 . Now 𝑅1 and 𝑅2 forms a potential divider and we can write:
𝑅2
𝑉𝑟𝑒𝑓 = 𝑉
𝑅1 + 𝑅2 𝑜
Assume, 𝑉𝑜 = +𝑉𝑠𝑎𝑡 , in this case upper threshold is a reference point and given by:
𝑅2 𝑅2
𝑉𝑈𝑇 = 𝑉 = 𝑉
𝑅1 +𝑅2 𝑜 𝑅1 +𝑅2 𝑠𝑎𝑡
Assume, 𝑉𝑜 = −𝑉𝑠𝑎𝑡 , in this case lower threshold is a reference point and given by:
𝑅2 𝑅2
𝑉𝐿𝑇 = 𝑉 =− 𝑉
𝑅1 +𝑅2 𝑜 𝑅1 +𝑅2 𝑠𝑎𝑡
If sinusoidal input is applied to the inverting Schmitt trigger, the input and output
waveforms can be shown as in the Fig4.6.
In short,
𝑉𝑖𝑛 < 𝑉𝐿𝑇 , 𝑉𝑜 changes from −𝑉𝑠𝑎𝑡
to +𝑉𝑠𝑎𝑡
This is fed back to the non-inverting input through 𝑅1 . This is a positive feedback.
T o understand the working of the circuit, let us assume that the output is positively
saturated i.e. at +𝑉𝑠𝑎𝑡 .
Now through 𝑉𝑖𝑛 is decreased, the output continues its positive saturation level unless
and until the input becomes more negative than 𝑉𝐿𝑇 .
At lower threshold, the output changes its state from positive saturation +𝑉𝑠𝑎𝑡 to
negative saturation -𝑉𝑠𝑎𝑡 .
It remains in negative saturation till 𝑉𝑖𝑛 increases beyond its upper threshold level 𝑉𝑈𝑇 .
𝑅2 𝑅1
𝑉𝑟𝑒𝑓 = 𝑉𝑖𝑛 + 𝑉
𝑅1 + 𝑅2 𝑅1 + 𝑅2 𝑜
Assume, 𝑉𝑜 = +𝑉𝑠𝑎𝑡 , in this case upper threshold is a reference point and given by:
𝑅2 𝑅1
𝑉𝑈𝑇 = 𝑅 𝑉𝑖𝑛 +𝑅 𝑉𝑠𝑎𝑡
1 +𝑅2 1 +𝑅2
Assume, 𝑉𝑜 = −𝑉𝑠𝑎𝑡 , in this case lower threshold is a reference point and given by:
𝑅2 𝑅1
𝑉𝐿𝑇 = 𝑅 𝑉𝑖𝑛 −𝑅 𝑉𝑠𝑎𝑡
1 +𝑅2 1 +𝑅2
If sinusoidal input is applied to the non-inverting Schmitt trigger, the input and
output waveforms can be shown as in the Fig4.8.
Example 4.2: For a Schmitt trigger shown in the Fig4.9, calculate threshold voltage levels
and hysteresis.
Exercise 4.1:
1) Design and draw the circuit of Schmitt trigger with 𝑉𝑈𝑇 = 25𝑚𝑉 , 𝑉𝐿𝑇 = −25𝑚𝑉 ,
𝑉𝑖𝑛 = 1𝑉 peak to peak triangular wave with f = 100 Hz, voltage swings ± 14 V.
Calculate 𝑅1 , 𝑎𝑛𝑑 𝑅2 . Also draw the output waveform for a single period of time.
2) Design Schmitt trigger having upper and lower threshold of 120 mV. Input to this circuit
is 1 V peak to peak triangular wave with f = 100 Hz.
3) What is the difference between basic comparator and Schmitt trigger using Op Amp.
4) With a neat circuit diagram, explain the working of Schmitt trigger using op-amp.
The 555 Timer is an electronics circuit which is 8-pin linear integrated circuit.
It produces accurate and highly stable time delay and square wave oscillations.
The 555 Timer can be used three different modes based on the charging and discharging of
the capacitor C.
Bistable Mode
Monostable Mode
Astable Mode
Low cost.
Pin Configuration:
The 555 timer integrated circuit has eight pins, each serving a specific purpose:
The 555 Timer is configured from the following five electronics circuit, includes:
4. Transistor
Output
Ground
Fig 4.11: Block diagram of 555 Timer IC
You are tasked with designing a comparator circuit using an Op Amp to compare the input voltage
applied to the inverting terminal with a reference/setpoint voltage. The circuit should produce a square
waveform output voltage based on the comparison of these two input voltages. The operational
amplifier is powered with a supply voltage of ±12V. The input voltages are given as: 𝑉𝑖𝑛 = 5 sin 4𝑡 𝑉
and 𝑉𝑠𝑝 = 3𝑉. Assume that the Op Amp is ideal (i.e., infinite open-loop gain, infinite input impedance,
and zero output impedance).
Questions:
i. Draw the output voltage waveform based on the comparison result for two period of time.
ii. If 𝑉𝑖𝑛 is decreased by 50%, what will the new output voltage be? Draw the new waveform for the
same time period.