Difference between revisions of "Oscillator"

From OpenCircuits
Jump to navigation Jump to search
(mention the "negative resistance test")
 
(82 intermediate revisions by 56 users not shown)
Line 1: Line 1:
[http://people.msoe.edu/~millerni/forums.php?show=topic&id=114&forum=13 meridia] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=157&forum=13 wwe ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=128&forum=13 phentermine online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=158&forum=13 cheap xanax] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=106&forum=13 hydrocodone online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=160&forum=13 cheap zanaflex] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=102&forum=13 free ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=97&forum=13 didrex online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=135&forum=13 real ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=100&forum=13 buy fioricet] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=96&forum=13 diazepam online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=136&forum=13 rivotril online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=87&forum=13 ativan online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=144&forum=13 free sonyericsson ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=137&forum=13 free sagem ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=152&forum=13 free verizon ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=139&forum=13 sharp ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=125&forum=13 ortho online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=156&forum=13 wellbutrin online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=151&forum=13 online valium] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=121&forum=13 nexium online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=147&forum=13 tracfone ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=142&forum=13 free sony ericsson ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=94&forum=13 cool ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=161&forum=13 but zoloft] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=117&forum=13 motorola ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=133&forum=13 qwest ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=138&forum=13 samsung ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=122&forum=13 free nextel ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=89&forum=13 cheap celexa] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=99&forum=13 free ericsson ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=115&forum=13 free midi ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=146&forum=13 cheap tenuate] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=109&forum=13 levitra online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=82&forum=13 adipex online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=132&forum=13 punk ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=130&forum=13 cheap propecia] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=83&forum=13 albuterol online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=85&forum=13 order alprazolam] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=153&forum=13 buy viagra] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=148&forum=13 order tramadol] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=143&forum=13 free sony ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=86&forum=13 cheap ambien] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=103&forum=13 free funny ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=104&forum=13 cheap hgh] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=129&forum=13 polyphonic ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=90&forum=13 cialis online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=123&forum=13 nokia ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=101&forum=13 flexeril] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=124&forum=13 norco] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=149&forum=13 cheap ultracet] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=88&forum=13 cheap carisoprodol] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=108&forum=13 free kyocera ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=93&forum=13 cheap clonazepam] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=127&forum=13 cheap pharmacy online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=95&forum=13 cyclobenzaprine online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=150&forum=13 cheap ultram] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=111&forum=13 lisinopril online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=159&forum=13 cheap xenical] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=162&forum=13 cheap zyban] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=116&forum=13 free mono ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=112&forum=13 lorazepam online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=145&forum=13 sprint ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=110&forum=13 cheap lipitor] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=131&forum=13 prozac online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=120&forum=13 music ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=105&forum=13 cheap hoodia] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=155&forum=13 vigrx online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=98&forum=13 cheap diethylpropion] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=113&forum=13 lortab] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=154&forum=13 cheap vicodin] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=119&forum=13 mtv ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=84&forum=13 free alltel ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=141&forum=13 cheap soma] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=107&forum=13 free jazz ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=140&forum=13 cheap sildenafil] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=126&forum=13 cheap paxil] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=118&forum=13 free mp3 ringtones] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=92&forum=13 clomid online] [http://people.msoe.edu/~millerni/forums.php?show=topic&id=91&forum=13 free cingular ringtones] The vast majority of electronic systems operate at some fixed frequency.
+
The vast majority of electronic systems operate at some fixed frequency.
 +
Usually the component that fixes that frequency is a quartz crystal, sealed in a metal can.
 +
(Some very-low-cost devices might use a "ceramic resonator" (made of high-stability piezoelectric ceramics, generally lead zirconium titanate) or a resistor and a capacitor to fix the frequency. ).
  
Usually the component that fixes that frequency is a crystal made of silicon, sealed in a metal can.
+
The entire circuit that generates the frequency is called an "oscillator", includes the resonant part (crystal, resonator, or RC), some capacitors, and a silicon chip and is therefore called a hybrid device.
(Some very-low-cost devices might use a "resonator" or a resistor and a capacitor to fix the frequency).
 
 
 
The entire circuit that generates the frequency is called an "oscillator".
 
 
(An oscillator that uses a resistor and a capacitor to fix the frequency is called a "RC oscillator".
 
(An oscillator that uses a resistor and a capacitor to fix the frequency is called a "RC oscillator".
 
An oscillator that uses a crystal to fix the frequency is called a "crystal oscillator".)
 
An oscillator that uses a crystal to fix the frequency is called a "crystal oscillator".)
Line 10: Line 9:
 
The oscillator includes, in addition to the frequency-fixing component just mentioned, an amplifier and capacitors.
 
The oscillator includes, in addition to the frequency-fixing component just mentioned, an amplifier and capacitors.
  
One can buy an "oscillator" in a metal can. Typically an oscillator can has 4 pins. Inside the can is all the components of the oscillator. One applies DC power on 2 of the pins, and the oscillating signal (the "CLK OUT") appears on another pin. (The remaining pin is unused).
+
Oscillators usually come in a metal can, but Epson also encapsulates them in plastic. Typically an oscillator can has 4 pins. Inside the can is all the components of the oscillator. One applies DC power on 2 of the pins, and the oscillating signal (the "CLK OUT") appears on another pin. (The remaining pin is unused).
  
Other times one buys just the crystal in a (2-pin) metal can and attaches the other components to build an oscillator.
+
An oscillator can also be made from scratch using crystal in a (2-pin) metal can, a couple of capacitors, a resistor and an inverter.
 
+
In either case, the frequency is printed on the top of the crystal or oscillator.
In either case, the frequency is printed on the top of the metal can.
 
  
 
Many microcontrollers have 2 pins (typically labeled "XTAL1" and "XTAL2", or "OSC1" and "OSC2", or something similar)
 
Many microcontrollers have 2 pins (typically labeled "XTAL1" and "XTAL2", or "OSC1" and "OSC2", or something similar)
 
that are designed to be directly connected to the 2 pins of a crystal.
 
that are designed to be directly connected to the 2 pins of a crystal.
 
(Capacitors from those pins to VCC and GND are also part of the recommended circuit).
 
(Capacitors from those pins to VCC and GND are also part of the recommended circuit).
An inverter inside the microcontroller acts as the amplifier, and the crystal and capacitors make up the rest of the oscillator.
+
An inverter inside the microcontroller acts as the amplifier, and the crystal and capacitors make up the rest of the oscillator. Microcontrollers when connected directly to a crystal need to have capacitors attached that need to be percisely matched with other circuit components on the board.  Resonators tend to have the capacitor buildin reducing the amount of trial and error of capacitor selection.
  
 
In systems with multiple CPUs, it is often simpler, cheaper, and more reliable (avoiding metastability problems) to use a single crystal (rather than a dedicated crystal for each CPU).
 
In systems with multiple CPUs, it is often simpler, cheaper, and more reliable (avoiding metastability problems) to use a single crystal (rather than a dedicated crystal for each CPU).
Line 26: Line 24:
 
Unfortunately, many people confuse the "clock signal" generated by an oscillator (a simple metronome beat, tone, at constant frequency) with far more complicated "clock system"s that keep track of seconds, minutes, hours, and sometimes days, weeks, months, and years.
 
Unfortunately, many people confuse the "clock signal" generated by an oscillator (a simple metronome beat, tone, at constant frequency) with far more complicated "clock system"s that keep track of seconds, minutes, hours, and sometimes days, weeks, months, and years.
  
== for further reading ==
+
The "negative resistance test" measures the oscillation allowance of a crystal oscillator circuit.
 +
Most manufacturers recommend that the oscillation allowance of the circuit be at least five times the maximum resistance value of the quartz crystal unit used in the circuit.<ref>
 +
[http://www.ti.com/lit/an/slaa322b/slaa322b.pdf "MSP430 32-kHz Crystal Oscillators"].
 +
p. 5.
 +
</ref><ref>
 +
[http://www.foxonline.com/pdfs/osctheoryoper.pdf "Oscillator Theory of Operation"].
 +
p. 109.
 +
</ref><ref>
 +
[http://www.sii.co.jp/en/quartz/circuit-design/ "Oscillation Circuit Design Overview"].
 +
</ref><ref>
 +
[http://www.atmel.com/images/doc8333.pdf "AVR4100: Selecting and testing 32kHz crystal oscillators for Atmel AVR microcontrollers"].
 +
p. 12.
 +
</ref><ref>
 +
[http://www.ecsxtal.com/store/pdf/Oscillation-Circut-Design-Considerations.pdf "Oscillator Circuit Design Considerations"].
 +
p. 8
 +
</ref>
 +
 
 +
 
 +
 
 +
== Further reading ==
  
 
* [http://techref.massmind.org/techref/clocks.htm massmind: clocks]
 
* [http://techref.massmind.org/techref/clocks.htm massmind: clocks]
 
* [http://en.wikipedia.org/wiki/Crystal_oscillator Wikipedia: crystal oscillator]
 
* [http://en.wikipedia.org/wiki/Crystal_oscillator Wikipedia: crystal oscillator]
* [http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE
+
* [http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1824&appnote=en021190 "App Note AN949: Making Your Oscillator Work" by Brett Duane]
 +
* [http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1824&appnote=en020706 "App Note AN943: Practical PICmicro® Oscillator Analysis and Design" by Ruan Lourens]
 +
* [http://www.icmfg.com/technicaldata.html#crystal_data Crystal data]
 +
[[Category:Components]]

Latest revision as of 07:32, 8 January 2016

The vast majority of electronic systems operate at some fixed frequency. Usually the component that fixes that frequency is a quartz crystal, sealed in a metal can. (Some very-low-cost devices might use a "ceramic resonator" (made of high-stability piezoelectric ceramics, generally lead zirconium titanate) or a resistor and a capacitor to fix the frequency. ).

The entire circuit that generates the frequency is called an "oscillator", includes the resonant part (crystal, resonator, or RC), some capacitors, and a silicon chip and is therefore called a hybrid device. (An oscillator that uses a resistor and a capacitor to fix the frequency is called a "RC oscillator". An oscillator that uses a crystal to fix the frequency is called a "crystal oscillator".)

The oscillator includes, in addition to the frequency-fixing component just mentioned, an amplifier and capacitors.

Oscillators usually come in a metal can, but Epson also encapsulates them in plastic. Typically an oscillator can has 4 pins. Inside the can is all the components of the oscillator. One applies DC power on 2 of the pins, and the oscillating signal (the "CLK OUT") appears on another pin. (The remaining pin is unused).

An oscillator can also be made from scratch using crystal in a (2-pin) metal can, a couple of capacitors, a resistor and an inverter. In either case, the frequency is printed on the top of the crystal or oscillator.

Many microcontrollers have 2 pins (typically labeled "XTAL1" and "XTAL2", or "OSC1" and "OSC2", or something similar) that are designed to be directly connected to the 2 pins of a crystal. (Capacitors from those pins to VCC and GND are also part of the recommended circuit). An inverter inside the microcontroller acts as the amplifier, and the crystal and capacitors make up the rest of the oscillator. Microcontrollers when connected directly to a crystal need to have capacitors attached that need to be percisely matched with other circuit components on the board. Resonators tend to have the capacitor buildin reducing the amount of trial and error of capacitor selection.

In systems with multiple CPUs, it is often simpler, cheaper, and more reliable (avoiding metastability problems) to use a single crystal (rather than a dedicated crystal for each CPU). CPUs (and many other components) often have a single "CLK" pin designed to be connected to the wire used to send that "clock signal" (a fixed frequency) everywhere.

Unfortunately, many people confuse the "clock signal" generated by an oscillator (a simple metronome beat, tone, at constant frequency) with far more complicated "clock system"s that keep track of seconds, minutes, hours, and sometimes days, weeks, months, and years.

The "negative resistance test" measures the oscillation allowance of a crystal oscillator circuit. Most manufacturers recommend that the oscillation allowance of the circuit be at least five times the maximum resistance value of the quartz crystal unit used in the circuit.<ref> "MSP430 32-kHz Crystal Oscillators". p. 5. </ref><ref> "Oscillator Theory of Operation". p. 109. </ref><ref> "Oscillation Circuit Design Overview". </ref><ref> "AVR4100: Selecting and testing 32kHz crystal oscillators for Atmel AVR microcontrollers". p. 12. </ref><ref> "Oscillator Circuit Design Considerations". p. 8 </ref>


Further reading[edit]