Lab 217 RC Circuits

.docx

School

New Jersey Institute Of Technology *

*We aren’t endorsed by this school

Course

121A

Subject

Electrical Engineering

Date

Apr 3, 2024

Type

docx

Pages

8

Uploaded by CountGerbilMaster998

Report
Lab 217: RC Circuits Group ID: 6 Date of Experiment: 11/2/2021 Date of Report Submission: 11/9/2021 Phys 121A 001 Instructor: Sandun Amarasinghe 1. Introduction 1.1 Objectives - To observe and analyze the voltage across a capacitor Vc as a function of time t in a circuit containing a resistor and capacitor connected in series. 1.2 Theoretical Background - The objective of this lab is to learn about resistors and capacitors, specifically a RC circuit. We are to gather data on the time it takes for the circuit to charge in one trial and the time it takes to discharge on another. With that data we then measure the time constants.
2. Experimental Procedure Equipment:
Code for finding time constant C = 1000*10^-6; R = 33*1000; V0 = 5; t = 0: 0.01: 200; tau = R*C; Vt = V0*exp(-t/tau); Yth = log(Vt/V0); texp = [0 5.7 11 16 21.3 31.8 42.3 51.9 61]; Vexp = [5 4.5 3.7 3.2 2.9 2.0 1.5 1.0 0.9]; Yexp = log(Vexp/V0); subplot(2,1,1); plot(t, Vt, texp, Vexp, 'x' ); subplot(2,1,2); plot(t, Yth, texp, Yexp, 'x' ); coefficients = polyfit(texp, Yexp,1); m = coefficients (1); tauexp = -1/m; error = abs(tau-tauexp)/tau*100; Code for finding 2 nd time constant C = 1000*10^-6; R = 33*1000; V0 = 5; t = 0: 0.01: 200; tau = R*C; Vt = V0*(1-exp(-t/tau)); Yth = log(1-Vt/V0); texp = [0 4.3 9 14 19.7 29.2 37.7 48.1 59 82]; Vexp = [0 0.68 1.32 1.80 2.1 3 3.5 3.9 4.0 4.6]; Yexp = log(1-Vexp/V0); subplot(2,1,1); plot(t, Vt, texp, Vexp, 'x' ); subplot(2,1,2); plot(t, Yth, texp, Yexp, 'x' ) coefficients = polyfit(texp, Yexp,1); m = coefficients (1); tauexp = -1/m; error = abs(tau-tauexp)/tau*100;
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help