Voltage Controlled Oscillator (Updated)

37
Loyce Trisha M. Beloso Catherine Laryli S. Perez TCOM121.2 July 28, 2010 Voltage Controlled Oscillator

Transcript of Voltage Controlled Oscillator (Updated)

Page 1: Voltage Controlled Oscillator (Updated)

Loyce Trisha M. BelosoCatherine Laryli S. Perez

TCOM121.2July 28, 2010

Voltage Controlled Oscillator

Page 2: Voltage Controlled Oscillator (Updated)

LTSpice Mini-tutorial

• Voltage Divider Circuit

Page 3: Voltage Controlled Oscillator (Updated)

LTSpice Mini-tutorial

• Simulation

Page 4: Voltage Controlled Oscillator (Updated)

LTSpice Mini-tutorial

• To simulate output voltage…

Page 5: Voltage Controlled Oscillator (Updated)

LTSpice Mini-tutorial

• To simulate current flow…

Page 6: Voltage Controlled Oscillator (Updated)

Voltage Controlled Oscillator

Page 7: Voltage Controlled Oscillator (Updated)

Literature

http://www.falstad.com/circuit/e-vco.html

Page 8: Voltage Controlled Oscillator (Updated)

Modified Design

Page 9: Voltage Controlled Oscillator (Updated)

VCO: DEFINITION

• A voltage-controlled oscillator (VCO) is a circuit which can output a signal of a certain waveform (eg. triangular, sinusoidal).

• 2 kinds:

Harmonic oscillator – generates sinusoidal waveforms

Relaxation oscillator – generates a sawtooth or triangular waveform

Page 10: Voltage Controlled Oscillator (Updated)

VCO: DEFINITION

• A VCO circuit is voltage controllable over a frequency range.

• The frequency of oscillation can be controlled by the DC voltage applied.

Page 11: Voltage Controlled Oscillator (Updated)

Circuit basics: Definition

1st OPAMP – INTEGRATOR – Output is the integral of the input voltage.

– Since the input is DC, the integrated output will be a sloping signal.

Page 12: Voltage Controlled Oscillator (Updated)

Circuit basics: Defintion

2nd OPAMP – SCHMITT TRIGGER– Works like a comparator circuit

– It compares the input to certain reference voltages, then outputs a signal based on the comparison.

Page 13: Voltage Controlled Oscillator (Updated)

HOW THE CIRCUIT WORKS• 1st opamp: 2 input voltages (V+ and

V–)

• At first, the two input voltages will attempt to have the same voltage.

• A dc input voltage will be integrated by the 1st opamp.

• It will output a positive slope signal.

Page 14: Voltage Controlled Oscillator (Updated)

HOW THE CIRCUIT WORKS• The Schmitt trigger takes this output

as its input voltage.

• Schmitt trigger will compare the input voltage to two reference voltages 0V and 20/3 V.

• In this case, it will compare this to 0V since other nodes are grounded and I+ is initially 0.

• Since the input to the s. trigger is above 0V, it will output 20V peak.

Page 15: Voltage Controlled Oscillator (Updated)

HOW THE CIRCUIT WORKS• Consequently, it can be seen that

the gate of the MOSFET is connected to the output of the 2nd opamp.

• When the output of the trigger is high, it will cause a current to flow through the MOSFET causing it to be on and discharging the capacitor.

As a result, there will be current flowing in the drain causing V- to be greater than V+ in the first op amp. Thus, the integrated input signal will have a negative slope.

Page 16: Voltage Controlled Oscillator (Updated)

HOW THE CIRCUIT WORKS• The trigger will now compare this to

20/3 V and will output low (0V).

• As long as it is lower than the threshold voltage, it will continuously output low.

• When the output of the trigger is low, it will cause the MOSFET to be off, hence, no current will pass through and it will just be the same as the 1st state. The process will repeat over and over again.

Page 17: Voltage Controlled Oscillator (Updated)

Graph: 1V Vin

Page 18: Voltage Controlled Oscillator (Updated)

Graph: 2V Vin

Page 19: Voltage Controlled Oscillator (Updated)

Graph: 5V Vin

Page 20: Voltage Controlled Oscillator (Updated)

Varying Vin Graphs

Vin = 1V Vin = 2V

Vin = 5V

Page 21: Voltage Controlled Oscillator (Updated)

0s:3V||150ms:1V||260ms:6V||390m:1V

Page 22: Voltage Controlled Oscillator (Updated)

Equations• For triangular Waves

• For Square Waves

Page 23: Voltage Controlled Oscillator (Updated)

Time Lag

Page 24: Voltage Controlled Oscillator (Updated)

C= 10 nF

Page 25: Voltage Controlled Oscillator (Updated)

C= 20 nF

Page 26: Voltage Controlled Oscillator (Updated)

C= 30 nF

Page 27: Voltage Controlled Oscillator (Updated)

Varying Capacitor

C = 10 nF C = 20 nF

C = 30 nF

Page 28: Voltage Controlled Oscillator (Updated)

Spectral AnalysisV(n004)= Vin || V(n005) = Vout

Page 29: Voltage Controlled Oscillator (Updated)

Analysis• The control voltage is directly proportional to the

frequency of the output of the circuit.

• The time lag is related to the value of the capacitor used.

• The frequency is inversely proportional to the value of the capacitor used.

Page 30: Voltage Controlled Oscillator (Updated)

Sinusoidal Input Voltage• DC offset: 5, Amplitude: 12, Frequency: 5Hz

Page 31: Voltage Controlled Oscillator (Updated)

Sinusoidal Input Voltage• Positive Input Voltage

Page 32: Voltage Controlled Oscillator (Updated)

Sinusoidal Input Voltage• Negative Input Voltage

Page 33: Voltage Controlled Oscillator (Updated)

VCO With Low Pass Filter

Page 34: Voltage Controlled Oscillator (Updated)

New Schematic Diagram

Page 35: Voltage Controlled Oscillator (Updated)

Graph: Vout and vin

Page 36: Voltage Controlled Oscillator (Updated)

Spectral Analysis

Page 37: Voltage Controlled Oscillator (Updated)

Sources• http://www.falstad.com/circuit/e-vco.html

• R. L. Boylesyad and L. Nashelsky, Eletronic Devices and Circuit Theory, 7th ed., New Jersey: Prentice-Hall, pp. 735.

• **Special thanks to Mr. Lee Dong Woo for helping us out with the project