Lock Time Measurement
Measure time a PLL takes to reach target frequency within given tolerance
Mixed-Signal Blockset / PLL / Measurements & Testbenches
The Lock Time Measurement block measures the lock time of a phase-locked loop (PLL) system. Lock time is the time required by the PLL to reach the target frequency within the given error tolerance.
pll out — Input clock signal
Input clock signal to the Lock Time Measurement block, specified as a scalar. The pll out port is connected to the output of a PLL system.
lock time — Time required to achieve lock in PLL
real positive scalar
Time at which locking takes place in a PLL system, returned as a real positive scalar in seconds.
Target frequency (Hz) — Target operating frequency of PLL to measure lock time
2.1e9 (default) | real positive scalar
Target operating frequency of the PLL device under test (DUT) to measure the lock time of the PLL, specified as a real positive scalar in Hz.
get_param(gcb,'TargetFreq')to view the current value of Target frequency.
set_param(gcb,'TargetFreq',value)to set Target frequency to a specific value.
Error tolerance (Hz) — Error tolerance for lock time measurement
1e5 (default) | real positive scalar
Error tolerance for lock time measurement, specified as a real positive scalar in Hz.
get_param(gcb,'FreqErrorTol')to view the current value of Error tolerance.
set_param(gcb,'FreqErrorTol',value)to set Error tolerance to a specific value.
Introduced in R2019a