0% found this document useful (0 votes)
17 views5 pages

Assignment#02 RLC

The document describes setting up an RLC circuit using an Arduino board and measuring the output response. It provides the component values used and calculates the damping ratio to show the system is underdamped. MATLAB code is provided to model the circuit response and compare it to experimental data.

Uploaded by

junaid saleem
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views5 pages

Assignment#02 RLC

The document describes setting up an RLC circuit using an Arduino board and measuring the output response. It provides the component values used and calculates the damping ratio to show the system is underdamped. MATLAB code is provided to model the circuit response and compare it to experimental data.

Uploaded by

junaid saleem
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Assignment#02

Objective:
Find the response of RLC Circuit.

Hardware Setup:
Simulink:

Required Equipment’s:

 Arduino board ( Uno )


 Breadboard
 Battery
 Electronic components (inductor, resistor, capacitor)
 Switch
 Jumper wires
We are using a simple electrical circuit consisting of an inductor (L), a resistor (R),
and a capacitor (C) in series.
 The Arduino board will be used for measuring the output of this LRC circuit
and possibly for triggering the input to the circuit.
 The input to the circuit will be a voltage step, supplied by a battery through a
push-button switch, applied across all three components in series.
 The output of the circuit will be the voltage across the capacitor, which will
be read via one of the board's Analog Inputs.
 This data is then fed to Simulink for visualization and for comparison to our
resulting simulation model output.
Result:

Calculations:
R=10Ω
Req=5 Ω
L=57.39mH
C=470µF
Now we will find ζ
We know that
The Transfer function is
1
𝐿𝐶
G(s)= 𝑅+𝑅𝑒𝑞 1
2+ +
𝑆 𝐿𝑆 𝐿𝐶
Damoing Ratio(ζ) is
𝑅+𝑅𝑒𝑞
ζ= √𝐶/𝐿
2

putting values
ζ=0.68
This Showa that the system is Underdamped because 0 < ζ < 1 .

MATLAB

s = tf('s');
R = 10; % resistor resistance
Req = 5; % inductor equivalent series resistance (ESR)
L = 57.39E-3; % inductor inductance
C = 470*10^-6; % capacitor capacitance
ei = 1.53; % battery voltage
tstep = 1.22; % time step occurred
G = 1/(C*L*s^2 + C*(R+Req)*s + 1); % model transfer function
num=[0 0 1];
den=[C*L C*(R+Req) 1]
tf(num,den)
step(G*ei,0.5); % model step response with battery voltage scaling
hold
plot(simout,'r:') % experimental data
xlabel('time (sec)')
ylabel('output voltage (Volts)')
title('LRC Circuit Step Response')
legend('model','experiment','Location','SouthEast')

OutPut:

-----------------------------

2.697e-05 s^2 + 0.00705 s + 1

Continuous-time transfer function.

Current plot held


Published with MATLAB® R2016a

………………………………………………………………………………………
……………………………………...………....……………………………………..

You might also like