ie1206 embedded electronics - kth · 2015-03-19 · ie1206 embedded electronics transients pwm...

57
IE1206 Embedded Electronics Transients PWM Phasor jϖ PWM CCP CAP/IND-sensor Le1 Le3 Le6 Le8 Le2 Ex1 Le9 Ex4 Le7 Written exam William Sandqvist [email protected] PIC-block Documentation, Seriecom Pulse sensors I, U, R, P, serial and parallel Ex2 Ex5 Kirchhoffs laws Node analysis Two-terminals R2R AD Trafo, Ethernet contact Le13 Pulse sensors, Menu program Le4 KC1 LAB1 KC3 LAB3 KC4 LAB4 Ex3 Le5 KC2 LAB2 Two-terminals, AD, Comparator/Schmitt Step-up, RC-oscillator Le10 Ex6 LC-osc, DC-motor, CCP PWM LP-filter Trafo Le12 Ex7 Display Le11 Start of programing task Display of programing task

Upload: others

Post on 24-Jun-2020

7 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: IE1206 Embedded Electronics - KTH · 2015-03-19 · IE1206 Embedded Electronics Transients PWM Phasor j ωPWM CCP CAP/IND-sensor Le1 Le3 Le6 Le8 Le2 Ex1 Le9 Ex4 Le7 Written exam William

IE1206 Embedded Electronics

Transients PWM

Phasor jω PWM CCP CAP/IND-sensor

Le1

Le3

Le6

Le8

Le2

Ex1

Le9

Ex4 Le7

Written exam

William Sandqvist [email protected]

PIC-block Documentation, Seriecom Pulse sensorsI, U, R, P, serial and parallel

Ex2

Ex5

Kirchhoffs laws Node analysis Two-terminals R2R AD

Trafo, Ethernet contactLe13

Pulse sensors, Menu program

Le4

KC1 LAB1

KC3 LAB3

KC4 LAB4

Ex3Le5 KC2 LAB2 Two-terminals, AD, Comparator/Schmitt

Step-up, RC-oscillator

Le10Ex6 LC-osc, DC-motor, CCP PWM

LP-filter TrafoLe12 Ex7 Display

Le11

•••• Start of programing task

•••• Display of programing task

Page 2: IE1206 Embedded Electronics - KTH · 2015-03-19 · IE1206 Embedded Electronics Transients PWM Phasor j ωPWM CCP CAP/IND-sensor Le1 Le3 Le6 Le8 Le2 Ex1 Le9 Ex4 Le7 Written exam William

William Sandqvist [email protected]

Easy to generate a sinusoidal voltage

Our entire power grid works with sinusoidal voltage.

When the loop rotates with constant speed in a magnetic field a sine wave is generated.

So much easier, it can not be …

Page 3: IE1206 Embedded Electronics - KTH · 2015-03-19 · IE1206 Embedded Electronics Transients PWM Phasor j ωPWM CCP CAP/IND-sensor Le1 Le3 Le6 Le8 Le2 Ex1 Le9 Ex4 Le7 Written exam William

William Sandqvist [email protected]

The sine wave – what do you remember?

periodT

timet

y

amplitudetopY ,ˆ

RMSY

2

