110 likes | 321 Vues
EXPERIMENT 1. OHM’S LAW V-I RELATION. CIRCUIT ANALYSIS TOOLS: MATLAB, PROTEUS. MATLAB Circuit schematic 2n e equations/unknowns MATLAB solutions PROTEUS Circuit schematic Voltage, current probes Voltage current waveforms. MATLAB OBJECTIVES. TO USE MATLAB TOOLS FOR CIRCUIT ANALYSIS
E N D
EXPERIMENT 1 OHM’S LAW V-I RELATION Ertuğrul Eriş
CIRCUIT ANALYSIS TOOLS: MATLAB, PROTEUS • MATLAB • Circuit schematic • 2ne equations/unknowns • MATLAB solutions • PROTEUS • Circuit schematic • Voltage, current probes • Voltage current waveforms Ertuğrul Eriş
MATLAB OBJECTIVES • TO USE MATLAB TOOLS FOR CIRCUIT ANALYSIS • V-I relations (Definition relations) • One variable functions plot • V=Ri, V=Ri, I=(1/R)*v; I=(1/R)*v • Plot(i,v) Ertuğrul Eriş
V=R*I; R=10 Ohms V=dependent variable I=independent variable DC sweep R=10 Ohms Slope=(V/I)=R=10 ohms MATLAB: i=0:0.01:5; v=10*i; plot(i,v); Ertuğrul Eriş
V=R*I; I=3Amps V=dependent variable I=current source DC sweep on R R=independent variable Slope=(V/R)=I=3 amps MATLAB: >> R=0:20:100; v=R*3; plot(R,v); Ertuğrul Eriş
I=V/R=G*V; G=1/R=0.1 Siemens I=dependent variable V=independent variable DC sweep R=10 Ohms Slope=(I/V)= 1/R=0,1 siemens MATLAB: >> v=0:0.01:5; i=(1/10)*v; plot(v,i); Ertuğrul Eriş
I=V/R=(1/R)*V I=dependent variable V= 3v , constant. DC voltage source R=DC sweep I=(1/R)*V MATLAB: >> R=0:1:100; i=3./R plot(R,i); Attention: Do not forget (.) before division operator (/) Ertuğrul Eriş
PROTEUS OBJECTIVES • V-I Relation, Definition relation • DC sweep on sources (v,i) • DC sweep on an element parameter Ertuğrul Eriş
PROTEUS V-I RELATIONS Ertuğrul Eriş