Study of Analog Phase-Locked Loop (APLL)

Similar documents
Exercise 2: FM Detection With a PLL

Integrators, differentiators, and simple filters

Experiment No. 3 Pre-Lab Phase Locked Loops and Frequency Modulation

EE 210: CIRCUITS AND DEVICES

Check out from stockroom:! Two 10x scope probes

Lab 2: Linear and Nonlinear Circuit Elements and Networks

Exercise 2: Demodulation (Quadrature Detector)

University of Michigan EECS 311: Electronic Circuits Fall 2009 LAB 2 NON IDEAL OPAMPS

Electronics I. laboratory measurement guide

Class #16: Experiment Matlab and Data Analysis

The Oscilloscope. Vision is the art of seeing things invisible. J. Swift ( ) OBJECTIVE To learn to operate a digital oscilloscope.

ME 365 EXPERIMENT 1 FAMILIARIZATION WITH COMMONLY USED INSTRUMENTATION

The University of Jordan Mechatronics Engineering Department Electronics Lab.( ) Experiment 1: Lab Equipment Familiarization

EE 201 Lab! Tektronix 3021B function generator

ECE 4670 Spring 2014 Lab 1 Linear System Characteristics

AC LAB ECE-D ecestudy.wordpress.com

DIGITAL COMMUNICATIONS (INTRODUCTION TO MULTISIM SOFTWARE)

Exercise 1: AC Waveform Generator Familiarization

The oscilloscope and RC filters

Experiment 1.A. Working with Lab Equipment. ECEN 2270 Electronics Design Laboratory 1

ECE 3155 Experiment I AC Circuits and Bode Plots Rev. lpt jan 2013

3.2 Measuring Frequency Response Of Low-Pass Filter :

Frequency and Time Domain Representation of Sinusoidal Signals

Operational Amplifiers 2 Active Filters ReadMeFirst

Oscilloscope and Function Generators

Chapter 14 FSK Demodulator

CHAPTER 6. Motor Driver

On-Line Students Analog Discovery 2: Arbitrary Waveform Generator (AWG). Two channel oscilloscope

PLL EXERCISE. R3 16k C3. 2π π 0 π 2π

EE-4022 Experiment 3 Frequency Modulation (FM)

Lab #1 Lab Introduction

Virtual Lab 1: Introduction to Instrumentation

Group: Names: (1) In this step you will examine the effects of AC coupling of an oscilloscope.

EE 241 Experiment #7: NETWORK THEOREMS, LINEARITY, AND THE RESPONSE OF 1 ST ORDER RC CIRCUITS 1

INTRODUCTION TO ENGINEERING AND LABORATORY EXPERIENCE Spring, 2015

LABORATORY 4. Palomar College ENGR210 Spring 2017 ASSIGNED: 3/21/17

EECS 216 Winter 2008 Lab 2: FM Detector Part II: In-Lab & Post-Lab Assignment

DC and AC Circuits. Objective. Theory. 1. Direct Current (DC) R-C Circuit

Basic Communication Laboratory Manual. Shimshon Levy&Harael Mualem

Experiment 8: An AC Circuit

ECE 2274 Lab 2. Your calculator will have a setting that will automatically generate the correct format.

Physics 120 Lab 1 (2018) - Instruments and DC Circuits

BME 3512 Bioelectronics Laboratory Two - Passive Filters

ECE 2274 Lab 2 (Network Theorems)

Pre-Lab. Introduction

Introduction to basic laboratory instruments

Johnson Noise and the Boltzmann Constant

Laboratory Experiment #1 Introduction to Spectral Analysis

Exercise 1: Inductors

Experiment 1: Instrument Familiarization (8/28/06)

Introduction to Basic Laboratory Instruments

Build Your Own Bose WaveRadio Bass Preamp Active Filter Design

Laboratory 3 (drawn from lab text by Alciatore)

LABORATORY 3 v1 CIRCUIT ELEMENTS

Low_Pass_Filter_1st_Order -- Overview

Exercise 4 - THE OSCILLOSCOPE

Experiment: Digital Modulation and Demodulation

LABORATORY 3 v3 CIRCUIT ELEMENTS