ˆ12)sin(ˆ)(

YY

TfftYty ==== πωω

Page 4: IE1206 Embedded Electronics - KTH · 2015-03-19 · IE1206 Embedded Electronics Transients PWM Phasor j ωPWM CCP CAP/IND-sensor Le1 Le3 Le6 Le8 Le2 Ex1 Le9 Ex4 Le7 Written exam William

William Sandqvist [email protected]

(11.1) Phase ϕ

)sin(ˆ)( ϕω += tYty

If a sine curve does not begin with 0 the function expression has a phase angle ϕ.

Specify this function mathematically:

)10002sin(6)( ϕπ +⋅⋅⋅= ttu

y

)30(rad52,06

3arcsin)sin(63)0( °==

=⇒⋅== ϕϕu

)52,06283sin(6)( +⋅⋅= ttu

Page 5: IE1206 Embedded Electronics - KTH · 2015-03-19 · IE1206 Embedded Electronics Transients PWM Phasor j ωPWM CCP CAP/IND-sensor Le1 Le3 Le6 Le8 Le2 Ex1 Le9 Ex4 Le7 Written exam William

William Sandqvist [email protected]

Apples and pears?In circuit analyses it is common (eg. in textbooks) to expresses the angle of the sine function mixed in radians ω·t [rad] and in degrees ϕ [°].

This is obviously improper, but practical (!). The user must "convert" phase angle to radians to calculate the sine function value for any given time t.

(You have now been warned …)

)306283sin(6)( °+⋅⋅= ttu

Conversion:x[°]= x[rad] ⋅57,3x[rad]= x[°]⋅0,017

? ?

Page 6: IE1206 Embedded Electronics - KTH · 2015-03-19 · IE1206 Embedded Electronics Transients PWM Phasor j ωPWM CCP CAP/IND-sensor Le1 Le3 Le6 Le8 Le2 Ex1 Le9 Ex4 Le7 Written exam William

William Sandqvist [email protected]

Page 7: IE1206 Embedded Electronics - KTH · 2015-03-19 · IE1206 Embedded Electronics Transients PWM Phasor j ωPWM CCP CAP/IND-sensor Le1 Le3 Le6 Le8 Le2 Ex1 Le9 Ex4 Le7 Written exam William

William Sandqvist [email protected]

Mean and effective value

T

ttu

UttuU

T

T

T

∫∫ === 0

2

0

1med

d)(

0d)(

All pure AC voltages, has the mean value0.

• More interesting is the effective value– root mean square, rms.

Page 8: IE1206 Embedded Electronics - KTH · 2015-03-19 · IE1206 Embedded Electronics Transients PWM Phasor j ωPWM CCP CAP/IND-sensor Le1 Le3 Le6 Le8 Le2 Ex1 Le9 Ex4 Le7 Written exam William

William Sandqvist [email protected]

(11.2) Example. RMS.

V63,11015

1058

1015

105)0)2(2(d)(

3

3

3

3220

2

=⋅⋅⋅=

⋅⋅⋅+−+== −

−∫T

ttu

U

T

The rms value is what is normally used for an alternating voltage U. 1,63 V effective value gives the same power in a resistor as a 1,63 V pure DC voltage would do.

RMS, effective value

Page 9: IE1206 Embedded Electronics - KTH · 2015-03-19 · IE1206 Embedded Electronics Transients PWM Phasor j ωPWM CCP CAP/IND-sensor Le1 Le3 Le6 Le8 Le2 Ex1 Le9 Ex4 Le7 Written exam William

William Sandqvist [email protected]

Sine wave effective value

2

1

2

1d)(sin2 ==∫ xx

)(sin2 x

2

1

• Effective value is often called RMS ( Root Mean Square ).

sin2 has the mean value ½

Therefore:

2

UU =

RMS, effective value

Ex. 11.3

Page 10: IE1206 Embedded Electronics - KTH · 2015-03-19 · IE1206 Embedded Electronics Transients PWM Phasor j ωPWM CCP CAP/IND-sensor Le1 Le3 Le6 Le8 Le2 Ex1 Le9 Ex4 Le7 Written exam William

William Sandqvist [email protected]

Page 11: IE1206 Embedded Electronics - KTH · 2015-03-19 · IE1206 Embedded Electronics Transients PWM Phasor j ωPWM CCP CAP/IND-sensor Le1 Le3 Le6 Le8 Le2 Ex1 Le9 Ex4 Le7 Written exam William

William Sandqvist [email protected]

Addition of sinusoidal quantities

)sin(ˆ111 ϕω += tAy

)sin(ˆ222 ϕω += tAy

?21 =+ yy

Page 12: IE1206 Embedded Electronics - KTH · 2015-03-19 · IE1206 Embedded Electronics Transients PWM Phasor j ωPWM CCP CAP/IND-sensor Le1 Le3 Le6 Le8 Le2 Ex1 Le9 Ex4 Le7 Written exam William

William Sandqvist [email protected]

Addition of sinusoidal quantitiesWhen we shall apply the circuit laws on AC circuits, we must add the sines. The sum of two sinusoidal quantities of the same frequency is always a new sine of this frequency, but with a newamplitude and a new phase angle.

( Ooops! The result of the rather laborious calculations are shown below).

+++⋅−++=

=+=+⋅=+⋅=

)cos(A)cos(A

)sin(A)sin(Aarctansin)cos(AA2AA

)()()()sin(A)()sin(A)(

2211

22112121

22

21

21222111

ϕϕϕϕωϕϕ

ϕωϕω

t

tytytyttytty

Page 13: IE1206 Embedded Electronics - KTH · 2015-03-19 · IE1206 Embedded Electronics Transients PWM Phasor j ωPWM CCP CAP/IND-sensor Le1 Le3 Le6 Le8 Le2 Ex1 Le9 Ex4 Le7 Written exam William

William Sandqvist [email protected]

Sine wave as a pointer

A sinusoidal voltage or current,

can be represented by a pointer that rotates (counterclockwise) with the angular velocity ω [rad/sec] .

)sin(ˆ)( tYty ⋅⋅= ω

Wikipedia Phasors

Page 14: IE1206 Embedded Electronics - KTH · 2015-03-19 · IE1206 Embedded Electronics Transients PWM Phasor j ωPWM CCP CAP/IND-sensor Le1 Le3 Le6 Le8 Le2 Ex1 Le9 Ex4 Le7 Written exam William

William Sandqvist [email protected]

Simpler with vectors

If you ignore the "revolution" and adds the pointers with vector addition, as they stand at the time t = 0, it then becomes a whole lot easier!

Wikipedia Phasors

http://en.wikipedia.org/wiki/Phasors

Page 15: IE1206 Embedded Electronics - KTH · 2015-03-19 · IE1206 Embedded Electronics Transients PWM Phasor j ωPWM CCP CAP/IND-sensor Le1 Le3 Le6 Le8 Le2 Ex1 Le9 Ex4 Le7 Written exam William

William Sandqvist [email protected]

Pointer with complex numbers

°⋅⋅+°⋅⇔⋅⇔°∠ ° 30sinj1030cos10e103010 30j

A AC voltage 10 V that has the phase 30° is usually written:

10 ∠ 30° ( Phasor)

Once the vector additions require more than the most common geometrical formulas, it is instead preferable to represent pointers with complex numbers.

In electricity one uses j as imaginary unit, as i is already in use for current.

baz j+=

Imaginary axis

Real axis

Page 16: IE1206 Embedded Electronics - KTH · 2015-03-19 · IE1206 Embedded Electronics Transients PWM Phasor j ωPWM CCP CAP/IND-sensor Le1 Le3 Le6 Le8 Le2 Ex1 Le9 Ex4 Le7 Written exam William

William Sandqvist [email protected]

Phasor

A pointer (phasor) can either be viewed as a vector expressed inpolar coordinates, or as a complex number.

It is important to be able to describe alternating current phenomena without necessarily having to require that the audience has a knowledge of complex numbers - hence the vector method.

The complex numbers and jω-method are powerful tools that facilitate the processing of AC problems. They can be generalized to the Fourier transform and Laplace transform, so the electro engineer’s use of complex numbers is extensive.

Sinusoidal alternating quantities can be represented as pointers, phasors.

”amount” ∠∠∠∠ ”phase”

Page 17: IE1206 Embedded Electronics - KTH · 2015-03-19 · IE1206 Embedded Electronics Transients PWM Phasor j ωPWM CCP CAP/IND-sensor Le1 Le3 Le6 Le8 Le2 Ex1 Le9 Ex4 Le7 Written exam William

William Sandqvist [email protected]

peak/effective value - phasor

baz j+=

The phasor lengths corresponds to sine peak values, but since the effective value only is the peak value scaled by 1/√2 so it does not matter if you count with peak values or effective values - as long as you are consistent!

Imaginary axis

Real axis

Page 18: IE1206 Embedded Electronics - KTH · 2015-03-19 · IE1206 Embedded Electronics Transients PWM Phasor j ωPWM CCP CAP/IND-sensor Le1 Le3 Le6 Le8 Le2 Ex1 Le9 Ex4 Le7 Written exam William

William Sandqvist [email protected]

Page 19: IE1206 Embedded Electronics - KTH · 2015-03-19 · IE1206 Embedded Electronics Transients PWM Phasor j ωPWM CCP CAP/IND-sensor Le1 Le3 Le6 Le8 Le2 Ex1 Le9 Ex4 Le7 Written exam William

The inductor and capacitor counteracts changes

William Sandqvist [email protected]

The inductor and capacitor counteracts changes, such as when connecting or disconnecting a source to a circuit.

What if the source then is sinusoidal AC – which is then changing continuously?

?

Page 20: IE1206 Embedded Electronics - KTH · 2015-03-19 · IE1206 Embedded Electronics Transients PWM Phasor j ωPWM CCP CAP/IND-sensor Le1 Le3 Le6 Le8 Le2 Ex1 Le9 Ex4 Le7 Written exam William

William Sandqvist [email protected]

Alternating current through resistor

RR

RRRRRR )sin(ˆ)()()()sin(ˆ)(

IRU

tIRtuRtitutIti

⋅=⋅⋅=⇒⋅=⋅= ωω

A sinusoidal currentiR(t) through a resistor R provides a proportional sinusoidal voltage drop uR(t) according to Ohm's law. The current and voltage are in phase. No energy is stored in the resistor.

Phasors UR and IR become parallel to each other.

RR IRU ⋅=

The phasor may be a peak pointer or effective value pointer as long as you do not mix different types.

• Complex phasor

• Vector phasor

Page 21: IE1206 Embedded Electronics - KTH · 2015-03-19 · IE1206 Embedded Electronics Transients PWM Phasor j ωPWM CCP CAP/IND-sensor Le1 Le3 Le6 Le8 Le2 Ex1 Le9 Ex4 Le7 Written exam William

William Sandqvist [email protected]

Alternating current through inductor

LL

LL

ILU

tILtILtut

tiLtutIti

⋅=

+⋅⋅=⋅⋅=⇒=⋅=

ω

πωωωωω )2

sin(ˆ)cos(ˆ)(d

)(d)()sin(ˆ)( L

LLLL

A sinusoidal current iL(t) through an inductor provides, due to self-induction, a votage drop uL(t) which is 90° before the current. Energy stored in the magnetic field is used to provide this voltage.

When using complex pointers one multiplies ωL with ”j”, this rotates the voltage pointer +90° (in complex plane). The method automatically keeps track of the phase angles!

LLLL jj IXILU ⋅=⋅= ω

• Vector phasor

• Complex phasor

The phasor UL will be ωL·IL and it is 90° before IL. The entity ωL is the ”amount” of the inductor’s AC resistance, reactance XL [Ω].

Page 22: IE1206 Embedded Electronics - KTH · 2015-03-19 · IE1206 Embedded Electronics Transients PWM Phasor j ωPWM CCP CAP/IND-sensor Le1 Le3 Le6 Le8 Le2 Ex1 Le9 Ex4 Le7 Written exam William

William Sandqvist [email protected]

Alternating current through capacitor

)2

sin(ˆ1)cos(ˆ1

)()sin(ˆ)(

d)(1

)()(1

d

d1

d

)(d

CCCCC

CCCC

πωω

ωω

ω −⋅⋅=⋅⋅−=⇒⋅=

⋅=⇒⋅=⋅=⇒= ∫

tIC

tIC

tutIti

ttiC

tutiCt

q

Ct

tu

C

QU

A sinusoidal current iC(t) throug a capacitor will charge it with the ”voltage drop” uC(t) that lags 90°behind the current. Energy is storered in the electric field.

• Vector phasor

Phasor UC is IC/(ωC) and it lags 90°after IC. The entity 1/(ωC) is the ”amount” of the capacitor’s AC resistance, reactance XC [Ω].

CC

1I

CU ⋅=

ω

Page 23: IE1206 Embedded Electronics - KTH · 2015-03-19 · IE1206 Embedded Electronics Transients PWM Phasor j ωPWM CCP CAP/IND-sensor Le1 Le3 Le6 Le8 Le2 Ex1 Le9 Ex4 Le7 Written exam William

William Sandqvist [email protected]

Complex phasor and the sign of reactance

If you use complex phasor you get the -90° phase by dividing (1/ωC) with ”j ”.

CXI

CI

CU CCCC ωωω

11-j

j

1 −=⇒⋅=⋅= • Complex phasor

The method with complex pointer automatically keeps track of the phase angles if we consider the capacitor reactance XCas negative, and hence the inductor reactance XL as positive.

Page 24: IE1206 Embedded Electronics - KTH · 2015-03-19 · IE1206 Embedded Electronics Transients PWM Phasor j ωPWM CCP CAP/IND-sensor Le1 Le3 Le6 Le8 Le2 Ex1 Le9 Ex4 Le7 Written exam William

L+C in series

William Sandqvist [email protected]

Ωj5 Ω− j4 Ω+ j1

Ωj4 Ω− j5Ω− j1

=

=´L

´C

Page 25: IE1206 Embedded Electronics - KTH · 2015-03-19 · IE1206 Embedded Electronics Transients PWM Phasor j ωPWM CCP CAP/IND-sensor Le1 Le3 Le6 Le8 Le2 Ex1 Le9 Ex4 Le7 Written exam William

William Sandqvist [email protected]

Page 26: IE1206 Embedded Electronics - KTH · 2015-03-19 · IE1206 Embedded Electronics Transients PWM Phasor j ωPWM CCP CAP/IND-sensor Le1 Le3 Le6 Le8 Le2 Ex1 Le9 Ex4 Le7 Written exam William

William Sandqvist [email protected]

Reactance frequency dependency

fC

XLX CL

πωω

ω

2

1

=⋅

=⋅=

][ΩLX

][ΩLX

]Hz[f]Hz[f

Page 27: IE1206 Embedded Electronics - KTH · 2015-03-19 · IE1206 Embedded Electronics Transients PWM Phasor j ωPWM CCP CAP/IND-sensor Le1 Le3 Le6 Le8 Le2 Ex1 Le9 Ex4 Le7 Written exam William

William Sandqvist [email protected]

LOG – LOG plot

Often electronics engineers use log-log scale. The inductor and capacitor reactances will then both be "linear" relationshipin such charts.

( ) ][log Ω− scaleX L ( ) ][log Ω− scaleX C

( ) ]Hz[log scalef − ( ) ]Hz[log scalef −

Page 28: IE1206 Embedded Electronics - KTH · 2015-03-19 · IE1206 Embedded Electronics Transients PWM Phasor j ωPWM CCP CAP/IND-sensor Le1 Le3 Le6 Le8 Le2 Ex1 Le9 Ex4 Le7 Written exam William

William Sandqvist [email protected]

Page 29: IE1206 Embedded Electronics - KTH · 2015-03-19 · IE1206 Embedded Electronics Transients PWM Phasor j ωPWM CCP CAP/IND-sensor Le1 Le3 Le6 Le8 Le2 Ex1 Le9 Ex4 Le7 Written exam William

William Sandqvist [email protected]

R L C

In general, our circuits are a mixture of different R L and C. The phase between I and U is then not ±90° but can have any intermediate value. Positive phase means that the inductances dominates over capacitances, we have inductive character IND . Negative phase means that the capacitance dominates over the inductances, we have capacitive character CAP.

The ratio between the voltage U and current I, the AC resistance, is called impedaceZ [Ω]. We then have OHM´s AC law: I

UZ =

CAP

Page 30: IE1206 Embedded Electronics - KTH · 2015-03-19 · IE1206 Embedded Electronics Transients PWM Phasor j ωPWM CCP CAP/IND-sensor Le1 Le3 Le6 Le8 Le2 Ex1 Le9 Ex4 Le7 Written exam William

William Sandqvist [email protected]

Phasor diagrams

In order to calculate the AC resistance, the impedance, Z, of a composite circuit one must add currents and voltages phasors to obtain the total current I and the total voltage U.

I

UZ = The phasor diagram is our "blind stick" in to

the AC World!

Page 31: IE1206 Embedded Electronics - KTH · 2015-03-19 · IE1206 Embedded Electronics Transients PWM Phasor j ωPWM CCP CAP/IND-sensor Le1 Le3 Le6 Le8 Le2 Ex1 Le9 Ex4 Le7 Written exam William

William Sandqvist [email protected]

Ex. Phasor diagram (11.5)

At a certain frequency f the capacitor has the reactance |XC| and the resistor Rhas the same amount (absolute value), R [Ω].

Elementary diagrams for R L and C

Use the elementary diagrams for R and C as building blocks to draw the whole circuit phasor diagram (for this actual frequency f ).

Page 32: IE1206 Embedded Electronics - KTH · 2015-03-19 · IE1206 Embedded Electronics Transients PWM Phasor j ωPWM CCP CAP/IND-sensor Le1 Le3 Le6 Le8 Le2 Ex1 Le9 Ex4 Le7 Written exam William

Try it your self …

Page 33: IE1206 Embedded Electronics - KTH · 2015-03-19 · IE1206 Embedded Electronics Transients PWM Phasor j ωPWM CCP CAP/IND-sensor Le1 Le3 Le6 Le8 Le2 Ex1 Le9 Ex4 Le7 Written exam William

William Sandqvist [email protected]

Example. Phasor diagram.

2R ||UI

R

UIIUI 2

RC2C ==⊥

1) U2 reference phase ( = horizontal )

2)

