Bt21ece102 Dmlab Assignment-01
Bt21ece102 Dmlab Assignment-01
Simulate Full Wave Rectifier (Both Bridge and Center tapped) with
Resistance as the Load using NGSPICE. Plot the Current and Voltage
waveform at load. Take load as RL =10+ (Roll no. last two digits)/10 kOhms
THERIOTICAL CALCULATIONS :
Roll number:BT21ECE102
R= 10.2k ohms
CIRCUIT :
CODE :
For Full wave bridge rectifier:
e1 2 0 1 0 1
D1 2 3 DIODE
D2 4 2 DIODE
D3 0 3 DIODE
D4 4 0 DIODE
r1 3 4 10.2k
.model DIODE D
.control
run
.probe r1
plot i(r1)
set xbrushwidth = 4
.endc
.end
OUTPUT
For Full wave bridge rectifier:
CIRCUIT:
CODE :
For Center tap full wave rectifier:
e1 2 4 1 0 1
e2 4 0 1 0 1
D1 2 3 DIODE
D2 0 3 DIODE
r1 3 4 10.2k
.model DIODE D
.control
run
.probe r1
plot i(r1)
.probe c1
plot i(c1)
set xbrushwidth = 4
.endc
.end
OUTPUT
For Center tap full wave rectifier:
QUESTION 2:
Simulate Full Wave Rectifier (Both Bridge and Center tapped) with
Capacitance as the Load using NGSPICE. Plot the Current and Voltage
waveform at load. Take Capacitive load CL=1+(roll no./10) nF
THERIOTICAL CALCULATIONS :
Roll number:BT21ECE102
CIRCUIT :
CODE :
For Full wave bridge rectifier:
e1 2 0 1 0 1
D1 2 3 DIODE
D2 4 2 DIODE
D3 0 3 DIODE
D4 4 0 DIODE
r1 3 5 10.2k
c1 5 4 11.2n
.model DIODE D
.control
run
.probe r1
plot i(r1)
set xbrushwidth = 4
.endc
.end
OUTPUT
For Full wave bridge rectifier:
CIRCUIT
CODE :
For Center tap full wave rectifier:
e1 2 4 1 0 1
e2 4 0 1 0 1
D1 2 3 DIODE
D2 0 3 DIODE
c1 3 4 11.2n
.model DIODE D
.control
run
.probe c1
plot i(c1)
set xbrushwidth = 4
.endc
.end
OUTPUT
Simulate Full Wave Rectifier (Both Bridge and Center tapped) with
Resistance and Capacitance Parallel combination as well as series
combination as a Load using NGSPICE. Plot the Current and Voltage
waveform at load. RL =10+(Roll no. last two digits)/10 MOhms CL=1+(roll
no./10) nF
THERIOTICAL CALCULATIONS :
Roll number:BT21ECE102
CIRCUIT :
CODE :
For Full wave bridge rectifier (capacitor and resistor in series):
e1 2 0 1 0 1
D1 2 3 DIODE
D2 4 2 DIODE
D3 0 3 DIODE
D4 4 0 DIODE
r1 3 5 10.2M
c1 5 4 11.2n
.model DIODE D
.control
run
.probe r1
plot i(r1)
set xbrushwidth = 4
.endc
.end
OUTPUT
For Full wave bridge rectifier (capacitor and resistor in series):
CIRCUIT
CODE
For Center tap full wave rectifier (capacitor and resistor in series):
e1 2 4 1 0 1
e2 4 0 1 0 1
D1 2 3 DIODE
D2 0 3 DIODE
r1 4 5 10.2k
c1 5 3 11.2n
.model DIODE D
.control
run
.probe r1
plot i(r1)
set xbrushwidth = 4
.endc
.end
OUTPUT
CIRCUIT
CODE :
For Full wave bridge rectifier (capacitor and resistor in parallel):
e1 2 0 1 0 1
D1 2 3 DIODE
D2 4 2 DIODE
D3 0 3 DIODE
D4 4 0 DIODE
r1 3 4 10.2 M
c1 3 4 11.2n
.model DIODE D
.control
run
.probe r1
plot i(r1)
.probe c1
plot i(c1)
set xbrushwidth = 4
.endc
.end
OUTPUT
For Full wave bridge rectifier (capacitor and resistor in parallel):
CIRCUIT
CODE
For Center tap full wave rectifier (capacitor and resistor in parallel):
e1 2 4 1 0 1
e2 4 0 1 0 1
D1 2 3 DIODE
D2 0 3 DIODE
r1 3 4 10.2M
c1 4 3 11.2n
.model DIODE D
.control
run
.probe r1
plot i(r1)
.probe c1
plot i(c1)
.endc
.end
OUTPUT