Sonoma State University Department of Engineering Science Spring 2017

ESE 150 Lab 04: The Discrete Fourier Transform (DFT)

EC310 Security Exercise 20

Experiment #2: Introduction to Lab Equipment: Function Generator, Oscilloscope, and Multisim

ESE 150 Lab 04: The Discrete Fourier Transform (DFT)

Experiment # 4. Frequency Modulation

Agilent 33220A Function Generator Tutorial

Precalculations Individual Portion Introductory Lab: Basic Operation of Common Laboratory Instruments

Experiment A8 Electronics III Procedure

PHYSICS 330 LAB Operational Amplifier Frequency Response

AME140 Lab #2 INTRODUCTION TO ELECTRONIC TEST EQUIPMENT AND BASIC ELECTRONICS MEASUREMENTS

2 Oscilloscope Familiarization

Lab E5: Filters and Complex Impedance

Experiment 1 Alternating Current with Coil and Ohmic Resistors

EECS 318 Electronics Lab Laboratory #2 Electronic Test Equipment

Lab 9 Frequency Domain

EE 201 Function / Arbitrary Waveform Generator and Oscilloscope Tutorial

ADC and DAC converters. Laboratory Instruction

Sept 13 Pre-lab due Sept 12; Lab memo due Sept 19 at the START of lab time, 1:10pm

MULT SWP X1K K VERN START FREQ DURATION AMPLITUDE 0 TTL OUT RAMP

The Single-Phase PWM Inverter with Dual-Polarity DC Bus

EE 233 Circuit Theory Lab 3: First-Order Filters

The object of this experiment is to become familiar with the instruments used in the low noise laboratory.

Experiment 1: Instrument Familiarization

ME 461 Laboratory #5 Characterization and Control of PMDC Motors

Introduction. sig. ref. sig

EE Experiment 8 Bode Plots of Frequency Response

ANALOG COMMUNICATION

Name: Resistors and Basic Resistive Circuits. Objective: To gain experience with data acquisition proto-boards physical resistors. Table of Contents:

Lab 1: Basic RL and RC DC Circuits

IC-400pro - RADIOAFICION.COM

Digital Communication

ITT Technical Institute. ET275 Electronic Communications Systems I Onsite Course SYLLABUS

Lab 4 An FPGA Based Digital System Design ReadMeFirst

Real Analog - Circuits 1 Chapter 11: Lab Projects

EE354 Spring 2016 Lab 1: Introduction to Lab Equipment

9 Feedback and Control

Experiment A8 Electronics III Procedure

Moku:Lab. Specifications INSTRUMENTS. Moku:Lab, rev

MAE106 Laboratory Exercises Lab # 1 - Laboratory tools

Model 7000 Series Phase Noise Test System

DEPARTMENT OF E.C.E.

Transcription:

