Professional Documents
Culture Documents
1 Aim
Understand the operation of a schmitt trigger based oscillator.
Schmitt trigger
2 Problem statement
1. Design a schmitt trigger based oscillator with the following specifications:
1
2. Below is a modified oscillator with a control voltage (VC ) input to vary the oscillation
frequency. Here, VC decides the rate of integration and hence controls the output frequency.
Transistor Q1 introduces an inversion, therefore the schmitt trigger is also inverting. RB is
for controlling the base current of Q1 and D1 protects the transistor from breakdown during
negative swing. :
. • Analyze and calculate component values assuming Q1 to act like an ideal switch.
. •frequency 10-15 kHz for VC ranging from 4-6 V.
. • Generate VC /2 from VC using a voltage divider.
. • Q1 : 2N3904, D1 : 1N4148
. • Plot frequency vs VC characteristics. Is it expected?
3. Change R or C to obtain new frequency range of 100-150 kHz for the same VC range as
above. Plot frequency vs VC . Is it linear? Explain. In reality Q1 doesn’t act like an ideal
switch. It has a saturation voltage of around 0.2 V. This can cause deviation in the expected
duty cycle. Modify the circuit in Problem 2 to compensate this effect. You can assume a
matched transistor is available.
2
3 Analysis and simulation
Question1
0
K2
Mw
A
V
Virhual
Shott
20 . f peak
seriss width ts
Cven
eak
opamp
Vo t+ V,P
Vo
op-omppe
V Vowt R
3
, op-cmp peak P-appek R
5
V-Vaudt
RC
et us Sppse Veo t t = o ano
RR
4 ) = aNR
At-4-+1-2RC R
T 2At =
4RCR 4RC
R
4RC
Schematic
Circuit schematic
6
Output
Vout
• As we can see the frequency is 9.4KHz which is deviated from the expected value 10KHz
and duty cycle here is 50.0157%.
7
Question2
0
K2
Mw
A
V
Virhual
Shott
20 . f peak
seriss width ts
Cven
eak
opamp
Vo t+ V,P
Vo
op-omppe
V Vowt R
8
Ve VoudR .V
R+Ra
20. peak hy stfeai
Sirnila uSing
5
Rt3
3 4R
CO
V,-t Ve Ve o ,Vot
RC
s
Ve>0 and cap
Now t's Socoy ad t =o
9 Vsia Vp
unchrged.
Ve Vou R Vc dt-Ve
2
R+ RC
VR)
Noxd At A Ne <0 > Va-V
cyclus wr staak
VeVt R Ve e
2R.C
RitR3
- VR
P+R3
Ne
(-41)Ve 4RCV Ra
RtP3
Al T
2
Ve Rt R
ERC'R SRCVP
T 5V
CRtR) V
SVe
8RCVp
Yom Simulation Vp3.5V
Now
eed
aV
5x4 0k1z
8RC (3.
35.14 nF
R 1K, C
Sueh that Di
R shodd be iqus
S h tht
is Sae m lovoex enona
is in Saaton i.e I
V..-0.+ R
y p i c l y
Ot
2R Rg<lUvk
we choo Rg loR
Schematic
Circuit schematic
• To find frequency as VC varies we have used above statements and also for duty cycle.
12
f as VC varies
f Vs VC
• But similar from the first question the frequency here is also deviated from the expected
values.
13
Vout at VC =5V
Vout Vs time(ms)
14
Voltage at collector of Q1
VCollector Vs time(ms)
• From the above plot the saturation voltage is 30mV which is quite low and good for the
circuit.
15
Question3
Schematic
Circuit schematic
16
f as VC varies
f Vs VC
• The frequencies observed is very much deviated from the expected value,the reason is
that opamp output cannot change faster than slew rate.
17
3 Tneoliy 8, is mot an
Tlu
t mpenCate
ned
Soileh So we
s Soturrahon eect
non-invésting înpu
Can
change
3ch hok aentCwaent
inteartor
Som magnitde
tor has
trougn
tkrough Copai (
VneuVn
R
N
R/z
LNsat elosed
Closed
-Tr Ncn(Vn-V.a
R/a
+p
Ve-a
V-VnV, VaVa
R
Vc-Vn = Vn-Vsat
Vn Ve Vsot
+
yoansisBor .
Metod
Ne
Nn
LMM
a,N3104
Noo l's urite equaion
NcE
VeEVc - TYeTN.
Yc-T, -0.Te
B
TeB+)1, -T, +T2 -
V= 3Y Vat+(+1)YeVc
Ye +(+1)Ye
Cmpaanq
ASSumma
Me4hod 2
do not knovo
Since we Ue Con
uSe me Hhod
V =Ve+ Ve
Vsa
wL Com u in th TOMge
1K
Schematic
22
Vout at VC =4V
Vout Vs time(ms)
• There is not much of a difference in duty cycle here because of low saturation voltage
i.e 30mV.It could be helpful if our saturation would have high.
23
24