Frequency Stability of Crystal Oscillator_presentation

29
1 Frequency Stability of Crystal Oscillator with GPS PPS Signal Dinesh Kumar 26361 Mo Hyunho 26366 Title

Transcript of Frequency Stability of Crystal Oscillator_presentation

Page 1: Frequency Stability of Crystal Oscillator_presentation

1

Frequency Stability of Crystal Oscillatorwith GPS PPS Signal

Dinesh Kumar 26361Mo Hyunho 26366

Title

Page 2: Frequency Stability of Crystal Oscillator_presentation

2

Objectives

To learn RTL design using VHDL Finding out one of the parameters of the crystal oscillator.

i,e frequency stability using GPS pps signal. pps signal as a reference signal, and compare the

crystal oscillator output signal. (frequency variation of the crystal oscillator.)

Frequency stability will vary with respect to temperature.(Below is the example table shown for reference )

Page 3: Frequency Stability of Crystal Oscillator_presentation

3

Concepts Learned during the Project

VHDL Coding (VHSIC (Very High Speed Integrated Circuit) Hardware Description Language)Designing of state machines.Designing of Counters.Advantages of state machines.FPGA Design Flow.Writing of Test Bench.Model Sim Simulation.Xilinx ISE

Page 4: Frequency Stability of Crystal Oscillator_presentation

4

Oscillator

An oscillator is a circuit that produces a repetitive signal from a dc voltage. Oscillators are circuits that produce a continuous signal of some

type without the need of an input. These signals serve a variety of purposes. Communications systems, digital systems (including computers)

,and test equipment make use of oscillators

Sine wave

Square wave

Sawtooth wave

Page 5: Frequency Stability of Crystal Oscillator_presentation

5

Crystal Oscillator

Digital applications require the use of oscillators with extremely stable output. Overcome the output fluctuation experienced by conventional

oscillators. Crystals used in electronic applications consist of a quartz wafer

held between two metal plates and housed in a package

Page 6: Frequency Stability of Crystal Oscillator_presentation

6

Crystal Oscillator

The quartz crystal is made of silicon oxide (SiO2) and exhibits a property called the piezoelectric

When a changing an alternating voltage is applied across the crystal, it vibrates at the frequency of the applied voltage. In the other word, the frequency of the applied ac voltage is equal to the natural resonant frequency of the crystal.

The thinner the crystal, higher its frequency of vibration. This phenomenon is called piezoelectric effect.

Piezoelectric Effect

Page 7: Frequency Stability of Crystal Oscillator_presentation

7

Crystal Oscillator

The quartz crystal is made of silicon oxide (SiO2) and exhibits a property called the piezoelectricThe thinner the crystal, higher its frequency of vibration. This phenomenon is called piezoelectric effect.

Piezoelectric Effect

Applications

Radio and television stations require oscillators to develop the basic signal to transmit their information.Cell phones, electronic circuits and remote controls use oscillators to produce the required frequencies for operation.Variable oscillators, known as signal generators, are used to generate frequencies and waveforms needed for troubleshooting and the testing of electronic equipment.

Page 8: Frequency Stability of Crystal Oscillator_presentation

8

Crystal Oscillator

Amplitude

Frequency

Waveform type

Stability

On some oscillators, the capability to change frequency

Output Characteristics

Page 9: Frequency Stability of Crystal Oscillator_presentation

9

Crystal Oscillator

Sometimes referred to as a stable oscillator Source of a signal with consistent amplitude Source of a signal with consistent frequency

Oscillator Stability

Page 10: Frequency Stability of Crystal Oscillator_presentation

10

Various parameters of crystal oscillator

Page 11: Frequency Stability of Crystal Oscillator_presentation

GPS PPS

Sharp rising, abruptly falling that accurately repeats once per second.

Accuracy ranging from a 12 picoseconds to a few nano seconds.

Used for precise timekeeping and time measurement (in our project we are using it to know the start of a second.)

It doesn’t have 50% Duty cycle.

Page 12: Frequency Stability of Crystal Oscillator_presentation

12

FPGA Design Flow

•Synthesize, checks code syntax and analyze the hierarchy of your design which ensures that your design is optimized for the design architecture you have selected. The resulting netlist is saved to an NGC file or an EDIF file

•Implement/Translate, which merges the incoming netlists and constraints into a binary database

•Implement/Map, which maps the design into the available resources on the target device, like LUT, Flip Flops, BRAM,...

•Implement/Place and Route, which places and routes the mapped database and checks the timing constraints

•Generate Programming File, which creates a bitstream file that can be downloaded to the device

Page 13: Frequency Stability of Crystal Oscillator_presentation

13

Block Diagram

Page 14: Frequency Stability of Crystal Oscillator_presentation

14

TOP MODULE ARCHITECTURE

Page 15: Frequency Stability of Crystal Oscillator_presentation

15

ENTIRE DESIGN ARCHITECTURE

Page 16: Frequency Stability of Crystal Oscillator_presentation

16

SUB MODULE ARCHITECTURE

Page 17: Frequency Stability of Crystal Oscillator_presentation

17

Typical counter operation in FPGA

Page 18: Frequency Stability of Crystal Oscillator_presentation

18

sec pulse generator

Page 19: Frequency Stability of Crystal Oscillator_presentation

19

Synchronization

Edge detection

Page 20: Frequency Stability of Crystal Oscillator_presentation

20

Phase detector (sec lead case)

Page 21: Frequency Stability of Crystal Oscillator_presentation

21

Phase detector (pps lead case)

Page 22: Frequency Stability of Crystal Oscillator_presentation

22

FSM for phase detector

Page 23: Frequency Stability of Crystal Oscillator_presentation

23

Phase difference count block

Page 24: Frequency Stability of Crystal Oscillator_presentation

24

Simulation result (phase difference count)

Page 25: Frequency Stability of Crystal Oscillator_presentation

25

Simulation result (synchronization)

Page 26: Frequency Stability of Crystal Oscillator_presentation

26

Application of our project

This IP is used to measure the frequency error of a Crystal Oscillator (DUT) with respective time.

This IP can be used in application where precision clock is required at a minimum cost.

Page 27: Frequency Stability of Crystal Oscillator_presentation

Demonstration

lead_lag : “01” sec pulse lag to pps pulse

Final error = -18 in decimal = -1.8μs [(18 * 100ns (10 Mhz I/P Clock)]

Page 28: Frequency Stability of Crystal Oscillator_presentation

28

Analysis

Critical Path Delay of the implemented design is 5.2 ns so Maximum frequency of the design is 192.3 MHz

f =1/T

Maximal operation frequency

Timing Summary:---------------Speed Grade: -5

Minimum period: 5.200ns (Maximum Frequency: 192.313MHz)Minimum input arrival time before clock: No path foundMaximum output required time after clock: 4.134nsMaximum combinational path delay: No path found

Page 29: Frequency Stability of Crystal Oscillator_presentation

29

Danke schön