0
登录后你可以
  • 下载海量资料
  • 学习在线课程
  • 观看技术视频
  • 写文章/发帖/加入社区
创作中心
发布
  • 发文章

  • 发资料

  • 发帖

  • 提问

  • 发视频

创作活动
AN1504D

AN1504D

  • 厂商:

    ONSEMI(安森美)

  • 封装:

  • 描述:

    AN1504D - Metastability and the ECLinPS Family - ON Semiconductor

  • 数据手册
  • 价格&库存
AN1504D 数据手册
AN1504/D Metastability and the ECLinPS Family Prepared by: Applications Engineering http://onsemi.com APPLICATION NOTE This application note examines the concept of metastability and provides a theoretical discussion of how it occurs, including examples of the metastable condition. An equation characterizing metastability and a test circuit derived from that equation are presented. Metastability results are then applied to the ECLinPS family. Introduction Metastability is a central issue anytime a designer wishes to synchronize two or more asynchronous signals. A popular method for accomplishing this task is to employ a D flip−flop as the synchronizing element (Figure 1). As shown in Figure 1, synchronization can be accomplished using a single D flip−flop; more typically, several D flip−flops are cascaded to provide synchronization while reducing the probability of a metastable or “anomalous” state occurring at the input of System 2. Unfortunately the information at the data and clock inputs of flip−flops used as synchronizing elements is asynchronous by nature, thus the manufacturer specifications for set−up and hold times may not be observed. A series of timing diagrams is shown in Figure 2 demonstrating three possible timing relationships between the data and clock signals; to the right SYSTEM 1 SYSTEM 1 CLOCK SYSTEM 2 CLOCK SYSTEM 1 SYSTEM 1 CLOCK SYSTEM 2 CLOCK SYSTEM 1 OUTPUT DATA SYSTEM 1 OUTPUT of each data trace is the corresponding output waveform. In the first case the data adheres to the specified set−up and hold times, hence the output attains the proper state. In case 2 the set−up time is violated such that the output of the D flip−flop does not change state. Case 3 represents a violation of the set−up and hold times whereby the D flip−flop enters a metastable state. The resolving time for a flip−flop in this metastable state is indeterminate. Further, the final settling state of the flip−flop having been in this metastable condition cannot be guaranteed. Metastability Theory A bistable device such as a flip−flop has two stable output states: the “1” or high state and the “0” or low state. When the manufacturers specified set−up and hold times are observed the flip−flop will achieve the proper output state (Figure 3). However if the set−up and hold times are violated the device may enter a metastable state, thereby increasing the propagation delay, as indicated by the output response shown in Figure 4. To better understand flip−flop metastability, the operation of a typical ECLinPS D flip−flop is reviewed. The schematic of a D flip−flop is shown in Figure 5. DATA CLOCK Q SYSTEM 2 INPUT SYSTEM 2 D FLIP−FLOP Q DATA CLOCK Q SYSTEM 2 INPUT SYSTEM 2 D FLIP−FLOP CLOCK D FLIP−FLOP TD DELAY Figure 1. Clock Synchronization Schemes  Semiconductor Components Industries, LLC, 2004 November, 2004 − Rev. 2 1 Publication Order Number: AN1504/D AN1504/D CLOCK DATA: CASE 1 VOUT CASE 1 DATA: CASE 2 VOUT CASE 2 DATA: CASE 3 TSU TCLK THD VOUT CASE 3 Figure 2. Timing Relationships Between Data and Clock Signals for a D Flip−Flop 28.6300 NS 31.1300 NS 33.6300 NS CH. 3 = 150.0 mV/DIV TIMEBASE = 500 PS/DIV Figure 3. Typical Flip−Flop Output Response http://onsemi.com 2 AN1504/D 28.6300 NS 31.1300 NS 33.6300 NS CH. 3 = 150.0 mV/DIV START = 30.8500 NS STOP = 31.5600 NS TIMEBASE = 500 PS/DIV DELTA T = 710.0 PS Figure 4. Metastable Flip−Flop Output Response The flip−flop shown in Figure 5 can be divided into two functional blocks: Master latch and Slave latch. Under optimal operating conditions the clock is low when data arrives at the input to the master latch; after the specified set−up time the clock input is raised to a high level, and the data is latched. When the clock signal goes to the low state, the slave portion of the circuit becomes transparent and transfers the latched data to the output. Changes at the input will have no affect on the output when the “slave latch” is transparent. The master and slave latches each consist of two subsections: Data and Regenerative (Figure 5). Since the master latch accepts signals from external sources it is the section most susceptible to metastability problems. When the clock signal goes to a high state the current in the master latch clock differential pair switches from the regenerative MASTER LATCH to the data side. If the set−up and hold times are observed the circuit will function properly. However, if the data and clock signals change such that the set−up and hold times are violated, the data differential pair, the regenerative differential pair and the clock differential pair for the master will share the same switch current. In addition there will not be enough current to charge and discharge the transistor parasitic capacitances, creating an RC feedback loop via the collector nodes of the data and regenerative differential pairs. Thus the master latch enters a metastable state which appears at the output since the slave latch is transparent under these conditions. Theoretically, there is no upper bound on the length of time this metastable state can last, although in practice circuits eventually do leave the metastable region. VCC DATA REGENERATIVE DATA SLAVE LATCH REGENERATIVE DATA RESET DATA SET CLOCK CLOCK VCS VEE Figure 5. ECLinPS D Flip−Flop http://onsemi.com 3 AN1504/D Metastable Equations Flip−flop propagation delay as a function of the input signal is represented in Figure 6. Dt TP TW(TD) TD TMAX T0 TF DATA INPUT TIME Figure 6. Flip−Flop Response Time Plot The ordinate is the flip−flop propagation delay time, and the abscissa is the time that data arrives at the flip−flop input relative to reference time, T0. For devices with positive set−up times T0 represents the clock transition time with the difference between T0 and TMAX being the minimum allowable set−up time. Thus data arriving before time TMAX will elicit a nominal propagation delay, TP, when clocked. For data appearing between times TMAX and TF the propagation delay will be longer than TP because the set−up and/or hold times have been violated; and the device enters the metastable state. Data occurring at the input after time TF will have no affect on the output, hence the output does not change and the propagation delay is defined as zero. For devices with zero or negative set−up times the same response plot applies, however the abscissa is shifted such that the value of T0 is no longer the clock transition time. The same concepts are valid for derivation of metastability equations for each case: positive, negative or zero set−up and hold times. To clarify the flip−flop response plot, Figure 7 illustrates a case in which the propagation delay is TP. Data arrives at time TA, allowing the proper set−up time prior to a clock transition and is maintained at this level for the specified hold time. Figure 8 is an example in which the propagation delay is longer than TP since the data arrives at time TA, violating the set−up time. Using the response plot in Figure 6, Stoll1 developed the concept of a failure window to facilitate the characterization of metastability. The value of TW(TD) is the width of the window for which a propagation delay of time duration TD occurs, and is the range of data input times relative to the clock input for which a failure will occur. The value of TD is the maximum allowable propagation delay; delays longer than TD constitute a failure. The failure window is described mathematically as: TW(TD) + TP 10(Dt) t (eq. 1) PROPAGATION DELAY Where: TW(TD) Failure Window Width TP Nominal Propagation Delay TD Delay After Clock That Constitutes a Failure t Flip−Flop Resolution Time Constant Dt Excess Delay (TD − TP) DATA SIGNAL DATA SIGNAL CLOCK SIGNAL CLOCK SIGNAL TA TMAX T0 TIME TMAX TA T0 TIME Figure 7. Proper Set−Up and Hold Times Figure 8. Violation of Set−Up and Hold Times http://onsemi.com 4 AN1504/D This equation only applies for narrow window widths, i.e., those times well up on the response plot of Figure 6. To summarize, when the set−up and hold times are obeyed the flip−flop will have a nominal propagation delay, TP. If the data and clock signals arrive such that the set−up and hold times are violated there will be an excess delay as indicated in the response plot of Figure 6. This excess delay is caused by the flip−flop entering the metastable region. For data signals arriving much later than the clock signal the flip−flop will not change state, thus the propagation delay is zero by definition. The window width is the range of input arrival times relative to the clock for which the output response does not attain a defined value within the time period TD. Since TD represents the maximum allowable delay, the window width represents the relative range of input times for which a failure will occur. Equation 1 can be combined with the industry accepted definition for system level Mean Time Between Failures (Equation 2)2 to derive an equation yielding Mean Time Between Failures as a function of system design and semiconductor device parameters. MTBF + 1 (2 * fC * fD * TW(TD)) (eq. 2) parameters. Thus the designer can use this equation to determine the value of TD. Test Circuitry For Metastable Evaluation Equation 3 provides the impetus for the design of a metastability test circuit capable of providing a value of t, the flip−flop resolution time constant. Transforming this equation into a “linear” form by taking the logarithm of both sides yields Equation 4: log MTBF + * log @ (2 * fC * fD * TP) ) Dt t (eq. 4) Where: fC Clock Frequency fD Data Frequency MTBF + 1 (2 * fC * fD * TP * 10 * (Dt) t) (eq. 3) The System Designer can use Equation 3 to address the issue of metastability. Device t values are provided in Table 2, “ t Values for Several Flip−Flops” and TP (Nominal Propagation Delay) value is provided in the device datasheet. MTBF, fc and fd are system design Plotting log MTBF versus Dt yields a line with slope 1/t, and log MTBF intercept of −log(2*fc*fd*TP). Thus, the test circuit must accept the clock and data input frequencies as a function of Dt and yield MTBF as an output. The circuit configuration shown in Figure 9 fulfills these criteria. The test circuitry can be categorized into five functional blocks: DUT, adjustable delay portion, comparator section, counter−set circuitry, and the counter. Starting with the comparator portion of the circuit, the output of the DUT is fed into the comparator; if the DUT output falls in the range VBB − 0.15 V < VBB < VBB + 0.15 V, the DUT is defined as being in a metastable condition (Figure 10). For DUT output states in the metastable region the comparator output attains a logic high level. When the DUT output does not fall within this range it is in a “defined high or low level,” and the output of the comparator will be at a logic low level. If the comparator output is at a logic high level, indicating metastability, the counter−set section sends out a periodic waveform which increments the counter. If the DUT is not metastable the output of the “counter−set” circuitry is constant and the counter (HP−8335A) is not incremented. The total number of counts over a specified time period is a measure of MTBF. DUT (VBB + 0.15 V) 10E451 HP− 8082A Q D DUT D1 Q D1 D2 D2 CLK 2 CLK 2 Q1 Q2 10E107 D Q HP 5335A COUNTER 10E101 COUNTER HP− 8082A Q Q CLK 1 10E131 CLK 3 TRIG Q HP− 8082A Q (VBB − 0.15 V) ADJUSTABLE DELAY COMPARATOR COUNTER−SET Figure 9. Metastability Test Circuit http://onsemi.com 5 AN1504/D Pulse generator #1 (PG1) supplies the data signal to the DUT. To ensure asynchronous signals between the DUT data and clock signals, a separate pulse generator, PG2, provides the clock signal to the DUT. Generator PG2 also provides the clocking signal to the comparator circuitry via its inverting output terminal. Pulse generator PG3 supplies the clock signals to the E451 portion of the comparator section. To increase the probability of the DUT entering the metastable state the DUT data frequency is set at 1.33 times the DUT clock frequency. The value of Dt is the delay between the noninverting clock signals for the DUT and the E451. Finally, the inverting terminal of PG2 supplies the clock signal for the counter−set circuitry. VOH DUT OUTPUT LEVEL (VOLTS) VBB + 0.15 V = VHMETA 2 0 LOG MTBF −2 −4 −6 −8 2e−9 3e−9 4e−9 DELAY (SEC) 5e−9 Figure 11. Plot of Log MTBF versus Delay VBB From Equation 4 the slope of the line is the reciprocal of t. Measurements similar to these were performed to characterize the ECLinPS family as well as D flip−flops from various vendors. The results are shown in Table 2: Table 2. t Values for Several Flip−Flops Device Type ON Semiconductor MC10E431 ON Semiconductor MC10E151 ON Semiconductor MC10E131 ON Semiconductor MC10H131 Signetics 100131 Signetics 100151 National 100131 t 125 psec 185 psec 200 psec 718 psec 890 psec 1172 psec 1594 psec VOL Figure 10. Output Response Defining the Metastable Region To take advantage of the precision 50 W input impedance of the test measurement equipment, the circuit power supplies are shifted by +2.0 V. Thus all input signals, bias voltages, and comparator values have been shifted by +2.0 V as shown in Table 1. Table 1. ECL Levels After Translating by +2.0 V Typical (V) Parameter VIL VIH VBB VCC VEE VHmeta VLmeta 10E −1.75 −0.90 −1.30 0.00 −5.20 −1.15 −1.45 100E −1.70 −0.95 −1.30 0.00 −4.50 −1.15 −1.45 Shifted (V) 10E +0.25 +1.10 +0.70 +2.00 −3.20 +0.85 +0.55 100E +0.30 +1.05 +0.70 +2.00 −2.50 +0.85 +0.85 Results An example of using a log MTBF versus Dt plot to determine t is shown in Figure 11. ÉÉÉÉÉÉÉÉÉÉÉÉÉ ÉÉÉÉÉÉÉÉÉÉÉÉÉ ÉÉÉÉÉÉÉÉÉÉÉÉÉ ÉÉÉÉÉÉÉÉÉÉÉÉÉ VBB − 0.15 V = VLMETA 6 Having determined the value of t, the system designer can use this information in conjunction with Equation 3 to aid in optimizing the system design. Example As an example, assume the system configuration shown in Figure 12, in which the output from System 1 is to be synchronized to System 2 using a 10E151 D flip−flop. Further, the equivalent output signal for System 1 is 75 MHz whereas the clock frequency for System 2, as well as the synchronizing element, is 100 MHz. Under these conditions the data and clock inputs to the D flip−flop are asynchronous and the system designer must consider the possibility of the D flip−flop entering the metastable state. Therefore the system designer must determine how long the flip−flop will remain in the metastable region in order to decide when the data at the output of the flip−flop will attain a defined state and can be clocked into System 2. The solution to this dilemma is found with Equation 3: MTBF + 1 (2 * fC * fD * TP * 10 * (Dt) t) (eq. 5) http://onsemi.com AN1504/D The values for fC and fD were specified as 100 MHz and 75 MHz, respectively. Assuming the D flip−flop is an ON Semiconductor 10E151, a worse case value of propagation delay (Tp) of 800 psec is obtained from the ECLinPS Device Data Book. The value of t is given in Table 2 as 185 psec. Substituting these values into Equation 3 yields: MTBF + 1 (2 * fC * fD * TP * 10 * (Dt 185 psec)) (eq. 6) Conclusion At this point the system designer must specify an acceptable MTBF. For this example an MTBF of 5 years is assumed. Therefore the value of Dt is calculated to be Dt = 2.83 nsec From the relationship Dt = TD −TP the value of TD is calculated to be TD = 3.63 nsec Thus for an MTBF of 5 years the designer should delay the clocking of the data from the output of the flip−flop into System 2 by 3.63 nsec. Metastability has become a critical issue with system designers. In order to better serve our customers, ON Semiconductor has characterized the ECLinPS family for metastability using the concept of a failure window. The nominal flip−flop resolution time constant for the ECLinPS family, excluding the E131 and E431 devices as these flip−flops use alternative architectures, has been determined to be 185 psec. The resolution time constant for the E131 and E431 devices is 200 psec and 125 psec, respectively. Thus the system designer can use the value of t in conjunction with Equation 3 to determine the metastable induced excess delay for a specified MTBF. Although this application note does not present a method for avoiding metastability, it does provide a means for the designer to quantitatively incorporate metastability in their designs. References 1. Stoll, P. “How to Avoid Synchronization Problems” VLSI Design, November/December 1982. pp. 56−59. 2. Nootbaar, K. “Design, Testing, and Application of a Metastable−Hardened flip−flop,” Wescon/87, Section 16−2 pp. 1−9. SYSTEM 1 75 MHz SYSTEM 1 CLOCK 100 MHz SYSTEM 2 CLOCK SYSTEM 1 OUTPUT DATA Q SYSTEM 2 INPUT D FLIP−FLOP SYSTEM 2 CLOCK Figure 12. System Example http://onsemi.com 7 AN1504/D ECLinPS is a trademark of Semiconductor Components Industries, LLC (SCILLC). ON Semiconductor and are registered trademarks of Semiconductor Components Industries, LLC (SCILLC). SCILLC reserves the right to make changes without further notice to any products herein. SCILLC makes no warranty, representation or guarantee regarding the suitability of its products for any particular purpose, nor does SCILLC assume any liability arising out of the application or use of any product or circuit, and specifically disclaims any and all liability, including without limitation special, consequential or incidental damages. “Typical” parameters which may be provided in SCILLC data sheets and/or specifications can and do vary in different applications and actual performance may vary over time. All operating parameters, including “Typicals” must be validated for each customer application by customer’s technical experts. SCILLC does not convey any license under its patent rights nor the rights of others. SCILLC products are not designed, intended, or authorized for use as components in systems intended for surgical implant into the body, or other applications intended to support or sustain life, or for any other application in which the failure of the SCILLC product could create a situation where personal injury or death may occur. Should Buyer purchase or use SCILLC products for any such unintended or unauthorized application, Buyer shall indemnify and hold SCILLC and its officers, employees, subsidiaries, affiliates, and distributors harmless against all claims, costs, damages, and expenses, and reasonable attorney fees arising out of, directly or indirectly, any claim of personal injury or death associated with such unintended or unauthorized use, even if such claim alleges that SCILLC was negligent regarding the design or manufacture of the part. SCILLC is an Equal Opportunity/Affirmative Action Employer. This literature is subject to all applicable copyright laws and is not for resale in any manner. PUBLICATION ORDERING INFORMATION LITERATURE FULFILLMENT: N. American Technical Support: 800−282−9855 Toll Free Literature Distribution Center for ON Semiconductor USA/Canada P.O. Box 61312, Phoenix, Arizona 85082−1312 USA Phone: 480−829−7710 or 800−344−3860 Toll Free USA/Canada Japan : ON Semiconductor, Japan Customer Focus Center 2−9−1 Kamimeguro, Meguro−ku, Tokyo, Japan 153−0051 Fax: 480−829−7709 or 800−344−3867 Toll Free USA/Canada Phone: 81−3−5773−3850 Email: orderlit@onsemi.com ON Semiconductor Website: http://onsemi.com Order Literature: http://www.onsemi.com/litorder For additional information, please contact your local Sales Representative. http://onsemi.com 8 AN1504/D
AN1504D 价格&库存

很抱歉,暂时无法提供与“AN1504D”相匹配的价格&库存,您可以联系我们找货

免费人工找货