Date: 17/7/2008: RLC Response of Step Input
Date: 17/7/2008: RLC Response of Step Input
Date: 17/7/2008: RLC Response of Step Input
PROGRAM:
*RLC STEP*
R 1 2 10.2
L 2 3 30UH
C 3 0 20UF
VS 1 0 PWL(0 0 1NS 220V 1NS 220V)
.TRAN 1US 400US
.PROBE
.END
OUTPUT:
VS 0.000E+00
JOB CONCLUDED
1
OUTPUT WAVEFORMS:
RESULT:
The response of RLC circuit for step input is simulated using PSPICE and wave forms
have been plotted.
2
Date: 17/7/2008
RLC RESPONSE OF SINUSOIDAL INPUT
PROGRAM:
*RLC SINUSOIDAL*
R129
L 2 3 42UH
C 3 0 28UF
VS 1 0 SIN(0 169.7 5000HZ)
.TRAN 1US 400US
.PROBE
.END
OUTPUT:
VS 0.000E+00
JOB CONCLUDED
3
OUTPUT WAVEFORMS:
RESULT:
The response of RLC circuit for sinusoidal input is simulated using PSPICE and wave
forms have been plotted.
4
Date: 17/7/2008
RLC RESPONSE OF PULSE INPUT
PROGRAM:
*RLC PULSE*
R 1 2 10
L 2 3 8UH
C 3 0 9UF
VS 1 0 PULSE(-220V 220V 0 1NS 1NS 100US 200US)
.TRAN 1US 400US
.PROBE
.END
OUTPUT:
VS 0.000E+00
JOB CONCLUDED
5
OUTPUT WAVEFORMS:
RESULT:
The response of RLC circuit for pulse input is simulated using PSPICE and wave forms
have been plotted.
6
Date: 24/7/2008
THREE PHASE CIRCUIT REPRESENTING GENERATOR
TRANSMISSION LINE AND LOAD
AIM: To calculate and to plot the instantaneous currents of three phase circuit representing
generator transmission line and load using PSPICE.
PROGRAM:
* 3-phase circuit representing generator transmission line and load*
Va 1 0 SIN(0 169.7 60)
Vb 2 0 SIN(0 169.7 60 0 0 120)
Vc 3 0 SIN(0 169.7 60 0 0 240)
Vx 0 12 DC 0V
Ra 1 4 0.4
Rb 2 5 0.4
Rc 3 6 0.4
Rx 4 7 1
Ry 5 8 1
Rz 6 9 1
R1 7 10 6
R2 8 11 10
R3 9 12 10
C 10 12 150UF
L 11 12 120MH
.TRAN 5US 50MS
.PROBE
.END
7
OUTPUT:
Va 0.000E+00
Vb -1.289E+01
Vc 1.289E+01
Vx -5.329E-15
JOB CONCLUDED
8
OUTPUT WAVEFORMS:
RESULT:
The instantaneous currents of three phase circuit representing generator, transmission
line and load are calculated by PSPICE simulation and wave forms have been plotted.
9
Date: 31/7/2008
BUCK CHOPPER
AIM: To verify the results by plotting the output voltage and current waveforms of Buck
chopper by PSPICE simulation.
PROGRAM:
*BUCK CHOPPER*
Vs 1 0 110DC
Vy 1 2 DC 0V
Vg 7 3 PULSE(0V 20V 0 0.1NS 0.1NS 27.28US 50US)
RB 7 6 225
Le 3 4 670.62UH
Ce 4 0 8.30UF IC=60V
L 4 8 40.8UH
R853
VX 5 0 DC 0V
DM 0 3 DMOD
.MODEL DMOD D(IS=2.2E-15 BV=1800V TT=0)
Q1 2 6 3 QMOD
.MODE QMOD NPN(IS=6.734F BF=416.4 BR=7371 CJC=3.638P CJE=4.493P TR=239.5N
TF=301.2P)
.TRAN 1US 1.6MS 1.5MS 1US UIC
.PROBE
.OPTIONS abstol=1.00n reltol=0.01 vntol=0.1 ITL5=50000
.FOUR 20KHZ I(VY)
.END
10
OUTPUT:
DC COMPONENT = 1.815463E+01
11
TOTAL HARMONIC DISTORTION = 7.257256E+01 PERCENT
JOB CONCLUDED
OUTPUT WAVEFORMS:
RESULT:
The instantaneous capacitor voltage, instantaneous load current and Fourier coefficients
of Buck chopper are calculated and waveforms have been plotted by PSPICE simulation.
12
Date: 7/8/2008
SINGLE PHASE AC VOLTAGE CONTROLLER
AIM: To simulate the output voltage and current waveforms of a single phase AC voltage
controller by using PSPICE.
PROGRAM:
Vs 1 0 SIN (0 169.7V 60HZ)
Vg1 2 4 PULSE (0V 10V 4166.7US 1NS 1NS 100US 16666.7US)
Vg2 3 1 PULSE (0V 10V 12500.0US 1NS 1NS 100US 16666.7US)
R452
L 5 6 7MH
Vx 6 0 DC 0V
*C 4 0 1200UF
Cs 1 7 0.1UF
Rs 7 4 700
*SUBCIRCUIT CALL FOR THYRISTOR MODEL
XT1 1 4 2 4 SCR
XT2 4 1 3 1 SCR
.SUBCKT SCR 1 2 3 2
Vx 5 2 DC 0V
Vy 4 2 DC 0V
RT 7 2 1
CT 7 2 10UF
Rg 3 4 50
F1 2 7 POLY(2) Vx Vy 0 50 11
.ENDS SCR
.TRAN 10US 33.33MS
.PROBE
.FOUR 60HZ V(4)
.END
13
OUTPUT:
(XT2.7) 0.0000
Vs 0.000E+00
Vg1 0.000E+00
Vg2 0.000E+00
Vx 0.000E+00
XT1.Vx 0.000E+00
XT1.Vy 0.000E+00
XT2.Vx 0.000E+00
XT2.Vy 0.000E+00
DC COMPONENT = -6.548932E-07
14
JOB CONCLUDED
OUTPUT WAVEFORMS:
RESULT:
The output voltage and current waveforms of a single phase AC voltage controller are
simulated using PSPICE.
15
Date: 14/8/2008
THEVENIN’S EQUIVALENT CIRCUIT
PROGRAM:
*THEVININS CIRCUIT*
VIN 1 0 DC 10V
VX 4 5 DC 0V
IS 3 4 DC 2A
R1 1 2 4.5
R2 2 3 10.2
R3 2 6 30
R4 3 4 20
R5 5 6 5
.TF V(2,4) VIN
.PROBE
.END
OUTPUT:
( 5) 31.4720 ( 6) 28.4050
VIN 0.000E+00
VX 6.135E-01
16
**** SMALL-SIGNAL CHARACTERISTICS
V(2,4)/VIN = 5.551E-16
JOB CONCLUDED
RESULT:
The Thevenin’s voltages and input resistance between nodes 2 & 4 of Thevenin’s
circuit are calculated by PSPICE simulation.
17
Date: 21/8/2008
RESONANT PULSE COMMUTATION CIRCUIT
PROGRAM:
Vs 1 0 DC 200V
Vg1 7 0 PULSE(0V 100V 0 1US 1US 0.4MS 1MS)
Vg2 8 0 PULSE(0V 100V 0.4MS 1US 1US 0.6MS 1MS)
Vg3 9 0 PULSE(0V 100V 0 1US 1US 0.2MS 1MS)
Rg1 7 0 10MEG
Rg2 8 0 10MEG
RG3 9 0 10MEG
Cs 10 11 0.1UF
Rs 11 4 725
C 1 2 31.4UF IC=200V
L 2 3 6.2UH
D1 4 1 DMOD
DM 0 4 DMOD
.MODEL DMOD D(IS=1E-25 BV=1000V)
RM 4 5 0.4
LM 5 6 5.2MH
Vx 6 0 DC 0V
Vy 1 10 DC 0V
XT1 10 4 7 0 DCSCR
XT2 3 4 8 0 DCSCR
XT3 1 3 9 0 DCSCR
.SUBCKT DCSCR 1 2 3 4
DT 5 2 DMOD
ST 1 5 3 4 SMOD
.MODEL DMOD D(IS=1E-25 BV=1000V)
18
.MODEL SMOD VSWITCH (RON=0.1 ROFF=10E+6 VON=10V VOFF=5V)
.ENDS DCSCR
.TRAN 0.5US 3MS 1.5MS 0.5US
.PROBE
.END
OUTPUT:
**** Diode MODEL PARAMETERS
****************************************************************************
**
DMOD XT1.DMOD XT2.DMOD XT3.DMOD
IS 100.000000E-27 100.000000E-27 100.000000E-27 100.000000E-27
BV 1.000000E+03 1.000000E+03 1.000000E+03 1.000000E+03
****************************************************************************
**
XT1.SMOD XT2.SMOD XT3.SMOD
RON .1 .1 .1
ROFF 10.000000E+06 10.000000E+06 10.000000E+06
VON 10 10 10
VOFF 5 5 5
****************************************************************************
**
19
Vx 1.988E-05
Vy 1.988E-05
JOB CONCLUDED
OUTPUT WAVEFORMS:
RESULT:
The capacitive voltage of resonant pulse commutation circuit is calculated and
waveforms have been plotted by PSPICE simulation.
20
Date: 11/9/2008
PULSE WIDTH MODULATION INVERTER
AIM: To simulate single phase Pulse Width Modulation Inverter using PSPICE.
PROGRAM:
Vs 1 0 DC 100V
VT 17 0 PULSE (50V 0V 0 833.33US 833.33US 1NS 1666.67US)
RT 17 0 2MEG
Vc1 15 0 PULSE(0 -30V 0 1NS 1NS 8333.33US 16666.6US)
Rc1 15 0 2MEG
Vc3 16 0 PULSE (0 -30V 8333.33US 1NS 1NS 8333.33US 16666.67US)
Rc3 16 0 2MEG
R 4 6 2.7
*L 5 6 10.2MH
Vx 3 4 DC 0V
Vy 1 2 DC 0V
D1 3 2 DMOD
D2 0 6 DMOD
D3 6 2 DMOD
D4 0 3 DMOD
.MODEL DMOD D(IS=2.2E-15 BV=1800V TT=0)
Q1 2 7 3 QMOD
Q2 6 9 0 QMOD
Q3 2 11 6 QMOD
Q4 3 13 0 QMOD
.MODEL QMOD NPN(IS=6.73F BF=416.4 CJC=3.638P CJE=4.493P)
RG1 8 7 100
RG2 10 9 100
RG3 12 11 100
RG4 14 13 100
*SUBCIRCUIT CALL FOR PWM CONTROL
21
XPW1 17 15 8 3 PWM
XPW2 17 15 10 0 PWM
XPW3 17 16 12 6 PWM
XPW4 17 16 14 0 PWM
*SUBCIRCUIT FOR PWM CONTROL
.SUBCKT PWM 1 2 3 4
R1 1 5 1K
R2 2 5 1K
R1N 5 0 2MEG
RF 5 3 100K
R0 6 3 75
C0 3 4 10PF
E1 6 4 0 5 2E+5
.ENDS PWM
.TRAN 10US 16.6MS 0 10US
.PROBE
.FOUR 60HZ V(3,6)
.END
OUTPUT:
**** Diode MODEL PARAMETERS
****************************************************************************
**
DMOD
IS 2.200000E-15
BV 1.800000E+03
22
BR 1
NR 1
CJE 4.493000E-12
CJC 3.638000E-12
****************************************************************************
**
NODE VOLTAGE NODE VOLTAGE NODE VOLTAGE NODE VOLTAGE
Vs 9.990E-02
VT -1.999E-01
Vc1 5.049E-05
Vc3 5.049E-05
Vx 4.263E-14
Vy -9.990E-02
DC COMPONENT = -2.126234E-04
23
6 3.600E+02 5.623E-04 7.430E-06 1.475E+02 1.475E+02
7 4.200E+02 2.161E+01 2.856E-01 3.703E-03 5.251E-03
8 4.800E+02 2.260E-03 2.986E-05 -1.329E+02 -1.329E+02
9 5.400E+02 4.553E+01 6.016E-01 2.099E-02 2.254E-02
JOB CONCLUDED
OUTPUT WAVEFORMS:
RESULT:
The output voltage of Single phase PWM Inverter is plotted and Fourier coefficients are
calculated by PSPICE simulation.
24
Date: 18/9/2008
OP-AMP. BASED INTEGRATOR
PROGRAM:
VIN 1 0 PWL (0 0 1NS -1V 1MS -1V 1.0001MS 1V 2MS 1V 2.0001MS -1V 3MS -1V
3.0001MS 1V 4MS 1V)
R1 1 2 2.7K
RF 2 4 1MEG
RX 3 0 2.2K
RL 4 0 100K
C1 2 4 0.1UF
*CALLING SUBCKT OPAMP
XA1 2 3 4 0 OPAMP
*SUBCKT DEFINITION FOR OPAMP
.SUBCKT OPAMP 1 2 7 4
RI 1 2 2.0E6
*VOLTAGE CONTROL CURRENT SOURCE WITH A GAIN OF 1
GB 4 3 1 2 0.1M
R1 3 4 10K
C1 3 4 1.5619UF
*VOLTAGE CONTROLLED VOLTAGE SOURCE WITH A GAIN OF 2E+5
EA 4 5 3 4 2E+5
RD 5 7 75
*END 9 SUBCKT OPAMP
.ENDS
*TRANSIENT ANALYSIS FOR 0 TO 4MS WITH 50US INCREMENT
.TRAN 50US 4MS
*PLOT THE RESULTS OF TRANSIENT ANALYSIS
.PLOT TRAN V(4) V(1)
25
.PLOT AC VM(4) VP(4)
.PROBE
.END
OUTPUT:
VIN 0.000E+00
LEGEND:
*: V(4)
+: V(1)
TIME V(4)
(*)---------- -2.0000E+00 0.0000E+00 2.0000E+00 4.0000E+00 6.0000E+00
(+)---------- -2.0000E+00 -1.0000E+00 0.0000E+00 1.0000E+00 2.0000E+00
JOB CONCLUDED
26
OUTPUT WAVEFORMS:
RESULT:
The transient response of output voltage of op-amp. based integrator is plotted by
PSPICE simulation.
27
Date: 18/9/2008
OP-AMP. BASED DIFFERENTIATOR
28
OUTPUT:
NODE VOLTAGE NODE VOLTAGE NODE VOLTAGE NODE VOLTAGE
VIN 0.000E+00
*: V(4)
+: V(1)
TIME V(4)
(*)---------- -1.0000E+01 -5.0000E+00 0.0000E+00 5.0000E+00 1.0000E+01
(+)---------- -5.0000E-01 0.0000E+00 5.0000E-01 1.0000E+00 1.5000E+00
JOB CONCLUDED
29
OUTPUT WAVEFORMS:
RESULT:
The transient response of output voltage of op-amp. based differentiator is plotted by
PSPICE simulation.
30
Date: 16/10/2008
LOAD FREQUENCY CONTROL WITH PROPORTIONAL CONTROL
AIM: To observe and to plot the dynamic response of load frequency control with proportional
control using MATLAB.
OUTPUT WAVEFORM:
RESULT:
The dynamic response of load frequency control with proportional control is observed
and plotted using MATLAB.
31
Date: 23/10/2008
LOAD FREQUENCY CONTROL WITH INTEGRAL AND
PROPORTIONAL CONTROL
AIM: To find the optimum value of ‘Ki’ and to observe and plot the dynamic response of load
frequency control with integral and proportional control using MATLAB.
OUTPUT WAVEFORM:
RESULT:
The optimum value of ‘Ki’ is found to be 0.09 and the dynamic response of load
frequency control with integral and proportional control is observed and plotted using
MATLAB.
32