Converting Sinusoidal Voltage To Square Wave

Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 2

Mehmet Serdar Teke

ID:260701050
EE-212 CIRCUITS AND SYSTEMS
PROJECT-2
Schematic of the Circuit:
R 4 R 5

V3 1k 1k
VO FF = 0
V1
VAM PL = 1
F R EQ = 1k R 3

U 1

7
3k 15Vdc
3 5
+ O S2

V+
R 2
6
O U T
V4 5k
VO FF = 0 2 1
VAM PL = 1 R 1 - 4 O S1
F R EQ = 3k uA741 V-

7k
V2

V5
VO F F = 0
VAM PL = 1 15Vdc
F R EQ = 5k

V6
VO F F = 0
VAM PL = 1
F R EQ = 7k

Part-1 Transient Analysis: V(U1:OUT) versus Time Graphic

1.0V

0.5V

0V

-0.5V

-1.0V
0s 0.2ms 0.4ms 0.6ms 0.8ms 1.0ms 1.2ms 1.4ms 1.6ms 1.8ms 2.0ms
V(U1:OUT)
Time

Part-2 Fourier Analysis


1.2V

0.8V

0.4V

0V
0Hz 4KHz 8KHz 12KHz 16KHz 20KHz 24KHz 28KHz 32KHz
V(U1:OUT)
Frequency
Part-3 V(U1:OUT) as a Function of Time

Vout=(-1k/1k)*V1 + (-1k/3k)*V2 + (-1k/5k)*V3 + (-1k/7k)*V4

V1=A*sin(2*pi*f*t)=sin(2000*pi*t) =>f=1kHz
V2=A*sin(2*pi*f*t)=sin(6000*pi*t) =>f=3kHz
V3=A*sin(2*pi*f*t)=sin(10000*pi*t) =>f=5kHz
V4=A*sin(2*pi*f*t)=sin(14000*pi*t) =>f=7Khz

Putting these into the equation of Vout:

Vout=-sin(2000*pi*t)-(1/3)*sin(6000*pi*t)-(1/5)*sin(10000*t)-(1/7)*sin(14000*t)

You might also like