3)

4) CCR 2 IIIII ⋅=+=

5)

21C1

1

22 UURIRIU

IU

⋅=⇒⋅⋅=⋅=

6)21 UUU +=

Page 34: IE1206 Embedded Electronics - KTH · 2015-03-19 · IE1206 Embedded Electronics Transients PWM Phasor j ωPWM CCP CAP/IND-sensor Le1 Le3 Le6 Le8 Le2 Ex1 Le9 Ex4 Le7 Written exam William

William Sandqvist [email protected]

Page 35: IE1206 Embedded Electronics - KTH · 2015-03-19 · IE1206 Embedded Electronics Transients PWM Phasor j ωPWM CCP CAP/IND-sensor Le1 Le3 Le6 Le8 Le2 Ex1 Le9 Ex4 Le7 Written exam William

William Sandqvist [email protected]

Impedance ZThe circuit AC resistance, impedance Z, one get as the ratio between the length of U and Iphasors. The impedance phase ϕϕϕϕis the angle between U and Iphasors.

The current is before the voltage in phase, so the circuit has a capacitive character, CAP.

( Something else had hardly been to wait since there are no coils in the circuit )

Page 36: IE1206 Embedded Electronics - KTH · 2015-03-19 · IE1206 Embedded Electronics Transients PWM Phasor j ωPWM CCP CAP/IND-sensor Le1 Le3 Le6 Le8 Le2 Ex1 Le9 Ex4 Le7 Written exam William

