Math Review with Matlab:

Slides:



Advertisements
Similar presentations
FACTORING ax2 + bx + c Think “unfoil” Work down, Show all steps.
Advertisements

Chapter 9 Sinusoids and Phasors SJTU.
Differential Equations
Laplace Transform Math Review with Matlab:
Basic Laws of Electric Circuits Kirchhoff’s Voltage Law
Chapter 15 Complex Numbers
ECE201 Lect-41 Sinusoids (8.1); Phasors (8.3); Complex Numbers (Appendix) Dr. Holbert January 30, 2006.
EE369 POWER SYSTEM ANALYSIS
Since Therefore Since.
Slide 6-1 COMPLEX NUMBERS AND POLAR COORDINATES 8.1 Complex Numbers 8.2 Trigonometric Form for Complex Numbers Chapter 8.
Complex Numbers in Engineering (Chapter 5 of Rattan/Klingbeil text)
Transition between real sinusoidal signals (“time domain”)
MAT 205 F08 Chapter 12 Complex Numbers.
Math Review with Matlab:
1 Review of AC Circuits Smith College, EGR 325 March 27, 2006.
ECE410 Spring 2012 Lecture #32 AC Circuits I.
25 seconds left…...
Chapter 6 Equations 6.1 Solving Trigonometric Equations 6.2 More on Trigonometric Equations 6.3 Trigonometric Equations Involving Multiples Angles 6.4.
S. Awad, Ph.D. M. Corless, M.S.E.E. E.C.E. Department University of Michigan-Dearborn Laplace Transform Math Review with Matlab: Fundamentals.
Fisica Generale - Alan Giambattista, Betty McCarty Richardson Copyright © 2008 – The McGraw-Hill Companies s.r.l. 1 Chapter 21: Alternating Currents Sinusoidal.
Computer Vision Lecture 7: The Fourier Transform
Math Review with Matlab:
Lecture 2 Complex Power, Reactive Compensation, Three Phase Dr. Youssef A. Mobarak Department of Electrical Engineering EE 351 POWER SYSTEM ANALYSIS.
Complex Numbers S. Awad, Ph.D. M. Corless, M.S.E.E. E.C.E. Department University of Michigan-Dearborn Math Review with Matlab: Complex Math.
Ch4 Sinusoidal Steady State Analysis 4.1 Characteristics of Sinusoidal 4.2 Phasors 4.3 Phasor Relationships for R, L and C 4.4 Impedance 4.5 Parallel and.
 A sinusoids is signal that has the form of the sine or cosine function.  Consider the sinusoidal voltage.
