You are on page 1of 21

ASSIGNMENT NO : 01

DEVICE MODELLING LAB


NAME: ABHISHEK DESHMUKH
ENROLLMENT NO: BT21ECE102
DATE OF SUBMISSION : 24/01/24
QUESTION 1:

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:

vin 1 0 sin(0 4 100)

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

.tran 0.1m 50m

.control

run

plot v(1)+10 v(3)-v(4)

.probe r1

plot i(r1)

set color0 = white

set color1 = black

set xbrushwidth = 4

.endc

.end

OUTPUT
For Full wave bridge rectifier:
CIRCUIT:
CODE :
For Center tap full wave rectifier:

vin 1 0 sin(0 4 100)

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

.tran 0.1m 50m

.control

run

plot v(1)+10 v(3)-v(4)

.probe r1

plot i(r1)

.probe c1

plot i(c1)

set color0 = white

set color1 = black

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

C= 11.2 nano Farads

CIRCUIT :
CODE :
For Full wave bridge rectifier:

vin 1 0 sin(0 4 100)

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

.tran 0.1m 50m

.control

run

plot v(1)+10 v(3)-v(4)

.probe r1

plot i(r1)

set color0 = white

set color1 = black

set xbrushwidth = 4

.endc

.end

OUTPUT
For Full wave bridge rectifier:
CIRCUIT

CODE :
For Center tap full wave rectifier:

vin 1 0 sin(0 4 100)

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

.tran 0.1m 50m

.control

run

plot v(1)+10 v(3)-v(4)

.probe c1

plot i(c1)

set color0 = white

set color1 = black

set xbrushwidth = 4

.endc

.end
OUTPUT

For Center tap full wave rectifier:


QUESTION 3:

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

R= 10.2 kilo ohms

C= 11.2 nano Farads

CIRCUIT :
CODE :
For Full wave bridge rectifier (capacitor and resistor in series):

vin 1 0 sin(0 4 100)

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

.tran 0.1m 50m

.control

run

plot v(1)+10 v(3)-v(4)

.probe r1

plot i(r1)

set color0 = white

set color1 = black

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):

vin 1 0 sin(0 4 100)

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

.tran 0.1m 50m

.control

run

plot v(1)+10 v(3)-v(4)

.probe r1

plot i(r1)

set color0 = white

set color1 = black

set xbrushwidth = 4

.endc

.end
OUTPUT
CIRCUIT

CODE :
For Full wave bridge rectifier (capacitor and resistor in parallel):

vin 1 0 sin(0 4 100)

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

.tran 0.1m 50m

.control

run

plot v(1)+10 v(3)-v(4)

.probe r1

plot i(r1)

.probe c1

plot i(c1)

set color0 = white

set color1 = black

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):

vin 1 0 sin(0 4 100)

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

.tran 0.1m 50m

.control

run

plot v(1)+10 v(3)-v(4)

.probe r1

plot i(r1)

.probe c1

plot i(c1)

set color0 = white

set color1 = black


set xbrushwidth = 4

.endc

.end

OUTPUT

For Center tap full wave rectifier(capacitance and resistor in series):


CONCLUSION

• The peak voltage of the input that we are giving is 4v but in


simulation it is 3.5v there is slight change in voltage level
• The peak current passing through resistor is 270 micro amperes and
through capacitor 28 micro amperes
• The therotical and simulated values has some difference but form
factor remains same i.e 1.11

You might also like