25
Lab 11: Relaxation oscillators

Lab 11: Relaxation oscillators - UNM

  • Upload
    others

  • View
    3

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Lab 11: Relaxation oscillators - UNM

Lab 11: Relaxation oscillators

Page 2: Lab 11: Relaxation oscillators - UNM

m

Empty bucket

Page 3: Lab 11: Relaxation oscillators - UNM

m

Page 4: Lab 11: Relaxation oscillators - UNM

m

Slowdescent

Page 5: Lab 11: Relaxation oscillators - UNM

m

Page 6: Lab 11: Relaxation oscillators - UNM

m

Rapidreturn

Page 7: Lab 11: Relaxation oscillators - UNM

m

Cycle repeats

Page 8: Lab 11: Relaxation oscillators - UNM

Relaxation oscillators:

Cycle of adding and dissipating energy

Asymmetric, non-sinusoidal time behavior

Examples: - Laser physics- Heart muscle- Vocal cords- Predator-prey population cycles

B. van der Pol(1889-1959)

Page 9: Lab 11: Relaxation oscillators - UNM

Storing and releasing energy with a capacitor

R

CVB

VCAP

Determine charging rateDon't use impedance Z = 1/jωC

Page 10: Lab 11: Relaxation oscillators - UNM

Storing and releasing energy with a capacitor

R

CVB

VCAP

t

Vcap

VB

Page 11: Lab 11: Relaxation oscillators - UNM

Storing and releasing energy with a capacitor

R

C

Charging

Neon lampVB

t

Vcap

VB

Page 12: Lab 11: Relaxation oscillators - UNM

Storing and releasing energy with a capacitor

Neon lamp

t

Vcap

VB

R

C

Discharge

VB

Page 13: Lab 11: Relaxation oscillators - UNM
Page 14: Lab 11: Relaxation oscillators - UNM

Storing and releasing energy with a capacitor:Capacitive discharge ignition

R C

12 V

Coil(Step-up

transformer)

20 kVElectronicswitch

Crankshaftpositionsensor

Page 15: Lab 11: Relaxation oscillators - UNM

Relaxation oscillator:Implementation with Op-Amp

InvertingInput (V−)

Non-invertingInput (V+) +

−Output

+15V

−15V

Op-Amp without feedback: Infinite gain (Open loop gain of ideal Op-Amp)

Page 16: Lab 11: Relaxation oscillators - UNM

Relaxation oscillator:Implementation with Op-Amp

V+

V−

+15V

−15V

V− greater than V+

Output drives to negative ∞

Clamped at −15V of power supply

−15VPositivevoltage

Page 17: Lab 11: Relaxation oscillators - UNM

Relaxation oscillator:Implementation with Op-Amp

V+

V−

+15V

−15V

V+ greater than V−

Output drives to positive ∞ Clamped at +15V of power supply

+15VNegativevoltage

Page 18: Lab 11: Relaxation oscillators - UNM

Relaxation oscillator:Implementation with Op-Amp

V+

V−

R1 R2

Make V+ a reference voltage

Voltage divider: R1 = R2

V+ = ½ VOUT = +7.5V or −7.5V

VOUT

Page 19: Lab 11: Relaxation oscillators - UNM

Relaxation oscillator:Implementation with Op-Amp

V+

V−

R1 R2

VOUT

½ VOUT

CR3

Add RC feedback to inverting input

V− can't follow VOUT instantly

Capacitor charges with τ = R3C

V−

VOUT

t

+15V

Page 20: Lab 11: Relaxation oscillators - UNM

Relaxation oscillator:Implementation with Op-Amp

V+

V−

R1 R2

VOUT

½ VOUT

CR3

Add RC feedback to inverting input

V− can't follow VOUT instantly

Capacitor charges with τ = R3C

V−

VOUT

t

+15V

½ VOUT

−15V

Page 21: Lab 11: Relaxation oscillators - UNM

Relaxation oscillator:Implementation with Op-Amp

V+

V−

R1 R2

VOUT

½ VOUT

CR3

Add RC feedback to inverting input

V− can't follow VOUT instantly

Capacitor charges with τ = R3C

V−

VOUT

t

+15V

½ VOUT

−15V

Page 22: Lab 11: Relaxation oscillators - UNM

Relaxation oscillator:Implementation with Op-Amp

V+

V−

R1 R2

VOUT

CR3

If R1 = R2

t

+15V

−15V

Period: 2(ln3)R3C

Page 23: Lab 11: Relaxation oscillators - UNM

Slewing: Op-Amp cannot switch instantly

Limits the maximum oscillator frequency

Ideal

Slewingvisible

Slewingsevere

Page 24: Lab 11: Relaxation oscillators - UNM

555 Timer Chip

Make rectangular wave relaxation oscillator

Period adjustable with R and C

Set from microseconds to hours

Adjustable duty cycle: TON / Period

50% duty cycle

33% duty cycle

12.5% duty cycle

Page 25: Lab 11: Relaxation oscillators - UNM

VI Server Architecture

– Programatically control Front Panel objects [These objects are in the Control Class]

– Programatically edit properties of a running VI [These objects are in the VI Class]

Objects have PROPERTIES and METHODS

PROPERTIES are attributes of an object (eg. color, size, visibility, etc)METHODS are actions or operations of an object (eg. initializing a control)

PROPERTIES are changed programatically with PROPERTY NODESMETHODS are changed programatically with INVOKE NODES