ECE 201 Section 4 Lecture 7 Prof Peter Bermel January 25 2012 Recap Nodal analysis required for general circuits Allows one to calculate unknown voltages and currents by applying KCL Ohm s law and matrix algebra Can calculate by hand or with software 1 25 2012 ECE 201 4 Prof Bermel Software Licensed software Best way to access MATLAB for free is whirlpool ecn purdue edu Requirements ECN account ssh client e g PuTTY X server e g Cygwin available on PULS Upload with WinSCP http winscp net Free software Download Octave from http octave sourceforge net 1 25 2012 ECE 201 4 Prof Bermel MATLAB Code for Example G1 I1 A G4 B I3 G3 C I2 G2 V a ECE 201 4 Prof Bermel I5 G5 Io Io 1 25 2012 I4 Calling from MATLAB G1 I1 A G4 B I3 G3 C I2 G2 V a ECE 201 4 Prof Bermel I5 G5 Io Io 1 25 2012 I4 Current Source Example Is Using KCL Using Ohm s Law 1 25 2012 ECE 201 4 Prof Bermel I1 G1 G2 G3 A Io I4 G4 I3 I2 B I5 G5 Current Source Example Combining grouping terms In matrix form Why doesn t solution depend on G1 or G2 1 25 2012 ECE 201 4 Prof Bermel MATLAB Code 1 25 2012 ECE 201 4 Prof Bermel Calling the Code 1 25 2012 ECE 201 4 Prof Bermel Voltage vs Source Current 1 25 2012 ECE 201 4 Prof Bermel Controlled Sources RnI4 Using KCL Using KVL Using Ohm s Law I1 ECE 201 4 Prof Bermel G2 G3 A I4 Io 1 25 2012 G1 G4 C I3 gmVAB I5 G5 I1 B Controlled Sources Rearranging 1 1 0 1 25 2012 ECE 201 4 Prof Bermel MATLAB code 1 25 2012 ECE 201 4 Prof Bermel Calling the code 1 25 2012 ECE 201 4 Prof Bermel Contour Plot of Va G 0 5 G2 G3 0 5 0 8 2 0 1 0 1 25 2012 ECE 201 4 Prof Bermel Homework HW 5 solution posting this morning HW 6 due today by 4 pm at EE 325B HW 7 due Friday DeCarlo Lin Chapter 3 Problem 2 Problem 6 a 1 25 2012 ECE 201 4 Prof Bermel
View Full Document
Unlocking...