William Sandqvist [email protected]

Page 37: IE1206 Embedded Electronics - KTH · 2015-03-19 · IE1206 Embedded Electronics Transients PWM Phasor j ωPWM CCP CAP/IND-sensor Le1 Le3 Le6 Le8 Le2 Ex1 Le9 Ex4 Le7 Written exam William

William Sandqvist [email protected]

Complex phasors, jω-method

°−=−==⋅=⋅=

°+==⋅=⋅=°==⋅=

90)jarg()j

1arg(

j

1j

90)jarg(jj

0)arg(

CCCC

LLLL

RR

CCC

IXIU

LLIXIU

RRIU

ωω

ϕω

ωϕωϕ

Complex phasors. OHM’s law for R L and C.

Complex phasors. OHM’s law for Z.

][Im][Im

arctan][Re

][Imarctan)arg(][Re][Re

)arg()arg(arg)arg(

ZIU

R

X

Z

ZZZIU

IUI

UZ

I

UZZIU

⋅=

=

=⋅=

−=

===⋅= ϕ

In fact, there will be four useful relationships!• Re, • Im, • Abs, • Arg

Page 38: IE1206 Embedded Electronics - KTH · 2015-03-19 · IE1206 Embedded Electronics Transients PWM Phasor j ωPWM CCP CAP/IND-sensor Le1 Le3 Le6 Le8 Le2 Ex1 Le9 Ex4 Le7 Written exam William

William Sandqvist [email protected]

Ex. Complex phasors.

U = 20 V C = 320 µF R = 10 Ω f = 50 Hz

Page 39: IE1206 Embedded Electronics - KTH · 2015-03-19 · IE1206 Embedded Electronics Transients PWM Phasor j ωPWM CCP CAP/IND-sensor Le1 Le3 Le6 Le8 Le2 Ex1 Le9 Ex4 Le7 Written exam William

William Sandqvist [email protected]

Ex. Complex phasors.

j1010320502j

1

2j

1

j

16

−=⋅⋅⋅

=⋅⋅

= −ππω CfC

U = 20 V C = 320 µF R = 10 Ω f = 50 Hz

Page 40: IE1206 Embedded Electronics - KTH · 2015-03-19 · IE1206 Embedded Electronics Transients PWM Phasor j ωPWM CCP CAP/IND-sensor Le1 Le3 Le6 Le8 Le2 Ex1 Le9 Ex4 Le7 Written exam William

William Sandqvist [email protected]

Ex. Complex phasors.

j55)j1010(

)j1010(

j1010

)j10(10

j1

j1

R//C −=++⋅

−−⋅=

+

⋅=

CR

CR

Z

ω

ω

U = 20 V C = 320 µF R = 10 Ω f = 50 Hz

j1010320502j

1

2j

1

j

16

−=⋅⋅⋅

=⋅⋅

= −ππω CfC

Page 41: IE1206 Embedded Electronics - KTH · 2015-03-19 · IE1206 Embedded Electronics Transients PWM Phasor j ωPWM CCP CAP/IND-sensor Le1 Le3 Le6 Le8 Le2 Ex1 Le9 Ex4 Le7 Written exam William

William Sandqvist [email protected]

Ex. Complex phasors.

U = 20 V C = 320 µF R = 10 Ω f = 50 Hz

j1010320502j

1

2j

1

j

16

−=⋅⋅⋅

=⋅⋅

= −ππω CfC

j55)j1010(

)j1010(

j1010

)j10(10

j1

j1

R//C −=++⋅

−−⋅=

+

⋅=

CR

CR

Z

ω

ω

Page 42: IE1206 Embedded Electronics - KTH · 2015-03-19 · IE1206 Embedded Electronics Transients PWM Phasor j ωPWM CCP CAP/IND-sensor Le1 Le3 Le6 Le8 Le2 Ex1 Le9 Ex4 Le7 Written exam William

William Sandqvist [email protected]

Ex. Complex phasors. I

U = 20 V C = 320 µF R = 10 Ω f = 50 Hz

j1010320502j

1

2j

1

j

16

−=⋅⋅⋅

=⋅⋅

= −ππω CfC

j55)j1010(

)j1010(

j1010

)j10(10

j1

j1

R//C −=++⋅

−−⋅=

+

⋅=

CR

CR

Z

ω

ω

Page 43: IE1206 Embedded Electronics - KTH · 2015-03-19 · IE1206 Embedded Electronics Transients PWM Phasor j ωPWM CCP CAP/IND-sensor Le1 Le3 Le6 Le8 Le2 Ex1 Le9 Ex4 Le7 Written exam William

William Sandqvist [email protected]

Ex. Complex phasors. I

U = 20 V C = 320 µF R = 10 Ω f = 50 Hz

j1010320502j

1

2j

1

j

16

−=⋅⋅⋅

=⋅⋅

= −ππω CfC

j55)j1010(

)j1010(

j1010

)j10(10

j1

j1

R//C −=++⋅

−−⋅=

+

⋅=

CR

CR

Z

ω

ω

26,12,14,0j2140

j2,14,0)j31(

)j31(

j3-1

4

j)5-(5j10-

20

j1

22

C//R

=+=+=

+=++⋅=

+=

+==

,,I

ZC

U

Z

UI

ω

Page 44: IE1206 Embedded Electronics - KTH · 2015-03-19 · IE1206 Embedded Electronics Transients PWM Phasor j ωPWM CCP CAP/IND-sensor Le1 Le3 Le6 Le8 Le2 Ex1 Le9 Ex4 Le7 Written exam William

William Sandqvist [email protected]

Ex. Complex phasors. U1

U = 20 V C = 320 µF R = 10 Ω f = 50 Hz

j1010320502j

1

2j

1

j

16

−=⋅⋅⋅

=⋅⋅

= −ππω CfC

j55)j1010(

)j1010(

j1010

)j10(10

j1

j1

R//C −=++⋅

−−⋅=

+

⋅=

CR

CR

Z

ω

ω

Page 45: IE1206 Embedded Electronics - KTH · 2015-03-19 · IE1206 Embedded Electronics Transients PWM Phasor j ωPWM CCP CAP/IND-sensor Le1 Le3 Le6 Le8 Le2 Ex1 Le9 Ex4 Le7 Written exam William

William Sandqvist [email protected]

Ex. Complex phasors. U1

U = 20 V C = 320 µF R = 10 Ω f = 50 Hz

j1010320502j

1

2j

1

j

16

−=⋅⋅⋅

=⋅⋅

= −ππω CfC

j55)j1010(

)j1010(

j1010

)j10(10

j1

j1

R//C −=++⋅

−−⋅=

+

⋅=

CR

CR

Z

ω

ω

65,12)4(12j412

j412j)-10(j)2,14,0(j

1

221

1

=−+=−=

−=⋅+=⋅=

U

CIU

ω

Page 46: IE1206 Embedded Electronics - KTH · 2015-03-19 · IE1206 Embedded Electronics Transients PWM Phasor j ωPWM CCP CAP/IND-sensor Le1 Le3 Le6 Le8 Le2 Ex1 Le9 Ex4 Le7 Written exam William

William Sandqvist [email protected]

Ex. Complex phasors. U2

U = 20 V C = 320 µF R = 10 Ω f = 50 Hz

j1010320502j

1

2j

1

j

16

−=⋅⋅⋅

=⋅⋅

= −ππω CfC

j55)j1010(

)j1010(

j1010

)j10(10

j1

j1

R//C −=++⋅

−−⋅=

+

⋅=

CR

CR

Z

ω

ω

Page 47: IE1206 Embedded Electronics - KTH · 2015-03-19 · IE1206 Embedded Electronics Transients PWM Phasor j ωPWM CCP CAP/IND-sensor Le1 Le3 Le6 Le8 Le2 Ex1 Le9 Ex4 Le7 Written exam William

William Sandqvist [email protected]

Ex. Complex phasors. U2

U = 20 V C = 320 µF R = 10 Ω f = 50 Hz

j1010320502j

1

2j

1

j

16

−=⋅⋅⋅

=⋅⋅

= −ππω CfC

j55)j1010(

)j1010(

j1010

)j10(10

j1

j1

R//C −=++⋅

−−⋅=

+

⋅=

CR

CR

Z

ω

ω

94,848j48

j48j)3(1

j)3(1

j3-1

j120

j)5-(5j10-

j5-520

j1

222

C//R

C//R2

=+=+=

+=++⋅−⋅=

+⋅=

+⋅=

U

ZC

ZUU

ω

Voltage divider:

Page 48: IE1206 Embedded Electronics - KTH · 2015-03-19 · IE1206 Embedded Electronics Transients PWM Phasor j ωPWM CCP CAP/IND-sensor Le1 Le3 Le6 Le8 Le2 Ex1 Le9 Ex4 Le7 Written exam William

William Sandqvist [email protected]

Ex. Complex phasors. IC

U = 20 V C = 320 µF R = 10 Ω f = 50 Hz

j1010320502j

1

2j

1

j

16

−=⋅⋅⋅

=⋅⋅

= −ππω CfC

j55)j1010(

)j1010(

j1010

)j10(10

j1

j1

R//C −=++⋅

−−⋅=

+

⋅=

CR

CR

Z

ω

ω

Page 49: IE1206 Embedded Electronics - KTH · 2015-03-19 · IE1206 Embedded Electronics Transients PWM Phasor j ωPWM CCP CAP/IND-sensor Le1 Le3 Le6 Le8 Le2 Ex1 Le9 Ex4 Le7 Written exam William

William Sandqvist [email protected]

Ex. Complex phasors. IC

U = 20 V C = 320 µF R = 10 Ω f = 50 Hz

j1010320502j

1

2j

1

j

16

−=⋅⋅⋅

=⋅⋅

= −ππω CfC

j55)j1010(

)j1010(

j1010

)j10(10

j1

j1

R//C −=++⋅

−−⋅=

+

⋅=

CR

CR

Z

ω

ω

89,08,04,0j8,04,0

j8,04,0j10-

j48

j1

22C

2C

=+=+=

+−=+=⋅=

I

C

UI

ω

Page 50: IE1206 Embedded Electronics - KTH · 2015-03-19 · IE1206 Embedded Electronics Transients PWM Phasor j ωPWM CCP CAP/IND-sensor Le1 Le3 Le6 Le8 Le2 Ex1 Le9 Ex4 Le7 Written exam William

William Sandqvist [email protected]

Ex. Complex phasors. IR

U = 20 V C = 320 µF R = 10 Ω f = 50 Hz

j1010320502j

1

2j

1

j

16

−=⋅⋅⋅

=⋅⋅

= −ππω CfC

j55)j1010(

)j1010(

j1010

)j10(10

j1

j1

R//C −=++⋅

−−⋅=

+

⋅=

CR

CR

Z

ω

ω

Page 51: IE1206 Embedded Electronics - KTH · 2015-03-19 · IE1206 Embedded Electronics Transients PWM Phasor j ωPWM CCP CAP/IND-sensor Le1 Le3 Le6 Le8 Le2 Ex1 Le9 Ex4 Le7 Written exam William

William Sandqvist [email protected]

Ex. Complex phasors. IR

U = 20 V C = 320 µF R = 10 Ω f = 50 Hz

j1010320502j

1

2j

1

j

16

−=⋅⋅⋅

=⋅⋅

= −ππω CfC

j55)j1010(

)j1010(

j1010

)j10(10

j1

j1

R//C −=++⋅

−−⋅=

+

⋅=

CR

CR

Z

ω

ω

89,04,08,0j4,08,0

j4,08,010

j48

22R

2R

=+=+=

+=+==

I

R

UI

Page 52: IE1206 Embedded Electronics - KTH · 2015-03-19 · IE1206 Embedded Electronics Transients PWM Phasor j ωPWM CCP CAP/IND-sensor Le1 Le3 Le6 Le8 Le2 Ex1 Le9 Ex4 Le7 Written exam William

William Sandqvist [email protected]

You get the phasor chart by plotting the points in the complex plane!

Page 53: IE1206 Embedded Electronics - KTH · 2015-03-19 · IE1206 Embedded Electronics Transients PWM Phasor j ωPWM CCP CAP/IND-sensor Le1 Le3 Le6 Le8 Le2 Ex1 Le9 Ex4 Le7 Written exam William

William Sandqvist [email protected]

Vrida diagrammet …When we draw the phasor diagram it was natural to have U2 as reference phase (=horizontal), with the jω-method U was the natural choice of reference phase (=real).

Because it is easy to rotate the chart, so, in practice, we have the freedom of choosing any entity as the reference.

))7,26sin(j)7,26(cos(

7,268

4arctan)j48arg()arg( 2

°−⋅+°−×

°=

=+=U

Multiply the all complex numbers by this factor and rhe rotation will take effect!

Page 54: IE1206 Embedded Electronics - KTH · 2015-03-19 · IE1206 Embedded Electronics Transients PWM Phasor j ωPWM CCP CAP/IND-sensor Le1 Le3 Le6 Le8 Le2 Ex1 Le9 Ex4 Le7 Written exam William

William Sandqvist [email protected]

Page 55: IE1206 Embedded Electronics - KTH · 2015-03-19 · IE1206 Embedded Electronics Transients PWM Phasor j ωPWM CCP CAP/IND-sensor Le1 Le3 Le6 Le8 Le2 Ex1 Le9 Ex4 Le7 Written exam William

William Sandqvist [email protected]

SummarySinusoidal alternating quantities can be represented as pointers, phasors,

”amount” ∠∠∠∠ ”phase”.

A pointer (phasor) can either be seen as a vector expressed in polar coordinates, or as a complex number.

Calculations are usually best done with the complex method, while phasor diagrams are used to visualize and explain alternating current phenomena.

Page 56: IE1206 Embedded Electronics - KTH · 2015-03-19 · IE1206 Embedded Electronics Transients PWM Phasor j ωPWM CCP CAP/IND-sensor Le1 Le3 Le6 Le8 Le2 Ex1 Le9 Ex4 Le7 Written exam William

William Sandqvist [email protected]

Notation

X

x Instant value

X Top value

XX Absolute value, the amount

Complex phasor

Page 57: IE1206 Embedded Electronics - KTH · 2015-03-19 · IE1206 Embedded Electronics Transients PWM Phasor j ωPWM CCP CAP/IND-sensor Le1 Le3 Le6 Le8 Le2 Ex1 Le9 Ex4 Le7 Written exam William

William Sandqvist [email protected]