Engineers' Guide to PLL FM Modulation
Engineers' Guide to PLL FM Modulation
discussions, stats, and author profiles for this publication at: https://www.researchgate.net/publication/256133199
READS
1,089
3 AUTHORS, INCLUDING:
Arun Prakash
Kongu Engineering College
2 PUBLICATIONS 0 CITATIONS
SEE PROFILE
ABSTRACT
FM modulation refers to the process of modulating a carrier wave with respect
to the input message signal. Our project deals with the design of an FM modulator
using PLL for a frequency range of 1.5 GHz. A phase locked loop system used for
performing indirect frequency modulation.
A phase locked loop is comprised of a phase detector coupled to a low pass
filter and a voltage controlled oscillator with a feedback loop to the phase detector.
Input signals provided by a crystal controlled oscillator are fed to the phase detector.
A phase difference other than 90° between the voltage controlled oscillator output and
the input signal will result in the phase detector generating an error voltage which is
filtered by the low pass filter to alter the voltage controlled oscillator until its phase is
90° from the input signal.
A modulating signal is injected into the phase locked loop which causes the
voltage controlled oscillator to momentarily change frequency until the output of the
phase detector changes enough to balance the modulating signal. This proposed
system overcomes the stability problems of direct FM modulation technique. The
creation of such a system would combine the advantage of high stability offered by
indirect FM modulation technique with the simplicity of direct FM modulation
technique.
This report is the Work of: Arun Prakash A, Naveen Kumar C, Naveen Kumar S and
Murali.S, For any queries, Mail us to: a.arun283@gmail.com
PLL Based High Frequency FM Modulator
1. INTRODUCTION
1.1 Frequency modulation
Frequency modulation uses the instantaneous frequency of a modulating signal
(voice, music, data, etc.) to directly vary the frequency of a carrier signal. Modulation
index, β, is used to describe the ratio of maximum frequency deviation of the carrier to
the maximum frequency deviation of the modulating signal. Suppose the baseband
data signal (the message) to be transmitted is:
Where fc is the carrier's base frequency and Ac is the carrier's amplitude. The
modulator combines the carrier with the baseband data signal to get the transmitted
signal,
This report is the Work of: Arun Prakash A, Naveen Kumar C, Naveen Kumar S and
Murali.S, For any queries, Mail us to: a.arun283@gmail.com
PLL Based High Frequency FM Modulator
Direct FM modulation can be achieved by directly feeding the message into the
input of a VCO. Indirect FM modulation, the message signal is integrated to generate
a phase modulated signal. This is used to modulate a crystal controlled oscillator, and
the result is passed through a frequency multiplier to give an FM signal
This report is the Work of: Arun Prakash A, Naveen Kumar C, Naveen Kumar S and
Murali.S, For any queries, Mail us to: a.arun283@gmail.com
PLL Based High Frequency FM Modulator
A PLL circuit can be used to create an FM signal. The input to the phase
comparator is the carrier signal, and assuming that the carrier frequency is within the
capture range of the PLL, the VCO output frequency will be equal to the carrier
frequency. Now, if the VCO control voltage is the sum of the message waveform and
the loop error voltage, then the VCO output frequency will vary about the carrier
frequency according to the message. Thus, the VCO output is the desired FM signal.
VCO
This report is the Work of: Arun Prakash A, Naveen Kumar C, Naveen Kumar S and
Murali.S, For any queries, Mail us to: a.arun283@gmail.com
PLL Based High Frequency FM Modulator
BLOCK DIAGRAM:
Power Supply
89s52
Micro LCD
Controller (20×1 line)
Key Pad
(4×4 Matrix)
The desired frequency, ranges from 1.450 GHz to 1.550GHz, is set by the user
using the 4×4 matrix key pad. This input is processed by the 89s52 Microcontroller
and the corresponding counter values are generated and loaded into the phase locked
loop (PLL).The output frequency from the Voltage Controlled Oscillator (VCO) is
displayed on the 20×1 line Liquid Crystal Display (LCD).
This report is the Work of: Arun Prakash A, Naveen Kumar C, Naveen Kumar S and
Murali.S, For any queries, Mail us to: a.arun283@gmail.com
PLL Based High Frequency FM Modulator
2. Phase-locked loop:
This report is the Work of: Arun Prakash A, Naveen Kumar C, Naveen Kumar S and
Murali.S, For any queries, Mail us to: a.arun283@gmail.com
PLL Based High Frequency FM Modulator
S 1(t)
Figure
S 2(t)
is not attenuated it will reach the control voltage input to the VCO and give rise to
spurious signals. When other types of phase detector are used similar spurious signals
can be produced and the filter is needed to remove them. The typical loop filter is
shown below:
The filter also affects the ability of the loop to change frequencies quickly. If
the filter has a very low cut-off frequency then the changes in tune voltage will only
take place slowly, and the VCO will not be able to change its frequency as fast. This is
because a filter with a lower cut-off frequency will only let lower frequencies through
and these correspond to slow changes in voltage level. Conversely a filter with a
higher cut-off frequency will enable the changes to happen faster. However when
using filters with higher cut-off frequencies, care must be taken to ensure that
unwanted frequencies are not passed along the tune line with the result that spurious
signal are generated. The loop filter also governs the stability of the loop. If the filter
is not designed correctly then oscillations can build up around the loop, and large
signals will appear on the tune line. This will result in the VCO being forced to sweep
over wide bands of frequencies. The proper design of the filter will ensure that this
cannot happen under any circumstances.
This report is the Work of: Arun Prakash A, Naveen Kumar C, Naveen Kumar S and
Murali.S, For any queries, Mail us to: a.arun283@gmail.com
PLL Based High Frequency FM Modulator
the multivibrator is provided by the diode drops of the comparator's transistors. The
multivibrator is driven by a differential current divider which in turn is provided
current by a constant common current source.
2.2.6 Keypad
This report is the Work of: Arun Prakash A, Naveen Kumar C, Naveen Kumar S and
Murali.S, For any queries, Mail us to: a.arun283@gmail.com
PLL Based High Frequency FM Modulator
Key pad is used here to set the desired frequency range available from 1.45
GHz to 1.55 GHz. It requires two ports to scan the pressed button. The ports used here
are port 2 pins from p2.0 to p2.4 and port 1 pins from p1.1 to p1.4. The basic principle
of scanning the pressed button from the key pad is as follows:
The microcontroller, 89ls52, accesses both rows and columns through ports p2
and p1. Initially the column ports are set at high level and row ports are set at low
level. When the key is pressed the corresponding row and column come into contact
and hence any one of the four columns will become low (i.e. grounded). Now the
controller scans the column and identifies the grounded column and in order to find
out exact location of the key (i.e. in which the row the pressed key belongs to) it
ground the row one by one and read the columns and finds the pressed key.
D0
D1
D2
D3
D3 D2 D1 DO
FIG
This report is the Work of: Arun Prakash A, Naveen Kumar C, Naveen Kumar S and
Murali.S, For any queries, Mail us to: a.arun283@gmail.com
PLL Based High Frequency FM Modulator
If the data read from columns is D3 – D0 =1111, no key has been pressed and
the process continues till key press is detected. If one of the column bits has a zero,
which mean that a key press has occurred. For example, if D3 – D0 = 1101, this
means that a key in the D1 column has been pressed. After detecting a key press,
microcontroller will go through the process of identifying the key.
Starting with the top row, the microcontroller grounds it by providing a low to
row D0 only. It reads the columns, if the data read is all high, no key in that row is
activated and the process is moved to the next row. It grounds the next row, reads the
columns, and checks for any zero this process continues until the row is identified.
After identification of the row in which the key has been pressed it go through the
process of finding out in which column the pressed key belongs to.
Once the key is identified the microcontroller generates the corresponding
ASCII value for that particular key by going through the ASCII look up table and
stores it in a register for further process.
PROGRAM:
org 0000h
begin:
mov r7,#00h
mov r0,#31h
K1:
MOV P2,#0FH
MOV P1,#0h
MOV A,P2
ANL A,#00001111B
CJNE A,#00001111B,K1
K2: LCALL DELAY
MOV A,P2
ANL A,#00001111B
CJNE A,#00001111B,OVER
SJMP K2
OVER: LCALL DELAY
This report is the Work of: Arun Prakash A, Naveen Kumar C, Naveen Kumar S and
Murali.S, For any queries, Mail us to: a.arun283@gmail.com
PLL Based High Frequency FM Modulator
MOV A,P2
ANL A,#00001111B
CJNE A,#00001111B,OVER1
SJMP K2
OVER1: MOV P1, #11111110B
MOV A,P2
ANL A,#00001111B
CJNE A,#00001111B,ROW_0
MOV P1,#11111101B
MOV A,P2
ANL A,#00001111B
CJNE A,#00001111B,ROW_1
MOV P1,#11111011B
MOV A,P2
ANL A,#00001111B
CJNE A,#00001111B,ROW_2
MOV P1,#11110111B
MOV A,P2
ANL A,#00001111B
CJNE A,#00001111B,ROW_3
LJMP K2
ROW_0: MOV DPTR,#KCODE0
SJMP FIND
ROW_1: MOV DPTR,#KCODE1
SJMP FIND
ROW_2: MOV DPTR,#KCODE2
SJMP FIND
ROW_3: MOV DPTR,#KCODE3
FIND: RRC A
JNC MATCH
INC DPTR
This report is the Work of: Arun Prakash A, Naveen Kumar C, Naveen Kumar S and
Murali.S, For any queries, Mail us to: a.arun283@gmail.com
PLL Based High Frequency FM Modulator
SJMP FIND
MATCH: CLR A
MOVC A,@A+DPTR
mov r6,a
cjne r6,#43h,GO
mov a,#01h
acall comnwrt
lcall delay
LJMP begin
This report is the Work of: Arun Prakash A, Naveen Kumar C, Naveen Kumar S and
Murali.S, For any queries, Mail us to: a.arun283@gmail.com
PLL Based High Frequency FM Modulator
The three control lines are referred to as EN, RS, and RW.
The EN line is called "Enable." This control line is used to tell the LCD that we
are sending it data. To send data to the LCD, program should make sure this line is
low (0) and then set the other two control lines and/or put data on the data bus. When
the other lines are completely ready, bring EN high (1) and wait for the minimum
amount of time required by the LCD datasheet (this varies from LCD to LCD), and
end by bringing it low (0) again.
The RS line is the "Register Select" line. When RS is low (0), the data is to be
treated as a command or special instruction (such as clear screen, position cursor,
etc.). When RS is high (1), the data being sent is text data which should be displayed
on the screen. For example, to display the letter "T" on the screen, RS should be high.
The RW line is the "Read/Write" control line. When RW is low (0), the
information on the data bus is being written to the LCD. When RW is high (1), the
program is effectively querying (or reading) the LCD. Only one instruction ("Get
LCD status") is a read command. All others are write commands, so RW will almost
always be low.
This report is the Work of: Arun Prakash A, Naveen Kumar C, Naveen Kumar S and
Murali.S, For any queries, Mail us to: a.arun283@gmail.com
PLL Based High Frequency FM Modulator
PROGRAM:
MOV A,#38H
lCALL COMNWRT
LCALL DELAY
MOV A,#0EH
ACALL COMNWRT
LCALL DELAY
MOV A,R7
This report is the Work of: Arun Prakash A, Naveen Kumar C, Naveen Kumar S and
Murali.S, For any queries, Mail us to: a.arun283@gmail.com
PLL Based High Frequency FM Modulator
CJNE A,#00H,SKIP
MOV A,#80H
ACALL COMNWRT
LCALL DELAY
SKIP:
acall datawrt
LJMP load
COMNWRT:
LCALL WAIT
MOV P0,A
CLR P1.5
CLR P1.4
SETB P1.6
CLR P1.6
RET
datawrt:
LCALL WAIT
mov a,r6
MOV P0,A
SETB P1.5
CLR P1.4
SETB P1.6
CLR P1.6
Ret
This report is the Work of: Arun Prakash A, Naveen Kumar C, Naveen Kumar S and
Murali.S, For any queries, Mail us to: a.arun283@gmail.com
PLL Based High Frequency FM Modulator
2.3.2 FM demodulation
Some data streams, especially high-speed serial data streams (such as the raw
stream of data from the magnetic head of a disk drive), are sent without an
accompanying clock. The receiver generates a clock from an approximate frequency
This report is the Work of: Arun Prakash A, Naveen Kumar C, Naveen Kumar S and
Murali.S, For any queries, Mail us to: a.arun283@gmail.com
PLL Based High Frequency FM Modulator
reference, and then phase-aligns to the transitions in the data stream with a PLL. This
process is referred to as clock recovery. In order for this scheme to work, the data
stream must have a transition frequently enough to correct any drift in the PLL's
oscillator.
All electronic systems emit some unwanted radio frequency energy. Various
regulatory agencies (such as the FCC in the United States) put limits on the emitted
energy and any interference caused by it.
The emitted noise generally appears at sharp spectral peaks (usually at the
operating frequency of the device, and a few harmonics). A system designer can use a
spread-spectrum PLL to reduce interference with high-Q receivers by spreading the
energy over a larger portion of the spectrum. For example, by changing the operating
frequency up and down by a small amount (about 1%), a device running at hundreds
of megahertz can spread its interference evenly over a few megahertz of spectrum,
which drastically reduces the amount of noise seen by FM receivers which have a
bandwidth of tens of kilohertz.
phase offset. The variance between these phases is called tracking jitter. Ideally, the
static phase offset should be zero, and the tracking jitter should be as low as possible.
Phase noise is another type of jitter observed in PLLs, and is mostly caused by
the amplifier elements used in the circuit. Some technologies are known to perform
better than others in this regard. The best digital PLLs are constructed with emitter-
coupled logic (ECL) elements, at the expense of high power consumption. To keep
phase noise low in PLL circuits, it is best to avoid saturating logic families such as
transistor-transistor logic (TTL) or CMOS.
Another desirable property of all PLLs is that the phase and frequency of the
generated clock be unaffected by rapid changes in the voltages of the power and
ground supply lines, as well as the voltage of the substrate on which the PLL circuits
are fabricated. This is called supply and substrate noise rejection.
This report is the Work of: Arun Prakash A, Naveen Kumar C, Naveen Kumar S and
Murali.S, For any queries, Mail us to: a.arun283@gmail.com
PLL Based High Frequency FM Modulator
3.1 LMX2326:
The LMX2326 is monolithic, integrated frequency synthesizers with pre-scalar
that are designed to be used to generate a very stable low phase noise signal for
controlling the local oscillator of an RF transceiver. They are fabricated using
National’s ABiC V silicon BiCMOS 0.5μ process.
The LMX2326 contains a 32/33 dual modulus pre-scalar. The LMX2326
employ a digital phase locked loop technique. When combined with a high quality
reference oscillator and loop filter, the LMX2326 provide the feedback tuning voltage
for a voltage controlled oscillator to generate a low phase noise local oscillator signal.
Serial data is transferred into the LMX2326 via a three wire interface (Data,
Enable, and Clock). Supply voltage can range from 2.3V to 5.5V. The main features
of LMX2326 are an ultra low current consumption device (4 mA at 5.5V) and also
having digital lock detect.
The LMX2326 have wide application in portable wireless communication
(PCS/PCN, cordless) systems, wireless local area networks, and cable TV tuners and
in other communication systems. The LMX2326 synthesizers are available in a 16-pin
TSSOP surface mount plastic package. The internal block diagram of LMX2326 is
Control
DATA Location
C1 C2
0 0 R Counter
1 0 N Counter
0 1 Function Latch
1 1 Initialization
If the Control Bits are [C1 , C2 ] = [0, 0], data is transferred from the 21-bit
shift register into a latch that sets the 14-bit R Counter. The 4 bits R15–R18 are
for test modes, and should be set to 0 for normal use. The LD precision bit, R19,
is described in the LOCK DETECT OUTPUT CHARACTERISTICS section.
Serial data format is shown below.
This report is the Work of: Arun Prakash A, Naveen Kumar C, Naveen Kumar S and
Murali.S, For any queries, Mail us to: a.arun283@gmail.com
PLL Based High Frequency FM Modulator
F7:- Charge Pump TRI-STATE is set using bit F7. For normal operation this bit
is set to zero.
F8:- When the Fast Lock Enable bit is set the part is forced into one of the four
Fast Lock modes.
F9:- The Fast Lock Control bit determines the mode of operation when in Fast
Lock (F8 = 1). When not in Fast Lock mode, Flo can be used as a general purpose
output controlled by this bit. For F9 = 1, FLo is HIGH and for F9 = 0, FLo is
LOW.
F10:- Timeout Counter Enable bit is set to 1 to enable the timeout counter.
F11–14:- Fast Lock Timeout Counter is set using bits F11-14.
F15–17:- Function bits F15–F17 are for Test Modes, and should be set to 0 for
normal use.
F19. Function bit F19 is for a Test Mode, and should be set to 0 for normal use.
3.1.5 DEVICE PROGRAMMING:
When programming the LMX2326 first determine the frequencies and mode
This report is the Work of: Arun Prakash A, Naveen Kumar C, Naveen Kumar S and
Murali.S, For any queries, Mail us to: a.arun283@gmail.com
PLL Based High Frequency FM Modulator
of operation desired. Data register is programmed with a 21-bit data stream shifted into
the R counter, N counter, or the F latch. Consider an example, the RF output is
locking at 1.5 GHz (fvco) with a 2 MHz channel spacing (fcomparison ). The
crystal oscillator reference input is 10 MHz (fosc) and the pre-scalar value (P) is
32.
The last two bits (control bits C1 and C2) of each bit stream identify which
counter or FLo mode will be programmed. For example, to program the R counter,
C1 and C2 will be 0, 0. Immediately preceding these two bits is the N, R, or F bits
providing the divide ratios and Fast Lock mode information.
Control
DATA Location
C1 C2
0 0 R Counter
1 0 N Counter
0 1 Function Latch
1 1 Initialization
For example, to load the N counter, the last two bits C1 and C2 must be 10.
Once the control bits have been determined, the frequency information must be
determined. To begin, determine the N and R counter values as follows:
N = fvco/fcomparison
&
R = fosc/fcomparison
For this example R and N are determined as follows:
R = 10MHz/2MHz = 5 and N = 1500MHz/2MHz = 750
N COUNTER:
The calculated value of N and the value of P are now used to determine the
values of A and B where both A and B is integer values:
N=P*B+A
This report is the Work of: Arun Prakash A, Naveen Kumar C, Naveen Kumar S and
Murali.S, For any queries, Mail us to: a.arun283@gmail.com
PLL Based High Frequency FM Modulator
A = N − (B * P)
&
To load the N counter with these values, the programming bit stream would
be as follows. The first bit, the GO bit, (MSB) N [19] is used for Fast Lock
operation and will be discussed in the F Latch section. The next 13 bits, (N [18]–N
[6]) shifted in, are the B counter value, 0000000010111b. Bits N [5]–N [1] are
the A counter and are 01110b in this example. The final two bits (the control bits)
are 1, 0 identifying the N counter. In programming the N counter, the value of B
must be greater than or equal to A, and the value of B must be greater than or
equal to 3. In programming the counter, data is shifted in MSB first.
R COUNTER:
Programming the R counter is done by shifting in the binary value of R
calculated previously (05d = 101b ). The first bit shifted in is R[19] the LD
precision bit.
The next 4 bits (R[18]–R[15]) shifted in, are used for testing and
should always be loaded with zeros. The R [14]–R[1] bits are used to program the
reference divider ratio and should be 00000000000101b for this example.
The final two bits, C[1] and C[2] denote the R counter and should be 0,
This report is the Work of: Arun Prakash A, Naveen Kumar C, Naveen Kumar S and
Murali.S, For any queries, Mail us to: a.arun283@gmail.com
PLL Based High Frequency FM Modulator
F LATCH:
To program the device for any of the Fast Lock modes, C [1] = 0 & C [2] = 1
which direct data to the F latch. The FUNCTION AND INITIALIZATION LATCH
section discusses the 4 modes of Fast Lock operation. The user must first determine
which Fast Lock mode will be used.
When using any of the Fast Lock modes, the programmer needs to
experimentally determine the length of time to stay in high gain mode. This is
done by looking at the transient response and determining the time at which the
device has settled to within the appropriate frequency tolerance.
Fast Lock mode should be terminated just prior to “lock” to place the
switching phase glitch within the transient settling time. The counter reset
mode (F[1] bit) holds both the N and R counters at load point when F[1] =
HIGH.
Upon setting F[1] = LOW, the N and R counters will resume counting in
close phase alignment. Other functions of the F latch such as FoLD output
control, Phase detector polarity, and charge pump TRI-STATE are defined in
the FUNCTION AND INITIALIZATION LATCH section also.
Program Into Lmx2326 : Sorry, the Program was removed (Think and do it yourself)
This report is the Work of: Arun Prakash A, Naveen Kumar C, Naveen Kumar S and
Murali.S, For any queries, Mail us to: a.arun283@gmail.com
PLL Based High Frequency FM Modulator
R1
In Out
C1 2.4k Ω
20nF C2
156nF
C3
2nF
R2
716Ω
This report is the Work of: Arun Prakash A, Naveen Kumar C, Naveen Kumar S and
Murali.S, For any queries, Mail us to: a.arun283@gmail.com
PLL Based High Frequency FM Modulator
The Phase detector produces the sum and difference frequencies with two times
the input frequency. Sum with multiple of input frequency must be removed before it
reaches to or else it tends to produce large spurious signals in the output which is
undesirable. In order to block such frequencies, loop filter with relatives(it should not
be narrow or wide and varies according to the application) band width is required, In
this case, Low Pass Filter with third order passive loop filter is implemented.
A simple passive loop filter is sufficient for this application because of low noise.
C1, C2, C3, R1, and R2 form a third order filter. The VCO creates an extra pole.
Therefore, the complete structure of the loop filter creates a third order loop. The
complete R2 and C2 represent the core of the loop filter, whereby the other
components C1 and the cascaded low pass R1 and C3 are used to further enhance the
system performance by adding higher order attenuation.
Bode plot for this filter is plotted in order to observe the attenuation level with
respect to frequency. The loop filter is designed for the loop bandwidth of 6 KHz.
Bode plot for this filter is shown below:
This report is the Work of: Arun Prakash A, Naveen Kumar C, Naveen Kumar S and
Murali.S, For any queries, Mail us to: a.arun283@gmail.com
PLL Based High Frequency FM Modulator
From the plot it can be seen that while the frequency approach 6 KHz the
attenuation tends to -1.441 dB. Hence it is evident that frequency above 6 KHz is
attenuated more and hence blocked reaching the Voltage Controlled Oscillator (VCO)
which in turn reduce the spurious signals out from the Voltage Controlled Oscillator
(VCO).Hence Loop Filter plays the vital role while designing the Phase Locked Loop.
It is possible to omit low pass filter, R1-C3 in many applications. Consider the
following when optimizing any PLL frequency synthesizer:
The time it takes to step from one frequency to another
The suppression of reference side bands
The minimum in-band phase noise to obtain
3.4 ATMEL microcontroller AT89LS52:
The AT89LS52 is a low-voltage, high-performance CMOS 8-bit
microcontroller with 8K bytes of in-system programmable Flash memory. The device
is manufactured using Atmel’s high-density nonvolatile memory technology and is
compatible with the industry-standard 80C51 instruction set and pin out.
The on-chip Flash allows the program memory to be reprogrammed in-system
or by a conventional nonvolatile memory programmer. By combining a versatile 8-bit
CPU with in-system programmable Flash on a monolithic chip, the Atmel AT89LS52
is a powerful microcontroller which provides a highly-flexible and cost-effective
solution to many embedded control applications.
The AT89LS52 provides the following standard features: 8K bytes of Flash,
256 bytes of RAM, 32 I/O lines, Watchdog timer, two data pointers, three 16-bit
timer/counters, a six-vector two-level interrupt architecture, a full duplex serial port,
on-chip oscillator, and clock circuitry. In addition, the AT89LS52 is designed with
static logic for operation down to zero frequency and supports two software selectable
power saving modes.
This report is the Work of: Arun Prakash A, Naveen Kumar C, Naveen Kumar S and
Murali.S, For any queries, Mail us to: a.arun283@gmail.com
PLL Based High Frequency FM Modulator
The Idle Mode stops the CPU while allowing the RAM, timer/counters, serial
port, and interrupt system to continue functioning. The Power-down mode saves the
RAM contents but freezes the oscillator, disabling all other chip functions until the
next external interrupt or hardware reset.
This report is the Work of: Arun Prakash A, Naveen Kumar C, Naveen Kumar S and
Murali.S, For any queries, Mail us to: a.arun283@gmail.com
PLL Based High Frequency FM Modulator
This report is the Work of: Arun Prakash A, Naveen Kumar C, Naveen Kumar S and
Murali.S, For any queries, Mail us to: a.arun283@gmail.com
PLL Based High Frequency FM Modulator
AT89LS52 contains four I/O ports for sending and receiving the data. Port 1,
Port2 and port3 is an 8-bit bidirectional I/O port. These ports provide internal pull-
ups. Port0 is also an 8-bit bidirectional but it requires an external pull-ups. Port 0 can
also be configured to be the multiplexed low-order address/data bus during accesses to
external program and data memory. In this mode, P0 has internal pull-ups.
When 1s are written to Port 1 pins, they are pulled high by the internal pull-ups
and can be used as inputs. As inputs, Port 1 pins that are externally being pulled low
will source current (IIL) because of the internal pull-ups.
In addition, P1.0 and P1.1 can be configured to be the timer/counter 2 external
count input (P1.0/T2) and the timer/counter 2 trigger input (P1.1/T2EX), respectively,
as shown in the following table. Port 1 also receives the low-order address bytes
during Flash programming and verification.
3.4.2 RST
Reset input. All I/O pins are reset to 1s as soon as RST goes high. Holding the
RST pin high for two machine cycles while the oscillator is running resets the device.
Each machine cycle takes 12 oscillator or clock cycles.
This report is the Work of: Arun Prakash A, Naveen Kumar C, Naveen Kumar S and
Murali.S, For any queries, Mail us to: a.arun283@gmail.com
PLL Based High Frequency FM Modulator
This report is the Work of: Arun Prakash A, Naveen Kumar C, Naveen Kumar S and
Murali.S, For any queries, Mail us to: a.arun283@gmail.com
PLL Based High Frequency FM Modulator
3. Apply the appropriate combination of “H” or “L” logic levels to pins P3.3,
P3.4, P3.5, and P3.7 to select one of the programming operations shown in the
PEROM Programming Modes table.
To Program and Verify the Array:
4. Apply data for Code byte at location 000H to P1.0 to P1.7.
5. Raise RST to 5V to enable programming.
6. Pulse P3.2 once to program a byte in the EPROM array or the lock bits. The
byte-write cycle is self-timed and typically takes 1.2 ms.
7. To verify the programmed data, lower RST from 5V to logic “H” level and set
pins P3.3 to P3.7 to the appropriate levels. Output data can be read at the port
P1 pins.
8. To program a byte at the next address location, pulse XTAL1 pin once to
advance the internal address counter. Apply new data to the port P1 pins.
9. Repeat steps 5 through 8, changing data and advancing the address counter for
the entire 2K bytes array or until the end of the object file is reached.
10. Power-off sequence: set XTAL1 to “L”
Set RST to “L”, Turn VCC power off.
4. Circuit design:
4.1 Design of R Counter and N Counter:
To determine the R and N counter values as follows
N = fvco /fcomparison
&
R = fosc/fcomparison
Given parameters,
fOSC – 10 MHz,
fVCO – 1.45-1.55 GHz,
f Comp – 2 MHz, and
P- 32 then the value of R is calculated as
R = 10 MHz/2 MHz = 5, and the corresponding bits are
This report is the Work of: Arun Prakash A, Naveen Kumar C, Naveen Kumar S and
Murali.S, For any queries, Mail us to: a.arun283@gmail.com
PLL Based High Frequency FM Modulator
C1 C2 R1 R2 R3 R4 R5 R6 R7 R8 R9 R10 R11 R12 R13 R14 R15 R16 R17 R18 R19
0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Value = 5
Now the value of R, fVCO and the value of P are used to determine the values of N,
N=P*B+A
Where, B is the divisor and A is the remainder. Therefore
B = div (N/P)
&
A = N − (B * P)
If fVCO is 1500 MHz, then
N = fvco /fcomparison
N= 1500MHz/ 2MHz = 750
fvco = [P×B + A] * [fosc/R]
750 = [32×B + A] * [10/10]
750 = 32×B + A
B = 23
A = 14
The corresponding bits for N Counter for 1500 is
C1 C2 N1 N2 N3 N4 N5 N6 N7 N8 N9 N10 N11 N12 N13 N14 N15 N16 N17 N18 N19
1 0 0 1 1 1 0 1 1 1 0 1 0 0 0 0 0 0 0 0 0
Similarly the derived values of N for RF output – 1.45 GHz to 1.55 GHz.
N Counter for 1510
C1 C2 N1 N2 N3 N4 N5 N6 N7 N8 N9 N10 N11 N12 N13 N14 N15 N16 N17 N18 N19
1 0 1 1 0 0 1 1 1 1 0 1 0 0 0 0 0 0 0 0 0
This report is the Work of: Arun Prakash A, Naveen Kumar C, Naveen Kumar S and
Murali.S, For any queries, Mail us to: a.arun283@gmail.com
PLL Based High Frequency FM Modulator
This report is the Work of: Arun Prakash A, Naveen Kumar C, Naveen Kumar S and
Murali.S, For any queries, Mail us to: a.arun283@gmail.com
PLL Based High Frequency FM Modulator
Functional Latch:
The functional latch value is derived based on VCO characteristics, power
down operation and fast-lock modes. The enabled bits are shown below,
This report is the Work of: Arun Prakash A, Naveen Kumar C, Naveen Kumar S and
Murali.S, For any queries, Mail us to: a.arun283@gmail.com
PLL Based High Frequency FM Modulator
Given parameters:
Kvco = 51 MHz/volt
Kf = 1mA/2Π rad
Kp = 45o
Loop bandwidth = 6 KHz
Charge pump current = 1mA
Calculated values:
C1 = 20nf
C2 = 156nf
C3 = 2nf
R1 = 2.4KΩ
R2 = 716Ω
This report is the Work of: Arun Prakash A, Naveen Kumar C, Naveen Kumar S and
Murali.S, For any queries, Mail us to: a.arun283@gmail.com
PLL Based High Frequency FM Modulator
Power
supply LCD
+5V Gnd (20×2Line)
Frequency Spectrum
Microcontroller synthesizer Analyzer
(89LS52)
Key Pad
(4×4 Matrix)
This report is the Work of: Arun Prakash A, Naveen Kumar C, Naveen Kumar S and
Murali.S, For any queries, Mail us to: a.arun283@gmail.com
PLL Based High Frequency FM Modulator
OUTPUT
KEY POSITION OUTPUT LEVEL
FREQUENCY
This report is the Work of: Arun Prakash A, Naveen Kumar C, Naveen Kumar S and
Murali.S, For any queries, Mail us to: a.arun283@gmail.com
PLL Based High Frequency FM Modulator
This report is the Work of: Arun Prakash A, Naveen Kumar C, Naveen Kumar S and
Murali.S, For any queries, Mail us to: a.arun283@gmail.com
PLL Based High Frequency FM Modulator
This report is the Work of: Arun Prakash A, Naveen Kumar C, Naveen Kumar S and
Murali.S, For any queries, Mail us to: a.arun283@gmail.com
PLL Based High Frequency FM Modulator
This report is the Work of: Arun Prakash A, Naveen Kumar C, Naveen Kumar S and
Murali.S, For any queries, Mail us to: a.arun283@gmail.com
PLL Based High Frequency FM Modulator
7. PCB layout
8. Conclusion:
LMX2326 combined with VCO CMV-14B15 produces low phase noise of 100
dBc at 100 KHz offset.
This report is the Work of: Arun Prakash A, Naveen Kumar C, Naveen Kumar S and
Murali.S, For any queries, Mail us to: a.arun283@gmail.com
PLL Based High Frequency FM Modulator
Photos:
(1500 refers to 1.5 GHz, Frequency can be varied from 1450 (1.45GHz) to 1550
(1.55GHz))
This report is the Work of: Arun Prakash A, Naveen Kumar C, Naveen Kumar S and
Murali.S, For any queries, Mail us to: a.arun283@gmail.com
PLL Based High Frequency FM Modulator
This report is the Work of: Arun Prakash A, Naveen Kumar C, Naveen Kumar S and
Murali.S, For any queries, Mail us to: a.arun283@gmail.com
PLL Based High Frequency FM Modulator
Spectrum Analyzer show that The Message signal of 20 MHz Bandwidth is modulated
with Carrier Frequency of 1.5 GHz
This report is the Work of: Arun Prakash A, Naveen Kumar C, Naveen Kumar S and
Murali.S, For any queries, Mail us to: a.arun283@gmail.com