The present disclosure relates generally to electronic devices for communication systems. More specifically, the present disclosure relates to a phase locked loop built in self test.
Electronic devices (cellular telephones, wireless modems, computers, digital music players, Global Positioning System units, Personal Digital Assistants, gaming devices, etc.) have become a part of everyday life. Small computing devices are now placed in everything from automobiles to housing locks. The complexity of electronic devices has increased dramatically in the last few years. For example, many electronic devices have one or more processors that help control the device, as well as a number of digital circuits to support the processor and other parts of the device.
This increased complexity has led to an increased need for testing that can test digital circuits and/or digital systems. Testing may be used to verify or test various parts of devices, such as pieces of hardware, software or a combination of both.
In many cases the equipment used to test a device is a separate piece of equipment than the device being tested. Some testing that takes place is performed substantially by the test equipment. Benefits may be realized by providing improved methods and apparatus for providing built in self tests for electronic devices and/or components used in electronic devices.
a-13e are graphs illustrating the various waveforms over time in a DUT that is operated in test mode;
a-b are circuit diagrams illustrating three transistor fault model conditions; and
An integrated circuit for a phase locked loop (PLL) built in self test (BIST) is disclosed. The integrated circuit includes a phase detector that produces a digital signal that describes a comparison between a reference signal and a feedback signal. In another configuration, the integrated circuit may include an N-divider that provides the feedback signal to the phase detector. A voltage controlled oscillator (VCO) may be coupled to the N-divider.
A method for a phase locked loop (PLL) built in self test (BIST) is also disclosed. A digital signal is produced that describes a comparison between a reference signal and a feedback signal. The digital signal is routed to the phase detector (PFD) in the PLL. The digital signal is accumulated for the test mode duration and means are provided for the Automatic Test Equipment (ATE) to read the analog value of this accumulation. Whether the PLL is operating correctly is determined based on the accumulated signal by the ATE.
An apparatus for performing a phase locked loop (PLL) built in self test (BIST) is also disclosed. The apparatus includes a phase detector that is configured to produce a digital signal that describes a comparison between a reference signal and a feedback signal. The apparatus also includes a BIST controller that accumulates the PFD output signal during test mode instead of routing it to the charge pump, as it is routed during functional mode. The apparatus also includes a low frequency analog communication pin that provides the accumulated signal for ATE to determine whether the PLL is operating correctly based on the accumulated signal. In one configuration, the BIST scheme may also include a constant current source that drives a low pass filter without affecting the operating characteristics of the PLL. The BIST scheme may also include feedback circuitry for the constant current source that provides a ramp slope for the constant current source. The BIST scheme may also include a calibration controller that provides control signals to the constant current source for process-independence calibration. The BIST scheme may also include a hold circuit that provides a set bias voltage to the constant current source once calibration is complete. The feedback circuitry may include a clocked comparator. The BIST controller may use a low pass filter (LPF) to accumulate the PFD output digital signal. The apparatus may also include a multiplexer that connects a charge pump to the phase detector during mission mode, and connects the charge pump to the BIST controller during test mode.
Many different kinds of electronic devices may benefit from testing. Different kinds of such devices include, but are not limited to, cellular telephones, wireless modems, computers, digital music players, Global Positioning System units, Personal Digital Assistants, gaming devices, etc. One group of devices includes those that may be used with wireless communication systems. As used herein, the term “mobile station” refers to an electronic device that may be used for voice and/or data communication over a wireless communication network. Examples of mobile stations include cellular phones, handheld wireless devices, wireless modems, laptop computers, personal computers, etc. A mobile station may alternatively be referred to as an access terminal, a mobile terminal, a subscriber station, a remote station, a user terminal, a terminal, a subscriber unit, user equipment, etc.
A wireless communication network may provide communication for a number of mobile stations, each of which may be serviced by a base station. A base station may alternatively be referred to as an access point, a Node B, or some other terminology. Base stations and mobile stations may make use of integrated circuits with mixed signal circuitry. However, many different kinds of electronic devices, in addition to the wireless devices mentioned, may make use of integrated circuits with mixed signal circuitry. Production of integrated circuits may result in process variations that affect the operation of the mixed signal circuitry. Accordingly, a broad array of electronic devices may benefit from the systems and methods disclosed herein.
Phase locked loops (PLLs) are extensively used in modern System on a Chip (SoC) and communication modules for clock regeneration and timing synchronization. The typical low jitter characteristics make them attractive in frequency synthesis applications while the ease of generating frequency harmonics makes them stable clock generators. When treated as a black box with the internal complexity masked, the PLL module receives an input waveform and generates an output waveform which is an integral multiple in frequency of the input. PLLs may be mixed signal modules that may include multiple sensitive blocks internally and may need parametric testing to ensure complete specification compliance. Since a PLL may be commonly used as a clock generator, the quality of the output waveform may be especially important for the dependent blocks. This requires jitter measurement/settling time/output swing testing of the PLL, which may constitute qualitative tests, along with a simple PLL-lock testing that targets gross failures.
PLLs are present on a wide range of SoCs. In some cases, the PLL 108 may be the only mixed signal component present on the DUT 104. This may complicate the testing strategies because the remaining pure digital DUT 104 modules may be tested with the help of simple SCAN/at-speed/Functional tests that are digital in nature and have minimal ATE 102 hardware requirements. Such situations may be dealt with by performing a simple go-no-go frequency lock test where the PLL 108 output signal is latched by ATE 102 receive resources and the output is tested for a frequency lock achieved within a specified time duration. These tests, however, tend to be basic in nature and may not check for PLL 108 output phase, jitter, and other performance specifications, depending on ATE 102 resources available. Almost all such tests do not perform specification checks for PLL 108 output jitter (period or amplitude) or any process variations that may be compensated in the feedback loop and may cause reliability concerns in field use.
The two factors mentioned above, common use and limited structural testability, emphasize the need to provide built-in testability to enable quality production testing. The mixed signal nature of many PLL 108 sub-blocks, however, may make such BIST arrangements complicated.
A digital ATE 102 may enable full production-quality testing 112 of integrated circuits 106 that include PLLs 108 by using a BIST scheme. One way of utilizing low cost ATE 102 such as digital ATE 102 to test mixed signal integrated circuits 106 is with an on-chip BIST Controller 110. The BIST controller 110 may generate an input or signal for testing purposes.
In one configuration, the PFD 214 may compare the reference signal 224 to the output of the divide by N module 222 in the feedback loop. The output 217 of the n-divider 222 may be a signal with a frequency equal to the frequency of the output signal, PLL Output 226, divided by an integer parameter N. The parameter N may be chosen to produce a desired tuning voltage for the VCO 220. The PFD 214 may determine any differences in phase and/or frequency between the output 217 of the n-divider 222 and the reference signal 224 and express this difference as “pump up” 215a or “pump down” 215b pulses to the charge pump 216. The charge pump 216 may then provide charge to the loop filter 218 that may filter the charge pump 216 output 223 to the tuning port 225 of the VCO 220. For example, the PFD 214 may generate a digital output signal 215 including high and/or low pulses of varying lengths. The charge pump 216 may receive this signal 215 and produce an output 223 corresponding to the pump up 215a and/or pump down 215b signals from the PFD 214. The charge pump 216 output 223 may subsequently be filtered by the loop filter 218 to provide a stable voltage level input 225 to the VCO 220.
The PFD 214 output 215 may be a digital switching signal while the charge pump 216 and loop filter 218 may have analog outputs. Upon receiving a signal 225 from the charge pump 216 via the loop filter 218, the VCO 220 may generate an output 226 oscillation that is a function of the input voltage provided by the loop filter 218. The VCO 220 output, (i.e., the PLL output 226), may be fed to the PFD 214 that may then compare it with the input signal 224 and generate a phase-differential output signal. In other words, the PFD 214 may output a signal using the UP 215a and DOWN (DN) 215b signals that indicates the comparison between the input signal 224 and the feedback signal 217.
One problem with conventional PLL BIST schemes may be that the charge pump 216 and loop filter 218 output nodes are analog in nature. Therefore, any excessive loading caused by additional BIST circuitry may change the PLL 208 characteristics. The feedback loop, which typically includes a divide-by-N module 222, may be digital in nature but phase sensitive since its output 217 is fed to the PFD 214 and directly affects the phase of the PLL output 226. Any additional delay in the feedback path causes a delayed phase of the feedback signal 217 and the PLL output 226 phase, which may cause a mismatch with the input signal 224 phase. This added phase noise may be a concern in certain precision clocking applications and hence not universally acceptable in a BIST solution.
Multiple approaches to designing BIST mechanism for PLLs 208 have been attempted, each with its advantages and drawbacks. It would be desirable to provide a BIST mechanism that minimally affects internal loading conditions of the PLL 208 and uses minimal ATE 102 resources to ensure compatibility with very low cost (VLC)-ATE 102. One possible BIST scheme is an all digital BIST scheme for testing catastrophic faults in PLLs 208. Although the ATE 102 resources required may be limited in such a scheme, this provides a non-parametric gross failure screening test method. Another possible scheme is to digitally program the charge pump 216 input and observe the loop filter 218 output 225. However, this sampling of the VCO 220 input node may add excessive capacitance at that node and may affect the PLL 208 settling time characteristics. This approach also may not allow a complete self-test of the DUT 104 since some internal modules are left out of the BIST path.
Another possible BIST approach may involve adding duplicate modules or using ATE 102 to provide some of the internal node voltages. This approach also may not completely enable self-test since the stimuli are provided externally, i.e., if the loop filter 218 output/VCO 220 input is provided externally using a Per Pin Measurement Unit (PPMU) in the ATE 102, the CP 216 and LF 218 blocks may remain untested and an additional mechanism would be required to test these blocks. Since the PLL 208 is a closed loop system, self-testing of the internal modules is optimum as it reduces external resource requirements and is likely to have the minimal test time overhead.
Another possible BIST scheme may use a test controller module that can be used to control the CP 216 input in test mode. However, the PFD 214 within the PLL 208 does not drive the CP 216 and hence it is not tested in the loop. Other possible BIST schemes may include a BIST mechanism with a test mode that can select between PLL 208 output fed to the PFD 214 as against added line delay. Still another possibility is to perform parametric testing apart from simple catastrophic failure testing proposed in many other schemes. This may require additional circuits in the feedback loop and may result in some (even if minor) phase shift as well as frequency dependence on the input signal as the at-speed signal in the feedback loop is captured and used.
In addition to minimizing phase noise and external loading, the present systems and methods may ensure compatibility with the new generation of Very Low Cost—ATE (VLC-ATE) 102 developed by reducing ATE 102 functionality. VLC-ATE 102 may cost a fraction of the fully functional equipment and are increasingly used for providing low-cost solutions for production test. Maintaining test quality, in light of these limited resources available, is also addressed by the present systems and methods.
Alternate or indirect testing is a methodology used to identify and implement economical, fast and less complex tests to substitute conventional complex, specification based tests. There has been extensive work in testing analog and radio frequency (RF) subsystems with alternate testing approaches. Conventional procedures involve tests to ensure that the subsystems meet specifications, such as signal-to-noise ratio (SNR), integral non-linearity (INL) for converters, or noise figure for RF systems. There has also been research into developing fault models for analog modules and test generation based on these models. Since the correctness of analog and RF systems is defined by their adherence to a set of specifications, a fault or defect-based test is not directly applicable to them. Components in these systems may have values that are very different from the designed values, but the system may still be within specifications. This is particularly true for negative feedback systems, where the high gain of one or more operational amplifiers may counteract many problems with component values and lower gain of the blocks preceding these amplifiers.
The cost of testing for a large number of specifications can be very high. Alternate testing is an approach for analog integrated circuit (IC) testing that involves formulation of a test plan to combine statistical correlation with conventional testing methods. In alternate testing, the performance characteristics of the DUT 104 may be predicted from the outputs under a particular set of stimuli. The input stimulus may be a subset of the entire possible set of inputs and may be used only to measure certain system parameters from which the other parameters may be predicted by calculation or extrapolation. Reduction in test time and complexity is the primary goal of alternate testing and it may offer a significant cost reduction over conventional analog testing for each specification separately.
Parameter mapping can be defined as the process of mapping variation of one parameter to another correlated parameter in order find a mathematical or statistical relation between the two. Alternate testing and parameter mapping may both be applied to a complex mixed signal feedback-enabled system like a PLL 208 where multiple internal and external components affect and are dependent on the functioning of the DUT 104. The relationship between various parameters such as the PLL output 226 frequency, Fout, and the VCO 220 input node voltage, Vctrl, may be described in equation (1) as follows:
F
out
=a
0
+a
1
V
ctrl
+a
2
V
2ctrl+a3V3ctrl+ . . . (1)
where a0, a1, etc. have deterministic values. Some other parametric relationships such as the one between transistor current drive, n/pI-drive and PLL 208 locking time, Tlock, may be statistical in nature.
Some parametric relations, discrete in nature, may not fit a deterministic functional relation but may be represented as matrices (shown in equation (2)) where the matrix Ai x k represents the transfer relation between an input set Ik x j and a response set Fi x j
Fixj=AixkIkxj(2)
Alternate testing principles may be applied to any mixed signal circuit with multiple internal nodes, where the nodes and output are inter-dependent. Parametric relations between various internal nodes and the functional output for a PLL can be explained as follows: when an input frequency signal at frequency fopr is applied to a PLL 208 with a loop multiplier of 1, the PLL 208 attempts to latch to the input frequency and phase within the time interval tlatching. The phase detector 214 signal is instantaneously proportional to the phase and frequency difference between fopr and the PLL output 226 signal at the measurement instant t′. This dependence may be represented as shown in equation (3) as follows:
P[fopr,fPLLt′]P[PDout,t′] (3)
where P[p1]→ (is the) parametric space matrix for parameter p1. The parametric set P[PDout,t′] is finitely bound and can be well characterized using SPICE simulations for all the independent variables in Equation (3). The set of [PDout] is a bijective function of [fopr,t′] with a finite deterministic statistical confidence for a stable and functional PLL during lock-mode. The value fPLL may be the frequency of the PLL output 226. Values such as phase detector 214 output (PDout), charge pump 216 output (CPout), loop filter 218 output (LFout), and voltage controlled oscillator 220 output (VCOout) may be the output signals of the PFD 214, the CP 216, the LF 218, and the VCO 222, respectively. The value of [PDout] may be predicted with certain statistical confidence at an instant t′ if the variables operational frequency fopr and PLL frequency fPLL can be measured.
Similar relationships may exist between the remaining internal system nodes. The CPout signal may be a function of the PFD output 226 and when considered over an interval [0,t′], it may be a bijective relation represented by the following equation (4):
P[PDout,0,t′]P[CPout] (4)
The LF 218 and VCO 220 may have similar bijective relations as shown in equation (5):
P[CPout,0,t′]P[LFout,0,t′] (5)
The bijective relationship between the CP 216 and the LF 218 may be established over a specified time interval [0,t′] since the node voltages are analog in nature and are a function of the measurement window during PLL 208 locking process.
P[LFout]P[VCOout] (6)
The bijective relationship between the LF 218 and the VCO 220, shown in equation (6), may be established instantaneously (while including propagation delays) and may represent the relationship between the voltage node and the effective frequency output.
The present systems and methods may use the bijective relationship in equation (4) to perform parametric testing of the PLL 208. While accessing the common node between the PFD 214 and the CP 216, the remaining PLL 208 may be treated as a closed loop with successive bijective-related sub blocks, e.g., the LF 218, the VCO 220, and the divide by N module 222. An input vector i[CPin], which is a subset of the vector set P[CPin], may be applied to the CP 216 using an external driver. Furthermore, the corresponding output vector from the PFD 214, i[PDout], may be recorded. The vector i[PDout] may then be integrated over a time interval [0,t′] and compared with simulation data to compare the accumulated voltage value. The bijective relations are valid for this analysis as we inject the CPin vector and observe the closed loop response on PDout node, isolated by using the test mode. By including the tolerance limits for the value of the integrated vector i[PDout], a pass/fail decision can be made by the ATE 102.
Accordingly, the present PLL 408 BIST scheme may include a BIST controller 444 that may act as a programmable stimulus generator and an observation module. The BIST controller 444 may be positioned between the PFD 414 and the CP 416. The PLL 408 may include a charge pump 416, loop filter 418, VCO 420, and divide by N module 422 illustrated in
For example, when the PLL 408 is started from a sleep mode, the input signal 424 may already be at speed. In one configuration, the input/reference signal 424 with a predetermined frequency may be provided by a crystal oscillator and/or another suitable signal generator. At that point, the PFD 414 may compare the feedback 417 to the input signal 424. Since the PLL output 426 frequency may be zero at the beginning, the PFD 414 may send an UP signal 415 to the CP 416. In turn, the CP 416 may increase the voltage that is input to the VCO 420 via the loop filter 418. The VCO 420 may then output a higher PLL output 426 frequency. This loop may repeat multiple times until the PLL output 426 frequency is locked to the input signal 424. Thus, the PFD 414 output 415, when accumulated in the BIST controller 444 during production testing, may create a signature of ramping up. The ATE 102 may monitor this signature to determine whether the PLL 408 is operating correctly within established parametric specifications. In other words, if the accumulated PFD output 414 voltage does not ramp up or ramps up too quickly or slowly, this may indicate a problem with the PLL 408 operation.
As mentioned above, it may be desirable for a BIST scheme to have process independence to ensure that the integration process yields identical results in case of multiple process corners. A feedback bias mechanism 552 may be used to calibrate the constant current source 548 for process variation. This may help achieve a process-compensated input to the low pass filter 550. The feedback bias module 552 is discussed in further detail below in relation to
In test mode, the output 515 of the PFD 414 may be fed into the BIST controller 544 and used to control and drive a constant current source 548. This output 549 is then integrated over the test duration, which can be programmed by the control signals fed in from the ATE 102. When the test mode input is activated by the control module 554, data pulses may be forced into the CP 416 input 553 through the ATE 102 I/O interface. The duration of the input pulses may be controlled by the ATE 102 and may be programmed depending on the DUT 104 specifications and characterization results. A pulse applied on the CP 416 input 553 may connect the CP 416 output node to VDD or ground depending on the input used, thus providing a charging or a discharging path to the CP 416 load. The conductivity of the transistors used in the CP 416 as well as the input pulse duration may affect the net charge interchange that can occur during test mode. In other words, Qchrg/dischrg=f[TransistorConductivity,InputPW,LFLoad] where the factors TransistorConductivity and LFLoad are dependent on the process corner targeting of the DUT 104 and may be reliably used as qualitative parameters for process corner prediction if the input pulse width is maintained constant.
If a pulse of τ is applied to the CP 416 during test mode during DUT 104 initialization, the loop filter 418 capacitor may be charged to a voltage VLFout which can be represented by equation (7):
V
LFout
=Q
LF
/C
LF=∫0τILFdrive/CLF (7)
where QLF is the charge on the loop filter 418 capacitor, CLF is the capacitance of the loop filter 418 capacitor, and ILFdrive is the current used to drive the loop filter 418. In case of catastrophic failures in the CP 416, the LFout node may remain at ground level when the DUT 104 is initialized. Any marginalities/process variation in the CP 416 may result in an LF 418 output that can be denoted by equation (8):
V
LFout
±δV
LFout=∫0τ[ILFdr±δILFdr]/[CLF±δCLF] (8)
Since the BIST controller 544 may not have access to the CP 416 output node or the LF 418 output node in the PLL 408 in the BIST scheme, this parametric variation in the LF 418 output/VCO 420 input may be verified during design phase for multiple process corners. The present systems and methods, using a full-self test approach, now tests the following blocks with a parametric variation at the VCO 420 input. The VCO 420 output frequency in test mode may be given by equation (9):
FVCO=f[VLFout] (9)
where FVCO is the frequency of the VCO 420 output and VLFout is the voltage of the LF 418. The values VPDout, VCPout, and VVCOout may be the voltage level of the outputs of the PFD 214, CP 216, and VCO 220, respectively. Therefore, any variation in the VCO 420 output frequency may be parametrically traced to the LF 418 output variation using equations (10) and (11):
FVCO−min=f[VLFout−min] (10)
Equation (11) is as follows:
FVCO−max=f[VLFout−max] (11)
As the VCO output frequency is a directly proportional function of the LF output signal, minimum and maximum VCO frequencies may be described in equations (10) and (11).
The sequence of pulses 515 generated by the PFD 414 for this VCO 420 input signal may be a function of the frequency and phase difference between the VCO 420 output 426 and the frequency of the input/reference signal 424. Thus, when passed through an LPF 550 or integrated over a specified duration, the pulses may represent the exact frequency difference between these two signals, thus creating a DC representation of the VCO 420 output frequency 426 as described in equation (12).
Therefore, effectively,
where voltage at the PFD 414 output node is a function of and is dependent upon the working of PFD 414, VCO 420, and LF 418 blocks. A catastrophic failure in any of the sub-blocks in the PLL 408 is detectable by Equation (13). Parametric or specification failures in any of the sub-blocks may also be identified with Equation (13).
It may be desirable to ensure that any of the additional components added in a BIST scheme do no influence this transfer function. The use of the constant current source 548 output 549 that is stabilized for process variation to drive the LPF 550, instead of directly using the PFD 414 output 515 to drive the load, may be for this purpose. Any process variation causing component value mismatch in the LPF 550 may affect the final output voltage 551 of the LPF 550 and not accurately represent the internal modules. The PFD 414 output signal 515 is thus used to switch the process-stabilized constant current source 548 and LPF 550 combination, eliminating effects of process variation from the externally added BIST circuits.
The BIST scheme may force the CPin along Path A 568 when in test mode. This path may be forced externally, and the corrective signal produced by the comparison between fPLL and fin does not affect the CP 416 in test mode.
This state-machine-control may be used in test mode operation and the PLL 408 may translate between the ST1562, ST2564, and ST3566 during mission mode, depending on the concerning circuit conditions.
The VCO 420 may output a PLL output 426 with a frequency that corresponds to the voltage level VCO 420 input. The PLL output 426 may then be fed back, through a divide by N module 422. This signal is received by the PFD 414, which may generate an output signal 415 after comparing this PLL output 426 for test-mode-stimulus with the PLL input signal 424. The integrated value of this PFD 414 output signal is a function of the integrated PLL output 426 characteristics as the PLL input 424 remains unchanged. In BIST test-mode, the PFD output 415 is fed to the BIST controller 444 and may be used to drive 578 the conduction of the process compensated constant current source 548. The output of this constant current source 548 may be integrated 580 within the BIST controller 544 and output on the DUT 104 I/O pin by using the I/O control module. This output may be available on the DUT 104 I/O pin and may be read by the VLC-ATE PPMU to obtain DC content value. So, the CP 416 may be driven 578 by the test stimulus signal while the PFD output 415 is used to drive the constant current source 548. In other words, each output of the PFD 414 may be accumulated 580 in a BIST controller 444 located in between the PFD 414 and the CP 416. This accumulated signal may then be analyzed against simulated data to determine 582 whether the PLL 408 is operating correctly. In other words, during normal operation start up, the PFD 414 may be expected to continually output a pump up signal [UP=1; DN=0]. However, if the PFD 414 output accumulates too quickly or too slowly, this may indicate a problem with the PLL 408 operation. The determining 582 may be performed in ATE 102.
The method 500 of
The method 584 of
The constant current source 696 may feed an ideal capacitor serially. The constant current source 696 may be implemented using multiple transistors 632a-m arranged in a fashion to produce a constant current 636, as shown in the circuit diagram of
Constant current charging of a capacitor C linearly increases the voltage across the plates. Any process variation causing a change in capacitance would inversely affect the ramp voltage slope. Similarly any variation in the current drive of the charging circuit would affect the charging time as shown in Equation (14):
Hence, Equation (15):
where C represents capacitance for a capacitor, Q represents charge across the capacitor, and V represents voltage across the capacitor. SPICE simulations run for cold-nominal-hot process corners indicate that for the ramp generator without feedback, a very precise process target may be required to maintain the required ramp slope, making it impractical for production testing 112. A feedback scheme may provide controllability of the ramp. The feedback scheme may be a variable feedback that can maintain a constant voltage ramp slope for process variations in the capacitor or constant current source circuit. This feedback may be dynamic to ensure complete process corner independence.
The use of multiple clocks may limit multi-site production testing. Furthermore, VLC-ATE 102 may have a limited number of clocking resources available. To maintain low-cost ATE 102 compatibility, the components on the integrated circuit 106 may need to use clocks with a 50 percent duty cycle. The high speed asynchronous clocks available on VLC-ATE 102 may be free running PLL 408 outputs. A 50 percent duty cycle PLL-generated clock may be produced on most VLC-ATE 102 at the required high frequencies. Using phase-shifted limited duty cycle clocks may require greater system resources and may not be within the capabilities of a typical VLC-ATE 102. No additional (or negative) power supplies are required for the PLL 408 BIST apart from the native supplies for the analog-to-digital converter (ADC)/buffers.
The constant current 636 may then be applied to a capacitor Cload 638. In one configuration, Cload 638 may be a 10 picoFarad (pF) capacitor. The voltage across Cload 638 may be referred to as Vramp 642. The voltage across Cload 638 may increase linearly as the constant current 636 charges Cload 638. An initialization signal Init 640 may be provided to the ramp generator 696 to initiate production testing 112.
The constant current source 696 may receive feedback from a feedback circuit 552. The gate bias for transistor M1632i may depend on the feedback circuit 552. For example, the gate of transistor M1632i may be set to the feedback voltage node 634. An increase in the feedback voltage node 634 may decrease the constant current 636 of the constant current source 696. A decrease in the constant current 636 may increase the charging time of the capacitor Cload 638. Likewise, a decrease in the feedback voltage node 634 may increase the constant current 636 of the constant current source 696 and decrease the charging time of the capacitor Cload 638. The charging time of the capacitor Cload 638 may also be referred to as the settling time of the constant current source 696. The settling time for the constant current source 696 may be a factor in production testing 112 because testing may not begin until a consistent ramp slope has been obtained. Therefore, it may be desirable for the output ramp to stabilize in the minimal possible time. The constant current source 696 may receive Step 644a and nStep 644b. Step 644a and nStep 644b may be fed the system differential clock in order to enable conduction of the constant current to Cload 638. Step 644a and nStep 644b may prevent Cload 638 from charging during a reset phase when Cload 638 is shorted using Init 640 with transistor 640m. This prevents a short circuit and excessive current flow through Cload 638.
Transistor M2758 may be used to reset capacitor C1756. Capacitor C1756 may be used as a per-cycle-charge-storage for the clocked comparator 748 output. If Vramp 742 is less than VDD/2 at Tper/2, the voltage across C1756 may be set to VDD 746. Otherwise, the voltage across C1756 may be set to 0 volts. The feedback circuit may also include multiple latches L1749a, L2749b and L3749c. Latch L1749a may be controlled with a clocking resource that has phases φ 750a and nφ1750b. Latch L2749b may be controlled with a clocking resource that has phases φ2752a and nφ2752b. Latch L3749c may be controlled with a clocking resource that has phases φ3754a and nφ3754b. Latches L2749b and L3749c may be referred to as a combination latch or a trickle current latch 760. Latches L2749b and L3749c may be toggled by an offset clock to limit the conductive phase of the combination latch such that the offset phase φ3754a is given by Equation (16):
φ3=φ1∩φ2. (16)
Phase φ2752a and φ3754a may be generated by using a single clocking resource—the phase difference generated by adding wide-gate delay. Phase φ3754a lags phase φ2752a by this delay amount. This phase offset limits the effective conduction cycle through this dual-latch as explained in Equation (16). The offset phase φ2752a may be generated out of an oversized gate delay such that no clocking source overhead is required. When L2749b and L3749c conduct, C1756 is connected in parallel with a second capacitor C2762, and a charge sharing current, Icharge-sharing, flows to equalize the voltage across each capacitor according to Equation (17):
where V1 is the voltage across capacitor C1756 and V2 is the voltage across capacitor C2762. The voltage across capacitor C2762 may be used to change the bias current in the constant current source 696 because the voltage across capacitor C2762 is the feedback voltage node 634, 734 applied to the gate of transistor M1632i from
C1756 and C2762 may each be designed to be approximately 1 picoFarad (pF) to minimize the layout area overhead. Using wide transistors for the latches L2749b and L3749c may enable rapid charge sharing between C1756 and C2762 due to increased conductivity. Using wide transistors for the latches L2749b and L3749c may also result in Vramp overshoot and undershoot, as excessive correction bias may be applied to the constant current source 696. The transistor widths for the latches L2749b and L3749c may be optimized to stabilize Vramp 742 in approximately 6-7 cycles. The reference voltage Vref in the clocked comparator 748 may typically be maintained at VDD/2 and may be generated on the integrated circuit 106 by matched load sharing. Transistor M3764 may provide a reset option for the feedback biasing voltage when the circuit is initialized.
The clocked comparator 748 may receive Vramp 834 as the gate voltage to transistor 832i. The clocked comparator 748 may also receive VRef 866 as the gate voltage to transistor 832j. As discussed above in relation to
a-13e are graphs illustrating the various waveforms over time in a DUT 104 that is operated in test mode.
The control voltage provided to the constant current source 548 may be adjusted using the feedback scheme as explained earlier. The calibration process may be observed in the waveform 1307 where a constant bias voltage is reached within the first 15 microseconds of the calibration process. The effective output ramp waveform 1309 produced by the current source may be observed from 0 to 25_S before the test enable signal 445 is applied (shown in the waveform 1305 in
Frequency independence may be an added value to any PLL 408 BIST scheme since a single SoC/SiP may contain either programmable PLLs 408 that run at multiple speeds or multiple PLLs 408 with different locking frequencies. Any BIST that uses at-speed signals from the feedback loop between VCO 420 and PFD 414 may need to be tuned for the operational frequency of the PLL 408 and is likely to be unusable for multiple frequencies. The present stimulus and observed PFD 414 output is baseband in nature, making it possible to program the scheme for multiple operating frequencies. VCO 420 output frequency is a direct function of the input reference voltage applied and by changing the pulse width of the ATE 102 stimulus applied, a different LFout voltage may be programmed into the DUT 104. Design simulations may determine the CP 416 charging duration to be provided by the ATE 102 and thus the present systems and methods are completely frequency independent, i.e., usable with either multiple PLLs 408 of varying frequency or a programmable PLL 408 with a wide range of operating frequencies. Individual connections from the PDout nodes in each of the blocks under test can be connected to the BIST controller 444 through a multiplexing scheme. Similarly, a multiplexer 446 that is activated in test mode for the specific block may be used to route the test stimulus to CPin node.
If a system has a functional or mission mode operating frequency of fopr, it may be desirable to perform production testing at fopr to maintain test quality. Any mission mode testing performed at a frequency f1 that is less than fopr may not assure desired at speed performance. Conventional PLL 408 testing involves feeding the PLL 408 output to an ATE 102 resource that then records the PLL 408 output signal. PLL 408 testing done on digital testers is typically limited to performing a PLL-lock test that tests for gross defects such as the ability of a PLL 408 to lock within the maximum allowed time specification.
Thus, an ATE 102 resource used for receiving (and processing) PLL 408 output may need to operate at-speed, (i.e., at the PLL 408 output frequency) to communicate with PLL 408 output. Multiple approaches are used in commercial ATE 102 systems. For example, some of the systems include per pin resources with high speed data reception on all pins while some of the lower cost ATE 102 systems designate certain resources that can handle high frequencies while a majority of the pin resources have a limited input frequency capability. Limiting the number of pin resources with high speed capability may complicate the DUT 104 docking board design since the specific high-speed channels/pins on the ATE 102 may need to be matched with corresponding DUT 104 resources. Further design complications and constraints may arise in case of economical multi-DUT 104 boards used in the industry.
The present systems and methods may use looped-self-testing for high speed nodes and modules and a DC baseband signal representing the self-test operation may be used for decision making This may eliminate any high-speed requirements from ATE 102 pins interfacing with the DUT 104. PPMU units are common on all ATE 102 channels/pins on the lowest resource ATE 102 since they are used in basic continuity measurements during production testing. The use of basic PPMU pins for BIST output measurement simplifies the ATE 102 measurement and decision making of the PLL 408 test. Thus, simple criteria as shown in equation (18), similar to typical pin continuity tests, may be used on the ATE. The upper and lower measurement limits may be determined by the process-split characterization work done during product bring-up phase:
if (lower-limit<Vout[BIST]<upper-limit),
then_PASS,else_FAIL (18)
where lower-limit is the numerical lower bound set for a passing case of the BIST measurement while upper-limit is the numerical upper bound set for the passing case of the BIST measurement. Thus, low ATE 102 resources in measurement capabilities, memory and decision making may be required in the BIST scheme, in alignment with earlier stated goals.
a-b are circuit diagrams illustrating three transistor fault model conditions. The present systems and methods enable testing of catastrophic, marginal as well as parametric failures in the PLL 408. Some PLL 408 BISTs may consider fault coverage only for catastrophic failures in the internal digital and mixed signal blocks because parametric test capability may not exist for such schemes. Both types of fault coverage will be discussed, i.e., typical fault coverage and parametric fault coverage.
A closed-loop frequency latching test may be used in order to observe the fault coverage over the entire circuit. This basic test involves applying the CP 416 input in test mode using short data bursts, i.e., the PFD 414 output is integrated over a time interval [0; t″] and observed using the PPMU. Successively stable and consistent measurements on the LPF 550 may indicate the locked state of the PLL 408. This method is used in the BIST scheme to avoid using an ATE 102 frequency measurement resource on the PLL 408 output pin. The closed-loop frequency latching test may be described as: for t″≈Tlock/2+τ, if LOCKED, Mi[0,t″]=Mj[0,t″], else use equation (19):
Mi[0,t″]≠Mj[0,t″] (19)
where M is a matrix containing the finite output set for a variable ‘t’. A stuck-at fault model may be considered for the PFD 414 while a catastrophic fault model may be considered for the internal mixed signal blocks. Transistor level faults are modeled as transistor terminal shorts, with a 1Ω bridging resistance 1411, 1413, 1415 and contacts open with 10MΩ minimum resistance 1417, 1419, 1421 across ordinarily connected nodes. The fault models are represented in
In addition to typical fault model based coverage, the present PLL 408 BIST may test for parametric fault coverage. Parametric faults are likely to be caused by fabrication marginalities and the series/shunt path resistances may be between the ideal and the catastrophic values in
Parametric fault coverage may be represented either in terms of passing range of the observed parameters (USL>PPMU_out>LSL) or statistically in the form of repeated convolutions to represent interdependency of the closed loop system. Due to the closed-loop nature of the individual blocks, the observed integrated PFD 414 output may be represented as a sum of convolutions of successive parameters as described in equation (20):
for Modulei: ith module in the closed loop.
Various specification based tests may be used for parametric testing, increasing overall fault coverage for marginalities and reliability hazards. Some faults, such as an open in one of the telescopic arms of the current mirror used in the CP 416 module, may still allow the VCO 420 to be driven to a level where the PLL 408 can be locked. The remaining functional branches may carry additional or uneven current causing electromigration risk during field use of the DUT 104. This fault may be difficult to screen during a typical lock test but an intermediate value of the PDout may be characterized on various process corners to identify such moderate low-slope charging devices. Similar characterization can be performed on the measured node to screen out marginal short connections.
Conventional PLL 408 testing in production is limited to testing the PLL 408 locking mechanism and passing the DUT 104 if the PLL 408 locks to the input frequency within tlock. A gross fabrication fault in the PLL 408 would disable the DUT 104 from frequency-locking while a fabrication marginality may cause an abnormality in the lock time. Most of the PLL 408 tests are directed at ensuring tlock<tlimit as a rejection criterion while typically no test targets a lower limit on tlock. A fabrication marginality causing voids/metal trace narrowing may increase the locking time and would be caught but a via overfill or any marginal short that causes a high current flow is likely to cause higher than nominal drive current through the charge pump, causing a frequency lock in a shorter than nominal interval. Such a marginal short is likely to escape a PLL 408 lock test, and DUT 104 level quiescent current testing may not screen this part out since the leakage current may be a fraction of the overall quiescent current. A marginal short is likely to cause reliability issues in the DUT 104 on continued operation as the excessive current drawn through the leakage path is likely to cause electromigration, resulting in an electrical open at later stages of its operating life.
Parametric testing may provide a screen for such marginal parts since their manifestation into internal parameters is more likely to be detected than the overall system output. A closed loop system may be able to compensate for such marginalities, effectively masking the faults during testing. Driving an input signal at an internal node during test mode and observing the corresponding driver node in an ‘opened-close-loop’ system may provide the ability to perform numerical limit based testing for the internal parameter observed.
Depending on the quality matrices defined for the DUT 104, the following type of tests, described in equation (21), can be performed on the internal node. Furthermore, accessibility to the charging as well as discharging mechanism during the test mode enhances the testability as discussed earlier.
USL>∫0t′PDout>LSL (21)
where: USL: Upper Spec Limit=Nominal Measurement+Guard-Band (GB); and LSL: Lower Spec Limit=Nominal Measurement+GB. USL and LSL may be used to compare the integrated PD output values against the established specification limits for making a pass/fail decision.
Similar CP discharge discharge testing, described in equation (22), may be performed for a specific time interval stimulus provided in the test mode to test the parametric limits in terms of charging as well as discharging. Equation (22) describes a discharge test that may be performed in order to characterize the voltage discharged for a specific test duration in terms of upper and lower specification limits characterized for the DUT.
USL2>∫t2t1PDout>LSI2 (22)
The wireless device 1101 includes a processor 1103. The processor 1103 may be a general purpose single- or multi-chip microprocessor (e.g., an ARM), a special purpose microprocessor (e.g., a digital signal processor (DSP)), a microcontroller, a programmable gate array, etc. The processor 1103 may be referred to as a central processing unit (CPU). Although just a single processor 1103 is shown in the wireless device 1101 of
The wireless device 1101 also includes memory 1105. The memory 1105 may be any electronic component capable of storing electronic information. The memory 1105 may be embodied as random access memory (RAM), read only memory (ROM), magnetic disk storage media, optical storage media, flash memory devices in RAM, on-board memory included with the processor, EPROM memory, EEPROM memory, registers, and so forth, including combinations thereof.
Data 1107 and instructions 1109 may be stored in the memory 1105. The instructions 1109 may be executable by the processor 1103 to implement the methods disclosed herein. Executing the instructions 1109 may involve the use of the data 1107 that is stored in the memory 1105. When the processor 1103 executes the instructions 1107, various portions of the instructions 1109a may be loaded onto the processor 1103, and various pieces of data 1107a may be loaded onto the processor 1103.
The wireless device 1101 may also include a transmitter 1111 and a receiver 1113 to allow transmission and reception of signals to and from the wireless device 1101. The transmitter 1111 and receiver 1113 may be collectively referred to as a transceiver 1115. An antenna 1117 may be electrically coupled to the transceiver 1115. The wireless device 1101 may also include (not shown) multiple transmitters, multiple receivers, multiple transceivers and/or multiple antenna (e.g., 1117a, 1117b).
The various components of the wireless device 1101 may be coupled together by one or more buses, which may include a power bus, a control signal bus, a status signal bus, a data bus, etc. For the sake of clarity, the various buses are illustrated in
The term “determining” encompasses a wide variety of actions and, therefore, “determining” can include calculating, computing, processing, deriving, investigating, looking up (e.g., looking up in a table, a database or another data structure), ascertaining and the like. Also, “determining” can include receiving (e.g., receiving information), accessing (e.g., accessing data in a memory) and the like. Also, “determining” can include resolving, selecting, choosing, establishing and the like.
The phrase “based on” does not mean “based only on,” unless expressly specified otherwise. In other words, the phrase “based on” describes both “based only on” and “based at least on.”
The term “processor” should be interpreted broadly to encompass a general purpose processor, a central processing unit (CPU), a microprocessor, a digital signal processor (DSP), a controller, a microcontroller, a state machine, and so forth. Under some circumstances, a “processor” may refer to an application specific integrated circuit (ASIC), a programmable logic device (PLD), a field programmable gate array (FPGA), etc. The term “processor” may refer to a combination of processing devices, e.g., a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a DSP core, or any other such configuration.
The term “memory” should be interpreted broadly to encompass any electronic component capable of storing electronic information. The term memory may refer to various types of processor-readable media such as random access memory (RAM), read-only memory (ROM), non-volatile random access memory (NVRAM), programmable read-only memory (PROM), erasable programmable read only memory (EPROM), electrically erasable PROM (EEPROM), flash memory, magnetic or optical data storage, registers, etc. Memory is said to be in electronic communication with a processor if the processor can read information from and/or write information to the memory. Memory that is integral to a processor is in electronic communication with the processor.
The terms “instructions” and “code” should be interpreted broadly to include any type of computer-readable statement(s). For example, the terms “instructions” and “code” may refer to one or more programs, routines, sub-routines, functions, procedures, etc. “Instructions” and “code” may comprise a single computer-readable statement or many computer-readable statements.
The functions described herein may be implemented in hardware, software, firmware, or any combination thereof. If implemented in software, the functions may be stored as one or more instructions on a computer-readable medium. The terms “computer-readable medium” or “computer-program product” refers to any available medium that can be accessed by a computer. By way of example, and not limitation, a computer-readable medium may comprise RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. Disk and disc, as used herein, includes compact disc (CD), laser disc, optical disc, digital versatile disc (DVD), floppy disk and Blu-ray® disc where disks usually reproduce data magnetically, while discs reproduce data optically with lasers.
Software or instructions may also be transmitted over a transmission medium. For example, if the software is transmitted from a website, server, or other remote source using a coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL), or wireless technologies such as infrared, radio, and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of transmission medium.
The methods disclosed herein comprise one or more steps or actions for achieving the described method. The method steps and/or actions may be interchanged with one another without departing from the scope of the claims. In other words, unless a specific order of steps or actions is required for proper operation of the method that is being described, the order and/or use of specific steps and/or actions may be modified without departing from the scope of the claims.
Further, it should be appreciated that modules and/or other appropriate means for performing the methods and techniques described herein, such as those illustrated by
It is to be understood that the claims are not limited to the precise configuration and components illustrated above. Various modifications, changes and variations may be made in the arrangement, operation and details of the systems, methods, and apparatus described herein without departing from the scope of the claims.
This application is related to and claims priority from U.S. Provisional Patent Application Ser. No. 61/177,844 filed May 13, 2009, for “Systems and Methods for a Phase Locked Loop Built In Self Test,” with inventors Sachin D. Dasnurkar and Jacob A. Abraham.
Number | Date | Country | |
---|---|---|---|
61177844 | May 2009 | US |