Laboratory Exercise 9. (Last updated: 18/1/013, Tamás Krébesz) Study of Analog Phase-Locked Loop (APLL) Required knowledge Operation principle of analog phase-locked-loop (APLL) Operation principle of the loop elements of APLL Operation ranges of a PLL Typical applications implemented by PLL (especially FM and FSK demodulators) Objective The aim of the measurement is that students get familiar with the operation of the main blocks that build up a PLL, the design methods of PLLs based on Bode curves and theoretical results, measuring methods of PLLs and some typical applications. The measurement teaches some system level parameters of APLLs such as lock-in range, tracking range. Then some typical PLL based applications are measured (operation of FM/PM demodulators). References The following reference/preparing materials available online via the web page of the Laboratory subject (http://www.mit.bme.hu/eng/oktatas/targyak/vimia305/m09): Lab_M9_PLL_application.pdf only pages 1-6 Lab_M9_PLL_slides.pdf Matlab help help command; Matlab description of command. clear; erase the variables and functions from memory. load PD.txt; load PD.txt ASCII file. It contains a matrix and it is the actual value of variable PD. The name of the file.m or.mat cannot be the same even without extension as the name of the file to be loaded. y=pd(:,); it loads the second column of the previously loaded file (that is PD variable now) to variable y. x=pd(:,1); it loads the first column of the previously loaded file (that is PD variable now) to variable x. figure; figure window appears. 1

plot(x,y); plots y vector assigned to x vector (puts pairs x i, y i into the coordinate position x,y). semilogx(x,y); the same as the previous except that this command uses logarithmic scale to x. axis([xmin xmax ymin ymax]); sets the maximum and minimum values for x and y coordinate axes. grid; puts such a grid to the coordinate system that fits to the axes. xlabel('\theta_[^o]'); writes text to axis x. ylabel('u_d [ V ]'); writes text to axis y. title('pd curve'); writes text to the top of the figure. w=(100:10:100000); makes a w vector whose elements are in the interval from 100 to 100000 and the step between two consecutive elements is 10. num=[k*t1 K]; factor of the numerator of transfer function (skτ 1 +K). den=[1 K*T1 K]; factor of the denominator of transfer function (s +skτ 1 +K). bode(num,den); returns the Bode curves. Measurement instruments: Oszcilloscope Agilent 546A Power supply Agilent E3630 Synchronizable function generators Agilent 330A-Option 001 Digital multimeter (6½ digit) Agilent 33401A Digital multimeter (3½ digit) Metex ME-T

Test panel Phase- locked loop (PLL) to be measured is built into a test panel. The terminals of the PLL can be accessed via BNC connectors. Test panel is shown by fig. 9-1. 9-1 Test panel Power supply voltage: Set +15V and -15V on the power supply then connect the outputs of the power supply to the test panel inputs labeled +15V and -15V. Mind the polarity! The COMM output of the power supply has to be connected to the test panel input labeled. For making connections use banana jack (also called split plug or banana pin/plug) and colored wires. It is a rule of 3

the thumb that red wire goes for + (now +15V) blue wire goes for (now -15V) and common wire (or ground wire) goes for black (now COMM). Attention! DO NOT connect any other input or output terminals of the test panel to the power supply to avoid the damage of the circuit! Inputs of test panel: The inputs of test panel are the followings PD in1, PD in and VCO in ext with BNC connectors. These inputs are matched to 50Ω therefore the output impedance of generators connected to this terminal have to be set 50Ω.. Parameters of signal to be connected to input PD in1 : voltage: Vpp sine, frequency: from 75kHz to 105kHz, coupling: AC. Parameters of signal to be connected to input PD in : voltage: Vpp sine, frequency: from 75kHz to 105kHz, coupling: AC. Parameters of signal to be connected to input VCO in ext : voltage: 1Vpp square, frequency: 100Hz, coupling: AC. Outputs of test panel: The outputs of test panel are PD out, VCO DC F(s) out and VCO out with BNC terminals. These outputs are matched to 1kΩ that has to be considered during the measurements. (Output is protected against accidental shortcut by the 1kΩ resistor.) Signal parameters appearing at output PD out : voltage: between -1V és +1V, frequency: from DC to 00kHz, coupling: DC. Signal parameters appearing at output VCO DC F(s) out : voltage: between -10V and +10V, frequency: from DC to 10kHz, coupling: DC. Signal parameters appearing at output VCO out : 4

voltage: Vpp sine, frequency: from 78kHz to 10kHz, coupling: AC. Attention! DO NOT connect any other input or output terminals of the test panel to the power supply to avoid the damage of the circuit! Switch-over facilities of the test panel: 1. The applicable loop filter can be chosen by the switch can be found between PD and loop filter. 1+ 1 Parameters of loop filter denoted by transfer function : τ 1 = 193.10-6 [s/rad] τ = 43.10-6 [s/rad] ζ = 1 ω n = 11130 [rad/s] 1+ 3 Parameters of loop filter denoted by transfer function : τ 3 = 45,.10-6 [s/rad] τ = 43.10-6 [s/rad] ζ = 0,5 ω n = 11130 [rad/s]. Switch between loop filter and VCO is three states. Switching toward label PD, VCO opens the loop to measure the elements of the loop unconnected from the loop (phase detector and VCO). Phase detector Reference signal should be connected to input PD in1 of the phase detector while the other signal to be connected to input PD in. Output signal of the VCO is switched off from the input of the phase detector by the switch (VCO output and PD input are not connected this way.) The output of the phase detector still can be accessed at PD out. VCO This state of the switch connects the potentiometer labeled VCO in adj to the input of the VCO. The potentiometer provides voltage from -10V to +10V. This voltage also appears at the BNC terminal labeled VCO DC for measuring purpose. The output signal of the VCO can be accessed at BNC terminal labeled VCO out. Attention! Terminal VCO DC is not input, therefore do not connect the power supply or the generator to it! 5

Switching to the middle position supports the free-running frequency of VCO. The input of the VCO is unconnected from any input signal. The output signal of the VCO remains accessible at BNC terminal labeled VCO out. Switching toward label PLL closes the loop to measure the PLL. In this position of the switch terminal PD in is unconnected from the phase detector and potentiometer is unconnected from the VCO input however the output signal of the VCO is now connected to the PD. Reference signal should be connected to PD in1 input of the phase detector. The output of the phase detector is accessible at PD out. The output of the loop filter is accessible at F(s) out. The output of the VCO is accessible at VCO out. External signal to the VCO can be connected via terminal labeled VCO in ext. Laboratory exercises 1. Measuring of the loop elements of the APLL The aim of the measurement is to introduce the measuring methods of the loop elements. 1.1. Obtaining the PD curve Set +15V and -15V on the power supply then connect the outputs of the power supply to the test panel inputs labeled +15V and -15V. Mind the polarity! The COMM output of the power supply has to be connected to the test panel input labeled. Connect test panel inputs labeled PD in1 and PD in to the outputs of the signal generators and to the oscilloscope. Connect output PD out to Agilent 33401A multimeter that is set to voltage measurement. Be careful! Reference signal goes to input PD in1 while the signal with altering phase goes to PD in. Switch between loop filter and VCO has to be in position labeled PD, VCO. (Now loop is opened and ready for measurements of loop elements.) The phase of the signal connected to PD in has to be altered from -180 o to +180 o, the step between two consecutive phase value is 10 o. The two signal generators have to be synchronized to each other. Read the output voltage of the PD using the multimeter connected to output PD out. Record the phase and voltage values into a chart and plot it to have the PD curve (use Excel or Matlab). Calculate the transfer coefficient of the PD (K d ). You have the necessary data for that. Output voltage of PD is proportional to θ e phase error that is now θ e = - θ. Settings of the function generators: output impedance: 50Ω, frequency: 90 khz, amplitude: V pp, signal type: sine. Synchronization of phase generators and setting the phase: 6

Function generators can be synchronized by connecting External 10MHz Reference Output Terminal and External 10MHz Reference Input Terminal. Check if these terminals exist at the back. The reference signal should be connected to test panel input PD in1 from the generator having synchronization cable at its External 10MHz Reference Output Terminal. Set the parameters given above at both function generators. Set the initial phase at the function generator connected to input PD in of the test panel as follows: Push buttons in the following order Utility -> Output Setup -> Adjust Phase at the function generator. Set the signal phase of the function generator to have 0 o phase difference to the signal of the other function generator. Check on the oscilloscope that the two signals are in the same phase. (The two signals overlap each other.) If it is so push button Set 0 Phase then this phase state is stored and this means the zero phase difference between the two function generators. Now write 90 o on the function generator connected to input PD in, set it, and push again button Set 0 Phase. As a result the reference signal becomes a sine while signal of the function generator connected to PD in is a cosine (shifted with 90 o to the reference). Obtain the PD curve between -180 o and +180 o as it was detailed before. 1.. Obtaining VCO curve Connect the VCO output to the oscilloscope and to the Agilent 33401A multimeter that is set to measure frequency. Output VCO DC should be connected to Metex ME-T multimeter that is set to measure voltage. Set the switch between the loop filter and the VCO to position PD, VCO. Adjusting potentiometer labeled VCO in adj (and this way the input voltage of the VCO) so that the frequency of the voltage appearing at the output of the VCO be changed by khz in every measurement step. Measure the output frequency of the VCO by using Agilent 33401A multimeter and the input voltage of the VCO by using Metex ME-T multimeter. Obtain the VCO curve from 80 khz to 100 khz with the resolution of khz (the frequency step between two consecutive frequency values is khz). Record the frequency and voltage values into a chart and plot it to have the VCO curve (use Excel or Matlab). Calculate the transfer coefficient of the VCO (K v ). 1.3. Calculating the free-running frequency of the VCO Set the switch between the loop filter and the VCO into middle position and measure the frequency appearing at the output VCO out. Record it.. Obtaining the locking- and tracking ranges of the APLL The aim of the measurement is to show the operating frequency ranges of the APLL..1. Obtaining the locking range Connect input PD in1 to the output of the function generator and to CH1 of the oscilloscope then connect VCO out to Agilent 33401A multimeter set to measure frequency and to CH of the oscilloscope. The switch between the loop filter and the VCO should be set into PLL position. The other switch between PD and the loop filter should be set into the upper position to 1+ 1 have loop filter with transfer function in the loop. 7

Slowly change the output frequency of the function generator from 78 khz to 90 khz while continuously watching the oscilloscope waiting for the two signals be synchronized. (the frequency is the same and the phase difference between the two signals is 90 o ). Then measure the upper locking frequency by changing the frequency of the function generator from 10 khz to 90 khz. Record the data. As a final check use Lissajous measuring method. If phase locked state is valid a circle must be seen... Obtaining tracking range The connections are the same as before. Slowly change the output frequency of the function generator from 90 khz to 78 khz while continuously watching the oscilloscope waiting for the two signals loose synchronization. Then measure the upper tracking frequency by changing the frequency of the function generator from 90 khz to 10 khz. Record the data. As a final check use Lissajous measuring method. 3. Implementation of analog FM demodulator and obtaining its curve The aim of this measurement point is to introduce some PLL based applications, furthermore to show some measuring methods of them. Connect the input PD in1 to the output of the function generator, then the output F(s) out to Agilent 33401A multimeter that is set to measure voltage. The switch between the loop filter and the VCO should be set into PLL position. The other switch between PD and the loop filter should be set into the upper position to 1+ 1 have loop filter with transfer function in the loop. Set the function generator as follows: output impedance: 50 Ω, frequency: 90 khz, amplitude: V pp, signal shape: sine. Turn on FM modulation on the function generator and set the followings: signal shape: sine, modulating frequency: 100 Hz, deviation: 1 khz. Set the modulating frequency 100 Hz then push button db to be the voltage displayed in db. The so set voltage corresponds to 0 db. Increase the modulating frequency of the function generator from 100 Hz to 6100 Hz with step 00 Hz and read the voltage displayed by the multimeter. This way you can obtain the transfer function of the FM demodulator. Using Excel or Matlab plot the transfer function. Measure the frequency corresponds to the -3 db attenuation point. Give the frequency and the amplitude in db at that point where the output of the FM demodulator provides the highest signal level. Knowing the deviation and K v calculate the amplitude of the demodulated signal then compare the calculated and measured values to each other (amplitude should be given in volts). 8

4. Implementation and measurement of digital FSK demodulator The aim of this measurement point is to introduce PLL as a digital demodulator. 4.1. Measurement in case of FSK with small deviation Connect PD in1 to the output of the function generator then F(s) out to the oscilloscope. The switch between the loop filter and the VCO should be set into PLL position. The other switch between PD and the loop filter should be set into the upper position to 1+ 1 have loop filter with transfer function in the loop. Set the function generator as follows: output impedance: 50 Ω, frequency: 90 khz, amplitude: V pp, signal shape: sine. Turn on FSK modulation on the function generator and make the following settings: modulating frequency (FSK Rate): 00 Hz, frequency hopping (Hop Freq.): 9 khz. Measure the signal by oscilloscope and save it into the measurement log. 4.. Measurement of FSK with big deviation (collapsing the locked state, generating locking transient) Use the same measurement setup as in 5.1. but change the frequency hop to 97 khz and measure the demodulated signal. Save the screen of the oscilloscope and explain why the locked loop collapsed and restart the locking transient. Calculate the maximal deviation that still preserves the locked loop. Verify the calculation with measurement. 9