Chapter 2: Part 1 Phasors and Complex Numbers
Math Review with Matlab:
We have been using voltage sources that send out a current in a single direction called direct current (dc). Current does not have to flow continuously.
Department of Electronic Engineering BASIC ELECTRONIC ENGINEERING Steady-State Sinusoidal Analysis.
STEADY STATE AC CIRCUIT ANALYSIS
Lecture 191 Sinusoids (7.1); Phasors (7.3); Complex Numbers (Appendix) Prof. Phillips April 16, 2003.
1 Sinusoidal Functions, Complex Numbers, and Phasors Discussion D14.2 Sections 4-2, 4-3 Appendix A.
R,L, and C Elements and the Impedance Concept
Lesson 18 Phasors & Complex Numbers in AC
Chapter 6(a) Sinusoidal Steady-State Analysis
Lecture 26 Review Steady state sinusoidal response Phasor representation of sinusoids Phasor diagrams Phasor representation of circuit elements Related.
Chapter 10 Sinusoidal Steady-State Analysis
ES250: Electrical Science
A sinusoidal current source (independent or dependent) produces a current That varies sinusoidally with time.
Complex Numbers, Sinusoidal Sources & Phasors ELEC 308 Elements of Electrical Engineering Dr. Ron Hayne Images Courtesy of Allan Hambley and Prentice-Hall.
EE2010 Fundamentals of Electric Circuits Lecture 13 Sinusoidal sources and the concept of phasor in circuit analysis.
Fundamentals of Electric Circuits Chapter 9
Sinusoids & Phasors. A sinusoidal current is usually referred to as alternating current (ac). Circuits driven by sinusoidal current or voltage sources.
Fall 2000EE201Phasors and Steady-State AC1 Phasors A concept of phasors, or rotating vectors, is used to find the AC steady-state response of linear circuits.
The V  I Relationship for a Resistor Let the current through the resistor be a sinusoidal given as Is also sinusoidal with amplitude amplitudeAnd.
Fundamentals of Electric Circuits Chapter 9 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Lecture 16: Sinusoidal Sources and Phasors Nilsson , App. B ENG17 : Circuits I Spring May 21, 2015.
1 ELECTRICAL CIRCUIT ET 201  Define and explain phasors, time and phasor domain, phasor diagram.  Analyze circuit by using phasors and complex numbers.
Fundamentals of Electric Circuits Chapter 9
1 ECE 3336 Introduction to Circuits & Electronics Note Set #8 Phasors Spring 2013 TUE&TH 5:30-7:00 pm Dr. Wanda Wosik.
Unit 8 Phasors.
Lecture 21 Review: Second order electrical circuits Series RLC circuit Parallel RLC circuit Second order circuit natural response Sinusoidal signals and.
04/03/2015 Hafiz Zaheer Hussain.
SINUSOIDAL STEADY-STATE ANALYSIS – SINUSOIDAL AND PHASOR
1 ECE 3144 Lecture 30 Dr. Rose Q. Hu Electrical and Computer Engineering Department Mississippi State University.
Chapter 2. READING ASSIGNMENTS This Lecture: Chapter 2, pp Appendix A: Complex Numbers Appendix B: MATLAB or Labview Chapter 1: Introduction.
CHAPTER 1: SINUSOIDS AND PHASORS
1 EENG224 Chapter 9 Complex Numbers and Phasors Huseyin Bilgekul EENG224 Circuit Theory II Department of Electrical and Electronic Engineering Eastern.
EE301 Phasors, Complex Numbers, And Impedance. Learning Objectives Define a phasor and use phasors to represent sinusoidal voltages and currents Determine.
Chapter 9 Sinusoidal Steady-State Analysis
Alexander-Sadiku Fundamentals of Electric Circuits
Chapter 9 Complex Numbers and Phasors
Background As v cos(wt + f + 2p) = v cos(wt + f), restrict –p < f ≤ p Engineers throw an interesting twist into this formulation The frequency term wt.
Sinusoidal Waveform Phasor Method.
ECE 1270: Introduction to Electric Circuits
Alexander-Sadiku Fundamentals of Electric Circuits
2. 2 The V-I Relationship for a Resistor Let the current through the resistor be a sinusoidal given as Is also sinusoidal with amplitude amplitude.
Chapter 9 – Sinusoids and Phasors
Chapter 9 – Sinusoids and Phasors
Presentation transcript:

Math Review with Matlab: 4/1/2017 Math Review with Matlab: Complex Numbers Sinusoidal Addition S. Awad, Ph.D. M. Corless, M.S.E.E. E.C.E. Department University of Michigan-Dearborn

Sinusoidal Addition General Sinusoid Euler’s Identity A useful application of complex numbers is the addition of sinusoidal signals having the same frequency General Sinusoid Euler’s Identity Sinusoidal Addition Proof Phasor Representation of Sinusoids Phasor Addition Example Addition of 4 Sinusoids Example

General Sinusoid A general cosine wave, v(t), has the form: M = Magnitude, amplitude, maximum value w = Angular Frequency in radians/sec (w=2pF) F = Frequency in Hz T = Period in seconds (T=1/F) t = Time in seconds q = Phase Shift, angular offset in radians or degrees

Euler’s Identity A general complex number can be written in exponential polar form as: Euler’s Identity describes a relationship between polar form complex numbers and sinusoidal signals:

Useful Relationship Euler’s Identity can be rewritten as a function of general sinusoids: Resulting in the useful relationship:

Sinusoidal Addition Proof Show that the sum of two generic cosine waves, of the same frequency, results in another cosine wave of the same frequency but having a different Magnitude and Phase Shift (angular offset) Given: Prove:

Complex Representation Each cosine function can be written as the sum of the real portion of two complex numbers

Complex Addition ejwt is common and can be distributed out The addition of the complex numbers M1ejq1 and M2ejq2 results in a new complex number M3ejq3

Return to Time Domain The steps can be repeated in reverse order to convert back to a sinusoidal function of time We see v3(t) is also a cosine wave of the same frequency as v1(t) and v2(t), but having a different Magnitude and Phase

Phasors Time Domain Voltage: v(t) Complex Domain Phasor: V(jw) In electrical engineering, it is often convenient to represent a time domain sinusoidal voltages as complex number called a Phasor Standard Phasor Notation of a sinusoidal voltage is: Time Domain Voltage: v(t) Complex Domain Phasor: V(jw)

Phasor Addition Time Domain Complex Domain Time Domain As shown previously, two sinusoidal voltages of the same frequency can easily be added using their phasors Time Domain Complex Domain Time Domain

Phasor Addition Example Example: Use the Phasor Technique to add the following two 1k Hz sinusoidal signals. Graphically verify the results using Matlab. Given: Determine:

Phasor Transformation Since Standard Phasors are written in terms of cosine waves, the sine wave must be rewritten as: The signals can now be converted into Phasor form

