Network Analysis Lab Course Overview
Network Analysis Lab Course Overview
I. COURSE OVERVIEW:
The Network Analysis and Synthesis Laboratory provide hands-on experience in analyzing, designing, and
testing electrical networks. Students learn to apply fundamental circuit theories, network theorems, and
synthesis techniques to real-time electrical and electronic circuits. It is designed to give hands-on experience
on virtual instrumentation through digital simulation techniques. These techniques enable the students in
examining characteristics of DC and AC circuits, filters, solution of differential equation, generation of three
phase and complexwave forms using MATLAB.
[Link] OBJECTIVES:
The students will try to learn:
I. The RL, RC, and RLC circuits under different excitations using integro-differential and Laplace transform
approaches.
II. The two-port electrical networks and apply network topology concepts like tie-set and cut-set matrices for
circuit analysis.
III. The various filter and attenuator configurations for frequency-selective and signal conditioning applications.
IV. The electrical networks using driving-point functions, positive real functions, and classical synthesis methods
such as Foster and Causer forms.
[Link] OUTCOMES:
After successful completion of the course, students should be able to:
CO1 Simulate and analyze electrical circuits to verify resonance phenomena, network theorems, and
power measurement techniques.
CO2 Evaluate time and frequency domain responses of RL, RC, and filter circuits using circuit
simulation tools.
CO3 Determine and interpret two-port network parameters for diverse interconnection configurations.
CO4 Measure active, reactive, and three-phase power in balanced star and delta connected systems.
CO5 Analyze coupling effects in magnetically coupled circuits through coefficient, self, and mutual
inductance calculations.
CO6 Validate classical theorems and compensation principles for optimizing circuit performance.
Dos
1) For safety purpose the students should compulsory wear leather shoes.
2) Students should come in uniform prescribed.
i. For boys, half sleeve shirts, tucked in trousers
ii. For ladies, half sleeve overcoat, hair put inside the overcoat
3) After giving connections, staff members should be asked to verify the circuit connections.
4) Before staring the circuit connections check whether the circuit breaker is in OFF condition.
5) Circuit should be switched ON only after getting permission from the staff member.
6) To be careful with moving parts in the machine.
7) To come prepared with procedure relevant to the experiment.
8) Unplug electrical equipment after use.
Dont’s
1) Don’t assume that the power is disconnected.
2) Don’t attempt to repair electrical equipment.
3) Don’t come with any ornaments when working with electrical machines.
4) Don’t use an earth connection as a neutral.
5) Don’t touch any parts unnecessarily.
6) Don’t keep any fluids and chemicals nearing instruments and circuits.
IV. COURSE CONTENT:
Note: Students are encouraged to bring their own laptops for laboratory practice sessions.
1. Verification of Series and Parallel Resonance using any circuit simulation software.
1.1 Series resonance
Study the frequency response characteristics of series resonance circuit of Circuit – 19 and hence to determine
the inductance, bandwidth and quality factor of the circuit. Where R = 1 kΩ, L = 10 mH, C = 0.1 µF.
R L C
I(t)
AC
V(t)
Circuit – 1
Try
1. Use Simulink to simulate Circuit–19 and plot the waveforms VR, VL and VC verses frequency.
2. For series resonant circuit find I, VR, VL and VC at resonance when V = 10 V, R = 2 Ω, XL = 10 Ω and XC =
10 Ω.
3. If the resonant frequency is 5000 Hz, find bandwidth.
R L
V C
Circuit – 2
Try
1. Use Simulink to simulatiate parallel resonance circuit of circuit – 20 and plot magnitude of response vs
frequency. Consider the frequency range 600 HZ to 2,500 HZ increments of 100 HZ and compare with the
experimental plot
2. Determination of Time response of first order RL and RC circuit for periodic non
– sinusoidal input- Time Constant and Steady-state error using any circuit
simulation software.
Examine the time varying characteristics of series RL, RC and RLC circuits for given values of R, L and Cusing
MATLAB software.
2.1 Time Response of Series RL
In this MATLAB program:
I. Circuit parameters (resistance, inductance, and applied voltage) are defined.
II. The time constant (τ) is calculated as L / R.
III. A symbolic variable t is defined for time.
IV. The differential equation representing the transient response of the RL circuit is defined using diff
and ==.
V. The dsolve function is used to solve the differential equation symbolically.
VI. A time vector (‘t_span’) is created for the simulation.
VII. IL(t) is numerically evaluated for the given time vector.
VIII. The transient response is plotted.
Hints
% Define circuit parameters
R = 100; % Resistance in ohmsL =
0.5; % Inductance in henrys
Vin = 10; % Applied voltage in volts
MATLAB Simulation:
Write MATLAB code to:
I. Define the circuit parameters (R, L, and Vin).
II. Simulate the transient response of the RL circuit using the ‘lsim’ function. Use a timevector from 0 to 5τ with
a suitable time step.
III. Plot the transient response of the current (‘lL) as a function of time. Label the axesappropriately.
Analysis:
Based on the transient response plot obtained in question iii, discuss the behavior of the currentin the RL circuit as
it responds to the voltage step input. Specifically, explain the time constant, the initial current, and the behavior as
time progresses.
% Define the differential equation for the voltage VC(t) across the capacitorVC = sym('VC(t)');
eqn = R * diff (VC, t) + VC == Vin;
Try
Circuit Parameters:
c. MATLAB Simulation:
Write MATLAB code to:
I. Define the circuit parameters (R, C, and Vin).
II. Simulate the transient response of the RC circuit using the ‘lL’ function. Use a timevector from 0 to 5τ with a
suitable time step.
III. Plot the transient response of the voltage across the capacitor (Vc) as a function of time. Label the axes
appropriately.
d. Time Constant Verification:
I. Calculate the time constant τ numerically from the transient response obtainedin question 2.2c.
II. Compare the numerically calculated time constant with the value obtained in question 2.2(a). Explain any
differences or similarities.
e. Analysis:
Based on the transient response plot obtained in question c(iii), discuss the behavior of the current in the RL circuit
as it responds to the voltage step input. Specifically, explain the time constant, the initial current, and the behavior
as time progresses.
Calculate Z-parameters and Y-parameters for Circuit – 22, and analyze the network's response to different
conditions (open and short circuits). Where R1 = 100 Ω, R2 = 220 Ω, R3 = 1k Ω and R4 = 150 Ω.
I1 R R I2
1 3
+ +
V V
1
R2 2
R
- -
Circuit-3
Try
1. Use Simulink to simulate Circuit–22 for determining the Z and Y parameters and compare the values
to those you obtained from your experiment.
2. Calculate Z parameters and convert in terms of Y parameters for Circuit – 23. Where R1 = 100 Ω, R2 = 220 Ω,
R3 = 1k Ω, R4 = 150 Ω and R5 = 82 Ω.
R
5
+ +
- -
Circuit – 4
+ +
V V
1
R2 R4 2
- -
Circuit-5
Try
1. Use Simulink to simulate Circuit – 24 for determining the H and ABCD parameters and compare the values
to those you obtained from your experiment.
2. Calculate H parameters and convert in terms of Y parameters for Circuit – 25. Where R1 = 100 Ω, R2 = 220
Ω, R3 = 1k Ω, R4 = 150 Ω and R5 = 82 Ω.
R
5
+ +
- -
Circuit – 6
To simulate and measure the total power of a balanced 3-phase star-connected load using the two-wattmeter
method.
Circuit – 7
% Theoretical two-wattmeter values for balanced Y load
Vll = 400; % V (line-to-line)
Zmag = 10; % magnitude of per-phase impedance (Ohm)
phi_deg = 30; % load power factor angle in degrees (positive = lagging)
Vph = Vll/sqrt(3);
I = Vph / Zmag; % line current magnitude
% Wattmeter formulas
W1 = Vll * I * cosd(phi_deg - 30);
W2 = Vll * I * cosd(phi_deg + 30);
P_total = W1 + W2; % should equal sqrt(3)*Vll*I*cos(phi_deg)
I = 23.0940 A
W1 = 9237.604 W
W2 = 4618.802 W
P_total = 13856.406 W
5. Determination of Co-efficient of coupling, self and mutual inductance in magnetic
Coupled Circuits
To determine the self-inductance (L1, L2) of two coils, the mutual inductance (M) between them, and the
Coefficient of coupling (k) in a magnetically coupled circuit.
Circuit –8
MATLAB code
% coupled_inductor_test.m
% Simulate two coupled inductors, series aiding and series opposing,
% compute La, Lo, M, k from simulation.
% PARAMETERS (example)
L1 = 10e-3; % H
L2 = 20e-3; % H
k = 0.8; % coupling coefficient (true, for simulation)
M_true = k*sqrt(L1*L2);
% time vector
T = 1/f;
t = linspace(0,5*T,20000); % simulate 5 cycles, high resolution
% Helper: simulate series connection with given sign (+1 aiding, -1 opposing)
simulate_series = @(sign) simulate_two_coils(L1,L2,M_true,sign,R_series,Vamp,w,t);
Vrms = rms(Vamp*sin(w*t(last_cycle_idx)));
Irms_a = rms(data_a.i_series(last_cycle_idx));
Irms_o = rms(data_o.i_series(last_cycle_idx));
% Equivalent inductances:
La = Vrms/(w*Irms_a);
Lo = Vrms/(w*Irms_o);
% Display results
fprintf('Given L1 = %.6f H, L2 = %.6f H, k(true) = %.3f\n', L1, L2, k);
fprintf('True M = %.6e H\n', M_true);
fprintf('Measured La = %.6e H\n', La);
fprintf('Measured Lo = %.6e H\n', Lo);
fprintf('Calculated M = %.6e H\n', M_calc);
fprintf('Calculated k = %.6f\n', k_calc);
subplot(3,1,2);
plot(t(last_cycle_idx), data_o.i_series(last_cycle_idx));
title('Series Current (opposing) - last cycle'); xlabel('t (s)'); ylabel('I_O (A)');
subplot(3,1,3);
plot(t(last_cycle_idx), Vamp*sin(w*t(last_cycle_idx)));
title('Source Voltage - last cycle'); xlabel('t (s)'); ylabel('V (V)');
% -------------------------
% Local function: simulate two coupled coils connected in series
function out = simulate_two_coils(L1,L2,M,sign,Rs,Vamp,w,t)
% state variables: i1, i2 (currents through coil1, coil2)
% Equations (flux linkages):
% v1 = L1 di1/dt + M d i2/dt + R1 i1 (R1 assumed small)
% v2 = M d i1/dt + L2 d i2/dt + R2 i2
%
% But for series connection we combine so that the single series
% current i_series flows through coil1 and coil2 in a specific polarity.
% We'll simulate loop with i_series and differential equations for flux.
%
% Simpler approach: Build coupled inductance matrix and compute d/dt currents
%
% Inductance matrix:
Lmat = [L1, sign*M; sign*M, L2];
Rmat = [Rs, 0; 0, Rs];
% For series connection with single source across series combination:
% The source drives series loop: v = [1 1] * (Lmat * di/dt + Rmat*i)
% We'll simulate two currents satisfying same series current i1 = i2 = i_series
% For small Rs we approximate i1 = i2 = i_series * [1;1]*0.5?
% To properly capture mutual effect, simulate two-loop equations with a single
% series source by enforcing i1 = i_series and i2 = i_series with sign on dot.
% To avoid complexity, simulate two-winding circuit as single series branch with
% equivalent L_eq = L1 + L2 + 2*sign*M and R = 2*Rs.
Leq = L1 + L2 + 2*sign*M;
Req = 2*Rs;
% Solve di/dt = (1/Leq)*(v(t) - Req*i)
dt = t(2)-t(1);
i = zeros(size(t));
for idx = 2:length(t)
v = Vamp*sin(w*t(idx));
di_dt = (v - Req*i(idx-1))/Leq;
i(idx) = i(idx-1) + di_dt*dt;
end
out.i_series = i;
end
% RMS helper
function r = rms(x)
r = sqrt(mean(x.^2));
end
Try:
6. Frequency domain analysis of Low-pass filter and High-pass filters using circuit
simulation software
To plot the characteristics of low-pass and high-pass filters using MATLAB, you can follow these steps and use
the ‘freqz’ function for plotting the frequency response:
Hints
Design low-pass and high-pass filters using the ‘fir1’ or ‘fdesign’ [Link]'s an example using
‘fir1’:
Plot the frequency response of the filters using the ‘freqz’ function:
Try:
Problem 1: Filter Design
1. Design a low-pass filter with the following specifications:
• Filter Order: 40
• Cutoff Frequency: 0.2 (normalized frequency)
2. Design a high-pass filter with the following specifications:
• Filter Order: 30
• Cutoff Frequency: 0.3 (normalized frequency)
Problem 2: Frequency Response Plot
1. Plot the magnitude frequency response (in dB) of both the low-pass and high-pass filters.
• Use the ‘freqz’ function to calculate and plot the frequency response.
• Label the x-axis as "Normalized Frequency (\pi radians/sample)" and the y-axis as"Magnitude
(dB)."
2. Plot the phase frequency response (in radians) of both filters.
• Use the freqz function to calculate and plot the phase response.
• Label the x-axis as "Normalized Frequency (\pi radians/sample)" and the y-axis as"Phase
(radians)."
Problem 3: Filtered Signal
1. Generate a noisy input signal using MATLAB. You can use the ‘randn’ function to generaterandom
noise and the ‘sin’ function to generate a sinusoidal signal.
2. Apply both the low-pass and high-pass filters to the noisy signal to obtain filtered signals.
3. Plot the noisy input signal, the low-pass filtered signal, and the high-pass filtered signal on thesame graph.
Problem 4: Frequency Response Analysis
1. Analyze the frequency response plots and explain how the magnitude and phase characteristicsof the filters
align with their designed specifications.
2. Describe the differences in filtering results between the low-pass and high-pass filters. Discusswhich
frequencies are attenuated and which are passed through.
Problem 5: Submission
1. Prepare a report summarizing your filter design, frequency response analysis, and filtered signalresults.
2. Include the MATLAB code used for filter design, frequency response plotting, and signalprocessing in
your report.
3. Provide explanations and interpretations of the results in the report.
7.1 Verification of Superposition and Maximum Power Transfer theorems using any
circuit simulation software.
Investigate the current thought R2 resistor using superposition theorem to multiple DC source
R1 R3
V1 V2
Circuit – 9
Try
1. Use Simulink to simulate the Circuit – 16 for determining the current through a resistor R2 and compare this
value to those you obtained from your experiment.
2. Find the current thought R2 in Circuit – 16 using any circuit reduction technique and verify this value to those
you obtained from the superposition theorem.
3. Find the current through the R4 resistor using the superposition theorem for the Circuit – 17.
R1
R3 RL
Circuit – 10
Try
1. If the internal resistance of a voltage source is adjustable, and the load resistor is fixed. Determine the range of
source resistance values that will result in effective power transfer. Calculate the corresponding load power for
each extreme of the source resistance range.
2. Use Simulink to simulate Circuit – 21 for determining the current thought RL and compare this value to those
you obtained from your experiment.
Circuit – 11
R1 R3
V R R4
2
Circuit – 12
Try
1. Use Simulink to simulate the Circuit – 13 for determining the current thought R4 resistor using
Thevenin’s theorem and compare this value to those you obtained from your experiment.
2. Find the current thought R4 resistor using any circuit reduction technique and verify this value to those you
obtained from Thevenin’s theorem.
3. Find the current flowing through R2 resistor in Circuit – 14 using Thevenin’s theorem for the below circuit.
Where V1 = 10 V, V2 = 5 V, R1 = 100 Ω, R2 = 220 Ω, R3 = 1k Ω.
R1 R3
V1 R V2
2
Circuit – 13
R1 R3
V R RL
2
Circuit – 14
Try
1. Use Simulink to simulate the Circuit – 15 for determining the current through RL resistor and compare
this value to those you obtained from your experiment.
2. Find the current thought RL using any circuit reduction technique and verify this value to those you obtained
from Norton’s theorem.
9. Measurement of Active Power for Delta-connected balanced loads.
To measure the active power consumed by a delta-connected balanced load in a three-phase system using the
Two-Wattmeter Method.
The two-wattmeter method is widely used for measuring the active power in a three-phase system (balanced).
For a delta-connected balanced load, the total active power is the algebraic sum of the readings of the two
wattmeters:
P=W1+W2
Circuit – 15
BEGIN
COMPONENTS:
# Source
Vsource3P V1 R Y B N (3-phase balanced source, 400V, 50Hz)
# Wattmeters
Wattmeter W1 R N LOAD1
Wattmeter W2 Y N LOAD2
CONNECTIONS:
# Wattmeter W1: Current coil in R phase, potential coil across R-Y
W1.I coil R N
W1.P coil R Y
# Wattmeter W2: Current coil in Y phase, potential coil across Y-B
[Link] Y N
[Link] Y B
# Source connections
V1.R -> R
V1.Y -> Y
V1.B -> B
V1.N -> N
Z2.p -> Y
Z2.n -> B
Z3.p -> B
Z3.n -> R
END
SIMULATION:
RUN TIME = 0.1s
PLOT [Link] [Link] (Wattmeter readings)
PLOT [Link], [Link], [Link] (Source voltages)
PLOT I(R), I(Y), I(B) (Line currents)
RESULT:
Total Power = W1 + W2
Try
1. Two wattmeters (W1, W2) measure power.
2. The load is balanced Delta connected with impedance Z=(10+j5) Ω (example).
3. You can change the impedance values or supply voltage as per requirement.
4. Total power = W1 + W2.
10. Measurement of Reactive Power for Star and Delta connected balanced
load
To measure the reactive power of star and Delta connected balanced load
Circuit – 16
% Simulation of Star Connected Source supplying Delta Connected Load
clc;
clear all;
% Power calculations
P_ total = 3 * (V_ phase_ delta * conj(I_ ph)); % total 3-phase power
Q_ total = 3 * imag(V_ phase_ delta * conj(I_ ph));
S_ total = 3 * (V_ phase_ delta * conj(I_ ph));
% Display results
disp('--- Star Connected Source feeding Delta Load ---');
disp(['Source Line Voltage = ', num2str(V_ line), ' V']);
disp(['Load Impedance (Delta) = ', num2str(Z_ delta), ' ohm']);
disp(['Delta Phase Current = ', num2str(abs(I_ ph)), ' A']);
disp(['Line Current = ', num2str(abs(I_ line)), ' A']);
disp(['Total Active Power = ', num2str(real(P_ total)), ' W']);
disp(['Total Reactive Power = ', num2str(Q_ total), ' VAR']);
disp(['Total Apparent Power = ', num2str(abs(S_ total)), ' VA']);
11. Frequency domain analysis of Band-pass filters
Analyze the virtual instrumentation (VI) using control loops, arrays, charts and graphs in LabVIEW
software
Hints
/** Open LabVIEW and create a new VI */
/** Create a FOR loop on the block diagram with the following elements inside it */
- Numeric Constant (0) wired to the FOR loop iteration terminal
- Numeric Control for Duration wired to the count terminal of the FOR loop
/** Inside the FOR loop, generate a sinusoidal signal using the Sine Waveformfunction */
- Place a Sine Waveform function inside the FOR loop
- Wire the Frequency control to the "Frequency (Hz)" input of the Sine Waveformfunction
- Wire the Amplitude control to the "Amplitude (V)" input of the Sine Waveform function
- Use the FOR loop iteration terminal to generate a time signal (0, 1 sampleperiod, 2 sample
periods, etc.)
- Wire the time signal to the "Time (s)" input of the Sine Waveform function
/** Wire the output of the Sine Waveform function to a Build Array function tocreate an array of
the generated signal */
/** After the FOR loop, add a Peak Detector VI to detect peaks in the signal */
- Place a Peak Detector VI on the block diagram
- Wire the output array to the "Input Array" input of the Peak Detector
- Set the "Threshold" parameter of the Peak Detector VI to a suitable value
/** Connect the output of the Peak Detector VI to the "Data" input of the WaveformChart to display
the original signal with peaks highlighted */
/** Place a Waveform Chart Clear function outside the FOR loop and wire it to the chart to
clear the chart before displaying the new data */
/** Run the VI to generate the sinusoidal signal, detect peaks, compute the FFT, and display
the results on the charts */
in the FFT result */
This LabVIEW example demonstrates the use of FOR and WHILE loops, charts (waveform chart and
waveform graph), arrays, and analysis VIs (Peak Detector and FFT) in a signal processing application. Students
can modify and extend this example to explore more complex signal processing and analysis tasks.
Try:
1. Obtain VI using for loop and While loop.
2. Obtain VI using charts and arrays.
3. Obtain VI using graphs.
Hints
Design low-pass and high-pass filters using the ‘fir1’ or ‘fdesign’ [Link]'s an example using ‘fir1’:
Plot the frequency response of the filters using the ‘freqz’ function:
Try:
Problem 1: Filter Design
1. Design a low-pass filter with the following specifications:
• Filter Order: 40
• Cutoff Frequency: 0.2 (normalized frequency)
2. Design a high-pass filter with the following specifications:
• Filter Order: 30
• Cutoff Frequency: 0.3 (normalized frequency)
Problem 2: Frequency Response Plot
1. Plot the magnitude frequency response (in dB) of both the low-pass and high-pass filters.
• Use the ‘freqz’ function to calculate and plot the frequency response.
• Label the x-axis as "Normalized Frequency (\pi radians/sample)" and the y-axis as"Magnitude
(dB)."
• Plot the phase frequency response (in radians) of both filters.
• Use the freqz function to calculate and plot the phase response.
• Label the x-axis as "Normalized Frequency (\pi radians/sample)" and the y-axis as"Phase
(radians)."
Problem 3: Filtered Signal
1. Generate a noisy input signal using MATLAB. You can use the ‘randn’ function to generaterandom
noise and the ‘sin’ function to generate a sinusoidal signal.
2. Apply both the low-pass and high-pass filters to the noisy signal to obtain filtered signals.
3. Plot the noisy input signal, the low-pass filtered signal, and the high-pass filtered signal on thesame
graph.
Problem 4: Frequency Response Analysis
1. Analyze the frequency response plots and explain how the magnitude and phase characteristicsof the
filters align with their designed specifications
2. Describe the differences in filtering results between the low-pass and high-pass filters. Discusswhich
frequencies are attenuated and which are passed through.
Problem 5: Submission
1. Prepare a report summarizing your filter design, frequency response analysis, and filtered signalresults.
2. Include the MATLAB code used for filter design, frequency response plotting, and signalprocessing in
your report.
3. Provide explanations and interpretations of the results in the report.
13. Determination of Time response of first order RL, RC circuit for periodic non –
sinusoidal inputs - Time Constant and Steady state error.
_____________________________________________________________
Examine the time varying characteristics of series RL, RC and RLC circuits for given values of R, L and Cusing
MATLAB software.
13.1 Time Response of Series RL
In this MATLAB program:
1. Circuit parameters (resistance, inductance, and applied voltage) are defined.
2. The time constant (τ) is calculated as L / R.
3. A symbolic variable t is defined for time.
4. The differential equation representing the transient response of the RL circuit is defined using
diff and ==.
5. The dsolve function is used to solve the differential equation symbolically.
6. A time vector (‘t_span’) is created for the simulation.
7. IL(t) is numerically evaluated for the given time vector.
8. The transient response is plotted.
Hints
% Define circuit parameters
R = 100; % Resistance in ohmsL = 0.5;
% Inductance in henrys
Vin = 10; % Applied voltage in volts
Try:
Circuit Parameters:
MATLAB Simulation:
Write MATLAB code to:
a. Define the circuit parameters (R, L, and Vin).
b. Simulate the transient response of the RL circuit using the ‘l sim’ function. Use a timevector from 0 to
5τ with a suitable time step.
c. Plot the transient response of the current (‘lL) as a function of time. Label the axesappropriately.
Time Constant Verification:
a. Calculate the time constant τ numerically from the transient response obtained inquestion 2.1(c).
b. Compare the numerically calculated time constant with the value obtained in question.
c. Explain any differences or similarities.
Analysis:
Based on the transient response plot obtained in question iii, discuss the behavior of the currentin the RL circuit
as it responds to the voltage step input. Specifically, explain the time constant, the initial current, and the
behavior as time progresses.
% Define the differential equation for the voltage VC(t) across the capacitorVC = sym('VC(t)');
eqn = R * diff (VC, t) + VC == Vin;
Try:
Circuit Parameters:
Given the following values:
I. Resistor (R): 220 ohms
II. Inductor (L): 0.01 F
III. Applied Voltage (Vin): 10 V
Calculate the time constant (τ) of the RC circuit.
f. Transient Analysis:
I. Write down the first-order differential equation governing the transient response of theRC circuit in terms of
the voltage (Vc) across the capacitor.
II. Solve the differential equation symbolically to obtain the expression for Vc(t) as afunction of time (t).
g. MATLAB Simulation:
Write MATLAB code to:
I. Define the circuit parameters (R, C, and Vin).
II. Simulate the transient response of the RC circuit using the ‘lL’ function. Use a timevector from 0 to 5τ with a
suitable time step.
III. Plot the transient response of the voltage across the capacitor (Vc) as a function oftime. Label the
axes appropriately.
h. Time Constant Verification:
I. Calculate the time constant τ numerically from the transient response obtainedin question 2.2c.
II. Compare the numerically calculated time constant with the value obtained inquestion 2.2(a). Explain
any differences or similarities.
i. Analysis:
Based on the transient response plot obtained in question c(iii), discuss the behavior of the current in the RL circuit
as it responds to the voltage step input. Specifically, explain the time constant, the initial current, and the behavior
as time progresses
Circuit – 17
% Verification of Compensation Theorem
clc; clear;
% Given values
Vs = 10; % Source voltage
R1 = 5; % Series resistor
R2 = 10; % Branch resistor
R3 = 10; % Load resistor
dR = 5; % Change in resistance
VI. REFERENCES
1. William Hayt, Jack E Kemmerly S.M. Durbin, “Engineering Circuit Analysis”, Tata McGraw Hill, 7th edition,
2010.
2. K S Suresh Kumar, “Electric Circuit Analysis”, Pearson Education, 1st edition, 2013.
3. Rudrapratap, “Getting started with MATLAB: A Quick Introduction for Scientists andEngineers”,
Oxford University Press, 1st edition, 19994.