Engee documentation

PFD

A frequency-phase detector (CFD) that compares the phase and frequency of two signals.

blockType: SubSystem

Path in the library:

/Mixed-Signal/PLL/Building Blocks/PFD

Description

Block PFD generates two output pulses with different fill coefficients. The difference in fill factors is proportional to the phase difference between the input signals. In frequency synthesizer circuits, such as phase-locked frequency (PLL) systems, the block PFD compares the phase and frequency of the reference signal and the signal generated by the unit Ring Oscillator VCO, and determines the phase error.

Ports

Input

# reference — frequency of the reference signal
scalar

Details

An input port that transmits a reference frequency to determine the phase error.

Data types

Float64

Complex numbers support

I don’t

# feedback — frequency of the return signal
scalar

Details

An input port that transmits the frequency of the return signal to determine the phase error. In the PLL system, the output signal is Ring Oscillator VCO, passing through the clock frequency divider, comes back through the feedback port to PFD.

Data types

Float64

Complex numbers support

I don’t

Output

# up — the transmitted frequency of the reference signal
scalar

Details

The output port transmitting the frequency of the reference signal. The difference in the fill factors of the signals in the up and down ports is proportional to the phase difference between the signals in the reference and feedback ports.

Data types

Float64

Complex numbers support

I don’t

# down — the transmitted frequency of the return signal
scalar

Details

The output port transmitting the frequency of the return signal. The difference in the fill factors of the signals in the up and down ports is proportional to the phase difference between the signals in the reference and feedback ports.

Data types

Float64

Complex numbers support

I don’t

Parameters

Parameters

# Deadband Compensation — delay added for active output near zero phase offset

Details

The delay added for the active output near the zero phase offset is given as a positive real scalar in seconds. The dead zone is a phase shift band near the zero phase shift, for which the output signal of the NFD is negligible.

Default value

30e-12

Program usage name

DeadbandCompensation

Tunable

No

Evaluatable

Yes

# Enable increased buffer size — increasing the buffer size

Details

Check this box to enable buffer size increase during simulation. This will increase the size of the block buffer Variable Pulse Delay and Logic Decision inside the block PFD. This check box is unchecked By default.

Default value

false (switched off)

Program usage name

ExtraBuffer

Tunable

No

Evaluatable

Yes

Additional Info

Inside the mask

Details

Block PFD It consists of two synchronous D-triggers (D Flip-Flop). The reference and return signals coming to the corresponding ports serve as a trigger. The outputs of the two triggers pass through the NAND circuit, which serves as a reset signal. The pulse delay after the AND-NO circuit is introduced using the block Variable Pulse Delay to compensate for the dead zone.

Literature

  1. Banerjee, Dean. PLL Performance, Simulation and Design. Indianapolis, IN: Dog Ear Publishing, 2006.