Electrical Measurements Revisited | Experiences from ...tnt.etf.rs/~oe2em/114-slides.pdfLab 2:...

64
Electrical Measurements Revisited — Experiences from Modernizing the Course Predrag Pejovi´ c School of Electrical Engineering University of Belgrade Email: [email protected]

Transcript of Electrical Measurements Revisited | Experiences from ...tnt.etf.rs/~oe2em/114-slides.pdfLab 2:...

  • Electrical Measurements Revisited —Experiences from Modernizing the Course

    Predrag Pejović

    School of Electrical EngineeringUniversity of Belgrade

    Email: [email protected]

  • Introduction

    I to make an honest presentation, or a politically correct one?

    I what the presentations are for?

    I to say something which is not in the paper!

    I otherwise the paper would be enough!

    I so, an honest one!

    I Electrical Measurements, sophomore class . . .

    I shared between at least three departments . . .

    I different teachers, different students, different interests,different views, lots of compromising . . .

    I result: patchwork shared among teachers that disagree

    I the only common point: a lab with obsolete equipment

    I an administrative opportunity no one thought about: to splitthe class into groups, customize as needed

    I let’s use it!

  • Introduction

    I I’m in charge for the Department of Electronics

    I motivated students, capable, with interest in hardware,making, creating, measuring, verifying . . .

    I I believe in the use of computers!

    I and I believe in free software . . .

    I which I use in my everyday practice for everything . . .

    I including automated measurement systems . . .

    I so I could teach my students (“the kids”) like they are myown kids, the best I can, topics I believe in

    I to be capable, responsible, and independent

    I so, let’s start

  • Basic Principles

    1. real world principle: to teach measurements on theequipment used in everyday practice, in the way they areperformed in everyday practice

    2. up to date principle: to use computers in the way they areused (or should be used) in everyday practice; forget about “adiscipline that requires tedious work”; don’t calculate by handin the 21-st century, just to train muscles, not brain

    3. integrating principle: students tend to treat courses asseparate entities, pass the exam and forget approach;measurements are useful, measurements are needed; integratethe knowledge with other courses! support each other;illustrate the theory in practice!

    4. support excellence principle: don’t focus to average, oreven worse, below average students; provide enough materialto motivate the best students to go further, to improve!require only fundamental skills and topics to pass; encouragestudents to learn more if they are able and motivated!

  • Equipment

    six benches, twelve students simultaneously in the lab, equippment:

    1. Tektronix TDS 1002 + communication port

    2. Agilent 33220A signal generator

    3. Agilent E3630A triple output DC power source

    4. an obsolete computer, Linux Mint MATE

    5. two Fluke 111 multimeters

    6. one DT-838 or RTO-1035N multimeter

    7. protoboard

    8. a set of elementary electronic components

    mostly thanks to Tempus JEP 17028-02 project

  • Standard Workbench

  • Lab Exercises

    I 12 students simultaneously in the lab

    I whenever possible, doing the same exercise

    I two supervisors, competent

    I already acquired knowledge: measurement of current, voltage,and resistance

    I prerequisites are a sort of problem . . .

    I but with good students, not a real problem

    I goal to illustrate concepts learned in Fundamentals ofElectrical Engineering and Electric Circuit Theory

    I good personal cooperation

    I in parallel with Software Tools in Electronics course . . .

    I which I teach

    I so the teachers agree!

    I idea: to gain benefit for all courses involved!

  • Lab 1: Multimeter, DC Power Source, Protoboard

    I not a big deal of measurement?

    I well, just the opposite!

    I practice, learn and remember, we won’t get back!

    I three voltmeters measuring the same voltage?

    I yup! however, the readings are different!

    I amazingly, the students were amazed!

    I correlate the measurements, linear least squares, practice,Python Linux Mint MATE, look and feel similar to whatstudents were familiar with

    I measure resistance, protoboard, measure current and voltage,fith a line through the readings, linear least squares once again

    I learn and remember! will be used later on!

  • Lab 2: Oscilloscope and Signal Generator

    I signal generator settings, manual: waveform type, voltagelevels, period, frequency, duty ratio

    I oscilloscope settings, manual; coupling, voltage scale, timescale, trigger

    I synchronization methods

    I assemble circuit, measure capacitance by measuring rise time

    v1 v2

    vG

    +

    R

    C

  • Lab 2: Oscilloscope and Signal Generator

    capacitance measurement, waveform

  • Lab 2: Oscilloscope and Signal Generator

    capacitance measurement, rising edge

  • Lab 2: Oscilloscope and Signal Generator

    capacitance measurement, falling edge

  • Lab 3: Control of Instruments Using a Computer,Automated Measurements, and StatisticalProcessing of Measurement Results

    I really new!I some experience in GNU/Linux assumed, very basicI Python used to control instruments, not a prerequisiteI ping, verify connection, set IP addressI Agilent 33220A internal web server, web control of the

    instrumentI LXI compliant instruments, SCPI commandsI queries for the oscilloscope direct measurementI statistical processing of measurement data, voltage average,

    10 measurements manually, 100 and 1000 measurementsautomatically

    I voltage divider, transfer curve, linear least squaresI the oscilloscope input impedance emerged as an auxiliary

    teaching topic

  • Lab 3: Control of Instruments Using a Computer,Automated Measurements, and StatisticalProcessing of Measurement Results

    signal generator, browser control

  • Lab 3: Control of Instruments Using a Computer,Automated Measurements, and StatisticalProcessing of Measurement Results

    repeated voltage measurements, histogram

    2.356 2.358 2.360 2.362 2.364 2.366 2.368 2.370 2.372v [V]

    0

    500

    1000

    1500

    2000

    2500

    3000

    n_j

  • Lab 4: Impedance Measurement Using Oscilloscope

    I relatively few new elements

    I integrate previous exercises

    I synchronized with Electric Circuit Theory course

    I the circuit:

    +

    v2 v1R

    ZXvG

    iX

    iX =v2 − v1

    R

  • Lab 4: Impedance Measurement Using Oscilloscope

    just some formulas . . .

    I RX = RV1

    V2 − V1I XX = R

    V1√V 22 − V 21

    I CX =1

    2π f R

    √V 22 − V 21V1

    I Vk , k ∈ {1, 2} RMS or Pk-2-Pk values? Different statistics!Students are able to see the difference!

  • Lab 4: Impedance Measurement Using Oscilloscopejust some more formulas . . .

    I capacitor, relate voltage and charge

    I qC0[k] = ∆tk∑0

    iC [k]

    I q0 =1

    n

    n−1∑0

    qC0[k]

    I qC [k] = qC0[k]− q0I linear least squares assuming qC = C vC , determine C

    I similar to determining R using voltage divider

    I statistics?

    I qC (vC ) curve?

    I similar for inductors; ellipse?

    I very few new elements

    I however, turned out to be difficult!

  • Lab 4: Impedance Measurement Using Oscilloscope

    repeated capacitance measurement, RMS, histogram

    669 670 671 672 673 674 675 676 677 678Cx [nF]

    0

    50

    100

    150

    200

    250

    300

    n_j

  • Lab 4: Impedance Measurement Using Oscilloscope

    iC versus vC

    1.5 1.0 0.5 0.0 0.5 1.0 1.5v_C [V]

    6

    4

    2

    0

    2

    4

    6

    i_C

    [m

    A]

  • Lab 4: Impedance Measurement Using Oscilloscope

    qC versus vC

    1.5 1.0 0.5 0.0 0.5 1.0 1.5v_C [V]

    0.8

    0.6

    0.4

    0.2

    0.0

    0.2

    0.4

    0.6

    0.8

    q_C

    [uC

    ]

  • Lab 4: Impedance Measurement Using Oscilloscope

    vL versus iL

    6 4 2 0 2 4 6i_L [mA]

    0.8

    0.6

    0.4

    0.2

    0.0

    0.2

    0.4

    0.6

    0.8

    v_L

    [V

    ]

  • Lab 4: Impedance Measurement Using Oscilloscope

    λL versus iL

    6 4 2 0 2 4 6i_L [mA]

    30

    20

    10

    0

    10

    20

    30

    lam

    bda_L

    [uW

    b]

  • Lab 5: Analysis of Nonlinear Elements and SystemsUsing Oscilloscope

    I theoretically demanding!

    I how to measure magnetizing curve?

    I careful in connecting!

    I hysteresis curve

    I mutual inductance

    I dependence of mutual inductance on bias current

    +

    −vG

    RS

    v1

    v21 1

  • Lab 5: Analysis of Nonlinear Elements and SystemsUsing Oscilloscope

    150 100 50 0 50 100 150i_L [mA]

    1.5

    1.0

    0.5

    0.0

    0.5

    1.0

    1.5

    lam

    bda_L

    [m

    Wb]

    Magtetizing Curves

  • Lab 5: Analysis of Nonlinear Elements and SystemsUsing Oscilloscope

    150 100 50 0 50 100 150i_L [mA]

    1.5

    1.0

    0.5

    0.0

    0.5

    1.0

    1.5

    lam

    bda_L

    [m

    Wb]

    Magtetizing Curves

  • Lab 5: Analysis of Nonlinear Elements and SystemsUsing Oscilloscope

    150 100 50 0 50 100 150i_L [mA]

    1.5

    1.0

    0.5

    0.0

    0.5

    1.0

    1.5

    lam

    bda_L

    [m

    Wb]

    Magtetizing Curve

  • Lab 5: Analysis of Nonlinear Elements and SystemsUsing Oscilloscope

    100 50 0 50 100Ibias

    0

    50

    100

    150

    200

    250

    300

    350

    400

    M [

    uH

    ]

  • Lab 5: Analysis of Nonlinear Elements and SystemsUsing Oscilloscope

    +

    −vG

    v1v2

    RD

    D

  • Lab 5: Analysis of Nonlinear Elements and SystemsUsing Oscilloscope

    1.0 0.5 0.0 0.5 1.0v_D [V]

    1.0

    0.5

    0.0

    0.5

    1.0

    i_D [m

    A]

  • Lab 5: Analysis of Nonlinear Elements and SystemsUsing Oscilloscope

    5.0 2.5 0.0 2.5 5.0v_D [V]

    5.0

    2.5

    0.0

    2.5

    5.0

    i_D [m

    A]

  • Lab 5: Analysis of Nonlinear Elements and SystemsUsing Oscilloscope

    +VCC

    v2

    v1

    RC

    RBQ

  • Lab 5: Analysis of Nonlinear Elements and SystemsUsing Oscilloscope

    v1 and v2

  • Lab 5: Analysis of Nonlinear Elements and SystemsUsing Oscilloscope

    v2 versus v1, f = 100 Hz

  • Lab 5: Analysis of Nonlinear Elements and SystemsUsing Oscilloscope

    v2 versus v1, f = 10 kHz

  • Lab 5: Analysis of Nonlinear Elements and SystemsUsing Oscilloscope

    v2 versus v1, f = 100 kHz

  • Lab 5: Analysis of Nonlinear Elements and SystemsUsing Oscilloscope

    v2 versus v1, f = 200 kHz

  • Lab 5: Analysis of Nonlinear Elements and SystemsUsing Oscilloscope

    +VCC

    −VCC

    Q1

    Q2

    v1 v2

    RL

  • Lab 5: Analysis of Nonlinear Elements and SystemsUsing Oscilloscope

    v2 versus v1, f = 1 kHz

  • Lab 5: Analysis of Nonlinear Elements and SystemsUsing Oscilloscope

    v2 versus v1, f = 10 kHz

  • Lab 6: Measuring Parameters of AC Waveforms

    I classical, common topic

    I a little bit obsolete: I was not able to find to buynon-true-RMS instruments!

    I still some educational value: diodes, real diodes, rectification,half-wave, full-wave

    I both in voltmeters and ampere meters

    I diode forward voltage drop, limitations at low voltages

    I peak voltage detectors and their frequency response

    I natural extension: envelope detector, link toTelecommunications course

  • Lab 6: Measuring Parameters of AC Waveforms

    +

    −vG

    D

    RC

    v1v2

  • Lab 6: Measuring Parameters of AC Waveforms

    101 102 103 104 105

    f [Hz]

    10-1

    100

    A

    peak detector

  • Lab 6: Measuring Parameters of AC Waveforms

  • Lab 7: Frequency Response and AC bridges

    I two topics: how are they related?

    I they share the same course, which lacks spacetime

    I frequency response: RC low-pass, RC high-pass, RLCband-pass

    I bridge to Electric Circuit Theory

    I aim: measure phase, emphasis on its sign

    I manual measurements, especially phase

    I frequency response of the oscilloscope input AC filter

    I bridges are the classical topic

    I De Sauty bridge, potentiometer to balance

    I Maxwell bridge

    I Wien bridge, to assemble and to measure frequency of thephase resonance

  • Lab 7: Frequency Response and AC bridges

    frequency response of the low-pass filter

    102 103 104 105

    f [Hz]

    40

    35

    30

    25

    20

    15

    10

    5

    020 log|H

    (f)|

    [dB

    ]

    102 103 104 105

    f [Hz]

    90

    45

    0

    45

    90

    arg

    (H(f

    )) [

    deg]

  • Lab 7: Frequency Response and AC bridges

    frequency response of the high-pass filter

    102 103 104 105

    f [Hz]

    40

    35

    30

    25

    20

    15

    10

    5

    020 log|H

    (f)|

    [dB

    ]

    102 103 104 105

    f [Hz]

    90

    45

    0

    45

    90

    arg

    (H(f

    )) [

    deg]

  • Lab 7: Frequency Response and AC bridges

    frequency response of the band-pass filter

    102 103 104 105

    f [Hz]

    45

    40

    35

    30

    25

    20

    15

    10

    520 log|H

    (f)|

    [dB

    ]

    102 103 104 105

    f [Hz]

    90

    45

    0

    45

    90

    arg

    (H(f

    )) [

    deg]

  • Lab 7: Frequency Response and AC bridges

    frequency response of the oscilloscope input filter

    100 101 102 103

    f [Hz]

    30

    25

    20

    15

    10

    5

    0

    5

    1020 log|H

    (f)|

    [dB

    ]

    100 101 102 103

    f [Hz]

    0

    50

    100

    arg

    (H(f

    )) [

    deg]

  • Lab 7: Frequency Response and AC bridges

    De Sauty bridge, assemble and measure, protoboard

    +

    −vG

    RE

    CE RX

    CX

    v1 v2

  • Lab 7: Frequency Response and AC bridges

    De Sauty bridge with potentiometer, angle versus capacitance, nocomputing, assemble and measure, protoboard

    +

    −vG

    v1 v2

    CE

    CX

    αR

    (1−α)R

  • Lab 7: Frequency Response and AC bridges

    Maxwell bridge, assemble and measure, protoboard

    +

    −vG

    RE

    CE RX

    LX

    v1 v2

  • Lab 7: Frequency Response and AC bridges

    Wien bridge, assemble and measure, protoboard

    +

    −vG

    R

    R

    C

    C

    v1 v2 = α vG

    αRP

    (1− α)RP

    vG

  • Lab 7: Frequency Response and AC bridges

    Wien bridge, phase resonance

  • Lab 8: Measurements on Circuits with DistributedParameters

    I something really new

    I to support Electric Circuit Theory course

    I transmission lines are just a bunch of boring equations?

    I never ever truly understood, at the end of the course, lack oftime, boring, . . .

    I let’s see the lines in real life

    I a cable from an old computer network, recycled

    +

    RG

    vG v1 v2

    +

    +

    −ZX

  • Lab 8: Measurements on Circuits with DistributedParameters

    propagation, delay

  • Lab 8: Measurements on Circuits with DistributedParameters

    propagation, attenuation

  • Lab 8: Measurements on Circuits with DistributedParameters

    reflection, open

  • Lab 8: Measurements on Circuits with DistributedParameters

    reflection, short

  • Lab 8: Measurements on Circuits with DistributedParameters

    voltage at the input versus frequency, open

    0.0 2.5 5.0 7.5 10.0 12.5 15.0 17.5 20.0f [MHz]

    0.0

    0.2

    0.4

    0.6

    0.8

    1.0

    1.2

    v_1

    [V

    ]otvoren vod

  • Lab 8: Measurements on Circuits with DistributedParameters

    voltage at the input versus frequency, short

    0.0 2.5 5.0 7.5 10.0 12.5 15.0 17.5 20.0f [MHz]

    0.0

    0.2

    0.4

    0.6

    0.8

    1.0

    v_1

    [V

    ]kratko spojen vod

  • Experiences and Plans to Improve the Course

    I something quite unexpected and new

    I students worked hard during the lab sessions

    I we had hard time to kick them out of the lab

    I they enjoyed the lab!

    I maybe a little bit too much

    I questionnaire at the and, last minute idea

    I 8 or 10 exercises?

    I 80% voted for 10!

    I really affirmative response

  • Grading

    I 20% lab performance, during the exercises

    I 20% lab performance, lab exam, the students are assigned tomeasure something, really close to the measurements theyalready did; however, this time they are alone, no pairs

    I 60% written test

    I really good results!

    I almost all of the students already completed the exam withvery good grades!

  • Conclusions

    I a reformed course in Electrical Measurements presented

    I customized to Electronics majors

    I based on four principles

    I computers heavily involved

    I only free software!

    I no donations, no dependence, everything open

    I eight newly designed lab exercises

    I understanding focused, not manual work

    I everything available at http://tnt.etf.bg.ac.rs/∼oe2em/I success!

    I students enjoyed the course!

    I but even more surprising: teaching assistants and teacherenjoyed the course!

    http://tnt.etf.bg.ac.rs/~oe2em/