Rectangular Addition To perform addition by hand, the Phasors must be written in rectangular (conventional) form Now the Phasors can be added

Transform Back to Time Domain Before converting the signal to the time domain, the result must be converted back to polar form: The result can be transformed back to the time domain:

Addition Verification Matlab can be used to verify the complex addition: » V1=2*exp(j*0); » V2=3*exp(-j*pi/2); » V3=V1+V2 V3 = 2.0000 - 3.0000i » M3=abs(V3) M3 = 3.6056 » theta3= angle(V3)*180/pi theta3 = -56.3099

Time Domain Addition The original cosine waves can be added in the time domain using Matlab: f =1000; % Frequency T = 1/f; % Find the period TT=2*T; % Two periods t =[0:TT/256:TT]; % Time Vector v1=2*cos(2*pi*f*t); v2=3*sin(2*pi*f*t); v3=v1+v2;

Code to Plot Results Plot all signals in Matlab using three subplots subplot(3,1,1); plot(t,v1); grid on; axis([ 0 TT -4 4]); ylabel('v_1=2cos(2000\pit)'); title('Sinusoidal Addition'); subplot(3,1,2); plot(t,v2); ylabel('v_2=3sin(2000\pit)'); subplot(3,1,3); plot(t,v3); ylabel('v_3 = v_1 + v_2'); xlabel('Time'); v_1 prints v1 \pi prints p

Plot Results Plots show addition of time domain signals

Verification Code Plot the added signal, v3, and the hand derived signal to verify that they are the same v_hand=3.6056*cos(2*pi*f*t-56.3059*pi/180); subplot(2,1,1);plot(t,v3); grid on; ylabel('v_3 = v_1 + v_2'); xlabel('Time'); title('Graphical Verification'); subplot(2,1,2);plot(t,v_hand); grid on; ylabel('3.6cos(2000\pit - 56.3\circ)');

Graphical Verification The results are the same Thus Phasor addition is verified

Four Cosines Example Given: Determine: Example: Use Matlab to add the following four sinusoidal signals and extract the Magnitude, M5 and Phase, q5 of the resulting signal. Also plot all of the signals to verify the solution. Given: Determine:

Enter in Phasor Form Transform signals into phasor form Create phasors as Matlab variables in polar form » V1 = 1*exp(j*0); » V2 = 2*exp(-j*pi/6); » V3 = 3*exp(-j*pi/3); » V4 = 4*exp(-j*pi/2);

Add Phasors Add phasors then extract Magnitude and Phase » V5 = V1 + V2 + V3 + V4; » M5 = abs(V5) M5 = 8.6972 » theta5_rad = angle(V5); » theta5_deg = theta5_rad*180/pi theta5_deg = -60.8826 Add phasors then extract Magnitude and Phase Convert back into Time Domain

Code to Plot Voltages Plot all 4 input voltages on same plot with different colors f =1000; % Frequency T = 1/f; % Find the period t =[0:T/256:T]; % Time Vector v1=1*cos(2*pi*f*t); v2=2*cos(2*pi*f*t-pi/6); v3=3*cos(2*pi*f*t-pi/3); v4=4*cos(2*pi*f*t-pi/2); plot(t,v1,'k'); hold on; plot(t,v2,'b'); plot(t,v3,'m'); plot(t,v4,'r'); grid on; title('Waveforms to be added'); xlabel('Time');ylabel('Amplitude');

Signals to be Added

Code to Plot Results Add the original Time Domain signals v5_time = v1 + v2 + v3 + v4; subplot(2,1,1);plot(t,v5_time); grid on; ylabel('From Time Addition'); xlabel('Time'); title('Results of Addition of 4 Sinusoids'); Transform Phasor result into time domain v5_phasor = M5*cos(2*pi*f*t+theta5_rad); subplot(2,1,2);plot(t,v5_phasor); grid on; ylabel('From Phasor Addition'); xlabel('Time');

Compare Results The results are the same Thus Phasor addition is verified

Sinusoidal Analysis The application of phasors to analyze circuits with sinusoidal voltages forms the basis of sinusoidal analysis techniques used in electrical engineering In sinusoidal analysis, voltages and currents are expressed as complex numbers called Phasors. Resistors, capacitors, and inductors are expressed as complex numbers called Impedances Representing circuit elements as complex numbers allows engineers to treat circuits with sinusoidal sources as linear circuits and avoid directly solving differential equations

Summary Reviewed general form of a sinusoidal signal Used Euler’s identity to express sinusoidal signals as complex exponential numbers called phasors Described how Phasors can be used to easily add sinusoidal signals and verified the results in Matlab Explained phasor addition concepts are useful for sinusoidal analysis of electrical circuits subject to sinusoidal voltages and currents